]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix typos.
[thirdparty/glibc.git] / ChangeLog
1 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2
3 * argp/argp-help.c: Fix typos.
4 * argp/argp-parse.c: Likewise.
5 * debug/backtracesyms.c: Likewise.
6 * elf/elf.h: Likewise.
7 * malloc/malloc.c: Likewise.
8 * nis/nis_print.c: Likewise.
9 * resolv/res_comp.c: Likewise.
10 * stdlib/stdlib.h: Likewise.
11 * sunrpc/clnt_tcp.c: Likewise.
12 * sunrpc/clnt_udp.c: Likewise.
13 * sunrpc/clnt_unix.c: Likewise.
14 * sysdeps/unix/bsd/ptsname.c: Likewise.
15 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21
22 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23
24 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26
27 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28
29 [BZ #15897]
30 * dlfcn/Makefile (tests): Add bug-dl-leaf.
31 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32 ($(objpfx)bug-dl-leaf): New rule.
33 ($(objpfx)bug-dl-leaf.so): Likewise.
34 ($(objpfx)bug-dl-leaf.out): Likewise.
35 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
37 * dlfcn/bug-dl-leaf.c: New test.
38 * dlfcn/bug-dl-leaf-lib.c: Likewise.
39 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41 (dlclose): Likewise.
42 (dlmopen): Likewise.
43
44 2013-08-27 Roland McGrath <roland@hack.frob.com>
45
46 * include/netdb.h [!_ISOMAC]:
47 Don't include <tls.h>.
48 (h_errno, __libc_h_errno): Move declaration and macros out of
49 [_LIBC_REENTRANT].
50
51 * include/resolv.h [_RESOLV_H_]:
52 Don't include <tls.h>.
53 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
54 * resolv/res_libc.c: Don't include <tls.h>.
55 (_res): Use __attribute__ ((nocommon)) in place of
56 __attribute__ ((section (".bss"))).
57
58 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
59 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60
61 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62
63 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64 only under [SIOCGIFCONF && SIOCGIFNETMASK].
65
66 * resolv/res_mkquery.c: Include <sys/time.h>.
67
68 * inet/ifreq.c: Moved to ...
69 * sysdeps/unix/ifreq.c: ... here.
70 * inet/ifreq.c: New file, true stub version.
71
72 * socket/sa_len.c: New file.
73 * socket/Makefile (aux): Add it.
74 * sysdeps/unix/sysv/linux/Makefile
75 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
76 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
77 and #include <socket/sa_len.c>.
78 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
79 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
80
81 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
82 * bits/socket.h: ... here.
83
84 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
85 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
86 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
87
88 2013-08-27 Andreas Schwab <schwab@suse.de>
89
90 [BZ #15736]
91 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
92 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
93 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
94 * string/test-strcasecmp.c (test_main): Run tests in several
95 locales.
96 * string/test-strncasecmp.c (test_main): Likewise.
97
98 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
99 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
100 to __strcasecmp_nonascii and __strncasecmp_nonascii.
101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
102 (__strncasecmp_ssse3) [PIC]: Likewise.
103
104 2013-08-26 Roland McGrath <roland@hack.frob.com>
105
106 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
107
108 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
109 instead of explicitly declaring xdecrypt.
110 * nis/nss_nis/nis-publickey.c: Likewise.
111
112 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
113
114 [BZ #15890]
115 * nscd/aicache.c: Include res_hconf.h.
116 (addhstaiX): Initialize res_hconf.
117
118 2013-08-26 Andreas Schwab <schwab@suse.de>
119
120 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
121 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
122
123 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
124
125 * nscd/aicache.c (addhstaiX): Fix indentation.
126
127 2013-08-25 Mike Frysinger <vapier@gentoo.org>
128
129 * configure.ac: Quote $build_pt_chown test.
130 * configure: Regenerated.
131
132 2013-08-23 Joseph Myers <joseph@codesourcery.com>
133
134 [BZ #15532]
135 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
136 * math/s_cexpf.c (__cexpf): Likewise.
137 * math/s_cexpl.c (__cexpl): Likewise.
138 * math/libm-test.inc (cexp_test_data): Correct expected return
139 value for NaN + i0. Add another test.
140
141 2013-08-22 David S. Miller <davem@davemloft.net>
142
143 * po/ca.po: Update Catalan translation from translation project.
144 * po/uk.po: Add Ukrainian translations from translation project.
145
146 2013-08-21 Joseph Myers <joseph@codesourcery.com>
147
148 [BZ #15797]
149 * math/s_fdim.c (__fdim): Check for infinite arguments if result
150 is infinite, not alongside NaN test.
151 * math/s_fdimf.c (__fdimf): Likewise.
152 * math/s_fdiml.c (__fdiml): Likewise.
153 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
154 errno is unchanged.
155
156 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
157
158 * argp/argp-help.c: Fix typos.
159 * crypt/speeds.c: Likewise.
160 * csu/check_fds.c: Likewise.
161 * elf/dl-load.c: Likewise.
162 * elf/dl-open.c: Likewise.
163 * elf/reldep3.c: Likewise.
164 * elf/reldep.c: Likewise.
165 * elf/sprof.c: Likewise.
166 * iconv/iconv_charmap.c: Likewise.
167 * iconv/skeleton.c: Likewise.
168 * iconv/strtab.c: Likewise.
169 * io/lockf64.c: Likewise.
170 * libio/libioP.h: Likewise.
171 * resolv/gai_notify.c: Likewise.
172 * resolv/ns_name.c: Likewise.
173 * resolv/ns_samedomain.c: Likewise.
174 * resolv/res_send.c: Likewise.
175 * stdlib/random.c: Likewise.
176 * sunrpc/rpc/xdr.h: Likewise.
177 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
178 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
179 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
180 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
182 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
184 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
185 * sysdeps/mach/hurd/check_fds.c: Likewise.
186 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
187 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
189 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
190 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
191 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
192 * sysdeps/pthread/aio_notify.c: Likewise.
193 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
194 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
195 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
197 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
198
199 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
200
201 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
202 version if bit_Slow_SSE4_2 is set.
203 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
204 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
205
206 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
207
208 [BZ #15867]
209 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
210 trampoline stack frame information.
211 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
213 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
214 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
215 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
216 * sysdeps/unix/sysv/linux/powerpc/init-first.c
217 (_libc_vdso_platform_setup): Initialize the signal trampolines.
218 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
219 sa_flags value.
220 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
221 interrupting a syscall and set with option SA_SIGINFO.
222
223 2013-08-20 Joseph Myers <joseph@codesourcery.com>
224
225 [BZ #15531]
226 * math/s_cproj.c (__cproj): Only return an infinity if one part of
227 argument is infinite.
228 * math/s_cprojf.c (__cprojf): Likewise.
229 * math/s_cprojl.c (__cprojl): Likewise.
230 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
231 * math/libm-test.inc (cproj_test_data): Add more tests.
232
233 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
234
235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
236 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
237 size. Use __ffs to determine corresponding shift.
238
239 2013-08-20 Joseph Myers <joseph@codesourcery.com>
240 Roland McGrath <roland@hack.frob.com>
241
242 * Makefile (INSTALL): Remove trailing blank lines from output of
243 makeinfo.
244
245 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
246
247 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
248 Align 32 bit compat elf_greg to 8 bytes.
249
250 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
251
252 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
253
254 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
255
256 * string/strcoll_l.c (coll_seq): New structure.
257 (get_next_seq_cached): New function.
258 (get_next_seq): New function.
259 (do_compare): New function.
260 (STRCOLL): Use GNU style definition. Simplify implementation
261 by using get_next_seq, get_next_seq_cached and do_compare.
262
263 2013-08-16 Florian Weimer <fweimer@redhat.com>
264
265 [BZ #14699]
266 CVE-2013-4237
267 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
268 member.
269 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
270 member.
271 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
272 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
273 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
274 conditional.
275 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
276 GETDENTS_64BIT_ALIGNED.
277 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
278 * manual/filesys.texi (Reading/Closing Directory): Document
279 ENAMETOOLONG return value of readdir_r. Recommend readdir more
280 strongly.
281 * manual/conf.texi (Limits for Files): Add portability note to
282 NAME_MAX, PATH_MAX.
283 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
284
285 2013-08-13 Andreas Schwab <schwab@suse.de>
286
287 [BZ #15749]
288 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
289 of fabs.
290 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
291 LDBL_MAX_EXP >= 16384]: Add tests for it.
292
293 2013-08-12 David S. Miller <davem@davemloft.net>
294
295 * version.h (RELEASE): Set to "development".
296 (VERSION): Set to "2.18.90".
297 * NEWS: Add 2.19 section.
298
299 2013-08-03 David S. Miller <davem@davemloft.net>
300
301 * po/ko.po: Update Korean translation from translation project.
302
303 2013-08-01 David S. Miller <davem@davemloft.net>
304
305 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
306 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
307 Bilka.
308
309 2013-07-30 David S. Miller <davem@davemloft.net>
310
311 * po/fr.po: Update French translation from translation project.
312
313 2013-07-28 David S. Miller <davem@davemloft.net>
314
315 * po/cs.po: Update Czech translation from translation project.
316
317 * po/sv.po: Update Swedish translation from translation project.
318
319 2013-07-27 David S. Miller <davem@davemloft.net>
320
321 * po/eo.po: Update Esperanto translation from translation project.
322
323 * po/vi.po: Update Vietnamese translation from translation project.
324
325 * po/de.po: Update German translation from translation project.
326
327 2013-07-26 David S. Miller <davem@davemloft.net>
328
329 * po/bg.po: Update Bulgarian translation from translation project.
330
331 * po/nl.po: Update Dutch translation from translation project.
332 * po/pl.po: Update Polish translation from translation project.
333 * po/ru.po: Update Russian translation from translation project.
334
335 2013-07-24 David S. Miller <davem@davemloft.net>
336
337 * po/libc.pot: Update.
338
339 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
342 variable page size.
343 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
345 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
346
347 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
348
349 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
350
351 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
352 Andreas Schwab <schwab@suse.de>
353 Roland McGrath <roland@hack.frob.com>
354 Joseph Myers <joseph@codesourcery.com>
355 Carlos O'Donell <carlos@redhat.com>
356
357 [BZ #15755]
358 * config.h.in: Define HAVE_PT_CHOWN.
359 * config.make.in (build-pt-chown): New variable.
360 * configure.in (--enable-pt_chown): New configure option.
361 * configure: Regenerate.
362 * login/Makefile: Include Makeconfig. Build pt_chown only if
363 build-pt-chown is enabled.
364 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
365 pt_chown to fix pty ownership.
366 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
367 CLOSE_ALL_FDS.
368 * manual/install.texi (Configuring and compiling): Mention
369 --enable-pt_chown. Add @findex for grantpt.
370 * INSTALL: Regenerate.
371
372 2013-07-20 David S. Miller <davem@davemloft.net>
373
374 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
375 difference between 32-bit and 64-bit.
376
377 2013-07-15 Carlos O'Donell <carlos@redhat.com>
378
379 [BZ #15711]
380 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
381 Avoid system header dependency with -ffreestanding.
382 ($(objpfx)bits/syscall%d): Likewise.
383
384 2013-07-13 David S. Miller <davem@davemloft.net>
385
386 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
387 underflows from atanl/atan2l due to bug 15319.
388 (casinh_test_data): Likewise.
389
390 2013-07-07 David S. Miller <davem@davemloft.net>
391
392 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
393
394 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
395
396 * sysdeps/i386/fpu/libm-test-ulps: Update.
397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
398
399 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
400
401 * configure.in (--enable-lock-elision): Fix message text.
402 * INSTALL: Regenerate.
403 * configure: Regenerate.
404
405 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406
407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
408
409 2013-07-03 Andreas Jaeger <aj@suse.de>
410
411 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
412 define.
413 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
414 (ptrace_peeksiginfo_args): Add.
415 (__ptrace_peeksiginfo_flags): Add.
416 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
419
420 2013-07-03 Allan McRae <allan@archlinux.org>
421
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423
424 2013-07-02 David S. Miller <davem@davemloft.net>
425
426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
427
428 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
429
430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
431
432 2013-07-02 Joseph Myers <joseph@codesourcery.com>
433
434 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
436
437 2013-07-02 Andi Kleen <ak@linux.intel.com>
438
439 * config.h.in (ENABLE_LOCK_ELISION): Add.
440 * configure.in (--enable-lock-elision): Add option.
441 * manual/install.texi: Document --enable lock elision.
442 * configure: Regenerate
443 * INSTALL: Regenerate.
444
445 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
446
447 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
448 SSE4.2 strcasecmp for libc.a.
449 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
450
451 2013-07-02 Joseph Myers <joseph@codesourcery.com>
452
453 [BZ #13304]
454 * soft-fp/op-common.h (_FP_FMA): New macro.
455 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
456 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
457 (_FP_MUL_MEAT_1_imm): ... here.
458 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
459 (_FP_MUL_MEAT_1_wide): ... here.
460 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
461 (_FP_MUL_MEAT_1_hard): ... here.
462 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
463 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
464 (_FP_MUL_MEAT_2_wide): ... here.
465 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
466 (_FP_MUL_MEAT_2_wide_3mul): ... here.
467 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
468 (_FP_MUL_MEAT_2_gmp): ... here.
469 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
470 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
471 (_FP_MUL_MEAT_4_wide): ... here.
472 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
473 (_FP_MUL_MEAT_4_gmp): ... here.
474 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
475 (_FP_WFRACBITS_DW_S): Likewise.
476 (_FP_WFRACXBITS_DW_S): Likewise.
477 (_FP_HIGHBIT_DW_S): Likewise.
478 (FP_FMA_S): Likewise.
479 (_FP_FRAC_HIGH_DW_S): Likewise.
480 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
481 (_FP_WFRACBITS_DW_D): Likewise.
482 (_FP_WFRACXBITS_DW_D): Likewise.
483 (_FP_HIGHBIT_DW_D): Likewise.
484 (FP_FMA_D): Likewise.
485 (_FP_FRAC_HIGH_DW_D): Likewise.
486 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
487 (_FP_WFRACBITS_DW_E): Likewise.
488 (_FP_WFRACXBITS_DW_E): Likewise.
489 (_FP_HIGHBIT_DW_E): Likewise.
490 (FP_FMA_E): Likewise.
491 (_FP_FRAC_HIGH_DW_E): Likewise.
492 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
493 (_FP_WFRACBITS_DW_Q): Likewise.
494 (_FP_WFRACXBITS_DW_Q): Likewise.
495 (_FP_HIGHBIT_DW_Q): Likewise.
496 (FP_FMA_Q): Likewise.
497 (_FP_FRAC_HIGH_DW_Q): Likewise.
498 * soft-fp/fmasf4.c: New file.
499 * soft-fp/fmadf4.c: Likewise.
500 * soft-fp/fmatf4.c: Likewise.
501
502 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
503
504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
505 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
506 Silvermont.
507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
508 macro.
509 (index_Slow_SSE4_2): Likewise.
510 (index_Prefer_PMINUB_for_stringop): Likewise.
511 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
512 bit_Slow_SSE4_2 is set.
513 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
514 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
515
516 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
517
518 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
519 rtld_global._dl_hwcap2.
520 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
521 POWER8.
522 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
523 POWER8 feature descriptions defined in _dl_hwcap2.
524 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
525 string handling for POWER8 feature bits.
526 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
527 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
528 _dl_powerpc_cap_flags.
529 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
530 * sysdeps/powerpc/rtld-global-offsets.sym
531 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
532 _dl_hwcap2 in the rtld_global_ro structure.
533
534 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
535
536 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
537 hardware capabilities in support of AT_HWCAP2.
538 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
539 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
540 GLRO(dl_hwcap2).
541 (_dl_show_auxv): Add support for calling _dl_procinfo to display
542 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
543 explicitly the unknown a_type display mechanism is used.
544 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
545 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
546 struct member.
547 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
548 to macro prototype for AT_HWCAP2 support.
549 * sysdeps/i386/dl-procinfo.h: Likewise.
550 * sysdeps/s390/dl-procinfo.h: Likewise.
551 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
552 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
553 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
554 return -1 for unknown a_type display fallback.
555 * sysdeps/sparc/dl-procinfo.h: Likewise.
556 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
557 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
558
559 2013-06-28 Joseph Myers <joseph@codesourcery.com>
560
561 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
562 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
563
564 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
565
566 [BZ #12492]
567 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
568 mprotect making __stack_prot writable.
569
570 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
571 Joseph Myers <joseph@codesourcery.com>
572
573 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
574 as being properly aligned.
575
576 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
577
578 * dlfcn/modstatic5.c: New file.
579 * dlfcn/tststatic5.c: New file.
580 * dlfcn/Makefile (tests): Add tststatic5.
581 (tests-static): Likewise.
582 (modules-names): Add modstatic5.
583 (tststatic5-ENV): New variable.
584 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
585
586 [BZ #15022]
587 * elf/dl-support.c (_dl_main_map): New variable.
588 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
589 (_dl_nns, _dl_load_adds): Set to 1.
590 (_dl_initial_searchlist): Refer to _dl_main_map.
591 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
592 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
593 call to _dl_get_origin.
594 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
595 around call_map.
596 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
597 * dlfcn/modstatic3.c: New file.
598 * dlfcn/tststatic3.c: New file.
599 * dlfcn/tststatic4.c: New file.
600 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
601 (tests-static): Likewise.
602 (modules-names): Add modstatic3.
603 (tststatic3-ENV, tststatic4-ENV): New variables.
604 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
605 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
606
607 2013-06-26 Joseph Myers <joseph@codesourcery.com>
608
609 * configure.in (CC): Require GCC version 4.4 or later.
610 * configure: Regenerated.
611 * manual/install.texi (Tools for Compilation): Update GCC version
612 requirement.
613 * INSTALL: Regenerated.
614
615 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
616
617 [BZ #15674]
618 * string/test-memcmp.c (check2): New.
619 (main): Call check2.
620
621 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
622
623 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
624
625 [BZ #15022]
626 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
627 over to...
628 (dl_open_worker) [!SHARED]: ... here.
629
630 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
631
632 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
633
634 2013-06-25 Richard Henderson <rth@redhat.com>
635
636 * locale/programs/locarchive.c: Include <libc-internal.h>
637
638 2013-06-25 Joseph Myers <joseph@codesourcery.com>
639
640 * manual/texinfo.tex: Update to version 2013-06-21.17, with
641 trailing whitespace removed.
642
643 2013-06-24 Mike Frysinger <vapier@gentoo.org>
644
645 [BZ #10283]
646 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
647 * locale/programs/locarchive.c: Include libc-mmap.h.
648 (prepare_address_space): Take two new outputs (the mmap base and len).
649 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
650 values.
651 (create_archive): Declare new mmap base and len values for
652 prepare_address_space, and store the result in ah.
653 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
654 (enlarge_archive): If ah->mmap_base is not NULL, use that and
655 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
656 Declare new mmap base and len values for
657 prepare_address_space, and store the result in new_ah.
658 (open_archive): Declare new mmap base and len values for
659 prepare_address_space, and store the result in ah.
660 (close_archive): If ah->mmap_base is not NULL, use that and
661 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
662 * sysdeps/generic/libc-mmap.h: New file.
663
664 2013-06-24 Mike Frysinger <vapier@gentoo.org>
665
666 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
667 (ALIGN_UP): Likewise.
668 (PTR_ALIGN_DOWN): Likewise.
669 (PTR_ALIGN_UP): Likewise.
670
671 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
672
673 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
674 entry mapped to PPC_PLATFORM_POWER8.
675 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
676 POWER8.
677 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
678 (_dl_string_platform): Add case for exporting platform position for
679 POWER8.
680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
681 search path to sysdeps/powerpc/powerpc32/power8 directory.
682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
683 search path to sysdeps/powerpc/powerpc64/power8 directory.
684 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
685 power7 directories.
686 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
687 power7 directories.
688
689 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
690
691 * INSTALL: Regenerate.
692
693 * nscd/connections.c (nscd_init): Fix comment.
694
695 2013-06-22 Joseph Myers <joseph@codesourcery.com>
696
697 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
698
699 [BZ #15667]
700 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
701 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
702
703 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
704
705 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
706 DL_DST_REQ_STATIC.
707 (DL_DST_REQ_STATIC): Remove macro.
708
709 2013-06-21 Joseph Myers <joseph@codesourcery.com>
710
711 [BZ #7006]
712 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
713 with a shift of 0 bits.
714
715 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
716
717 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
718 $(tststatic-ENV).
719
720 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
721
722 [BZ #15655]
723 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
724
725 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726
727 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
728 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
729 accepts -fno-tree-loop-distribute-patterns.
730 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
731 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
732 recursive call.
733 * string/memset.c (memset): Likewise.
734 * string/test-memmove.c (simple_memmove): Disable loop transformation
735 to library calls.
736 * string/test-memset.c (simple_memset): Likewise.
737 * benchtests/bench-memmove.c (simple_memmove): Likewise.
738 * benchtests/bench-memset.c (simple_memset): Likewise.
739 * configure: Regenerated.
740
741 2013-06-20 Joseph Myers <joseph@codesourcery.com>
742
743 * math/test-misc.c (main): Ignore fesetround failure when failures
744 of subsequent rounding tests would be ignored.
745
746 [BZ #15654]
747 * math/fedisblxcpt.c (fedisableexcept): Return 0.
748 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
749 * math/fegetenv.c (__fegetenv): Return 0.
750 * math/fegetexcept.c (fegetexcept): Return 0.
751 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
752 FE_TONEAREST.
753 * math/feholdexcpt.c (feholdexcept): Return 0.
754 * math/fesetenv.c (__fesetenv): Return 0.
755 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
756 argument FE_TONEAREST.
757 * math/feupdateenv.c (__feupdateenv): Return 0.
758 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
759
760 2013-06-18 Roland McGrath <roland@hack.frob.com>
761
762 * elf/rtld-Rules (rtld-compile-command.S): New variable.
763 (rtld-compile-command.s, rtld-compile-command.c): New variables.
764 ($(objpfx)rtld-%.os rules): Use them.
765
766 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767
768 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
769 fields.
770
771 2013-06-17 Roland McGrath <roland@hack.frob.com>
772
773 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
774 length of target pattern, then descending length of dependency pattern.
775 * configure.in (AWK): Require gawk 3.1.2 or newer.
776 * manual/install.texi (Tools for Compilation): Say that we do.
777 * configure: Regenerated.
778
779 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
780 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
781 * scripts/sysd-rules.awk: ... this new script.
782 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
783 than a glob-style pattern.
784
785 2013-06-17 Joseph Myers <joseph@codesourcery.com>
786
787 * math/test-misc.c (main): Do not treat incorrectly rounded
788 conversions as failure unless ROUNDING_TESTS passes.
789
790 2013-06-15 Joseph Myers <joseph@codesourcery.com>
791
792 [BZ #15631]
793 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
794 restore exception state around main square root computation, then
795 check for inexactness explicitly.
796
797 * math/libm-test.inc (fma_test_data): Add another test.
798
799 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
800
801 * manual/threads.texi (Non-POSIX Extensions): New document
802 node. Document pthread_getattr_default_np and
803 pthread_setattr_default_np.
804
805 * Versions.def (libpthread): Add GLIBC_2.18.
806 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
808 Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
810 Likewise.
811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
812 Likewise.
813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
814 Likewise.
815 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
816 Likewise.
817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
818 Likewise.
819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
820 Likewise.
821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
822 Likewise.
823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
824 Likewise.
825
826 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
827
828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
829 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
830
831 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
832 H.J. Lu <hjl.tools@gmail.com>
833
834 [BZ #15627]
835 * sysdeps/x86_64/rtld-memset.c: Remove file.
836 * sysdeps/x86_64/rtld-memset.S: New file.
837
838 2013-06-14 Joseph Myers <joseph@codesourcery.com>
839
840 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
841 (test_in_one_mode): Take arguments for whether the rounding mode
842 is supported for each floating-point type.
843 (do_test): Pass new arguments to test_in_one_mode using
844 ROUNDING_TESTS.
845
846 2013-06-13 Roland McGrath <roland@hack.frob.com>
847
848 * posix/tst-waitid.c (do_test): Distinguish different instances of
849 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
850 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
851 before entering the kernel for waitpid.
852
853 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
854
855 * NEWS: Fix note on clock function precision. Text by Roland
856 McGrath.
857
858 2013-06-13 Roland McGrath <roland@hack.frob.com>
859
860 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
861 it into place only when and if the sanity check passes.
862
863 2013-06-13 Joseph Myers <joseph@codesourcery.com>
864
865 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
866 output for whether conversion result is exact. Take argument
867 indicating whether type is IBM long double.
868 (round_for_all): Change need_exact field to ibm_ld.
869 * stdlib/tst-strtod-round.c (struct exactness): New type.
870 (struct test): Change bool ld_ok field to struct exactness exact.
871 (TEST): Update all definitions for change to field.
872 (tests): Regenerate array contents.
873 (test_in_one_mode): Take pointer to new field instead of old ld_ok
874 field value. Check for IBM long double here.
875 (do_test): Update calls to test_in_one_mode.
876
877 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
878
879 [BZ #12515]
880 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
881 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
882
883 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
884
885 [BZ #15605]
886 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
887 generated by the compiler on loop optimizations.
888 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
889 general definitions.
890
891 2013-06-12 Joseph Myers <joseph@codesourcery.com>
892
893 * math/bug-nextafter.c: Include <math-tests.h>.
894 (main): Only test for exceptions if EXCEPTION_TESTS is true for
895 the relevant type.
896 * math/bug-nexttoward.c: Include <math-tests.h>.
897 (main): Only test for exceptions if EXCEPTION_TESTS is true for
898 the relevant type.
899 * math/test-misc.c: Include <math-tests.h>.
900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
901 the relevant type.
902
903 2013-06-12 Andreas Jaeger <aj@suse.de>
904
905 * po/ia.po: Update Interlingua translation from translation
906 project.
907
908 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
909
910 * include/fenv.h: Include stdbool.h.
911 (struct rm_ctx): New structure.
912 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
913 Define macro.
914 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
915 (SET_RESTORE_ROUNDF): Likewise.
916 (SET_RESTORE_ROUNDL): Likewise.
917 (SET_RESTORE_ROUND_NOEX): Likewise.
918 (SET_RESTORE_ROUND_NOEXF): Likewise.
919 (SET_RESTORE_ROUND_NOEXL): Likewise.
920 (SET_RESTORE_ROUND_53BIT): Likewise.
921 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
922 (libc_feresetround_noexf_ctx): Likewise.
923 (libc_feresetround_noexl_ctx): Likewise.
924 (libc_feholdsetround_53bit_ctx): Likewise.
925 (libc_feresetround_53bit_ctx): Likewise.
926 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
927 (libc_feholdexcept_setround_sse_ctx): New function.
928 (libc_fesetenv_sse_ctx): Likewise.
929 (libc_feupdateenv_sse_ctx): Likewise.
930 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
931 (libc_feholdexcept_setround_387_ctx): Likewise.
932 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
933 (libc_feholdsetround_387_prec_ctx): Likewise.
934 (libc_feholdsetround_387_ctx): Likewise.
935 (libc_feholdsetround_387_53bit_ctx): Likewise.
936 (libc_feholdsetround_sse_ctx): Likewise.
937 (libc_feresetround_sse_ctx): Likewise.
938 (libc_feresetround_387_ctx): Likewise.
939 (libc_feupdateenv_387_ctx): Likewise.
940 (libc_feholdexcept_setroundf_ctx): Define macro.
941 (libc_fesetenvf_ctx): Likewise.
942 (libc_feupdateenvf_ctx): Likewise.
943 (libc_feholdsetroundf_ctx): Likewise.
944 (libc_feresetroundf_ctx): Likewise.
945 (libc_feholdexcept_setround_ctx): Likewise.
946 (libc_fesetenv_ctx): Likewise.
947 (libc_feupdateenv_ctx): Likewise.
948 (libc_feholdsetround_ctx): Likewise.
949 (libc_feresetround_ctx): Likewise.
950 (libc_feholdexcept_setroundl_ctx): Likewise.
951 (libc_feupdateenvl_ctx): Likewise.
952 (libc_feholdsetroundl_ctx): Likewise.
953 (libc_feresetroundl_ctx): Likewise.
954 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
955 (libc_feresetround_53bit_ctx): Likewise.
956
957 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
958
959 * locale/iso-639.def: Convert to UTF-8.
960
961 2013-06-11 Joseph Myers <joseph@codesourcery.com>
962
963 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
964 (EXCEPTION_TESTS_double): Likewise.
965 (EXCEPTION_TESTS_long_double): Likewise.
966 (EXCEPTION_TESTS): Likewise.
967 * math/libm-test.inc (test_exceptions): Only test exceptions if
968 EXCEPTION_TESTS (FLOAT).
969
970 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
971
972 * benchtests/Makefile (string-bench): Add strcpy_chk and
973 stpcpy_chk.
974 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
975 * benchtests/bench-stpcpy_chk.c: New file.
976 * benchtests/bench-strcpy_chk-ifunc.c: New file.
977 * benchtests/bench-strcpy_chk.c: New file.
978 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
979 code.
980 (do_test): Likewise.
981
982 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
983
984 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
985 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
986 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
987 with tabs where appropriate.
988 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
989 dl-procinfo.h.
990 [PPC_PLATFORM_PPC440]: Likewise.
991 [PPC_PLATFORM_PPC464]: Likewise.
992 [PPC_PLATFORM_PPC476]: Likewise.
993 (_dl_string_platform): Add support for detecting ppc405, ppc440,
994 ppc464, and ppc476 platform strings merging from ports/
995 dl-procinfo.h.
996
997 2013-06-11 Andreas Schwab <schwab@suse.de>
998
999 [BZ #14991]
1000 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1001 (from_ucs4_idx): Regenerate.
1002 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1003 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1004 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1005 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1006 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1007 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1008 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1009 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1010 from FROM_LOOP and TO_LOOP specific macros.
1011 (BODY): Handle combining characters.
1012 * iconvdata/BIG5HKSCS.irreversible: Update.
1013 * iconvdata/BIG5HKSCS.precomposed: New file.
1014 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1015 characters.
1016 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1017
1018 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1019
1020 * include/sys/time.h: Fix indentation and add copyright header.
1021
1022 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1023 (do_test): Likewise.
1024 * string/test-memchr.c (do_one_test): Likewise.
1025 (do_test): Likewise.
1026 * string/test-memcmp.c (do_one_test): Likewise.
1027 (do_test): Likewise.
1028 * string/test-memcpy.c (do_one_test): Likewise.
1029 (do_test): Likewise.
1030 * string/test-memmem.c (do_one_test): Likewise.
1031 (do_test): Likewise.
1032 (do_random_tests): Likewise.
1033 * string/test-memmove.c (do_one_test): Likewise.
1034 (do_test): Likewise.
1035 * string/test-memset.c (do_one_test): Likewise.
1036 (do_test): Likewise.
1037 * string/test-rawmemchr.c (do_one_test): Likewise.
1038 (do_test): Likewise.
1039 * string/test-strcasecmp.c (do_one_test): Likewise.
1040 (do_test): Likewise.
1041 * string/test-strcasestr.c (do_one_test): Likewise.
1042 (do_test): Likewise.
1043 * string/test-strcat.c (do_one_test): Likewise.
1044 (do_test): Likewise.
1045 * string/test-strchr.c (do_one_test): Likewise.
1046 (do_test): Likewise.
1047 * string/test-strcmp.c (do_one_test): Likewise.
1048 (do_test): Likewise.
1049 * string/test-strcpy.c (do_one_test): Likewise.
1050 (do_test): Likewise.
1051 * string/test-string.h: Likewise.
1052 (test_init): Likewise.
1053 * string/test-strlen.c (do_one_test): Likewise.
1054 (do_test): Likewise.
1055 * string/test-strncasecmp.c (do_one_test): Likewise.
1056 (do_test): Likewise.
1057 * string/test-strncat.c (do_one_test): Likewise.
1058 (do_test): Likewise.
1059 * string/test-strncmp.c (do_one_test): Likewise.
1060 (do_test_limit): Likewise.
1061 (do_test): Likewise.
1062 * string/test-strncpy.c (do_one_test): Likewise.
1063 (do_test): Likewise.
1064 * string/test-strnlen.c (do_one_test): Likewise.
1065 (do_test): Likewise.
1066 * string/test-strpbrk.c (do_one_test): Likewise.
1067 (do_test): Likewise.
1068 * string/test-strrchr.c (do_one_test): Likewise.
1069 (do_test): Likewise.
1070 * string/test-strspn.c (do_one_test): Likewise.
1071 (do_test): Likewise.
1072 * string/test-strstr.c (do_one_test): Likewise.
1073 (do_test): Likewise.
1074
1075 * benchtests/Makefile (string-bench): Add string benchmarks.
1076 * benchtests/bench-bcopy-ifunc.c: New file.
1077 * benchtests/bench-bcopy.c: New file.
1078 * benchtests/bench-bzero-ifunc.c: New file.
1079 * benchtests/bench-bzero.c: New file.
1080 * benchtests/bench-memccpy-ifunc.c: New file.
1081 * benchtests/bench-memccpy.c: New file.
1082 * benchtests/bench-memchr-ifunc.c: New file.
1083 * benchtests/bench-memchr.c: New file.
1084 * benchtests/bench-memcmp-ifunc.c: New file.
1085 * benchtests/bench-memcmp.c: New file.
1086 * benchtests/bench-memmem-ifunc.c: New file.
1087 * benchtests/bench-memmem.c: New file.
1088 * benchtests/bench-memmove-ifunc.c: New file.
1089 * benchtests/bench-memmove.c: New file.
1090 * benchtests/bench-mempcpy-ifunc.c: New file.
1091 * benchtests/bench-mempcpy.c: New file.
1092 * benchtests/bench-memset-ifunc.c: New file.
1093 * benchtests/bench-memset.c: New file.
1094 * benchtests/bench-rawmemchr-ifunc.c: New file.
1095 * benchtests/bench-rawmemchr.c: New file.
1096 * benchtests/bench-stpcpy-ifunc.c: New file.
1097 * benchtests/bench-stpcpy.c: New file.
1098 * benchtests/bench-stpncpy-ifunc.c: New file.
1099 * benchtests/bench-stpncpy.c: New file.
1100 * benchtests/bench-strcasecmp-ifunc.c: New file.
1101 * benchtests/bench-strcasecmp.c: New file.
1102 * benchtests/bench-strcasestr-ifunc.c: New file.
1103 * benchtests/bench-strcasestr.c: New file.
1104 * benchtests/bench-strcat-ifunc.c: New file.
1105 * benchtests/bench-strcat.c: New file.
1106 * benchtests/bench-strchr-ifunc.c: New file.
1107 * benchtests/bench-strchr.c: New file.
1108 * benchtests/bench-strchrnul-ifunc.c: New file.
1109 * benchtests/bench-strchrnul.c: New file.
1110 * benchtests/bench-strcmp-ifunc.c: New file.
1111 * benchtests/bench-strcmp.c: New file.
1112 * benchtests/bench-strcpy-ifunc.c: New file.
1113 * benchtests/bench-strcpy.c: New file.
1114 * benchtests/bench-strcspn-ifunc.c: New file.
1115 * benchtests/bench-strcspn.c: New file.
1116 * benchtests/bench-strlen-ifunc.c: New file.
1117 * benchtests/bench-strlen.c: New file.
1118 * benchtests/bench-strncasecmp-ifunc.c: New file.
1119 * benchtests/bench-strncasecmp.c: New file.
1120 * benchtests/bench-strncat-ifunc.c: New file.
1121 * benchtests/bench-strncat.c: New file.
1122 * benchtests/bench-strncmp-ifunc.c: New file.
1123 * benchtests/bench-strncmp.c: New file.
1124 * benchtests/bench-strncpy-ifunc.c: New file.
1125 * benchtests/bench-strncpy.c: New file.
1126 * benchtests/bench-strnlen-ifunc.c: New file.
1127 * benchtests/bench-strnlen.c: New file.
1128 * benchtests/bench-strpbrk-ifunc.c: New file.
1129 * benchtests/bench-strpbrk.c: New file.
1130 * benchtests/bench-strrchr-ifunc.c: New file.
1131 * benchtests/bench-strrchr.c: New file.
1132 * benchtests/bench-strspn-ifunc.c: New file.
1133 * benchtests/bench-strspn.c: New file.
1134 * benchtests/bench-strstr-ifunc.c: New file.
1135 * benchtests/bench-strstr.c: New file.
1136
1137 * benchtests/Makefile: Disable parallel execution of targets.
1138 (string-bench): Add memcpy.
1139 (benchset): New variable to store a list of benchmark sets.
1140 (bench-func): Renamed from bench.
1141 (bench-set): New target.
1142 (bench): Depend on bench-func and bench-set.
1143 * benchtests/README: Add section on benchmark sets.
1144 * benchtests/bench-memcpy-ifunc.c: New file.
1145 * benchtests/bench-memcpy.c: New file.
1146 * benchtests/bench-string.h: New file.
1147
1148 2013-06-11 Andreas Schwab <schwab@suse.de>
1149
1150 [BZ #15577]
1151 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1152 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1153 values in the triple.
1154 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1155 terminator in the group key.
1156
1157 2013-06-11 Andreas Jaeger <aj@suse.de>
1158
1159 * po/zh_TW.po: Update Chinese (traditional) translation from
1160 translation project.
1161
1162 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1163
1164 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1165 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1166 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1168 (clock_getcpuclockid): Likewise.
1169 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1170 Add weak_alias and libc_hidden_def.
1171 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1172 * rt/clock_gettime.c (clock_gettime): Rename to
1173 __clock_gettime. Add weak_alias and libc_hidden_def.
1174 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1175 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1176 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1177 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1178 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1179 Likewise.
1180 * rt/clock_settime.c (clock_settime): Rename to
1181 __clock_settime. Add weak_alias and libc_hidden_def.
1182 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1183
1184 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1185
1186 * mach/err_boot.sub: Remove trailing whitespace.
1187 * mach/err_ipc.sub: Likewise.
1188 * mach/err_mach.sub: Likewise.
1189
1190 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1191 (ROUNDING_TESTS_double): Likewise.
1192 (ROUNDING_TESTS_long_double): Likewise.
1193 (ROUNDING_TESTS): Likewise.
1194 * math/libm-test.inc: Include <math-tests.h>.
1195 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1196 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1197 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1198 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1199
1200 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1201
1202 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1203 of assigning.
1204
1205 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1206
1207 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1208 otherwise empty TRANS lines.
1209 * sysdeps/gnu/errlist.c: Regenerated.
1210
1211 * catgets/gencat.c (error_print): Use (void) in function
1212 definition.
1213 * crypt/crypt_util.c (__init_des): Likewise.
1214 * crypt/speeds.c (Stop): Likewise.
1215 (main): Likewise.
1216 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1217 * inet/ruserpass.c (token): Likewise.
1218 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1219 * intl/localealias.c (extend_alias_table): Likewise.
1220 * intl/plural-exp.c (init_germanic_plural): Likewise.
1221 * libio/fcloseall.c (__fcloseall): Likewise.
1222 * libio/genops.c (_IO_flush_all): Likewise.
1223 (_IO_flush_all_linebuffered): Likewise.
1224 (_IO_cleanup): Likewise.
1225 (_IO_iter_begin): Likewise.
1226 (_IO_iter_end): Likewise.
1227 (_IO_list_lock): Likewise.
1228 (_IO_list_unlock): Likewise.
1229 (_IO_list_resetlock): Likewise.
1230 * libio/getchar.c (getchar): Likewise.
1231 * libio/getchar_u.c (getchar_unlocked): Likewise.
1232 * libio/getwchar.c (getwchar): Likewise.
1233 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1234 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1235 * login/getpt.c (__getpt): Likewise.
1236 * login/tst-utmp.c (main): Likewise.
1237 * malloc/hooks.c (__malloc_check_init): Likewise.
1238 * malloc/malloc.c (__malloc_stats): Likewise.
1239 * malloc/mtrace.c (tr_break): Likewise.
1240 (mtrace): Likewise.
1241 (muntrace): Likewise.
1242 * misc/fstab.c (endfsent): Likewise.
1243 * misc/getclktck.c (__getclktck): Likewise.
1244 * misc/getdtsz.c (__getdtablesize): Likewise.
1245 * misc/gethostid.c (gethostid): Likewise.
1246 * misc/getpagesize.c (__getpagesize): Likewise.
1247 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1248 (__get_nprocs): Likewise.
1249 (__get_phys_pages): Likewise.
1250 (__get_avphys_pages): Likewise.
1251 * misc/getttyent.c (getttyent): Likewise.
1252 (setttyent): Likewise.
1253 (endttyent): Likewise.
1254 * misc/getusershell.c (getusershell): Likewise.
1255 (endusershell): Likewise.
1256 (setusershell): Likewise.
1257 (initshells): Likewise.
1258 * misc/hsearch.c (__hdestroy): Likewise.
1259 * misc/sync.c (sync): Likewise.
1260 * misc/syslog.c (closelog_internal): Likewise.
1261 (closelog): Likewise.
1262 * misc/ttyslot.c (ttyslot): Likewise.
1263 * misc/vhangup.c (vhangup): Likewise.
1264 * posix/fork.c (__fork): Likewise.
1265 * posix/getegid.c (__getegid): Likewise.
1266 * posix/geteuid.c (__geteuid): Likewise.
1267 * posix/getgid.c (__getgid): Likewise.
1268 * posix/getpid.c (__getpid): Likewise.
1269 * posix/getppid.c (__getppid): Likewise.
1270 * posix/getuid.c (__getuid): Likewise.
1271 * posix/pause.c (pause): Likewise.
1272 * posix/setpgrp.c (setpgrp): Likewise.
1273 * posix/setsid.c (__setsid): Likewise.
1274 * posix/test-vfork.c (noop): Likewise.
1275 * resolv/gethnamaddr.c (_endhtent): Likewise.
1276 (_gethtent): Likewise.
1277 (ht_endhostent): Likewise.
1278 (gethostent): Likewise.
1279 (dns_service): Likewise.
1280 * stdlib/drand48.c (drand48): Likewise.
1281 * stdlib/lrand48.c (lrand48): Likewise.
1282 * stdlib/mrand48.c (mrand48): Likewise.
1283 * stdlib/rand.c (rand): Likewise.
1284 * stdlib/random.c (__random): Likewise.
1285 * stdlib/setenv.c (clearenv): Likewise.
1286 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1287 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1288 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1289 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1290 (__get_nprocs): Likewise.
1291 (__get_phys_pages): Likewise.
1292 (__get_avphys_pages): Likewise.
1293 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1294 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1295 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1296 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1297 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1298 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1299 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1300 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1301 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1302 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1303 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1304 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1305 * sysdeps/posix/clock.c (clock): Likewise.
1306 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1307 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1308 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1309 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1310 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1311 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1312 (__get_nprocs_conf): Likewise.
1313 (__get_phys_pages): Likewise.
1314 (__get_avphys_pages): Likewise.
1315 * time/clock.c (clock): Likewise.
1316 * time/tzset.c (__tzname_max): Likewise.
1317
1318 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1319
1320 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1321 (__bswap_32): Do not use "register".
1322 * crypt/crypt.c (_ufc_doit_r): Likewise.
1323 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1324 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1325 * gmon/gmon.c (__monstartup): Likewise.
1326 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1327 * hurd/hurdmalloc.c (more_memory): Likewise.
1328 (malloc): Likewise.
1329 (free): Likewise.
1330 (realloc): Likewise.
1331 (malloc_fork_prepare): Likewise.
1332 (malloc_fork_parent): Likewise.
1333 (malloc_fork_child): Likewise.
1334 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1335 (_svcauth_des): Likewise.
1336 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1337 * inet/inet_net.c (inet_network): Likewise.
1338 * inet/inet_netof.c (inet_netof): Likewise.
1339 * inet/rcmd.c (__validuser2_sa): Likewise.
1340 * io/fts.c (fts_open): Likewise.
1341 (fts_load): Likewise.
1342 (fts_close): Likewise.
1343 (fts_read): Likewise.
1344 (fts_children): Likewise.
1345 (fts_build): Likewise.
1346 (fts_stat): Likewise.
1347 (fts_sort): Likewise.
1348 (fts_alloc): Likewise.
1349 (fts_lfree): Likewise.
1350 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1351 (_IO_file_xsgetn): Likewise.
1352 (_IO_file_xsgetn_mmap): Likewise.
1353 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1354 (_IO_cookie_write): Likewise.
1355 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1356 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1357 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1358 * malloc/obstack.c (_obstack_begin): Likewise.
1359 (_obstack_begin_1): Likewise.
1360 (_obstack_newchunk): Likewise.
1361 (_obstack_allocated_p): Likewise.
1362 (obstack_free): Likewise.
1363 (_obstack_memory_used): Likewise.
1364 * misc/getttyent.c (getttynam): Likewise.
1365 (getttyent): Likewise.
1366 (skip): Likewise.
1367 (value): Likewise.
1368 * misc/getusershell.c (initshells): Likewise.
1369 * misc/syslog.c (__vsyslog_chk): Likewise.
1370 * misc/ttyslot.c (ttyslot): Likewise.
1371 * nis/nis_hash.c (__nis_hash): Likewise.
1372 * posix/fnmatch_loop.c (FCT): Likewise.
1373 * posix/getconf.c (print_all): Likewise.
1374 (main): Likewise.
1375 * posix/getopt.c (exchange): Likewise.
1376 * posix/glob.c (globfree): Likewise.
1377 (prefix_array): Likewise.
1378 (__glob_pattern_type): Likewise.
1379 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1380 (NS_GET32): Likewise.
1381 (NS_PUT16): Likewise.
1382 (NS_PUT32): Likewise.
1383 * resolv/gethnamaddr.c (getanswer): Likewise.
1384 (gethostbyname2): Likewise.
1385 (gethostbyaddr): Likewise.
1386 (_gethtent): Likewise.
1387 (_gethtbyname2): Likewise.
1388 (_gethtbyaddr): Likewise.
1389 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1390 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1391 * resolv/res_init.c (__res_vinit): Likewise.
1392 (net_mask): Likewise.
1393 * resolv/res_mkquery.c (outchar): Likewise.
1394 (PRINT): Likewise.
1395 * stdio-common/printf_fp.c (outchar): Likewise.
1396 (PRINT): Likewise.
1397 * stdio-common/printf_fphex.c (outchar): Likewise.
1398 (PRINT): Likewise.
1399 * stdio-common/printf_size.c (outchar): Likewise.
1400 (PRINT): Likewise.
1401 * stdio-common/test_rdwr.c (main): Likewise.
1402 * stdio-common/tfformat.c (matches): Likewise.
1403 * stdio-common/vfprintf.c (outchar): Likewise.
1404 (printf_unknown): Likewise.
1405 (buffered_vfprintf): Likewise.
1406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1407 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1408 (ReadFile): Likewise.
1409 * stdlib/qsort.c (SWAP): Likewise.
1410 (_quicksort): Likewise.
1411 * stdlib/setenv.c (__add_to_environ): Likewise.
1412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1413 * stdlib/strtol_l.c (__strtol_l): Likewise.
1414 * stdlib/tst-strtod.c (main): Likewise.
1415 * stdlib/tst-strtol.c (main): Likewise.
1416 * stdlib/tst-strtoll.c (main): Likewise.
1417 * string/bits/string2.h (__strcmp_cc): Likewise.
1418 (__strcmp_cg): Likewise.
1419 (__strcspn_c1): Likewise.
1420 (__strcspn_c2): Likewise.
1421 (__strcspn_c3): Likewise.
1422 (__strspn_c1): Likewise.
1423 (__strspn_c2): Likewise.
1424 (__strspn_c3): Likewise.
1425 (__strsep_1c): Likewise.
1426 (__strsep_2c): Likewise.
1427 (__strsep_3c): Likewise.
1428 * string/memccpy.c (__memccpy): Likewise.
1429 * string/stpcpy.c (__stpcpy): Likewise.
1430 * string/strcmp.c (strcmp): Likewise.
1431 * string/strrchr.c (strrchr): Likewise.
1432 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1433 Likewise.
1434 * sysdeps/mach/hurd/getcwd.c
1435 (_hurd_canonicalize_directory_name_internal): Likewise.
1436 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1437 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1438 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1439 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1440 Likewise, in both definitions.
1441 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1442 definitions.
1443 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1444 64] (__bswap_64): Likewise.
1445 * time/test_time.c (main): Likewise.
1446 * time/tzfile.c (__tzfile_read): Likewise.
1447 (__tzfile_compute): Likewise.
1448 * time/tzset.c (__tzset_parse_tz): Likewise.
1449 (tzset_internal): Likewise.
1450 (compute_change): Likewise.
1451 * wcsmbs/wcscat.c (__wcscat): Likewise.
1452 * wcsmbs/wcschr.c (wcschr): Likewise.
1453 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1454 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1455 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1456 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1457 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1458 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1459 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1460 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1461 * wcsmbs/wmemset.c (wmemset): Likewise.
1462
1463 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1464
1465 * scripts/config.guess: Update to version 2013-05-16.
1466 * scripts/config.sub: Update to version 2013-04-24.
1467 * scripts/install-sh: Update to version 2011-11-20.07.
1468 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1469 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1470
1471 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1472
1473 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1474 * elf/sln.c: Likewise.
1475 * hurd/hurd/ioctl.h: Likewise.
1476 * hurd/hurdmalloc.c: Likewise.
1477 * hurd/xattr.c: Likewise.
1478 * include/shlib-compat.h: Likewise.
1479 * inet/ruserpass.c: Likewise.
1480 * libio/iofgets_u.c: Likewise.
1481 * libio/iofgetws_u.c: Likewise.
1482 * locale/programs/ld-identification.c: Likewise.
1483 * locale/programs/ld-time.c: Likewise.
1484 * mach/msg-destroy.c: Likewise.
1485 * nss/nss_files/files-netgrp.c: Likewise.
1486 * resolv/res_data.c: Likewise.
1487 * soft-fp/op-1.h: Likewise.
1488 * soft-fp/op-2.h: Likewise.
1489 * soft-fp/op-4.h: Likewise.
1490 * soft-fp/op-common.h: Likewise.
1491 * stdio-common/printf_fphex.c: Likewise.
1492 * stdlib/strtod_l.c: Likewise.
1493 * sunrpc/rpc/clnt.h: Likewise.
1494 * sysdeps/generic/framestate.c: Likewise.
1495 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1496 * sysdeps/i386/bsd-setjmp.S: Likewise.
1497 * sysdeps/i386/__longjmp.S: Likewise.
1498 * sysdeps/i386/setjmp.S: Likewise.
1499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1500 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1509 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1517 * sysdeps/ieee754/support.c: Likewise.
1518 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1519 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1520 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1521 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1522 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1523 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1524 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1525 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1526 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1527 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1528 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1529 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1530 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1531 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1532 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1533 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1534 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1536
1537 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1538
1539 * posix/transbug.c: Remove executable mode.
1540
1541 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1542
1543 * crypt/speeds.c: Remove trailing whitespace.
1544 * dlfcn/default.c: Likewise.
1545 * elf/ifuncdep2.c: Likewise.
1546 * elf/ifuncmain1.c: Likewise.
1547 * elf/ifuncmain1vis.c: Likewise.
1548 * elf/testobj.h: Likewise.
1549 * elf/tst-stackguard1.c: Likewise.
1550 * gmon/sys/gmon.h: Likewise.
1551 * hurd/hurdmsg.c: Likewise.
1552 * hurd/new-fd.c: Likewise.
1553 * hurd/ports-get.c: Likewise.
1554 * iconvdata/ibm1008_420.c: Likewise.
1555 * inet/tst-getni1.c: Likewise.
1556 * inet/tst-getni2.c: Likewise.
1557 * libio/ioungetc.c: Likewise.
1558 * libio/wfiledoalloc.c: Likewise.
1559 * manual/libm-err-tab.pl: Likewise.
1560 * math/w_dremf.c: Likewise.
1561 * misc/ftruncate.c: Likewise.
1562 * posix/bug-glob2.c: Likewise.
1563 * posix/tst-pcre.c: Likewise.
1564 * posix/wait4.c: Likewise.
1565 * resolv/README: Likewise.
1566 * resolv/res_debug.h: Likewise.
1567 * resolv/tst-inet_ntop.c: Likewise.
1568 * setjmp/bug269-setjmp.c: Likewise.
1569 * soft-fp/extended.h: Likewise.
1570 * soft-fp/op-1.h: Likewise.
1571 * soft-fp/op-2.h: Likewise.
1572 * soft-fp/op-4.h: Likewise.
1573 * soft-fp/op-8.h: Likewise.
1574 * soft-fp/testit.c: Likewise.
1575 * stdio-common/bug16.c: Likewise.
1576 * stdlib/random.c: Likewise.
1577 * sunrpc/rpcsvc/rquota.x: Likewise.
1578 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1579 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1580 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1581 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1582 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1584 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1585 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1586 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1588 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1607 * sysdeps/ieee754/s_lib_version.c: Likewise.
1608 * sysdeps/mach/hurd/check_fds.c: Likewise.
1609 * sysdeps/mach/hurd/getsockname.c: Likewise.
1610 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1611 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1612 * sysdeps/powerpc/bits/link.h: Likewise.
1613 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1614 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1615 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1616 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1617 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1618 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1619 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1620 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1621 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1622 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1623 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1625 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1627 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1628 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1631 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1632 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1634 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1635 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1636 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1637 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1639 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1641 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1643 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1644 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1645 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1647 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1648 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1649 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1650 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1651 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1652 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1653 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1654 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1655 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1656 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1657 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1658 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1659 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1660 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1661 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1662 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1665 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1666 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1667 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1668 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1669 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1670 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1672 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1673 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1674 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1675 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1676 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1677 * sysdeps/powerpc/sysdep.h: Likewise.
1678 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1679 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1680 * sysdeps/sh/dl-trampoline.S: Likewise.
1681 * sysdeps/sh/memset.S: Likewise.
1682 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1683 * sysdeps/sh/strlen.S: Likewise.
1684 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1685 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1686 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1687 * sysdeps/sparc/sparc32/rem.S: Likewise.
1688 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1689 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1690 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1691 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1692 * sysdeps/sparc/sparc32/urem.S: Likewise.
1693 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1694 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1695 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1696 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1697 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1698 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1699 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1700 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1701 * sysdeps/unix/bsd/times.c: Likewise.
1702 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1703 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1707 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1709 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1710 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1711 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1712 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1713 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1714 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1715 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1716 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1717 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1718 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1719 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1720 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1721 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1722 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1723 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1724 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1725 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1726 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1727 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1728 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1730 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1731 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1732 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1733 * sysdeps/x86_64/strcspn.S: Likewise.
1734
1735 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1736
1737 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1738 generated file. Regenerate properly from gen-translit.pl.
1739 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1740 locale/C-translit.h.
1741
1742 2013-06-05 Andreas Schwab <schwab@suse.de>
1743
1744 [BZ #15100]
1745 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1746 week as 6 instead of -1.
1747 * time/tst-strptime.c (day_tests): Add test case.
1748
1749 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
1751 * sysdeps/generic/math_private.h
1752 (libc_feholdexcept_setround_53bit): Replace with
1753 libc_feholdsetround_53bit.
1754 (libc_feupdateenv_53bit): Replace with
1755 libc_feresetround_53bit.
1756 (SET_RESTORE_ROUND_53BIT): Adjust.
1757
1758 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1759
1760 * string/test-strchrnul.c: Add copyright header.
1761
1762 * posix/tst-getaddrinfo4.c: Increase test timeout.
1763
1764 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1765
1766 [BZ #15536]
1767 * math/libm-test.inc (MAX_EXP): Remove
1768 (MIN_EXP): Define.
1769 (ulp): Use MIN_EXP - MANT_DIG.
1770 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1771
1772 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1773
1774 * po/be.po: Revert last change.
1775 * po/zh_CN.po: Likewise.
1776 * po/header.pot: Likewise.
1777
1778 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1779
1780 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1781 link-libc-deps to empty as target-specific variable.
1782 * Makerules (link-libc-args): New variable.
1783 (libc-for-link): Likewise.
1784 (link-libc-deps): Likewise.
1785 (lib%.so): Depend on $(link-libc-deps). Link with
1786 $(link-libc-args).
1787 (build-module): Link with $(link-libc-args).
1788 (build-module-asneeded): Likewise.
1789 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1790 list of objects.
1791 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1792 target-specific variable.
1793 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1794 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1795 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1796 libc.
1797 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1798 libc and ld.so.
1799 ($(objpfx)libpcprofile.so): Likewise.
1800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1801 libc_nonshared.a.
1802 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1803 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1804 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1805 $(link-libc-deps).
1806 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1807 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1808 * login/Makefile ($(objpfx)libutil.so): Likewise.
1809 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1810 * math/Makefile ($(objpfx)libm.so): Likewise.
1811 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1812 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1813 variable instead of depending directly on libc.
1814 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1815 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1816 $(link-libc-deps).
1817 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1818 libc.
1819 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1820 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1821 ($(objpfx)libanl.so): Likewise.
1822 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1823 ld.so.
1824 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1825 $(link-libc-deps).
1826 * sysdeps/i386/fpu/Makefile: Remove file.
1827 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1828 ($(objpfx)libm.so): Remove dependency on ld.so.
1829
1830 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1831
1832 [BZ # 15553]
1833 * nis/yp_xdr.c (XDRMAXNAME): Define.
1834 (XDRMAXRECORD): Define.
1835 (xdr_domainname): Use XDRMAXNAME.
1836 (xdr_mapname): Likewise.
1837 (xdr_peername): Likewise.
1838 (xdr_keydat): Use XDRMAXRECORD.
1839 (xdr_valdat): Likewise.
1840
1841 2013-05-30 Jeff Law <law@redhat.com>
1842
1843 [BZ #14256]
1844 * manual/errno.texi (ESTALE): Update to account for more than
1845 just NFS file systems.
1846 * sysdeps/gnu/errlist.c: Regenerated.
1847
1848 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1849
1850 [BZ #15465]
1851 * elf/Makefile (tests): Add tst-null-argv.
1852 (modules-names): Add tst-null-argv-lib.
1853 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1854 (tst-null-argv-ENV): Set environment for tst-null-argv.
1855 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1856 (RTLD_PROGNAME): New macro.
1857 * elf/tst-null-argv.c: New test case.
1858 * elf/tst-null-argv-lib.c: Library for test case.
1859 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1860 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1861 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1862 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1863 * elf/dl-init.c (call_init): Likewise.
1864 (_dl_init): Likewise.
1865 * elf/dl-load.c (print_search_path): Likewise.
1866 (_dl_map_object): Likewise.
1867 * elf/dl-lookup.c (do_lookup_x): Likewise.
1868 (add_dependency): Likewise.
1869 (_dl_lookup_symbol_x): Likewise.
1870 (_dl_debug_bindings): Likewise.
1871 * elf/dl-open.c (_dl_show_scope): Likewise.
1872 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1873 * elf/dl-version.c (match_symbol): Likewise.
1874 (_dl_check_map_versions): Likewise.
1875 * elf/rtld.c (dl_main): Likewise.
1876 (print_unresolved): Use RTLD_PROGNAME.
1877 (print_missing_version): Likewise.
1878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1879 (elf_machine_rela): Likewise.
1880 * sysdeps/powerpc/powerpc32/dl-machine.c
1881 (__process_machine_rela): Likewise.
1882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1883 Likewise.
1884 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1885 Likewise.
1886 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1887 Likewise.
1888 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1890 Likewise.
1891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1892 Likewise.
1893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1894
1895 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1896
1897 * po/be.po: Add descriptive title.
1898 * po/zh_CN.po: Likewise.
1899 * po/header.pot: Likewise.
1900
1901 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1902
1903 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1904 error message.
1905 (enlarge_archive): Likewise.
1906
1907 2013-05-28 Ben North <ben@redfrontdoor.org>
1908
1909 * manual/arith.texi (frexp): It is the magnitude of the return
1910 value which lies in [0.5, 1), not the return value itself.
1911
1912 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1915
1916 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1917
1918 * stdio-common/bug26.c (main): Correct fscanf template.
1919
1920 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1921 declare _dl_skip_args.
1922
1923 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1924 Don't declare.
1925
1926 * manual/platform.texi: Add missing @end deftypefun.
1927
1928 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1929
1930 [BZ #15529]
1931 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1932 bit of mantissa of 2^16382.
1933 * math/libm-test.inc (hypot_test_data): Add more tests.
1934
1935 * math/libm-test.inc: Add drem and pow10 to list of tested
1936 functions.
1937 (pow10_test): New function.
1938 (drem_test): Likewise.
1939 (drem_test_tonearest): Likewise.
1940 (drem_test_towardzero): Likewise.
1941 (drem_test_downward): Likewise.
1942 (drem_test_upward): Likewise.
1943 (main): Call the new functions.
1944
1945 * math/libm-test.inc (finite_test_data): Remove.
1946 (finite_test): Run tests from isfinite_test_data.
1947 (gamma_test_data): Remove.
1948 (gamma_test): Run tests from lgamma_test_data.
1949 * sysdeps/i386/fpu/libm-test-ulps: Update.
1950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1951
1952 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953
1954 * manual/platform.texi: Add PowerPC PPR function set documentation.
1955 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1956 implementation.
1957
1958 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1959
1960 * math/libm-test.inc (MAX_EXP): Define.
1961 (ULPDIFF): Define.
1962 (ulp): New function.
1963 (check_float_internal): Use ULPDIFF.
1964 (cpow_test): Disable failing test.
1965 (check_ulp): Test ulp() implemetnation.
1966 (main): Call check_ulp before starting tests.
1967
1968 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1969
1970 * math/gen-libm-test.pl (generate_testfile): Do not handle
1971 START_DATA and END_DATA.
1972 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1973 END_DATA.
1974 (acos_tonearest_test_data): Likewise.
1975 (acos_towardzero_test_data): Likewise.
1976 (acos_downward_test_data): Likewise.
1977 (acos_upward_test_data): Likewise.
1978 (acosh_test_data): Likewise.
1979 (asin_test_data): Likewise.
1980 (asin_tonearest_test_data): Likewise.
1981 (asin_towardzero_test_data): Likewise.
1982 (asin_downward_test_data): Likewise.
1983 (asin_upward_test_data): Likewise.
1984 (asinh_test_data): Likewise.
1985 (atan_test_data): Likewise.
1986 (atanh_test_data): Likewise.
1987 (atan2_test_data): Likewise.
1988 (cabs_test_data): Likewise.
1989 (cacos_test_data): Likewise.
1990 (cacosh_test_data): Likewise.
1991 (carg_test_data): Likewise.
1992 (casin_test_data): Likewise.
1993 (casinh_test_data): Likewise.
1994 (catan_test_data): Likewise.
1995 (catanh_test_data): Likewise.
1996 (cbrt_test_data): Likewise.
1997 (ccos_test_data): Likewise.
1998 (ccosh_test_data): Likewise.
1999 (ceil_test_data): Likewise.
2000 (cexp_test_data): Likewise.
2001 (cimag_test_data): Likewise.
2002 (clog_test_data): Likewise.
2003 (clog10_test_data): Likewise.
2004 (conj_test_data): Likewise.
2005 (copysign_test_data): Likewise.
2006 (cos_test_data): Likewise.
2007 (cos_tonearest_test_data): Likewise.
2008 (cos_towardzero_test_data): Likewise.
2009 (cos_downward_test_data): Likewise.
2010 (cos_upward_test_data): Likewise.
2011 (cosh_test_data): Likewise.
2012 (cosh_tonearest_test_data): Likewise.
2013 (cosh_towardzero_test_data): Likewise.
2014 (cosh_downward_test_data): Likewise.
2015 (cosh_upward_test_data): Likewise.
2016 (cpow_test_data): Likewise.
2017 (cproj_test_data): Likewise.
2018 (creal_test_data): Likewise.
2019 (csin_test_data): Likewise.
2020 (csinh_test_data): Likewise.
2021 (csqrt_test_data): Likewise.
2022 (ctan_test_data): Likewise.
2023 (ctan_tonearest_test_data): Likewise.
2024 (ctan_towardzero_test_data): Likewise.
2025 (ctan_downward_test_data): Likewise.
2026 (ctan_upward_test_data): Likewise.
2027 (ctanh_test_data): Likewise.
2028 (ctanh_tonearest_test_data): Likewise.
2029 (ctanh_towardzero_test_data): Likewise.
2030 (ctanh_downward_test_data): Likewise.
2031 (ctanh_upward_test_data): Likewise.
2032 (erf_test_data): Likewise.
2033 (erfc_test_data): Likewise.
2034 (exp_test_data): Likewise.
2035 (exp_tonearest_test_data): Likewise.
2036 (exp_towardzero_test_data): Likewise.
2037 (exp_downward_test_data): Likewise.
2038 (exp_upward_test_data): Likewise.
2039 (exp10_test_data): Likewise.
2040 (exp2_test_data): Likewise.
2041 (expm1_test_data): Likewise.
2042 (fabs_test_data): Likewise.
2043 (fdim_test_data): Likewise.
2044 (finite_test_data): Likewise.
2045 (floor_test_data): Likewise.
2046 (fma_test_data): Likewise.
2047 (fma_towardzero_test_data): Likewise.
2048 (fma_downward_test_data): Likewise.
2049 (fma_upward_test_data): Likewise.
2050 (fmax_test_data): Likewise.
2051 (fmin_test_data): Likewise.
2052 (fmod_test_data): Likewise.
2053 (fpclassify_test_data): Likewise.
2054 (frexp_test_data): Likewise.
2055 (gamma_test_data): Likewise.
2056 (hypot_test_data): Likewise.
2057 (ilogb_test_data): Likewise.
2058 (isfinite_test_data): Likewise.
2059 (isgreater_test_data): Likewise.
2060 (isgreaterequal_test_data): Likewise.
2061 (isinf_test_data): Likewise.
2062 (isless_test_data): Likewise.
2063 (islessequal_test_data): Likewise.
2064 (islessgreater_test_data): Likewise.
2065 (isnan_test_data): Likewise.
2066 (isnormal_test_data): Likewise.
2067 (issignaling_test_data): Likewise.
2068 (isunordered_test_data): Likewise.
2069 (j0_test_data): Likewise.
2070 (j1_test_data): Likewise.
2071 (jn_test_data): Likewise.
2072 (ldexp_test_data): Likewise.
2073 (lgamma_test_data): Likewise.
2074 (lrint_test_data): Likewise.
2075 (lrint_tonearest_test_data): Likewise.
2076 (lrint_towardzero_test_data): Likewise.
2077 (lrint_downward_test_data): Likewise.
2078 (lrint_upward_test_data): Likewise.
2079 (llrint_test_data): Likewise.
2080 (llrint_tonearest_test_data): Likewise.
2081 (llrint_towardzero_test_data): Likewise.
2082 (llrint_downward_test_data): Likewise.
2083 (llrint_upward_test_data): Likewise.
2084 (log_test_data): Likewise.
2085 (log10_test_data): Likewise.
2086 (log1p_test_data): Likewise.
2087 (log2_test_data): Likewise.
2088 (logb_test_data): Likewise.
2089 (logb_downward_test_data): Likewise.
2090 (lround_test_data): Likewise.
2091 (llround_test_data): Likewise.
2092 (modf_test_data): Likewise.
2093 (nearbyint_test_data): Likewise.
2094 (nextafter_test_data): Likewise.
2095 (nexttoward_test_data): Likewise.
2096 (pow_test_data): Likewise.
2097 (pow_tonearest_test_data): Likewise.
2098 (pow_towardzero_test_data): Likewise.
2099 (pow_downward_test_data): Likewise.
2100 (pow_upward_test_data): Likewise.
2101 (remainder_test_data): Likewise.
2102 (remainder_tonearest_test_data): Likewise.
2103 (remainder_towardzero_test_data): Likewise.
2104 (remainder_downward_test_data): Likewise.
2105 (remainder_upward_test_data): Likewise.
2106 (remquo_test_data): Likewise.
2107 (rint_test_data): Likewise.
2108 (rint_tonearest_test_data): Likewise.
2109 (rint_towardzero_test_data): Likewise.
2110 (rint_downward_test_data): Likewise.
2111 (rint_upward_test_data): Likewise.
2112 (round_test_data): Likewise.
2113 (scalb_test_data): Likewise.
2114 (scalbn_test_data): Likewise.
2115 (scalbln_test_data): Likewise.
2116 (signbit_test_data): Likewise.
2117 (sin_test_data): Likewise.
2118 (sin_tonearest_test_data): Likewise.
2119 (sin_towardzero_test_data): Likewise.
2120 (sin_downward_test_data): Likewise.
2121 (sin_upward_test_data): Likewise.
2122 (sincos_test_data): Likewise.
2123 (sinh_test_data): Likewise.
2124 (sinh_tonearest_test_data): Likewise.
2125 (sinh_towardzero_test_data): Likewise.
2126 (sinh_downward_test_data): Likewise.
2127 (sinh_upward_test_data): Likewise.
2128 (sqrt_test_data): Likewise.
2129 (tan_test_data): Likewise.
2130 (tan_tonearest_test_data): Likewise.
2131 (tan_towardzero_test_data): Likewise.
2132 (tan_downward_test_data): Likewise.
2133 (tan_upward_test_data): Likewise.
2134 (tanh_test_data): Likewise.
2135 (tgamma_test_data): Likewise.
2136 (trunc_test_data): Likewise.
2137 (y0_test_data): Likewise.
2138 (y1_test_data): Likewise.
2139 (yn_test_data): Likewise.
2140 (significand_test_data): Likewise.
2141
2142 * math/gen-libm-test.pl (@functions): Remove variable.
2143 (generate_testfile): Don't handle START and END lines.
2144 * math/libm-test.inc (START): New macro.
2145 (END): Likewise.
2146 (END_COMPLEX): Likewise.
2147 (acos_test): Use END macro without arguments.
2148 (acos_test_tonearest): Likewise.
2149 (acos_test_towardzero): Likewise.
2150 (acos_test_downward): Likewise.
2151 (acos_test_upward): Likewise.
2152 (acosh_test): Likewise.
2153 (asin_test): Likewise.
2154 (asin_test_tonearest): Likewise.
2155 (asin_test_towardzero): Likewise.
2156 (asin_test_downward): Likewise.
2157 (asin_test_upward): Likewise.
2158 (asinh_test): Likewise.
2159 (atan_test): Likewise.
2160 (atanh_test): Likewise.
2161 (atan2_test): Likewise.
2162 (cabs_test): Likewise.
2163 (cacos_test): Use END_COMPLEX macro without arguments.
2164 (cacosh_test): Likewise.
2165 (carg_test): Use END macro without arguments.
2166 (casin_test): Use END_COMPLEX macro without arguments.
2167 (casinh_test): Likewise.
2168 (catan_test): Likewise.
2169 (catanh_test): Likewise.
2170 (cbrt_test): Use END macro without arguments.
2171 (ccos_test): Use END_COMPLEX macro without arguments.
2172 (ccosh_test): Likewise.
2173 (ceil_test): Use END macro without arguments.
2174 (cexp_test): Use END_COMPLEX macro without arguments.
2175 (cimag_test): Use END macro without arguments.
2176 (clog_test): Use END_COMPLEX macro without arguments.
2177 (clog10_test): Likewise.
2178 (conj_test): Likewise.
2179 (copysign_test): Use END macro without arguments.
2180 (cos_test): Likewise.
2181 (cos_test_tonearest): Likewise.
2182 (cos_test_towardzero): Likewise.
2183 (cos_test_downward): Likewise.
2184 (cos_test_upward): Likewise.
2185 (cosh_test): Likewise.
2186 (cosh_test_tonearest): Likewise.
2187 (cosh_test_towardzero): Likewise.
2188 (cosh_test_downward): Likewise.
2189 (cosh_test_upward): Likewise.
2190 (cpow_test): Use END_COMPLEX macro without arguments.
2191 (cproj_test): Likewise.
2192 (creal_test): Use END macro without arguments.
2193 (csin_test): Use END_COMPLEX macro without arguments.
2194 (csinh_test): Likewise.
2195 (csqrt_test): Likewise.
2196 (ctan_test): Likewise.
2197 (ctan_test_tonearest): Likewise.
2198 (ctan_test_towardzero): Likewise.
2199 (ctan_test_downward): Likewise.
2200 (ctan_test_upward): Likewise.
2201 (ctanh_test): Likewise.
2202 (ctanh_test_tonearest): Likewise.
2203 (ctanh_test_towardzero): Likewise.
2204 (ctanh_test_downward): Likewise.
2205 (ctanh_test_upward): Likewise.
2206 (erf_test): Use END macro without arguments.
2207 (erfc_test): Likewise.
2208 (exp_test): Likewise.
2209 (exp_test_tonearest): Likewise.
2210 (exp_test_towardzero): Likewise.
2211 (exp_test_downward): Likewise.
2212 (exp_test_upward): Likewise.
2213 (exp10_test): Likewise.
2214 (exp2_test): Likewise.
2215 (expm1_test): Likewise.
2216 (fabs_test): Likewise.
2217 (fdim_test): Likewise.
2218 (finite_test): Likewise.
2219 (floor_test): Likewise.
2220 (fma_test): Likewise.
2221 (fma_test_towardzero): Likewise.
2222 (fma_test_downward): Likewise.
2223 (fma_test_upward): Likewise.
2224 (fmax_test): Likewise.
2225 (fmin_test): Likewise.
2226 (fmod_test): Likewise.
2227 (fpclassify_test): Likewise.
2228 (frexp_test): Likewise.
2229 (gamma_test): Likewise.
2230 (hypot_test): Likewise.
2231 (ilogb_test): Likewise.
2232 (isfinite_test): Likewise.
2233 (isgreater_test): Likewise.
2234 (isgreaterequal_test): Likewise.
2235 (isinf_test): Likewise.
2236 (isless_test): Likewise.
2237 (islessequal_test): Likewise.
2238 (islessgreater_test): Likewise.
2239 (isnan_test): Likewise.
2240 (isnormal_test): Likewise.
2241 (issignaling_test): Likewise.
2242 (isunordered_test): Likewise.
2243 (j0_test): Likewise.
2244 (j1_test): Likewise.
2245 (jn_test): Likewise.
2246 (ldexp_test): Likewise.
2247 (lgamma_test): Likewise.
2248 (lrint_test): Likewise.
2249 (lrint_test_tonearest): Likewise.
2250 (lrint_test_towardzero): Likewise.
2251 (lrint_test_downward): Likewise.
2252 (lrint_test_upward): Likewise.
2253 (llrint_test): Likewise.
2254 (llrint_test_tonearest): Likewise.
2255 (llrint_test_towardzero): Likewise.
2256 (llrint_test_downward): Likewise.
2257 (llrint_test_upward): Likewise.
2258 (log_test): Likewise.
2259 (log10_test): Likewise.
2260 (log1p_test): Likewise.
2261 (log2_test): Likewise.
2262 (logb_test): Likewise.
2263 (logb_test_downward): Likewise.
2264 (lround_test): Likewise.
2265 (llround_test): Likewise.
2266 (modf_test): Likewise.
2267 (nearbyint_test): Likewise.
2268 (nextafter_test): Likewise.
2269 (nexttoward_test): Likewise.
2270 (pow_test): Likewise.
2271 (pow_test_tonearest): Likewise.
2272 (pow_test_towardzero): Likewise.
2273 (pow_test_downward): Likewise.
2274 (pow_test_upward): Likewise.
2275 (remainder_test): Likewise.
2276 (remainder_test_tonearest): Likewise.
2277 (remainder_test_towardzero): Likewise.
2278 (remainder_test_downward): Likewise.
2279 (remainder_test_upward): Likewise.
2280 (remquo_test): Likewise.
2281 (rint_test): Likewise.
2282 (rint_test_tonearest): Likewise.
2283 (rint_test_towardzero): Likewise.
2284 (rint_test_downward): Likewise.
2285 (rint_test_upward): Likewise.
2286 (round_test): Likewise.
2287 (scalb_test): Likewise.
2288 (scalbn_test): Likewise.
2289 (scalbln_test): Likewise.
2290 (signbit_test): Likewise.
2291 (sin_test): Likewise.
2292 (sin_test_tonearest): Likewise.
2293 (sin_test_towardzero): Likewise.
2294 (sin_test_downward): Likewise.
2295 (sin_test_upward): Likewise.
2296 (sincos_test): Likewise.
2297 (sinh_test): Likewise.
2298 (sinh_test_tonearest): Likewise.
2299 (sinh_test_towardzero): Likewise.
2300 (sinh_test_downward): Likewise.
2301 (sinh_test_upward): Likewise.
2302 (sqrt_test): Likewise.
2303 (tan_test): Likewise.
2304 (tan_test_tonearest): Likewise.
2305 (tan_test_towardzero): Likewise.
2306 (tan_test_downward): Likewise.
2307 (tan_test_upward): Likewise.
2308 (tanh_test): Likewise.
2309 (tgamma_test): Likewise.
2310 (trunc_test): Likewise.
2311 (y0_test): Likewise.
2312 (y1_test): Likewise.
2313 (yn_test): Likewise.
2314 (significand_test): Likewise.
2315
2316 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2317
2318 [BZ #15381]
2319 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2320
2321 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2322
2323 [BZ #14894]
2324 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2325 __ppc_mdoio and __ppc_mdoom.
2326 * manual/platform.texi: Document new functions __ppc_yield,
2327 __ppc_mdoio and __ppc_mdoom.
2328
2329 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2330
2331 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2332 (main): Mention "tls" pseudo-hwcap is legacy.
2333 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2334
2335 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2336
2337 * math/gen-libm-test.pl (parse_args): Output only string of
2338 arguments as text for test name, not full call or descriptions of
2339 tests for extra outputs.
2340 (generate_testfile): Do not pass function name to parse_args.
2341 Generate this_func variable from START.
2342 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2343 field to arg_str.
2344 (struct test_ff_f_data): Likewise.
2345 (test_ff_f_data_nexttoward): Likewise.
2346 (struct test_fi_f_data): Likewise.
2347 (struct test_fl_f_data): Likewise.
2348 (struct test_if_f_data): Likewise.
2349 (struct test_fff_f_data): Likewise.
2350 (struct test_c_f_data): Likewise.
2351 (struct test_f_f1_data): Likewise. Remove field extra_name.
2352 (struct test_fF_f1_data): Likewise.
2353 (struct test_ffI_f1_data): Likewise.
2354 (struct test_c_c_data): Rename test_name field to arg_str.
2355 (struct test_cc_c_data): Likewise.
2356 (struct test_f_i_data): Likewise.
2357 (struct test_ff_i_data): Likewise.
2358 (struct test_f_l_data): Likewise.
2359 (struct test_f_L_data): Likewise.
2360 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2361 and extra2_name.
2362 (COMMON_TEST_SETUP): New macro.
2363 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2364 (COMMON_TEST_CLEANUP): Likewise.
2365 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2366 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2367 macros.
2368 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2369 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2370 macros.
2371 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2372 (RUN_TEST_fff_f): Take argument string. Call new setup and
2373 cleanup macros.
2374 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2375 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2376 macros.
2377 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2378 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2379 macros.
2380 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2381 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2382 cleanup macros.
2383 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2384 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2385 cleanup macros.
2386 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2387 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2388 cleanup macros.
2389 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2390 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2391 macros.
2392 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2393 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2394 macros.
2395 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2396 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2397 macros.
2398 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2399 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2400 cleanup macros.
2401 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2402 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2403 cleanup macros.
2404 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2405 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2406 macros.
2407 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2408 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2409 cleanup macros.
2410 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2411 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2412 macros.
2413 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2414 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2415 macros.
2416 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2417 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2418 cleanup macros.
2419 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2420
2421 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2422
2423 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2424 to _sifields.sigfault.
2425 (si_addr_lsb): Define new macro.
2426 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2427 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2428 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2429
2430 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2431
2432 [BZ #15441]
2433 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2434 returns -1.
2435 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2436 null return -1.
2437 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2438 loading the domain.
2439
2440 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2441
2442 * math/gen-libm-test.pl (parse_args): Do not include expected
2443 result in test name.
2444 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2447 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2448 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2450
2451 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2452
2453 * benchtests/Makefile: Sort function entries.
2454
2455 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2456 tanh, asinh, acosh, atanh.
2457 * benchtests/acos-inputs: New file.
2458 * benchtests/acosh-inputs: New file.
2459 * benchtests/asin-inputs: New file.
2460 * benchtests/asinh-inputs: New file.
2461 * benchtests/atanh-inputs: New file.
2462 * benchtests/cosh-inputs: New file.
2463 * benchtests/log-inputs: New file.
2464 * benchtests/sinh-inputs: New file.
2465 * benchtests/tanh-inputs: New file.
2466
2467 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2468
2469 [BZ #15339]
2470 * posix/tst-getaddrinfo4.c: New test.
2471 * posix/Makefile (tests): Add it.
2472
2473 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2474
2475 [BZ #15339]
2476 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2477 when no services were used.
2478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2479 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2480
2481 2013-05-21 Andreas Schwab <schwab@suse.de>
2482
2483 [BZ #15014]
2484 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2485 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2486 successful.
2487 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2488 redundant variable declarations and reallocation of buffer when
2489 parsing as IPv6 address. Always set NSS status when called from
2490 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2491 buffer too small. Correct computation of needed size.
2492 * nss/Makefile (tests): Add test-digits-dots.
2493 * nss/test-digits-dots.c: New test.
2494
2495 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2496
2497 * benchtests/Makefile: Remove instructions for adding
2498 benchmark tests.
2499 * benchtests/README: New file to explain how to execute and
2500 enhance the benchmark tests.
2501
2502 2013-05-21 Andreas Schwab <schwab@suse.de>
2503
2504 [BZ #15493]
2505 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2506 * setjmp/tst-sigsetjmp.c: New test.
2507
2508 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2509
2510 * sysdeps/x86_64/memset.S (memset): New implementation.
2511 (__bzero): Likewise.
2512 (__memset_tail): New function.
2513
2514 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2515
2516 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2517 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2518 __memcpy_sse2_unaligned ifunc selection.
2519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2520 Add memcpy-sse2-unaligned.S.
2521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2522 Add: __memcpy_sse2_unaligned.
2523
2524 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2525
2526 [BZ #15490]
2527 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2528 math_force_eval before restoring floating-point envrionment.
2529 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2531 Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2533 <math_private.h>.
2534 (__nearbyintl): Use math_force_eval before restoring
2535 floating-point environment.
2536 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2537
2538 * math/gen-libm-test.pl (special_functions): Remove.
2539 (parse_args): Don't handle TEST_extra. Handle functions with no
2540 return value.
2541 * math/libm-test.inc (struct test_sincos_data): Replace with
2542 struct test_fFF_11_data.
2543 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2544 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2545 (sincos_test_data): Change element type to struct
2546 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2547 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2548 RUN_TEST_LOOP_sincos.
2549 * math/README.libm-test: Don't mention special handling of
2550 individual functions.
2551 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2554 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2555 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2557
2558 * math/gen-libm-test.pl (get_variable): Remove function.
2559 (parse_args): Don't show pointer parameters to call in test
2560 names. Use "extra output N" in test names for extra outputs
2561 rather than naming variables.
2562
2563 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2564
2565 [BZ #15488]
2566 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2567 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2568 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2569 double tests.
2570 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2571 disable.
2572 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2573 check_long_double.
2574
2575 * math/gen-libm-test.pl (@tests): Remove variable.
2576 ($count): Likewise.
2577 (new_test): Remove function.
2578 (show_exceptions): New function.
2579 (special_functions): Use show_exceptions instead of new_test.
2580 (parse_args): Likewise.
2581 (generate_testfile): Pass only function name in generated call to
2582 print_max_error or print_complex_max_error.
2583 (get_ulps): Do not handle complex tests specially.
2584 (output_test): Rename to ...
2585 (get_all_ulps_for_test): ... this. Return a string rather than
2586 printing to a file. Require ulps to be present.
2587 (output_ulps): Generate arrays rather than #defines.
2588 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2589 (struct ulp_data): New type.
2590 (BUILD_COMPLEX_ULP): Remove macro.
2591 (compare_ulp_data): New function.
2592 (find_ulps): Likewise.
2593 (find_test_ulps): Likewise.
2594 (find_function_ulps): Likewise.
2595 (find_complex_function_ulps): Likewise.
2596 (print_max_error): Determine allowed ulps using
2597 find_function_ulps.
2598 (print_complex_max_error): Determine allowed ulps using
2599 find_complex_function_ulps.
2600 (check_float_internal): Determine max ulps using find_test_ulps.
2601 (check_float): Do not take max_ulp parameter. Update call to
2602 check_float_internal.
2603 (check_complex): Likewise.
2604 (check_int): Do not take max_ulp parameter.
2605 (check_long): Likewise.
2606 (check_bool): Likewise.
2607 (check_longlong): Likewise.
2608 (struct test_f_f_data): Remove max_ulp field.
2609 (struct test_ff_f_data): Likewise.
2610 (struct test_ff_f_data_nexttoward): Likewise.
2611 (struct test_fi_f_data): Likewise.
2612 (struct test_fl_f_data): Likewise.
2613 (struct test_if_f_data): Likewise.
2614 (struct test_fff_f_data): Likewise.
2615 (struct test_c_f_data): Likewise.
2616 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2617 (struct test_fF_f1_data): Likewise.
2618 (struct test_ffI_f1_data): Likewise.
2619 (struct test_c_c_data): Remove max_ulp field.
2620 (struct test_cc_c_data): Likewise.
2621 (struct test_f_i_data): Likewise.
2622 (struct test_ff_i_data): Likewise.
2623 (struct test_f_l_data): Likewise.
2624 (struct test_f_L_data): Likewise.
2625 (struct test_sincos_data): Likewise.
2626 (RUN_TEST_f_f): Do not handle ulps.
2627 (RUN_TEST_LOOP_f_f): Likewise.
2628 (RUN_TEST_2_f): Likewise.
2629 (RUN_TEST_LOOP_2_f): Likewise.
2630 (RUN_TEST_fff_f): Likewise.
2631 (RUN_TEST_LOOP_fff_f): Likewise.
2632 (RUN_TEST_c_f): Likewise.
2633 (RUN_TEST_LOOP_c_f): Likewise.
2634 (RUN_TEST_f_f1): Likewise.
2635 (RUN_TEST_LOOP_f_f1): Likewise.
2636 (RUN_TEST_fF_f1): Likewise.
2637 (RUN_TEST_LOOP_fF_f1): Likewise.
2638 (RUN_TEST_fI_f1): Likewise.
2639 (RUN_TEST_LOOP_fI_f1): Likewise.
2640 (RUN_TEST_ffI_f1): Likewise.
2641 (RUN_TEST_LOOP_ffI_f1): Likewise.
2642 (RUN_TEST_c_c): Likewise.
2643 (RUN_TEST_LOOP_c_c): Likewise.
2644 (RUN_TEST_cc_c): Likewise.
2645 (RUN_TEST_LOOP_cc_c): Likewise.
2646 (RUN_TEST_f_i): Likewise.
2647 (RUN_TEST_LOOP_f_i): Likewise.
2648 (RUN_TEST_f_i_tg): Likewise.
2649 (RUN_TEST_LOOP_f_i_tg): Likewise.
2650 (RUN_TEST_ff_i_tg): Likewise.
2651 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2652 (RUN_TEST_f_b): Likewise.
2653 (RUN_TEST_LOOP_f_b): Likewise.
2654 (RUN_TEST_f_b_tg): Likewise.
2655 (RUN_TEST_LOOP_f_b_tg): Likewise.
2656 (RUN_TEST_f_l): Likewise.
2657 (RUN_TEST_LOOP_f_l): Likewise.
2658 (RUN_TEST_f_L): Likewise.
2659 (RUN_TEST_LOOP_f_L): Likewise.
2660 (RUN_TEST_sincos): Likewise.
2661 (RUN_TEST_LOOP_sincos): Likewise.
2662
2663 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2664
2665 [BZ #15480]
2666 [BZ #15485]
2667 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2668 main case of finite arguments, set rounding mode to FE_TONEAREST
2669 and discard exceptions.
2670 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2671 exceptions.
2672 (remainder_tonearest_test_data): New variable.
2673 (remainder_test_tonearest): New function.
2674 (remainder_towardzero_test_data): New variable.
2675 (remainder_test_towardzero): New function.
2676 (remainder_downward_test_data): New variable.
2677 (remainder_test_downward): New function.
2678 (remainder_upward_test_data): New variable.
2679 (remainder_test_upward): New function.
2680 (main): Call the new test functions.
2681
2682 * math/libm-test.inc (struct test_f_f1_data): Remove field
2683 extra_init.
2684 (struct test_fF_f1_data): Likewise.
2685 (struct test_ffI_f1_data): Likewise.
2686 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2687 based on value of EXTRA_EXPECTED.
2688 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2689 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2690 EXTRA_VAR based on value of EXTRA_EXPECTED.
2691 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2692 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2693 EXTRA_VAR based on value of EXTRA_EXPECTED.
2694 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2695 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2696 EXTRA_VAR based on value of EXTRA_EXPECTED.
2697 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2698 * math/gen-libm-test.pl (parse_args): Don't output initializers
2699 for extra output values.
2700
2701 * math/libm-test.inc (check_int): Expect result to be exactly
2702 equal to expected value and do not handle ulps.
2703 (check_long): Likewise.
2704 (check_longlong): Likewise.
2705
2706 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2707 exceptions.
2708 (cimag_test_data): Likewise.
2709 (conj_test_data): Likewise.
2710 (copysign_test_data): Likewise.
2711 (cproj_test_data): Likewise.
2712 (creal_test_data): Likewise.
2713 (fabs_test_data): Likewise.
2714 (fdim_test_data): Likewise.
2715 (finite_test_data): Likewise.
2716 (floor_test_data): Likewise.
2717 (fmax_test_data): Likewise.
2718 (fmin_test_data): Likewise.
2719 (fmod_test_data): Likewise.
2720 (fpclassify_test_data): Likewise.
2721 (frexp_test_data): Likewise.
2722 (ilogb_test_data): Likewise.
2723 (isfinite_test_data): Likewise.
2724 (isgreater_test_data): Likewise.
2725 (isgreaterequal_test_data): Likewise.
2726 (isinf_test_data): Likewise.
2727 (isless_test_data): Likewise.
2728 (islessequal_test_data): Likewise.
2729 (islessgreater_test_data): Likewise.
2730 (isnan_test_data): Likewise.
2731 (isnormal_test_data): Likewise.
2732 (issignaling_test_data): Likewise.
2733 (isunordered_test_data): Likewise.
2734 (ldexp_test_data): Likewise.
2735 (lrint_test_data): Likewise.
2736 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2737 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2738 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2739 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2740 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2741 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2742 test input.
2743 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2744 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2745 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2746 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2747 that test input.
2748 (lrint_downward_test_data): Test for "inexact" exceptions.
2749 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2750 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2751 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2752 test input.
2753 (lrint_upward_test_data): Test for "inexact" exceptions.
2754 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2755 test input.
2756 (llrint_test_data): Test for "inexact" exceptions.
2757 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2758 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2759 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2760 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2761 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2762 (llrint_downward_test_data): Test for "inexact" exceptions.
2763 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2764 (llrint_upward_test_data): Test for "inexact" exceptions.
2765 (logb_test_data): Likewise.
2766 (logb_downward_test_data): Likewise.
2767 (nextafter_test_data): Likewise.
2768 (nexttoward_test_data): Likewise.
2769 (remainder_test_data): Likewise.
2770 (remquo_test_data): Likewise.
2771 (scalbn_test_data): Likewise.
2772 (scalbln_test_data): Likewise.
2773 (signbit_test_data): Likewise.
2774 (sqrt_test_data): Likewise.
2775 (significand_test_data): Likewise.
2776
2777 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2778
2779 [BZ #15424]
2780 * benchtests/bench-modf.c (struct args): Mark arg0 as
2781 volatile.
2782 * scripts/bench.pl: Mark members of struct args as volatile.
2783
2784 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2785
2786 [BZ # 15497]
2787 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2788 negative infinity on POWER6 or lower.
2789 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2790
2791 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2792
2793 [BZ #15442]
2794 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2795 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2796 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2797 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2798 (_FP_SETQNAN): New macro.
2799 (_FP_SETQNAN_SEMIRAW): Likewise.
2800 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2801 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2802 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2803 (FP_EXTEND): Use _FP_FRAC_SNANP.
2804 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2805 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2806 into account.
2807 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2808 New macro.
2809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2810 Likewise.
2811
2812 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2813
2814 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2815 with DIVIDE_BY_ZERO_EXCEPTION.
2816 (gamma_test_data): Likewise.
2817 (lgamma_test_data): Likewise.
2818 (log_test_data): Likewise.
2819 (log10_test_data): Likewise.
2820 (log2_test_data): Likewise.
2821 (tgamma_test_data): Likewise.
2822
2823 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2824 (acos_test_tonearest): Likewise.
2825 (acos_test_towardzero): Likewise.
2826 (acos_test_downward): Likewise.
2827 (acos_test_upward): Likewise.
2828 (acosh_test): Likewise.
2829 (asin_test): Likewise.
2830 (asin_test_tonearest): Likewise.
2831 (asin_test_towardzero): Likewise.
2832 (asin_test_downward): Likewise.
2833 (asin_test_upward): Likewise.
2834 (asinh_test): Likewise.
2835 (atan_test): Likewise.
2836 (atanh_test): Likewise.
2837 (atan2_test): Likewise.
2838 (cabs_test): Likewise.
2839 (cacos_test): Likewise.
2840 (cacosh_test): Likewise.
2841 (casin_test): Likewise.
2842 (casinh_test): Likewise.
2843 (catan_test): Likewise.
2844 (catanh_test): Likewise.
2845 (cbrt_test): Likewise.
2846 (ccos_test): Likewise.
2847 (ccosh_test): Likewise.
2848 (cexp_test): Likewise.
2849 (clog_test): Likewise.
2850 (clog10_test): Likewise.
2851 (cos_test): Likewise.
2852 (cos_test_tonearest): Likewise.
2853 (cos_test_towardzero): Likewise.
2854 (cos_test_downward): Likewise.
2855 (cos_test_upward): Likewise.
2856 (cosh_test): Likewise.
2857 (cosh_test_tonearest): Likewise.
2858 (cosh_test_towardzero): Likewise.
2859 (cosh_test_downward): Likewise.
2860 (cosh_test_upward): Likewise.
2861 (cpow_test): Likewise.
2862 (csin_test): Likewise.
2863 (csinh_test): Likewise.
2864 (csqrt_test): Likewise.
2865 (ctan_test): Likewise.
2866 (ctan_test_tonearest): Likewise.
2867 (ctan_test_towardzero): Likewise.
2868 (ctan_test_downward): Likewise.
2869 (ctan_test_upward): Likewise.
2870 (ctanh_test): Likewise.
2871 (ctanh_test_tonearest): Likewise.
2872 (ctanh_test_towardzero): Likewise.
2873 (ctanh_test_downward): Likewise.
2874 (ctanh_test_upward): Likewise.
2875 (erf_test): Likewise.
2876 (erfc_test): Likewise.
2877 (exp_test): Likewise.
2878 (exp_test_tonearest): Likewise.
2879 (exp_test_towardzero): Likewise.
2880 (exp_test_downward): Likewise.
2881 (exp_test_upward): Likewise.
2882 (exp10_test): Likewise.
2883 (exp2_test): Likewise.
2884 (expm1_test): Likewise.
2885 (fmod_test): Likewise.
2886 (gamma_test): Likewise.
2887 (hypot_test): Likewise.
2888 (j0_test): Likewise.
2889 (j1_test): Likewise.
2890 (jn_test): Likewise.
2891 (lgamma_test): Likewise.
2892 (log_test): Likewise.
2893 (log10_test): Likewise.
2894 (log1p_test): Likewise.
2895 (log2_test): Likewise.
2896 (logb_test_downward): Likewise.
2897 (pow_test): Likewise.
2898 (pow_test_tonearest): Likewise.
2899 (pow_test_towardzero): Likewise.
2900 (pow_test_downward): Likewise.
2901 (pow_test_upward): Likewise.
2902 (remainder_test): Likewise.
2903 (remquo_test): Likewise.
2904 (sin_test): Likewise.
2905 (sin_test_tonearest): Likewise.
2906 (sin_test_towardzero): Likewise.
2907 (sin_test_downward): Likewise.
2908 (sin_test_upward): Likewise.
2909 (sincos_test): Likewise.
2910 (sinh_test): Likewise.
2911 (sinh_test_tonearest): Likewise.
2912 (sinh_test_towardzero): Likewise.
2913 (sinh_test_downward): Likewise.
2914 (sinh_test_upward): Likewise.
2915 (sqrt_test): Likewise.
2916 (tan_test): Likewise.
2917 (tan_test_tonearest): Likewise.
2918 (tan_test_towardzero): Likewise.
2919 (tan_test_downward): Likewise.
2920 (tan_test_upward): Likewise.
2921 (tanh_test): Likewise.
2922 (tgamma_test): Likewise.
2923 (y0_test): Likewise.
2924 (y1_test): Likewise.
2925 (yn_test): Likewise.
2926
2927 * math/gen-libm-test.pl (adjust_arg): Remove function.
2928 (special_function): Remove argument $in_func. Only handle
2929 generating output for tables of tests, not inside functions.
2930 (parse_args): Likewise.
2931 (generate_testfile): Remove variable $in_func. Update call to
2932 parse_args.
2933 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2934 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2935 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2936 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2937 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2938 (MAX_VALUE_INIT): Rename macro to max_value.
2939 (MIN_VALUE_INIT): Rename macro to min_value.
2940 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2941 (plus_zero): Remove variable.
2942 (minus_zero): Likewise.
2943 (plus_infty): Likewise.
2944 (minus_infty): Likewise.
2945 (qnan_value): Likewise.
2946 (max_value): Likewise.
2947 (min_value): Likewise.
2948 (min_subnorm_value): Likewise.
2949
2950 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2951
2952 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2953 uint64_t or uint32_t usage.
2954 * crypt/sha256-block.c: Likewise.
2955 * crypt/sha256-crypt.c: Likewise.
2956 * crypt/sha256.c: Likewise.
2957 * crypt/sha512-block.c: Likewise.
2958 * crypt/sha512-crypt.c: Likewise.
2959 * crypt/sha512.c: Likewise.
2960 * debug/backtrace-tst.c: Likewise.
2961 * debug/pcprofiledump.c: Likewise.
2962 * elf/cache.c: Likewise.
2963 * elf/dl-cache.c: Likewise.
2964 * elf/dl-misc.c: Likewise.
2965 * elf/dl-profile.c: Likewise.
2966 * elf/dl-support.c: Likewise.
2967 * elf/ldconfig.c: Likewise.
2968 * elf/sprof.c: Likewise.
2969 * iconv/dummy-repertoire.c: Likewise.
2970 * iconv/iconv_charmap.c: Likewise.
2971 * iconv/skeleton.c: Likewise.
2972 * iconvdata/8bit-generic.c: Likewise.
2973 * iconvdata/cp737.h: Likewise.
2974 * iconvdata/cp775.h: Likewise.
2975 * iconvdata/ibm1008.h: Likewise.
2976 * iconvdata/ibm1025.h: Likewise.
2977 * iconvdata/ibm1046.h: Likewise.
2978 * iconvdata/ibm1097.h: Likewise.
2979 * iconvdata/ibm1112.h: Likewise.
2980 * iconvdata/ibm1122.h: Likewise.
2981 * iconvdata/ibm1123.h: Likewise.
2982 * iconvdata/ibm1124.h: Likewise.
2983 * iconvdata/ibm1129.h: Likewise.
2984 * iconvdata/ibm1130.h: Likewise.
2985 * iconvdata/ibm1132.h: Likewise.
2986 * iconvdata/ibm1133.h: Likewise.
2987 * iconvdata/ibm1137.h: Likewise.
2988 * iconvdata/ibm1140.h: Likewise.
2989 * iconvdata/ibm1141.h: Likewise.
2990 * iconvdata/ibm1142.h: Likewise.
2991 * iconvdata/ibm1143.h: Likewise.
2992 * iconvdata/ibm1144.h: Likewise.
2993 * iconvdata/ibm1145.h: Likewise.
2994 * iconvdata/ibm1146.h: Likewise.
2995 * iconvdata/ibm1147.h: Likewise.
2996 * iconvdata/ibm1148.h: Likewise.
2997 * iconvdata/ibm1149.h: Likewise.
2998 * iconvdata/ibm1153.h: Likewise.
2999 * iconvdata/ibm1154.h: Likewise.
3000 * iconvdata/ibm1155.h: Likewise.
3001 * iconvdata/ibm1156.h: Likewise.
3002 * iconvdata/ibm1157.h: Likewise.
3003 * iconvdata/ibm1158.h: Likewise.
3004 * iconvdata/ibm1160.h: Likewise.
3005 * iconvdata/ibm1161.h: Likewise.
3006 * iconvdata/ibm1162.h: Likewise.
3007 * iconvdata/ibm1163.h: Likewise.
3008 * iconvdata/ibm1164.h: Likewise.
3009 * iconvdata/ibm1166.h: Likewise.
3010 * iconvdata/ibm1167.h: Likewise.
3011 * iconvdata/ibm12712.h: Likewise.
3012 * iconvdata/ibm1390.h: Likewise.
3013 * iconvdata/ibm1399.h: Likewise.
3014 * iconvdata/ibm16804.h: Likewise.
3015 * iconvdata/ibm4517.h: Likewise.
3016 * iconvdata/ibm4899.h: Likewise.
3017 * iconvdata/ibm4909.h: Likewise.
3018 * iconvdata/ibm4971.h: Likewise.
3019 * iconvdata/ibm5347.h: Likewise.
3020 * iconvdata/ibm803.h: Likewise.
3021 * iconvdata/ibm856.h: Likewise.
3022 * iconvdata/ibm901.h: Likewise.
3023 * iconvdata/ibm902.h: Likewise.
3024 * iconvdata/ibm9030.h: Likewise.
3025 * iconvdata/ibm9066.h: Likewise.
3026 * iconvdata/ibm921.h: Likewise.
3027 * iconvdata/ibm922.h: Likewise.
3028 * iconvdata/ibm9448.h: Likewise.
3029 * iconvdata/isiri-3342.h: Likewise.
3030 * iconvdata/jis0201.h: Likewise.
3031 * include/link.h: Likewise.
3032 * include/netdb.h: Likewise.
3033 * inet/check_native.c: Likewise.
3034 * inet/check_pf.c: Likewise.
3035 * inet/getipv4sourcefilter.c: Likewise.
3036 * inet/getnameinfo.c: Likewise.
3037 * inet/getsourcefilter.c: Likewise.
3038 * inet/htonl.c: Likewise.
3039 * inet/setipv4sourcefilter.c: Likewise.
3040 * inet/setsourcefilter.c: Likewise.
3041 * inet/test-inet6_opt.c: Likewise.
3042 * inet/tst-network.c: Likewise.
3043 * locale/C-collate.c: Likewise.
3044 * locale/C-ctype.c: Likewise.
3045 * locale/C-time.c: Likewise.
3046 * locale/C-translit.h: Likewise.
3047 * locale/loadarchive.c: Likewise.
3048 * locale/programs/3level.h: Likewise.
3049 * locale/programs/charmap.c: Likewise.
3050 * locale/programs/charmap.h: Likewise.
3051 * locale/programs/ld-address.c: Likewise.
3052 * locale/programs/ld-collate.c: Likewise.
3053 * locale/programs/ld-ctype.c: Likewise.
3054 * locale/programs/ld-identification.c: Likewise.
3055 * locale/programs/ld-measurement.c: Likewise.
3056 * locale/programs/ld-messages.c: Likewise.
3057 * locale/programs/ld-monetary.c: Likewise.
3058 * locale/programs/ld-name.c: Likewise.
3059 * locale/programs/ld-numeric.c: Likewise.
3060 * locale/programs/ld-paper.c: Likewise.
3061 * locale/programs/ld-telephone.c: Likewise.
3062 * locale/programs/ld-time.c: Likewise.
3063 * locale/programs/linereader.c: Likewise.
3064 * locale/programs/locale.c: Likewise.
3065 * locale/programs/locarchive.c: Likewise.
3066 * locale/programs/locfile.h: Likewise.
3067 * locale/programs/repertoire.c: Likewise.
3068 * locale/programs/simple-hash.c: Likewise.
3069 * locale/programs/simple-hash.h: Likewise.
3070 * malloc/memusage.c: Likewise.
3071 * malloc/memusagestat.c: Likewise.
3072 * nis/nis_defaults.c: Likewise.
3073 * nis/nis_hash.c: Likewise.
3074 * nis/nis_print.c: Likewise.
3075 * nis/nis_xdr.c: Likewise.
3076 * nscd/connections.c: Likewise.
3077 * nscd/hstcache.c: Likewise.
3078 * nscd/nscd_gethst_r.c: Likewise.
3079 * nscd/nscd_getserv_r.c: Likewise.
3080 * nscd/nscd_helper.c: Likewise.
3081 * nscd/servicescache.c: Likewise.
3082 * nss/makedb.c: Likewise.
3083 * nss/nss_db/db-XXX.c: Likewise.
3084 * nss/nss_db/db-initgroups.c: Likewise.
3085 * nss/nss_db/db-netgrp.c: Likewise.
3086 * nss/nss_files/files-network.c: Likewise.
3087 * nss/nss_files/files-parse.c: Likewise.
3088 * posix/bug-regex5.c: Likewise.
3089 * posix/fnmatch_loop.c: Likewise.
3090 * posix/regcomp.c: Likewise.
3091 * posix/regexec.c: Likewise.
3092 * posix/tst-rfc3484-2.c: Likewise.
3093 * posix/tst-rfc3484-3.c: Likewise.
3094 * posix/tst-rfc3484.c: Likewise.
3095 * resolv/nss_dns/dns-canon.c: Likewise.
3096 * resolv/nss_dns/dns-network.c: Likewise.
3097 * resolv/res_init.c: Likewise.
3098 * resolv/res_mkquery.c: Likewise.
3099 * resolv/tst-aton.c: Likewise.
3100 * stdlib/cxa_atexit.c: Likewise.
3101 * stdlib/cxa_finalize.c: Likewise.
3102 * stdlib/gen-fpioconst.c: Likewise.
3103 * stdlib/strtol_l.c: Likewise.
3104 * string/tst-endian.c: Likewise.
3105 * sunrpc/auth_des.c: Likewise.
3106 * sunrpc/clnt_udp.c: Likewise.
3107 * sunrpc/rtime.c: Likewise.
3108 * sunrpc/svcauth_des.c: Likewise.
3109 * sunrpc/xdr.c: Likewise.
3110 * sunrpc/xdr_intXX_t.c: Likewise.
3111 * sunrpc/xdr_rec.c: Likewise.
3112 * sysdeps/generic/ldconfig.h: Likewise.
3113 * sysdeps/generic/ldsodefs.h: Likewise.
3114 * sysdeps/generic/memusage.h: Likewise.
3115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3116 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3117 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3122 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3125 * sysdeps/posix/getaddrinfo.c: Likewise.
3126 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3127 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3128 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3129 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3130 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3131 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3132 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3133 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3134 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3135 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3136 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3137 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3138 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3139 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3140 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3141 * sysdeps/x86_64/dl-tls.h: Likewise.
3142 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3143 * time/alt_digit.c: Likewise.
3144 * time/era.c: Likewise.
3145 * wcsmbs/tst-c16c32-1.c: Likewise.
3146
3147 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3148
3149 * math/libm-test.inc (struct test_sincos_data): New type.
3150 (RUN_TEST_LOOP_sincos): New macro.
3151 (sincos_test_data): New variable.
3152 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3153
3154 2013-05-16 Richard Henderson <rth@redhat.com>
3155
3156 * math/atest-exp2.c (LIMB64): New macro.
3157 (CONSTSZ): New macro.
3158 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3159 (hexdig): Move ...
3160 (print_mpn_fp): ... to function scope.
3161 (read_mpn_hex): Remove.
3162 (get_log2): Remove.
3163 (exp2_mpn): Use mp_log2.
3164 (main): Use mp_exp1.
3165
3166 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3167
3168 * math/libm-test.inc: Remove comment about not testing "inexact"
3169 exceptions.
3170 (INEXACT_EXCEPTION): New macro.
3171 (NO_INEXACT_EXCEPTION): Likewise.
3172 (INVALID_EXCEPTION_OK): Update value.
3173 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3174 (OVERFLOW_EXCEPTION_OK): Likewise.
3175 (UNDERFLOW_EXCEPTION_OK): Likewise.
3176 (IGNORE_ZERO_INF_SIGN): Likewise.
3177 (ERRNO_UNCHANGED): Likewise.
3178 (ERRNO_EDOM): Likewise.
3179 (ERRNO_ERANGE): Likewise.
3180 (test_exceptions): Handle testing "inexact" exceptions.
3181 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3182 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3183 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3184 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3185 INEXACT_EXCEPTION.
3186 (rint_towardzero_test_data): Likewise.
3187 (rint_downward_test_data): Likewise.
3188 (rint_upward_test_data): Likewise.
3189
3190 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3191 with OVERFLOW_EXCEPTION.
3192 (exp10_test_data): Likewise.
3193 (exp2_test_data): Likewise.
3194 (expm1_test_data): Likewise.
3195 (lgamma_test_data): Likewise.
3196 (pow_test_data): Likewise.
3197 (tgamma_test_data): Likewise.
3198 (yn_test_data): Remove duplicate test of overflow.
3199
3200 * math/libm-test.inc (struct test_cc_c_data): New type.
3201 (RUN_TEST_LOOP_cc_c): New macro.
3202 (cpow_test_data): New variable.
3203 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3204
3205 * math/libm-test.inc (struct test_f_L_data): New type.
3206 (RUN_TEST_LOOP_f_L): New macro.
3207 (llrint_test_data): New variable.
3208 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3209 (llrint_tonearest_test_data): New variable.
3210 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3211 (llrint_towardzero_test_data): New variable.
3212 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3213 (llrint_downward_test_data): New variable.
3214 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3215 (llrint_upward_test_data): New variable.
3216 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3217 (llround_test_data): New variable.
3218 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3219
3220 2013-05-13 Peter Collingbourne <pcc@google.com>
3221
3222 * math/atest-exp2.c (get_log2): Remove const attribute.
3223
3224 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3225
3226 * math/libm-test.inc (struct test_f_l_data): New type.
3227 (RUN_TEST_LOOP_f_l): New macro.
3228 (lrint_test_data): New variable.
3229 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3230 (lrint_tonearest_test_data): New variable.
3231 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3232 (lrint_towardzero_test_data): New variable.
3233 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3234 (lrint_downward_test_data): New variable.
3235 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3236 (lrint_upward_test_data): New variable.
3237 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3238 (lround_test_data): New variable.
3239 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3240
3241 2013-05-15 Peter Collingbourne <pcc@google.com>
3242
3243 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3244 (EXTRACT_WORDS64) Use where appropriate.
3245 (INSERT_WORDS64) Likewise.
3246
3247 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3248 constraints with x constraints.
3249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3250
3251 * malloc/obstack.c (_obstack_compat): Add initializer.
3252
3253 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3254
3255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3256 si_trapno and add si_addr_lsb to _sifields.sigfault.
3257 (si_trapno): Remove macro.
3258 (si_addr_lsb): Define new macro.
3259 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3260
3261 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3262
3263 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3264 instead of TEST_f_l.
3265 (llrint_test_tonearest): Likewise.
3266 (llrint_test_towardzero): Likewise.
3267 (llrint_test_downward): Likewise.
3268 (llrint_test_upward): Likewise.
3269 (llround_test): Likewise.
3270
3271 * math/libm-test.inc (struct test_f_i_data): Add comment.
3272 (RUN_TEST_LOOP_f_b): New macro.
3273 (RUN_TEST_LOOP_f_b_tg): Likewise.
3274 (finite_test_data): New variable.
3275 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3276 (isfinite_test_data): New variable.
3277 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3278 (isinf_test_data): New variable.
3279 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3280 (isnan_test_data): New variable.
3281 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3282 (isnormal_test_data): New variable.
3283 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3284 (issignaling_test_data): New variable.
3285 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3286 (signbit_test_data): New variable.
3287 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3288
3289 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3290 with INVALID_EXCEPTION.
3291 (acosh_test_data): Likewise.
3292 (asin_test_data): Likewise.
3293 (atanh_test_data): Likewise.
3294 (fmod_test_data): Likewise.
3295 (log_test_data): Likewise.
3296 (log10_test_data): Likewise.
3297 (log2_test_data): Likewise.
3298 (pow_test_data): Likewise.
3299 (sqrt_test_data): Likewise.
3300 (y0_test_data): Likewise.
3301 (y1_test_data): Likewise.
3302 (yn_test_data): Likewise.
3303
3304 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3305 function contents.
3306
3307 * math/libm-test.inc (struct test_ff_i_data): New type.
3308 (RUN_TEST_LOOP_ff_i_tg): New macro.
3309 (isgreater_test_data): New variable.
3310 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3311 (isgreaterequal_test_data): New variable.
3312 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3313 (isless_test_data): New variable.
3314 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3315 (islessequal_test_data): New variable.
3316 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3317 (islessgreater_test_data): New variable.
3318 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3319 (isunordered_test_data): New variable.
3320 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3321
3322 2013-05-14 David S. Miller <davem@davemloft.net>
3323
3324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3325
3326 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3327
3328 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3329
3330 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3331 extra_test to int.
3332 (struct test_f_i_data): Change type of max_ulp to int.
3333
3334 * math/libm-test.inc (test_ffI_f1_data): New type.
3335 (RUN_TEST_LOOP_ffI_f1): New macro.
3336 (remquo_test_data): New variable.
3337 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3338
3339 * setjmp/tst-setjmp-fp.c: New file.
3340 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3341 (link-libm): New variable.
3342 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3343
3344 * math/libm-test.inc (struct test_f_i_data): New type.
3345 (RUN_TEST_LOOP_f_i): New macro.
3346 (RUN_TEST_LOOP_f_i_tg): Likewise.
3347 (fpclassify_test_data): New variable.
3348 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3349 (ilogb_test_data): New variable.
3350 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3351
3352 * math/libm-test.inc (scalbln_test): Correct function name in END
3353 call.
3354
3355 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3356 (RUN_TEST_LOOP_fI_f1): New macro.
3357 (frexp_test_data): New variable.
3358 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3359
3360 * math/libm-test.inc (struct test_fF_f1_data): New type.
3361 (RUN_TEST_LOOP_fF_f1): New macro.
3362 (modf_test_data): New variable.
3363 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3364
3365 * math/libm-test.inc (struct test_f_f1_data): New type.
3366 (RUN_TEST_LOOP_f_f1): New macro.
3367 (gamma_test_data): New variable.
3368 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3369 (lgamma_test_data): New variable.
3370 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3371
3372 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3373
3374 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3375 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3376 (main): Comment "tls" pseudo-hwcap.
3377
3378 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3379
3380 * math/libm-test.inc (struct test_fl_f_data): New type.
3381 (RUN_TEST_LOOP_fl_f): New variable.
3382 (scalbln_test_data): New variable.
3383 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3384
3385 * math/libm-test.inc (struct test_fi_f_data): New type.
3386 (RUN_TEST_LOOP_fi_f): New macro.
3387 (ldexp_test_data): New variable.
3388 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3389 (scalbn_test_data): New variable.
3390 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3391
3392 * math/libm-test.inc (struct test_c_f_data): New type.
3393 (RUN_TEST_LOOP_c_f): New macro.
3394 (cabs_test_data): New variable.
3395 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3396 (carg_test_data): New variable.
3397 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3398 (cimag_test_data): New variable.
3399 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3400 (creal_test_data): New variable.
3401 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3402
3403 * math/libm-test.inc (struct test_if_f_data): New type.
3404 (RUN_TEST_LOOP_if_f): New macro.
3405 (jn_test_data): New variable.
3406 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3407 (yn_test_data): New variable.
3408 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3409
3410 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3411
3412 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3413
3414 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3415 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3416
3417 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3418
3419 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3420 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3421 (bench-deps): Add bench-timing.h.
3422 * benchtests-bench-skeleton.c: Include bench-timing.h.
3423 (main): Use TIMING_* macros instead of clock_gettime.
3424 * benchtests/bench-timing.h: New file.
3425
3426 [BZ #14582]
3427 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3428 Renamed from _LIB_VERSION.
3429 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3430
3431 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3432
3433 * math/libm-test.inc (struct test_fff_f_data): New type.
3434 (RUN_TEST_LOOP_fff_f): New macro.
3435 (fma_test_data): New variable.
3436 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3437 (fma_towardzero_test_data): New variable.
3438 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3439 (fma_downward_test_data): New variable.
3440 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3441 (fma_upward_test_data): New variable.
3442 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3443
3444 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3445 (struct test_c_c_data): New type.
3446 (RUN_TEST_LOOP_c_c): New macro.
3447 (cacos_test_data): New variable.
3448 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3449 (cacosh_test_data): New variable.
3450 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3451 (casin_test_data): New variable.
3452 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3453 (casinh_test_data): New variable.
3454 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3455 (catan_test_data): New variable.
3456 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3457 (catanh_test_data): New variable.
3458 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3459 (ccos_test_data): New variable.
3460 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3461 (ccosh_test_data): New variable.
3462 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3463 (cexp_test_data): New variable.
3464 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3465 (clog_test_data): New variable.
3466 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3467 (clog10_test_data): New variable.
3468 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3469 (conj_test_data): New variable.
3470 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3471 (cproj_test_data): New variable.
3472 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3473 (csin_test_data): New variable.
3474 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3475 (csinh_test_data): New variable.
3476 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3477 (csqrt_test_data): New variable.
3478 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3479 (ctan_test_data): New variable.
3480 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3481 (ctan_tonearest_test_data): New variable.
3482 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3483 (ctan_towardzero_test_data): New variable.
3484 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3485 (ctan_downward_test_data): New variable.
3486 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3487 (ctan_upward_test_data): New variable.
3488 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3489 (ctanh_test_data): New variable.
3490 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3491 (ctanh_tonearest_test_data): New variable.
3492 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3493 (ctanh_towardzero_test_data): New variable.
3494 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3495 (ctanh_downward_test_data): New variable.
3496 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3497 (ctanh_upward_test_data): New variable.
3498 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3499 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3500 of BUILD_COMPLEX.
3501
3502 * math/libm-test.inc (struct test_ff_f_data): New type.
3503 (struct test_ff_f_data_nexttoward): Likewise.
3504 (RUN_TEST_LOOP_2_f): New macro.
3505 (RUN_TEST_LOOP_ff_f): Likewise.
3506 (atan2_test_data): New variable.
3507 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3508 (copysign_test_data): New variable.
3509 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3510 (fdim_test_data): New variable.
3511 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3512 (fmax_test_data): New variable.
3513 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3514 (fmin_test_data): New variable.
3515 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3516 (fmod_test_data): New variable.
3517 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3518 (hypot_test_data): New variable.
3519 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3520 (nextafter_test_data): New variable.
3521 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3522 (nexttoward_test_data): New variable.
3523 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3524 (pow_test_data): New variable.
3525 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3526 (pow_tonearest_test_data): New variable.
3527 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3528 (pow_towardzero_test_data): New variable.
3529 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3530 (pow_downward_test_data): New variable.
3531 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3532 (pow_upward_test_data): New variable.
3533 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3534 (remainder_test_data): New variable.
3535 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3536 (scalb_test_data): New variable.
3537 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3538 * sysdeps/i386/fpu/libm-test-ulps: Update.
3539
3540 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3541
3542 * math/libm-test.inc (fma_test): Use max_value instead of local
3543 variable fltmax.
3544 (nextafter_test): Likewise.
3545
3546 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3547 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3548 (acos_downward_test_data): New variable.
3549 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3550 (acos_upward_test_data): New variable.
3551 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3552 (acosh_test_data): New variable.
3553 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3554 (asin_test_data): New variable.
3555 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3556 (asin_tonearest_test_data): New variable.
3557 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3558 (asin_towardzero_test_data): New variable.
3559 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3560 (asin_downward_test_data): New variable.
3561 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3562 (asin_upward_test_data): New variable.
3563 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3564 (asinh_test_data): New variable.
3565 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3566 (atan_test_data): New variable.
3567 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3568 (atanh_test_data): New variable.
3569 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3570 (cbrt_test_data): New variable.
3571 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3572 (ceil_test_data): New variable.
3573 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3574 (cos_test_data): New variable.
3575 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3576 (cos_tonearest_test_data): New variable.
3577 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3578 (cos_towardzero_test_data): New variable.
3579 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3580 (cos_downward_test_data): New variable.
3581 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3582 (cos_upward_test_data): New variable.
3583 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3584 (cosh_test_data): New variable.
3585 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3586 (cosh_tonearest_test_data): New variable.
3587 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3588 (cosh_towardzero_test_data): New variable.
3589 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3590 (cosh_downward_test_data): New variable.
3591 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3592 (cosh_upward_test_data): New variable.
3593 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3594 (erf_test_data): New variable.
3595 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3596 (erfc_test_data): New variable.
3597 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3598 (exp_test_data): New variable.
3599 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3600 (exp_tonearest_test_data): New variable.
3601 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3602 (exp_towardzero_test_data): New variable.
3603 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3604 (exp_downward_test_data): New variable.
3605 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3606 (exp_upward_test_data): New variable.
3607 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3608 (exp10_test_data): New variable.
3609 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3610 (exp2_test_data): New variable.
3611 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3612 (expm1_test_data): New variable.
3613 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3614 (fabs_test_data): New variable.
3615 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3616 (floor_test_data): New variable.
3617 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3618 (j0_test_data): New variable.
3619 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3620 (j1_test_data): New variable.
3621 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3622 (log_test_data): New variable.
3623 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3624 (log10_test_data): New variable.
3625 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3626 (log1p_test_data): New variable.
3627 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3628 (log2_test_data): New variable.
3629 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3630 (logb_test_data): New variable.
3631 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3632 (logb_downward_test_data): New variable.
3633 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3634 (nearbyint_test_data): New variable.
3635 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3636 (rint_test_data): New variable.
3637 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3638 (rint_tonearest_test_data): New variable.
3639 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3640 (rint_towardzero_test_data): New variable.
3641 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3642 (rint_downward_test_data): New variable.
3643 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3644 (rint_upward_test_data): New variable.
3645 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3646 (round_test_data): New variable.
3647 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3648 (sin_test_data): New variable.
3649 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3650 (sin_tonearest_test_data): New variable.
3651 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3652 (sin_towardzero_test_data): New variable.
3653 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3654 (sin_downward_test_data): New variable.
3655 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3656 (sin_upward_test_data): New variable.
3657 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3658 (sinh_test_data): New variable.
3659 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3660 (sinh_tonearest_test_data): New variable.
3661 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3662 (sinh_towardzero_test_data): New variable.
3663 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3664 (sinh_downward_test_data): New variable.
3665 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3666 (sinh_upward_test_data): New variable.
3667 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3668 (sqrt_test_data): New variable.
3669 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3670 (tan_test_data): New variable.
3671 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3672 (tan_tonearest_test_data): New variable.
3673 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3674 (tan_towardzero_test_data): New variable.
3675 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3676 (tan_downward_test_data): New variable.
3677 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3678 (tan_upward_test_data): New variable.
3679 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3680 (tanh_test_data): New variable.
3681 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3682 (tgamma_test_data): New variable.
3683 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3684 (trunc_test_data): New variable.
3685 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3686 (y0_test_data): New variable.
3687 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3688 (y1_test_data): New variable.
3689 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3690 (significand_test_data): New variable.
3691 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3692
3693 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3694
3695 [BZ #12387]
3696 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3697
3698 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3699
3700 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3701
3702 2013-05-10 Andreas Jaeger <aj@suse.de>
3703
3704 [BZ #15448]
3705 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3706 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3707
3708 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3709
3710 * math/gen-libm-test.pl (adjust_arg): New function.
3711 (special_functions): Handle generating output in both functions
3712 and arrays.
3713 (parse_args): Likewise.
3714 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3715 $in_func argument to parse_args.
3716 * math/libm-test.inc (struct test_f_f_data): New type.
3717 (IF_ROUND_INIT_): New macro.
3718 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3719 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3720 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3721 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3722 (ROUND_RESTORE_): Likewise.
3723 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3724 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3725 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3726 (ROUND_RESTORE_FE_UPWARD): Likewise.
3727 (RUN_TEST_LOOP_f_f): New macro.
3728 (acos_test_data): New variable.
3729 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3730 (acos_tonearest_test_data): New variable.
3731 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3732
3733 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3734
3735 * benchtests/bench-skeleton.c (startup): Fix coding style.
3736
3737 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3738
3739 [BZ #6809]
3740 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3741 negative infinity argument.
3742 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3743 negative infinity argument.
3744 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3745 negative infinity argument.
3746 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3747 domain errors.
3748
3749 2013-05-10 Florian Weimer <fweimer@redhat.com>
3750
3751 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3752 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3753 * iconv/iconv_prog.c (main): Likewise.
3754 * locale/programs/charmap-dir.c (charmap_readdir)
3755 (fopen_uncompressed): Likewise.
3756 * locale/programs/locfile.c (siblings_uncached)
3757 (write_locale_data): Use lstat64 instead of lstat.
3758 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3759 stat.
3760
3761 2013-05-10 Andreas Jaeger <aj@suse.de>
3762
3763 [BZ #15395]
3764 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3765 localization.
3766 Include <locale.h>.
3767
3768 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3769
3770 * elf/dl-close.c (_dl_close_worker): Add comments.
3771
3772 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3773
3774 [BZ #15359]
3775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3776 high part of pi/2.
3777 (__ieee754_rem_pio2l): Update comments.
3778
3779 [BZ #15429]
3780 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3781 high part of pi/2.
3782 (__ieee754_rem_pio2l): Update comments.
3783
3784 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3785 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3786
3787 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3788 M_PI_4l.
3789
3790 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3791 (M_PI_34_LOG10El): Likewise.
3792 (M_PI2_LOG10El): Likewise.
3793 (M_PI4_LOG10El): Likewise.
3794 (M_PI_LOG10El): Likewise.
3795
3796 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3797
3798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3799
3800 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3801
3802 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3803 (MINUS_ZERO_INIT): Likewise.
3804 (PLUS_INFTY_INIT): Likewise.
3805 (MINUS_INFTY_INIT): Likewise.
3806 (QNAN_VALUE_INIT): Likewise.
3807 (MAX_VALUE_INIT): Likewise.
3808 (MIN_VALUE_INIT): Likewise.
3809 (MIN_SUBNORM_VALUE_INIT): Likewise.
3810 (plus_zero): Initialize with PLUS_ZERO_INIT.
3811 (minus_zero): Initialize with MINUS_ZERO_INIT.
3812 (plus_infty): Initialize with PLUS_INFTY_INIT.
3813 (minus_infty): Initialize with MINUS_INFTY_INIT.
3814 (qnan_value): Initialize with QNAN_VALUE_INIT.
3815 (max_value): Initialize with MAX_VALUE_INIT.
3816 (min_value): Initialize with MIN_VALUE_INIT.
3817 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3818
3819 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3820 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3821 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3822 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3823
3824 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3825 (RUN_TEST_2_f): Likewise.
3826 (RUN_TEST_ff_f): Likewise.
3827 (RUN_TEST_fi_f): Likewise.
3828 (RUN_TEST_fl_f): Likewise.
3829 (RUN_TEST_fff_f): Likewise.
3830 (RUN_TEST_c_f): Likewise.
3831 (RUN_TEST_f_f1): Likewise.
3832 (RUN_TEST_fF_f1): Likewise.
3833 (RUN_TEST_fI_f1): Likewise.
3834 (RUN_TEST_ffI_f1): Likewise.
3835 (RUN_TEST_c_c): Likewise.
3836 (RUN_TEST_cc_c): Likewise.
3837 (RUN_TEST_f_i): Likewise.
3838 (RUN_TEST_f_i_tg): Likewise.
3839 (RUN_TEST_ff_i_tg): Likewise.
3840 (RUN_TEST_f_b): Likewise.
3841 (RUN_TEST_f_b_tg): Likewise.
3842 (RUN_TEST_f_l): Likewise.
3843 (RUN_TEST_f_L): Likewise.
3844 (RUN_TEST_sincos): Likewise.
3845 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3846 whether to show exceptions. Do not include ");\n" in return
3847 value.
3848 (special_functions): Output call to RUN_TEST_sincos instead of
3849 check_float calls. Update calls to new_test.
3850 (parse_args): Output call to single RUN_TEST_* macro instead of
3851 check_* calls and other assignments. Update calls to new_test.
3852
3853 [BZ #2546]
3854 [BZ #2560]
3855 [BZ #5159]
3856 [BZ #15426]
3857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3858 input to result for tgamma overflow.
3859 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3860 (gamma_coeff): New variable.
3861 (NCOEFF): New macro.
3862 (gamma_positive): New function.
3863 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3864 underflow here. Use gamma_positive instead of exp (lgamma) for
3865 other arguments.
3866 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3867 (gamma_coeff): New variable.
3868 (NCOEFF): New macro.
3869 (gammaf_positive): New function.
3870 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3871 underflow here. Use gamma_positive instead of exp (lgamma) for
3872 other arguments.
3873 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3874 (gamma_coeff): New variable.
3875 (NCOEFF): New macro.
3876 (gammal_positive): New function.
3877 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3878 underflow here. Use gamma_positive instead of exp (lgamma) for
3879 other arguments.
3880 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3881 (gamma_coeff): New variable.
3882 (NCOEFF): New macro.
3883 (gammal_positive): New function.
3884 (__ieee754_gammal_r): Handle positive infinity, overflow and
3885 underflow here. Handle NaN the same as positive infinity. Remove
3886 check x < 0xffffffff for negative integers. Use gamma_positive
3887 instead of exp (lgamma) for other arguments.
3888 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3889 (gamma_coeff): New variable.
3890 (NCOEFF): New macro.
3891 (gammal_positive): New function.
3892 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3893 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3897 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3898 * sysdeps/generic/math_private.h (__gamma_productf): New
3899 prototype.
3900 (__gamma_product): Likewise.
3901 (__gamma_productl): Likewise.
3902 * math/Makefile (libm-calls): Add gamma_product.
3903 * math/libm-test.inc (tgamma_test): Add more tests.
3904 * sysdeps/i386/fpu/libm-test-ulps: Update.
3905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3906
3907 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3908
3909 * benchtests/bench-skeleton.c (main): Preheat CPU.
3910
3911 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3912
3913 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3914
3915 2013-05-07 Roland McGrath <roland@hack.frob.com>
3916
3917 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3918 and _dl_skip_args_internal.
3919
3920 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3921
3922 * manual/message.texi (Message Translation): Talk about users.
3923 Message to key mapping impacts design.
3924
3925 2013-05-06 Roland McGrath <roland@hack.frob.com>
3926
3927 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3928
3929 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3930
3931 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3932 * sysdeps/wordsize-64/glob64.c: ... here.
3933
3934 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3935 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3936 New macros.
3937
3938 * debug/getlogin_r_chk.c: Moved to ...
3939 * login/getlogin_r_chk.c: ... here.
3940 * debug/Makefile (routines): Move getlogin_r_chk to ...
3941 * login/Makefile (routines): ... here.
3942 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3943 * login/Versions (libc: GLIBC_2.4): ... here.
3944
3945 * io/poll.c (__poll): Renamed from poll.
3946 Add libc_hidden_def.
3947 (poll): Define as weak alias.
3948
3949 * debug/ptsname_r_chk.c: Moved to ...
3950 * login/ptsname_r_chk.c: ... here.
3951 * debug/Makefile (routines): Move ptsname_r_chk to ...
3952 * login/Makefile (routines): ... here.
3953 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3954 * login/Versions (libc: GLIBC_2.4): ... here.
3955
3956 * posix/getlogin.c: Moved to ...
3957 * login/getlogin.c: ... here.
3958 * posix/getlogin_r.c: Moved to ...
3959 * login/getlogin_r.c: ... here.
3960 * posix/getlogin_r.c: Moved to ...
3961 * login/getlogin_r.c: ... here.
3962 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3963 * login/Makefile (routines): ... here.
3964 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3965 * login/Versions (libc: GLIBC_2.0): ... here.
3966
3967 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3968 (setrlimit): Define as weak alias.
3969
3970 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3971 Call __ names for open, ftruncate, and close.
3972 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3973 (truncate): Define as weak alias.
3974
3975 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3976
3977 * math/gen-libm-test.pl (parse_args): Initialize x before each
3978 test of frexp, modf and remquo.
3979
3980 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3981 test signgam value.
3982
3983 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3984
3985 [BZ #15418]
3986 [BZ #15419]
3987 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3988 internal tests.
3989 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3990
3991 2013-05-06 Roland McGrath <roland@hack.frob.com>
3992
3993 * elf/dl-writev.h: New file.
3994 * elf/dl-misc.c: Include it.
3995 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3996 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3997
3998 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3999
4000 * math/libm-test.inc (noXFails): Remove variable.
4001 (noXPasses): Likewise.
4002 (BUILD_COMPLEX_INT): Remove macro.
4003 (print_screen): Remove xfail argument.
4004 (print_screen_max_error): Likewise.
4005 (update_stats): Likewise.
4006 (print_max_error): Likewise. Update calls to other affected
4007 functions.
4008 (print_complex_max_error): Likewise.
4009 (test_single_exception): Update calls to print_screen.
4010 (test_single_errno): Likewise.
4011 (check_float_internal): Remove xfail argument. Update calls to
4012 other affected functions.
4013 (check_float): Likewise.
4014 (check_complex): Likewise.
4015 (check_int): Likewise.
4016 (check_long): Likewise.
4017 (check_bool): Likewise.
4018 (check_longlong): Likewise.
4019 (main): Don't print noXFails and noXPasses.
4020 * math/gen-libm-test.pl (top level): Don't mention expected
4021 failure handling in comment.
4022 (new_test): Don't handle expected failures.
4023 (parse_args): Don't mention expected failure handling in comment.
4024 (generate_testfile): Don't handle expected failures.
4025 (parse_ulps): Likewise.
4026 (print_ulps_file): Likewise.
4027 (get_failure): Remove function.
4028 (output_test): Don't handle expected failures.
4029 * make/README.libm-test: Don't mention expected failure handling.
4030
4031 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4032 (minus_zero): Likewise.
4033 (plus_infty): Likewise.
4034 (minus_infty): Likewise.
4035 (qnan_value): Likewise.
4036 (max_value): Likewise.
4037 (min_value): Likewise.
4038 (min_subnorm_value): Likewise.
4039 (initialize): Do not initialize those variables dynamically.
4040
4041 2013-05-03 Roland McGrath <roland@hack.frob.com>
4042
4043 * io/open.c (__open_2): Moved to ...
4044 * io/open_2.c: ... this new file.
4045 * io/open64.c (__open64_2): Moved to ...
4046 * io/open64_2.c: ... this new file.
4047 * io/openat.c (__openat_2): Moved to ...
4048 * io/openat_2.c: ... this new file.
4049 * io/openat64.c (__openat64_2): Moved to ...
4050 * io/openat64_2.c: ... this new file.
4051 * io/Makefile (routines): Add them.
4052 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4053 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4054 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4055 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4056 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4057 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4058 (__openat64): Add hidden_ver.
4059 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4060 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4061
4062 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4063 Separately conditionalize setting of GLRO(dl_sysinfo) so
4064 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4065 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4066
4067 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068
4069 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4071 definition.
4072 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4073 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4074 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4075 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4076 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4077
4078 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4079
4080 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4081 test signgam value.
4082
4083 * math/libm-test.inc (hypot_test): Do not use
4084 IGNORE_ZERO_INF_SIGN.
4085
4086 2013-05-03 Andreas Jaeger <aj@suse.de>
4087
4088 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4089 Linux 3.9.
4090 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4091 (PF_MAX): Adjust for VSOCK change.
4092
4093 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4094
4095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4096
4097 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4098
4099 [BZ #15264]
4100 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4101 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4102 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4103
4104 2013-05-02 David S. Miller <davem@davemloft.net>
4105
4106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4107
4108 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4109
4110 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4111
4112 2013-05-01 Roland McGrath <roland@hack.frob.com>
4113
4114 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4115
4116 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4117
4118 [BZ #14952]
4119 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4120 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4121 Use __attribute__ ((__gnu_inline__)).
4122 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4123 Don't use __attribute__ ((__gnu_inline__)).
4124
4125 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4126
4127 [BZ #15423]
4128 * math/s_catan.c (__catan): Handle small real or imaginary part of
4129 input specially to avoid spurious underflow.
4130 * math/s_catanf.c (__catanf): Likewise.
4131 * math/s_catanh.c (__catanh): Likewise.
4132 * math/s_catanhf.c (__catanhf): Likewise.
4133 * math/s_catanhl.c (__catanhl): Likewise.
4134 * math/s_catanl.c (__catanl): Likewise.
4135 * math/libm-test.inc (catan_test): Add more tests.
4136 (catanh_test): Likewise.
4137 * sysdeps/i386/fpu/libm-test-ulps: Update.
4138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4139
4140 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4141
4142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4143
4144 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4145
4146 [BZ #15416]
4147 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4148 accurately for denominator in atan2.
4149 * math/s_catanf.c (__catanf): Likewise.
4150 * math/s_catanh.c (__catanh): Likewise.
4151 * math/s_catanhf.c (__catanhf): Likewise.
4152 * math/s_catanhl.c (__catanhl): Likewise.
4153 * math/s_catanl.c (__catanl): Likewise.
4154 * math/libm-test.inc (catan_test): Add more tests.
4155 (catanh_test): Likewise.
4156 * sysdeps/i386/fpu/libm-test-ulps: Update.
4157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4158
4159 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4160
4161 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4162
4163 * benchtests/Makefile (bench): Remove slow benchmarks.
4164 * benchtests/atan-inputs: Add slow benchmark inputs.
4165 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4166 (BENCH_FUNC): Accept variant offset.
4167 (VARIANT): Define.
4168 * benchtests/bench-skeleton.c (main): Run benchmark for each
4169 variant.
4170 * benchtests/cos-inputs: Add slow benchmark inputs.
4171 * benchtests/exp-inputs: Likewise.
4172 * benchtests/pow-inputs: Likewise.
4173 * benchtests/sin-inputs: Likewise.
4174 * benchtests/slowatan-inputs: Remove.
4175 * benchtests/slowatan.c: Remove.
4176 * benchtests/slowcos-inputs: Remove.
4177 * benchtests/slowcos.c: Remove.
4178 * benchtests/slowexp-inputs: Remove.
4179 * benchtests/slowexp.c: Remove.
4180 * benchtests/slowpow-inputs: Remove.
4181 * benchtests/slowpow.c: Remove.
4182 * benchtests/slowsin-inputs: Remove.
4183 * benchtests/slowsin.c: Remove.
4184 * benchtests/slowtan-inputs: Remove.
4185 * benchtests/slowtan.c: Remove.
4186 * benchtests/tan-inputs: Add slow benchmark inputs.
4187 * scripts/bench.pl: Parse comments and directives.
4188
4189 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4190 in CPPFLAGS.
4191 ($(objpfx)bench-%.c): Remove *-ITER.
4192 * benchtests/bench-modf.c: Remove definition of ITER.
4193 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4194 (main): Loop for DURATION seconds instead of fixed number of
4195 iterations.
4196 * scripts/bench.pl: Don't expect iterations in parameters.
4197
4198 2013-04-29 Roland McGrath <roland@hack.frob.com>
4199
4200 * io/fchdir.c (__fchdir): Renamed from fchdir.
4201 (fchdir): Define as weak alias.
4202
4203 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4204
4205 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4206 (ERRNO_EDOM): Likewise.
4207 (ERRNO_ERANGE): Likewise.
4208 (noErrnoTests): New variable.
4209 (init_max_error): Set errno to 0.
4210 (test_single_errno): New function.
4211 (test_errno): Likewise.
4212 (check_float_internal): Call test_errno. Set errno to 0.
4213 (check_complex): Refer to errno tests in comment.
4214 (check_int): Call test_errno. Set errno to 0.
4215 (check_long): Likewise.
4216 (check_bool): Likewise.
4217 (check_longlong): Likewise.
4218 (cos_test): Use ERRNO_* flags for errno tests instead of
4219 check_int.
4220 (expm1_test): Likewise.
4221 (fmod_test): Likewise.
4222 (ilogb_test): Likewise.
4223 (lgamma_test): Likewise.
4224 (pow_test): Likewise.
4225 (remainder_test): Likewise.
4226 (sin_test): Likewise.
4227 (tan_test): Likewise.
4228 (yn_test): Likewise.
4229 (initialize): Set errno to 0.
4230 (main): Print number of errno tests.
4231 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4232
4233 2013-04-29 Andreas Jaeger <aj@suse.de>
4234
4235 [BZ #15084]
4236 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4237 and RES_USEVC.
4238
4239 [BZ #15085]
4240 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4241 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4242 unimplemented.
4243
4244 [BZ #15380]
4245 * stdlib/random.c (__initstate): Return NULL if
4246 __initstate fails.
4247
4248 [BZ #15086]
4249 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4250 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4251 RES_SNGLKUPREOP.
4252
4253 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254
4255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4256
4257 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4258
4259 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4260 of individual tests.
4261 (casin_test): Likewise.
4262 (casinh_test): Likewise.
4263
4264 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4265
4266 [BZ #15409]
4267 * math/s_catan.c (__catan): Handle arguments with large real or
4268 imaginary part separately without squaring.
4269 * math/s_catanf.c (__catanf): Likewise.
4270 * math/s_catanh.c (__catanh): Likewise.
4271 * math/s_catanhf.c (__catanhf): Likewise.
4272 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4273 and redefine.
4274 (__catanhl): Handle arguments with large real or imaginary part
4275 separately without squaring.
4276 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4277 and redefine.
4278 (__catanl): Handle arguments with large real or imaginary part
4279 separately without squaring.
4280 * math/libm-test.inc (catan_test): Add more tests.
4281 (catanh_test): Likewise.
4282 * sysdeps/i386/fpu/libm-test-ulps: Update.
4283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4284
4285 2013-04-27 Andreas Jaeger <aj@suse.de>
4286
4287 [BZ #15007]
4288 * stdlib/stdlib.h: Update guards for qecvt.
4289 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4290 <stdlib.h>.
4291
4292 2013-04-27 Allan McRae <allan@archlinux.org>
4293
4294 * sysdeps/i386/fpu/libm-test-ulps: Update.
4295
4296 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4297
4298 [BZ #15406]
4299 * math/s_catan.c: Include <float.h>.
4300 (__catan): Ensure underflow exception occurs for underflowed
4301 result.
4302 * math/s_catanf.c: Include <float.h>.
4303 (__catanf): Ensure underflow exception occurs for underflowed
4304 result.
4305 * math/s_catanh.c: Include <float.h>.
4306 (__catanh): Ensure underflow exception occurs for underflowed
4307 result.
4308 * math/s_catanhf.c: Include <float.h>.
4309 (__catanhf): Ensure underflow exception occurs for underflowed
4310 result.
4311 * math/s_catanhl.c: Include <float.h>.
4312 (__catanhl): Ensure underflow exception occurs for underflowed
4313 result.
4314 * math/s_catanl.c: Include <float.h>.
4315 (__catanl): Ensure underflow exception occurs for underflowed
4316 result.
4317 * math/libm-test.inc (catan_test): Add more tests.
4318 (catanh_test): Likewise.
4319
4320 [BZ #15405]
4321 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4322 underflowed result.
4323 * math/s_ccoshf.c (__ccoshf): Likewise.
4324 * math/s_ccoshl.c (__ccoshl): Likewise.
4325 * math/s_csin.c (__csin): Likewise.
4326 * math/s_csinf.c (__csinf): Likewise.
4327 * math/s_csinh.c (__csinh): Likewise.
4328 * math/s_csinhf.c (__csinhf): Likewise.
4329 * math/s_csinhl.c (__csinhl): Likewise.
4330 * math/s_csinl.c (__csinl): Likewise.
4331 * math/libm-test.inc (ccos_test): Add more tests.
4332 (ccosh_test): Likewise.
4333 (csin_test): Likewise.
4334 (csinh_test): Likewise.
4335
4336 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4337
4338 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4339 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4340 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4341 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4342 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4343 powerpc/power5+/fpu folders.
4344 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4345
4346
4347 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4348
4349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4350
4351 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4352
4353 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4354 additions to variable.
4355 [$(config-machine) = x86_64] (modules-names): Likewise.
4356 ($(objpfx)tst-audit3): Remove dependency.
4357 ($(objpfx)tst-audit3.out): Likewise.
4358 ($(objpfx)tst-audit4): Likewise.
4359 ($(objpfx)tst-audit4.out): Likewise.
4360 ($(objpfx)tst-audit5): Likewise.
4361 ($(objpfx)tst-audit5.out): Likewise.
4362 ($(objpfx)tst-audit6): Likewise.
4363 ($(objpfx)tst-audit6.out): Likewise.
4364 ($(objpfx)tst-audit7): Likewise.
4365 ($(objpfx)tst-audit7.out): Likewise.
4366 (tst-audit3-ENV): Remove variable.
4367 (tst-audit4-ENV): Likewise.
4368 (tst-audit5-ENV): Likewise.
4369 (tst-audit6-ENV): Likewise.
4370 (tst-audit7-ENV): Likewise.
4371 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4372 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4373 addition to variable.
4374 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4375 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4376 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4377 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4379 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4380 tst-audit3, tst-audit4 and tst-audit5.
4381 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4382 tst-audit6 and tst-audit7.
4383 [$(subdir) = elf] (modules-names): Add audit modules for those
4384 tests.
4385 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4386 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4387 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4388 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4389 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4390 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4391 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4392 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4393 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4394 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4395 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4396 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4397 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4398 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4399 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4400 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4401 Likewise.
4402 [$(subdir) = elf && $(config-cflags-avx) = yes]
4403 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4404 [$(subdir) = elf && $(config-cflags-avx) = yes]
4405 (CFLAGS-tst-auditmod4a.c): Likewise.
4406 [$(subdir) = elf && $(config-cflags-avx) = yes]
4407 (CFLAGS-tst-auditmod4b.c): Likewise.
4408 [$(subdir) = elf && $(config-cflags-avx) = yes]
4409 (CFLAGS-tst-auditmod6b.c): Likewise.
4410 [$(subdir) = elf && $(config-cflags-avx) = yes]
4411 (CFLAGS-tst-auditmod6c.c): Likewise.
4412 [$(subdir) = elf && $(config-cflags-avx) = yes]
4413 (CFLAGS-tst-auditmod7b.c): Likewise.
4414 * elf/tst-audit3.c: Move to ...
4415 * sysdeps/x86_64/tst-audit3.c: ... here.
4416 * elf/tst-audit4.c: Move to ...
4417 * sysdeps/x86_64/tst-audit4.c: ... here.
4418 * elf/tst-audit5.c: Move to ...
4419 * sysdeps/x86_64/tst-audit5.c: ... here.
4420 * elf/tst-audit6.c: Move to ...
4421 * sysdeps/x86_64/tst-audit6.c: ... here.
4422 * elf/tst-audit7.c: Move to ...
4423 * sysdeps/x86_64/tst-audit7.c: ... here.
4424 * elf/tst-auditmod3a.c: Move to ...
4425 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4426 * elf/tst-auditmod3b.c: Move to ...
4427 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4428 * elf/tst-auditmod4a.c: Move to ...
4429 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4430 * elf/tst-auditmod4b.c: Move to ...
4431 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4432 * elf/tst-auditmod5a.c: Move to ...
4433 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4434 * elf/tst-auditmod5b.c: Move to ...
4435 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4436 * elf/tst-auditmod6a.c: Move to ...
4437 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4438 * elf/tst-auditmod6b.c: Move to ...
4439 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4440 * elf/tst-auditmod6c.c: Move to ...
4441 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4442 * elf/tst-auditmod7a.c: Move to ...
4443 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4444 * elf/tst-auditmod7b.c: Move to ...
4445 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4446
4447 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4448
4449 [BZ #15366]
4450 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4451 define unconditionally.
4452 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4453 define unconditionally.
4454 (INT8_C, INT16_C, etc.): Likewise.
4455
4456 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4457
4458 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4459 __ehdr_start with hidden visibility.
4460
4461 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4462
4463 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4464
4465 * math/libm-test.inc (cos_test): Use accurate hex constants.
4466 (sincost_test): Likewise.
4467
4468 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4469
4470 * math/libm-test.inc (catan_test): Add more tests.
4471 (catanh_test): Likewise.
4472
4473 * math/s_catanf.c (__catanf): Use suffixed floating-point
4474 constants.
4475 * math/s_catanhf.c (__catanhf): Likewise.
4476 * math/s_catanhl.c (__catanhl): Likewise.
4477 * math/s_catanl.c (__catanl): Likewise.
4478
4479 [BZ #15394]
4480 * math/s_catan.c (__catan): Calculate imaginary part of result
4481 with log1p not log unless computing log of number close to 0.
4482 * math/s_catanf.c (__catanf): Likewise.
4483 * math/s_catanl.c (__catanl): Likewise.
4484 * math/s_catanh.c (__catanh): Calculate real part of result with
4485 log1p not log unless computing log of number close to 0.
4486 * math/s_catanhf.c (__catanhf): Likewise.
4487 * math/s_catanhl.c (__catanhl): Likewise.
4488 * math/libm-test.inc (catan_test): Add more tests.
4489 (catanh_test): Likewise.
4490 * sysdeps/i386/fpu/libm-test-ulps: Update.
4491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4492
4493 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
4495 * benchtests/Makefile: Mention files in which fast and slow
4496 paths of math functions are implemented.
4497
4498 2013-04-23 Roland McGrath <roland@hack.frob.com>
4499
4500 * sysdeps/posix/timespec_get.c: New file.
4501
4502 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4503
4504 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4505 POWER.
4506 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4507 for POWER.
4508 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4509 powerpc/power5/fpu folders.
4510 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4511 * benchtests/Makefile: Add modf testcase.
4512 * benchtests/bench-modf.c: New file: Benchmark test for mo
4513
4514 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4515
4516 [BZ #14888]
4517 * time/Makefile (tests): Add tst-strptime-whitespace.
4518 * time/strptime_l.c (get_number): Use ISSPACE.
4519 (__strptime_internal): Likewise.
4520 * time/tst-strptime-whitespace.c: New test case.
4521
4522 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4523
4524 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4525 member.
4526 (_nss_files_init): Set it here.
4527
4528 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4529
4530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4531 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4532 unsigned.
4533
4534 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4535
4536 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4537
4538 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4539
4540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4541 size just once.
4542
4543 2013-04-21 David S. Miller <davem@davemloft.net>
4544
4545 * po/ru.po: Update Russion translation from translation project.
4546
4547 2013-04-17 Adam Conrad <adconrad@0c3.net>
4548
4549 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4550 and setfsgid.
4551
4552 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4553
4554 * configure.in: Remove i386 configure warning. Remove i386 case.
4555 * configure: Regenerate.
4556 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4557 Add example to error message.
4558 * sysdeps/i386/configure: Regenerate.
4559
4560 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4561
4562 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4563 slowtan.
4564 * benchtests/cos-inputs: New file.
4565 * benchtests/slowcos-inputs: New file.
4566 * benchtests/slowcos.c: New file.
4567 * benchtests/slowtan-inputs: New file.
4568 * benchtests/slowtan.c: New file.
4569 * benchtests/tan-inputs: New file.
4570
4571 2013-04-16 Roland McGrath <roland@hack.frob.com>
4572
4573 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4574 considered kosher.
4575
4576 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4577
4578 * benchtests/Makefile: Include cppflags-iterator.mk to add
4579 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4580
4581 * Makefile.in (bench-clean): New target.
4582 * benchtests/Makefile (bench-clean): Likewise.
4583
4584 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4585
4586 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4587
4588 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4589
4590 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4591
4592 2013-04-15 Andreas Schwab <schwab@suse.de>
4593
4594 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4596 * nscd/pwdcache.c (cache_addpw): Likewise.
4597 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4598 more than recsize.
4599
4600 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4601
4602 * benchtests/Makefile (bench): Write all output to
4603 bench-out.tmp together.
4604
4605 2013-04-15 Andreas Schwab <schwab@suse.de>
4606
4607 * nscd/nscd.c (main): Don't fork again after closing files.
4608
4609 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4610
4611 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4612
4613 * benchtests/Rules (bench-deps): Collect dependencies into a
4614 single variable. Add Makefile to dependencies.
4615 ($(objpfx)bench-%.c): Depend on bench-deps.
4616
4617 2013-04-12 Roland McGrath <roland@hack.frob.com>
4618 Xavier Roche <roche+kml2@exalead.com>
4619
4620 [BZ #15361]
4621 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4622 just that it's a file descriptor.
4623 * manual/llio.texi (Synchronizing AIO Operations): Update description
4624 for EBADF error from aio_fsync.
4625
4626 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4627
4628 * Rules (bench): Move target definition...
4629 * benchtests/Makefile: ... here.
4630
4631 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4632
4633 * math/libm-test.inc (cos_test): Fix PI/2 test.
4634 (sincos_test): Likewise.
4635 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4636 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4637
4638 2013-04-11 Andreas Schwab <schwab@suse.de>
4639
4640 [BZ #13988]
4641 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4642 accept exponent character only when digits were seen.
4643 * stdio-common/Makefile (tests): Add bug26.
4644 * stdio-common/bug26.c: New file.
4645
4646 [BZ #14293]
4647 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4648 non-freeable.
4649
4650 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4651
4652 * Makeconfig (rtld-prefix): Define built linker prefix.
4653 * Rules (run-bench): Use it.
4654 * math/Makefile (run-regen-ulps): Likewise.
4655
4656 * Rules (bench): Remove eval.
4657
4658 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4659 Roland McGrath <roland@hack.frob.com>
4660 Ondrej Bilka <neleai@seznam.cz>
4661
4662 [BZ #15346]
4663 * time/getdate.c: Include ctype.h and alloca.h.
4664 (__getdate_r): Trim leading and trailing spaces of input.
4665 * time/tst-getdate.c (tests): Add tests with leading and
4666 trailing spaces.
4667
4668 2013-04-08 Roland McGrath <roland@hack.frob.com>
4669
4670 [BZ #14280]
4671 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4672 when computing value.
4673
4674 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4675
4676 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4677 Use testrun.sh to run libm tests.
4678
4679 [BZ #15309]
4680 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4681
4682 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4683
4684 [BZ #15264]
4685 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4686
4687 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4688
4689 * Makefile.in (regen-ulps): New target.
4690 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4691 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4692 [ifneq (no,$(PERL)] (regen-ulps): New target.
4693 [ifeq (no,$(PERL)] (regen-ulps): New target.
4694 * math/libm-test.inc (ulps_file_name): Define.
4695 (output_dir): New variable.
4696 (options): Add "output-dir" option.
4697 (parse_opt): Handle 'o' case.
4698 (main): If output_dir is non-NULL use it as a prefix
4699 otherwise use "".
4700 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4701
4702 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4703
4704 [BZ #10060, #10062]
4705 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4706 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4707 fail configure if __sync_val_compare_and_swap is not inlined.
4708 * sysdeps/i386/configure: Regenerate.
4709 * configure.in: Build for i686 when configured for i386.
4710 * configure: Regenerate.
4711 * README: Remove i386 reference.
4712
4713 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4714
4715 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4717
4718 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4719
4720 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4721 (lmsnanval): New variables.
4722 (F): Add conversion tests.
4723 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4724 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4725
4726 * stdio-common/tstdiomisc.c (F): Properly collect individual
4727 tests' results.
4728
4729 [BZ #14686, #15336]
4730 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4731 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4732 Instead, use input NaN values or generate a qNaN by arithmetic
4733 operation. Also fix bugs to comply with the standard.
4734 * math/libm-test.inc (remainder_test): Add more tests.
4735
4736 [BZ #15335, #15342]
4737 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4739 input NaN values or generate a qNaN by arithmetic operation.
4740
4741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4742 unreachable code.
4743
4744 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4745 definitions.
4746
4747 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4748
4749 [BZ #14478]
4750 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4751 underflowed result.
4752 * math/s_cexpf.c (__cexpf): Likewise.
4753 * math/s_cexpl.c (__cexpl): Likewise.
4754 * math/libm-test.inc (cexp_test): Add more tests.
4755
4756 2013-04-03 Andreas Schwab <schwab@suse.de>
4757
4758 [BZ #15330]
4759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4760 order arrays from heap if bigger than alloca cutoff.
4761
4762 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4763
4764 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4765 (SNAN_TESTS_double): Refer to GCC PR56831.
4766 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4767 GCC PR56828.
4768
4769 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4770
4771 * Rules (bench): Move bench.out after the run is complete.
4772
4773 * Rules (bench): Echo currently running benchmark.
4774
4775 * benchtests/Makefile (bench): Add atan and slowatan.
4776 * benchtests/atan-inputs: New file.
4777 * benchtests/slowatan-inputs: New file.
4778 * benchtests/slowatan.c: New file.
4779
4780 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4782 its value.
4783
4784 [BZ #15305]
4785 * sysdeps/unix/sysv/linux/kernel-features.h
4786 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4787 __ASSUME_XFS_RESTRICTED_CHOWN.
4788 * sysdeps/unix/sysv/linux/pathconf.c
4789 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4790 Save and restore errno.
4791
4792 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4793
4794 [BZ #15327]
4795 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4796 arguments using __kernel_casinh.
4797 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4798 arguments using __kernel_casinhf.
4799 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4800 arguments using __kernel_casinhl.
4801 * math/libm-test.inc (cacosh_test): Add more tests.
4802 * sysdeps/i386/fpu/libm-test-ulps: Update.
4803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804
4805 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4806
4807 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4809
4810 * bench/Makefile (bench): Add sin and slowsin.
4811 * benchtests/sin-inputs: New file.
4812 * benchtests/slowsin-inputs: New file.
4813 * benchtests/slowsin.c: New file.
4814
4815 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4816 (bench): Add slowexp and slowpow.
4817 (exp-ITER): Increase iterations.
4818 (pow-ITER): Likewise.
4819 * benchtests/exp-inputs: Change input.
4820 * benchtests/pow-inputs: Likewise.
4821 * benchtests/slowexp-inputs: New file.
4822 * benchtests/slowexp.c: New file.
4823 * benchtests/slowpow-inputs: New file.
4824 * benchtests/slowpow.c: New file.
4825
4826 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4827
4828 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4829 instructions.
4830 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4831 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4832 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4833 * benchtests/Makefile: Add rint benchtest.
4834 * benchtests/rint-inputs: Input for rint benchtest.
4835
4836 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4837
4838 * Versions.def (libm): Add GLIBC_2.18.
4839 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4840 hidden libm prototypes.
4841 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4842 * math/Makefile (libm-calls): Add s_issignaling.
4843 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4844 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4845 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4846 declaration.
4847 * math/math.h [__USE_GNU] (issignaling): New macro.
4848 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4849 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4850 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4851 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4854 * manual/arith.texi (issignaling): New section.
4855 * manual/libm-err-tab.pl (@all_functions): Update comment.
4856 * math/gen-libm-test.pl (parse_args): Apply special handling for
4857 issignaling.
4858 * math/libm-test.inc (print_float, issignaling_test): New
4859 functions.
4860 (check_float_internal): Add issignaling checks.
4861 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4862 default definition.
4863 * sysdeps/powerpc/math-tests.h: New file.
4864 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4865 tests.
4866 * math/test-snan.c (TEST_FUNC): Likewise.
4867
4868 2013-03-30 David S. Miller <davem@davemloft.net>
4869
4870 * po/de.po: Update from translation team.
4871
4872 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4873
4874 [BZ #10357]
4875 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4876 imaginary part less than 1.0 and real part less than 0.5
4877 specially.
4878 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4879 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4880 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4881 (cacos_test): Add more tests.
4882 (casin_test): Likewise.
4883 (casinh_test): Likewise.
4884 * sysdeps/i386/fpu/libm-test-ulps: Update.
4885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4886
4887 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4888
4889 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4890 ONE with its value.
4891
4892 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4893 (__pow_mp): Replace ONE and MONE with their values.
4894 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4896 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4897 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4898 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4899 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4900
4901 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4902
4903 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4904 (__pow_mp): Replace ZERO and MZERO with their values.
4905 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4909 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4910 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4911 (__sqr): Likewise.
4912
4913 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4914
4915 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4916
4917 2013-03-28 Roland McGrath <roland@hack.frob.com>
4918
4919 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4920 Declare with __attribute__ ((weak)).
4921 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4922 Call __call_tls_dtors only if it's not NULL.
4923
4924 2013-03-28 Roland McGrath <roland@hack.frob.com>
4925
4926 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4927 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4928 magic __ehdr_start linker symbol if it's defined.
4929 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4930 them up here if it was already done.
4931
4932 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4933 (_dl_aux_init): Use const in cast when setting it.
4934 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4935 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4936 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4937
4938 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4939 Declare them here.
4940 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4941 * csu/libc-tls.c: Nor here.
4942 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4943
4944 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4945 (__libc_message): Never call vsyslog.
4946
4947 2013-03-28 Alan Modra <amodra@gmail.com>
4948
4949 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4950 Define as empty.
4951 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4952 Likewise.
4953
4954 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4955
4956 [BZ #15214]
4957 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4958 underflow.
4959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4960
4961 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4962
4963 [BZ #15304]
4964 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4965 Don't add gid passed as argument.
4966
4967 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4968
4969 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4970
4971 [BZ #15307]
4972 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4973 imaginary part between 1.0 and 1.5 and real part less than 0.5
4974 specially.
4975 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4976 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4977 * math/libm-test.inc (cacos_test): Add more tests.
4978 (casin_test): Likewise.
4979 (casinh_test): Likewise.
4980 * sysdeps/i386/fpu/libm-test-ulps: Update.
4981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4982
4983 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4984
4985 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4986 constants.
4987 (norm): Likewise.
4988 (denorm): Likewise.
4989 (__dbl_mp): Likewise.
4990 (add_magnitudes): Likewise.
4991 (sub_magnitudes): Likewise.
4992 (__add): Likewise.
4993 (__sub): Likewise.
4994 (__mul): Likewise.
4995 (__sqr): Likewise.
4996 (__inv): Likewise.
4997 (__dvd): Likewise.
4998
4999 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5000 commented code.
5001 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5002 (__dubcos): Likewise.
5003 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5004 (__ieee754_acos): Likewise.
5005 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5007 (__exp1): Likewise.
5008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5010 (log1): Likewise.
5011 (my_log2): Likewise.
5012 (checkint): Likewise.
5013 * sysdeps/ieee754/dbl-64/e_remainder.c
5014 (__ieee754_remainder): Likewise.
5015 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5017 (bsloww): Likewise.
5018 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5019
5020 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5021 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5022 MANTISSA_STORE_T to store computations on mantissa. Use
5023 macros for rounding and division.
5024 (denorm): Likewise.
5025 (__dbl_mp): Likewise.
5026 (add_magnitudes): Likewise.
5027 (sub_magnitudes): Likewise.
5028 (__mul): Likewise.
5029 (__sqr): Likewise.
5030 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5031 powers of two in terms of TWOPOW macro.
5032 (mp_no): Make type of mantissa as MANTISSA_T.
5033 [!RADIXI]: Define RADIXI.
5034 [!TWO52]: Define TWO52.
5035 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5036
5037 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038
5039 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5040 llroundl symbol when building for PPC32.
5041
5042 2013-03-24 Mark H Weaver <mhw@netris.org>
5043
5044 * manual/arith.texi (Normalization Functions): Fix prototypes for
5045 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5046
5047 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048
5049 [BZ #13889]
5050 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5051 high value to check if expl overflow.
5052 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5053 to check for underflow and overflow.
5054 * math/libm-test.inc: Add exp test.
5055
5056 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5057
5058 [BZ #11120]
5059 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5060 with NOT_IN_libc.
5061
5062 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063
5064 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5065 symbol.
5066
5067 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5068
5069 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5070 wrap blocks consisting of several statements.
5071
5072 * sysdeps/generic/math-tests.h: New file.
5073 * sysdeps/i386/fpu/math-tests.h: Likewise.
5074 * math/test-snan.c: Include it.
5075 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5076
5077 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5078
5079 [BZ #15285]
5080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5081 (__ieee754_j0l): Do not improve calculations using cos of twice
5082 input for inputs above LDBL_MAX / 2.0L.
5083 (__ieee754_y0l): Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5085 (__ieee754_j1l): Do not improve calculations using cos of twice
5086 input for inputs above LDBL_MAX / 2.0L.
5087 (__ieee754_y1l): Likewise.
5088 * math/libm-test.inc (j0_test): Add another test.
5089 (j1_test): Likewise.
5090 (y0_test): Likewise.
5091 (y1_test): Likewise.
5092 * sysdeps/i386/fpu/libm-test-ulps: Update.
5093
5094 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5095
5096 * Rules ($(objpfx)bench-%.c): Include code from a C source
5097 file.
5098
5099 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5100
5101 [BZ #15287]
5102 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5103 imaginary part 1.0 and real part less than 0.5 specially.
5104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5106 * math/libm-test.inc (cacos_test): Add more tests.
5107 (casin_test): Likewise.
5108 (casinh_test): Likewise.
5109 * sysdeps/i386/fpu/libm-test-ulps: Update.
5110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5111
5112 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5113
5114 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5115 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5116
5117 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5118
5119 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5120 * config.make.in (config-cflags-sse4): Remove variable.
5121 (config-cflags-avx): Likewise.
5122 (config-cflags-sse2avx): Likewise.
5123 (config-cflags-novzeroupper): Likewise.
5124 (config-asflags-i686): Likewise.
5125 (have-mfma4): Likewise.
5126 (have-as-vis3): Likewise.
5127 (MIG): Likewise.
5128 * configure.in (MIG): Do not AC_SUBST.
5129 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5130 (libc_cv_cc_sse4): Do not AC_SUBST.
5131 (libc_cv_cc_avx): Likewise.
5132 (libc_cv_cc_sse2avx): Likewise.
5133 (libc_cv_cc_novzeroupper): Likewise.
5134 (libc_cv_cc_fma4): Likewise.
5135 (libc_cv_as_i686): Likewise.
5136 (libc_cv_sparc_as_vis3): Likewise.
5137 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5138 LIBC_CONFIG_VAR.
5139 (config-asflags-i686): Likewise.
5140 (config-cflags-avx): Likewise.
5141 (config-cflags-sse2avx): Likewise.
5142 (have-mfma4): Likewise.
5143 (config-cflags-novzeroupper): Likewise.
5144 * sysdeps/mach/configure.in (MIG): Likewise.
5145 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5146 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5147 LIBC_CONFIG_VAR.
5148 (config-cflags-avx): Likewise.
5149 (config-cflags-sse2avx): Likewise.
5150 (have-mfma4): Likewise.
5151 (config-cflags-novzeroupper): Likewise.
5152 * configure: Regenerated.
5153 * sysdeps/i386/configure: Likewise.
5154 * sysdeps/mach/configure: Likewise.
5155 * sysdeps/sparc/configure: Likewise.
5156 * sysdeps/x86_64/configure: Likewise.
5157
5158 2013-03-20 Roland McGrath <roland@hack.frob.com>
5159
5160 [BZ #14812]
5161 * locale/programs/localedef.c (options): Put N_ translation marker
5162 on argument names, not just descriptions.
5163
5164 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5165
5166 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5167
5168 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5169
5170 [BZ #14176]
5171 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5172
5173 2013-03-19 Roland McGrath <roland@hack.frob.com>
5174
5175 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5176 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5177 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5178 [!BEFORE_ABORT] (before_abort): New function.
5179 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5180 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5181 (writev_for_fatal): New function.
5182 (WRITEV_FOR_FATAL): New macro; call that.
5183 (backtrace_and_maps): New function.
5184 (BEFORE_ABORT): New macro; call that.
5185 (struct str_list): Type removed.
5186 (__libc_message, __libc_fatal): Functions removed.
5187 Include <sysdeps/posix/libc_fatal.c> instead.
5188
5189 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5190
5191 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5192 constants.
5193 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5194 double constants.
5195
5196 2013-03-19 Andreas Schwab <schwab@suse.de>
5197
5198 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5199 * sysdeps/gnu/configure: Regenerate.
5200
5201 * configure.in: Substitute libc_cv_rtlddir.
5202 * configure: Regenerate.
5203 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5204 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5205 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5206 * elf/Makefile (install-others, CFLAGS-interp.c)
5207 (ldso_install, common-ldd-rewrite): Likewise.
5208 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5209 $(inst_slibdir)/$(rtld-installed-name).
5210 * scripts/rellns-sh: Add -p option.
5211 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5212 for source.
5213
5214 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5215
5216 * manual/nptl.texi: Renamed to ...
5217 * manual/threads.texi: ... this.
5218 * manual/Makefile (chapters): Update.
5219
5220 2013-03-18 Roland McGrath <roland@hack.frob.com>
5221
5222 [BZ #14812]
5223 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5224 on argument names, not just descriptions.
5225 * malloc/memusagestat.c (options): Likewise.
5226 * nss/getent.c (options): Likewise.
5227
5228 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5229
5230 [BZ #14812]
5231 * iconv/iconv_prog.c (options): Put N_ translation marker
5232 on argument names, not just descriptions.
5233 * iconv/iconvconfig.c (options): Likewise.
5234
5235 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5236
5237 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5238 implementation which is faster on all x86_64 architectures.
5239 Tested on AMD, Intel Nehalem, SNB, IVB.
5240 * sysdeps/x86_64/strnlen.S: Likewise.
5241
5242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5243 Remove all multiarch strlen and strnlen versions.
5244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5245 Remove strlen and strnlen related parts.
5246
5247 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5248 Inline strlen part.
5249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5250
5251 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5252 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5253 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5254 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5255 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5256 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5257
5258 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5259
5260 * manual/memory.texi (Malloc Tunable Parameters):
5261 Sort parameters alphabetically. Add comments for missing entries.
5262
5263 2013-03-17 David S. Miller <davem@davemloft.net>
5264
5265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5266
5267 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5268
5269 [BZ #15283]
5270 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5271 for arguments at most half maximum finite value.
5272 * math/libm-test.inc (j0_test): Add more tests.
5273 (j1_test): Likewise.
5274 (y0_test): Likewise.
5275 (y1_test): Likewise.
5276 * sysdeps/i386/fpu/libm-test-ulps: Update.
5277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5278
5279 [BZ #14155]
5280 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5281 1 / x and functions P and Q for arguments above 0x1p256L.
5282 (__ieee754_y0l): Likewise.
5283 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5284 (__ieee754_y1l): Likewise.
5285 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5286 (j1_test): Likewise.
5287 (y0_test): Likewise.
5288 (y1_test): Likewise.
5289
5290 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5291
5292 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5293 variable.
5294
5295 2013-03-15 Roland McGrath <roland@hack.frob.com>
5296
5297 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5298 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5299 zero since it's initialized to EXEC_PAGESIZE.
5300
5301 * sysdeps/unix/sysv/linux/ldsodefs.h
5302 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5303 * sysdeps/generic/ldsodefs.h: ... here.
5304
5305 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5306
5307 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5308
5309 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5310 math/test-snan.c.
5311 * math/test-snan.c: Renamed from
5312 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5313 * math/Makefile (tests): Add test-snan.
5314 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5315 test-powerpc-snan.
5316
5317 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5318 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5319 functions.
5320 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5321 __builtin_nan family of functions.
5322 * math/libm-test.inc (initialize): Initialize qnan_value with
5323 __builtin_nan family of functions.
5324 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5325 Remove variables.
5326 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5327 Remove functions.
5328 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5329 storage class. Initialize qNaN_var and sNaN_var with
5330 __builtin_nan and __builtin_nans families of functions,
5331 respectively.
5332
5333 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5334 (sqrt_test): Remove duplicate test with qNaN input.
5335 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5336 (round_test, signbit_test, significand_test): Note missing +/-Inf
5337 as well as qNaN tests.
5338
5339 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5340 qNaN_var. Fix a few strings, too.
5341 * math/libm-test.inc (nan_value): Rename to qnan_value.
5342 * math/gen-libm-test.pl (%beautify): Adjust to that.
5343 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5344 * math/test-misc.c (main): Likewise.
5345 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5346 to __qnan_bytes, and __qnan_union, respectively.
5347 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5348 Likewise.
5349 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5350 and lqnanval, respectively.
5351 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5352 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5353 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5354 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5355
5356 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5357 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5358 doubles.
5359
5360 * math/test-misc.c (main): Fix copy'n'pastos.
5361 * misc/tst-efgcvt.c (special): Likewise.
5362
5363 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5364 Remove declarations.
5365
5366 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5367
5368 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5369 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5370 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5371 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5372
5373 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5374
5375 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5376 macro to return vdso values correctly in IFUNC implementations.
5377 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5378 Optimization by using IFUNC.
5379
5380 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5381 Richard Henderson <rth@redhat.com>
5382 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5383
5384 * Makefile.in (bench): New target.
5385 * NEWS: Mention the benchmark framework.
5386 * Rules (bench): Likewise.
5387 (binaries-bench): Generate binaries for functions to
5388 benchmark.
5389 * benchtests/Makefile: New makefile for benchmark tests.
5390 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5391 programs.
5392 * benchtests/exp-inputs: New input file for EXP function.
5393 * benchtests/pow-inputs: New input file for POW function.
5394 * scripts/bench.pl: New script to generate source files for
5395 benchmark programs.
5396
5397 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5398
5399 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5401 computations on mantissa. Use macros for rounding and
5402 division.
5403 (denorm): Likewise.
5404 (__dbl_mp): Likewise.
5405 (add_magnitudes): Likewise.
5406 (sub_magnitudes): Likewise.
5407 (__mul): Likewise.
5408 (__sqr): Likewise.
5409 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5410 powers of two in terms of TWOPOW macro.
5411 (mp_no): Make type of mantissa as MANTISSA_T.
5412 [!RADIXI]: Define RADIXI.
5413 [!TWO52]: Define TWO52.
5414 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5415
5416 * manual/nptl.texi (cindex): Modify threads to pthreads.
5417
5418 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5419
5420 * sysdeps/x86_64/preconfigure: Regenerated.
5421
5422 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5423
5424 [BZ #14155]
5425 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5426 0x1p28 and above.
5427 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5428 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5429 0x1p28 and above.
5430 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5431 * math/libm-test.inc (j0_test): Do not allow one spurious
5432 underflow exception.
5433 (y1_test): Likewise.
5434
5435 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5436
5437 * manual/Makefile (chapters): Add nptl.
5438 * manual/debug.texi (Debugging Support): Add link to Threads
5439 chapter.
5440 * manual/nptl.texi: New file.
5441
5442 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5443
5444 2013-03-14 Petr Baudis <pasky@ucw.cz>
5445
5446 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5447 for non-NULL pointer before the memory validity test. Pointed
5448 out by Holger Brunck <holger.brunck@keymile.com>.
5449
5450 2013-03-13 Andreas Schwab <schwab@suse.de>
5451
5452 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5453 instead of .os.
5454
5455 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5456
5457 * timezone/zic.c: Update from tzcode 2013b.
5458
5459 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5460
5461 * manual/install.texi (Configuring and compiling):
5462 Mention i686 and i586.
5463 * INSTALL: Regenerate.
5464
5465 2013-03-12 Roland McGrath <roland@hack.frob.com>
5466
5467 * sysdeps/init_array/elf-init.c: New file.
5468 * csu/elf-init.c
5469 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5470 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5471
5472 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5473 __gmon_start__ as global, but as static with a .preinit_array pointer.
5474 * sysdeps/init_array/gmon-start.c: New file. Use that.
5475 * sysdeps/init_array/crti.S: New file, empty except for comments.
5476 * sysdeps/init_array/crtn.S: Likewise.
5477
5478 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5479
5480 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5481 definining bcopy.
5482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5483 Remove Prefer_SSE_for_memop.
5484 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5485 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5486 HAS_PREFER_SSE_FOR_MEMOP.
5487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5488 memset-x86-64.
5489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5490 Remove bzero, memset ifunc support.
5491 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5492 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5493 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5494 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5495
5496 2013-03-11 Andreas Schwab <schwab@suse.de>
5497
5498 [BZ #15234]
5499 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5500 by SHLIB_COMPAT.
5501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5502 (GLIBC_2.16): Remove pthread_atfork.
5503
5504 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5505
5506 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5507 (ptestcases.h): Likewise.
5508
5509 2013-03-08 Roland McGrath <roland@hack.frob.com>
5510
5511 * Makeconfig ($(common-objpfx)config.status): Depend on
5512 sysdeps/*/preconfigure{,.in} too.
5513
5514 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5515
5516 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5517 (__free_hook): Use void * instead of __malloc_ptr_t.
5518 (__malloc_hook): Likewise.
5519 (__realloc_hook): Likewise.
5520 (__memalign_hook): Likewise.
5521 (__after_morecore_hook): Likewise.
5522 * malloc/arena.c (save_malloc_hook): Likewise.
5523 (save_free_hook): Likewise.
5524 * malloc/hooks.c (malloc_hook_ini): Likewise.
5525 (realloc_hook_ini): Likewise.
5526 (memalign_hook_ini): Likewise.
5527 * malloc/malloc.c (malloc_hook_ini): Likewise.
5528 (realloc_hook_ini): Likewise.
5529 (memalign_hook_ini): Likewise.
5530 (__free_hook): Likewise.
5531 (__malloc_hook): Likewise.
5532 (__realloc_hook): Likewise.
5533 (__memalign_hook): Likewise.
5534 (__libc_malloc): Likewise.
5535 (__libc_free): Likewise.
5536 (__libc_realloc): Likewise.
5537 (__libc_memalign): Likewise.
5538 (__libc_valloc): Likewise.
5539 (__libc_pvalloc): Likewise.
5540 (__libc_calloc): Likewise.
5541 (__posix_memalign): Likewise.
5542 * malloc/morecore.c (__sbrk): Likewise.
5543 (__default_morecore): Likewise.
5544
5545 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5546
5547 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5548 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5549 __malloc_ptrdiff_t.
5550
5551 * malloc/malloc.h (__malloc_size_t): Remove macro.
5552 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5553 __malloc_size_t.
5554 (old_memalign_hook): Likewise.
5555 (old_realloc_hook): Likewise.
5556 (struct hdr): Likewise.
5557 (flood): Likewise.
5558 (mallochook): Likewise.
5559 (memalignhook): Likewise.
5560 (reallochook): Likewise.
5561 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5562 (tr_old_realloc_hook): Likewise.
5563 (tr_old_memalign_hook): Likewise.
5564 (tr_mallochook): Likewise.
5565 (tr_reallochook): Likewise.
5566 (tr_memalignhook): Likewise.
5567
5568 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569
5570 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5571 default_ldbl_pack and using as default implementation.
5572 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5573 implementation.
5574 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5575 redundant definition.
5576 (ldbl_insert_mantissa): Likewise.
5577 (ldbl_canonicalize): Likewise.
5578 (ldbl_nearbyint): Likewise.
5579 (ldbl_pack): Rename to ldbl_pack_ppc.
5580 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5581 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5582 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5583
5584 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5585
5586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5587 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5588 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5589 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5591 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5592 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5593 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5594
5595 2013-03-07 Andreas Jaeger <aj@suse.de>
5596
5597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5598 bits/mman-linux.h.
5599
5600 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5601
5602 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5603 Include mpa.h and declare __MPEXP.
5604 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5605 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5606 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5607 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5608 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5609 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5610 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5611
5612 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5613 (__slowpow): Use long double EXPL and LOGL functions to
5614 compute POW.
5615 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5616 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5617 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5618 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5619 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5620 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5621
5622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5623 intermediate variable to calculate exponent.
5624 (__sqr): Likewise.
5625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5626 Likewise.
5627 (__sqr): Likewise.
5628
5629 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5630 [!NO__SQR]: Define __sqr.
5631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5632 and NO__SQR. Remove all code except __mul and __sqr. Include
5633 sysdeps/ieee754/dbl-64/mpa.c.
5634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5635
5636 [BZ #12723]
5637 * posix/Makefile (tests): Add tst-pathconf.
5638 * posix/tst-pathconf.c: New test case.
5639 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5640 _PC_PIPE_BUF.
5641 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5642
5643 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5644
5645 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5646
5647 2013-03-06 Andreas Jaeger <aj@suse.de>
5648
5649 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5650 definition via __MAP_ANONYMOUS.
5651
5652 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5653 it's not part of Linux headers.
5654
5655 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5656 (MAP_HUGE_MASK): Define.
5657
5658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5659 Define.
5660 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5662 Define.
5663 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5664 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5665 Define.
5666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5668 Define.
5669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5670
5671 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5672 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5673 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5674 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5675 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5676 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5677
5678 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5679 Handle f2fs.
5680
5681 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5682 Handle f2fs and efivarfs.
5683
5684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5685 f2fs.
5686
5687 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5688 (EFIVARFS_MAGIC): Add.
5689 (F2FS_LINK_MAX): Add.
5690
5691 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5692
5693 * stdio-common/vfprintf.c: Replace __builtin_expect with
5694 __glibc_unlikely.
5695
5696 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5697
5698 [BZ #13550]
5699 * sysdeps/generic/bp-sym.h: Remove file.
5700 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5701 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5702 <bp-sym.h> and <bp-asm.h>.
5703 (__longjmp): Don't use BP_SYM.
5704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5705 and <bp-asm.h>.
5706 (memcpy): Don't use BP_SYM.
5707 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5708 <bp-sym.h> and <bp-asm.h>.
5709 (memcpy): Don't use BP_SYM.
5710 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5711 <bp-asm.h>.
5712 (memcpy): Don't use BP_SYM.
5713 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5714 <bp-asm.h>.
5715 (memset): Don't use BP_SYM.
5716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5718 (__bzero): Don't use BP_SYM.
5719 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5720 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5721 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5722 <bp-sym.h> and <bp-asm.h>.
5723 (memcmp): Don't use BP_SYM. Remove comment about bounded
5724 pointers.
5725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5726 <bp-sym.h> and <bp-asm.h>.
5727 (memcpy): Don't use BP_SYM.
5728 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5729 <bp-sym.h> and <bp-asm.h>.
5730 (memset): Don't use BP_SYM.
5731 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5732 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5733 (__bzero): Don't use BP_SYM.
5734 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5735 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5736 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5737 <bp-sym.h> and <bp-asm.h>.
5738 (strncmp): Don't use BP_SYM. Remove comment about bounded
5739 pointers.
5740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5741 <bp-sym.h> and <bp-asm.h>.
5742 (memcpy): Don't use BP_SYM.
5743 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5744 <bp-sym.h> and <bp-asm.h>.
5745 (memset): Don't use BP_SYM.
5746 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5747 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5748 (__bzero): Don't use BP_SYM.
5749 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5750 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5752 <bp-sym.h> and <bp-asm.h>.
5753 (__memchr): Don't use BP_SYM.
5754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5755 <bp-sym.h> and <bp-asm.h>.
5756 (memcmp): Don't use BP_SYM. Remove comment about bounded
5757 pointers.
5758 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5759 <bp-sym.h> and <bp-asm.h>.
5760 (memcpy): Don't use BP_SYM.
5761 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5762 <bp-sym.h> and <bp-asm.h>.
5763 (__mempcpy): Don't use BP_SYM.
5764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5765 <bp-sym.h> and <bp-asm.h>.
5766 (__memrchr): Don't use BP_SYM.
5767 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5768 <bp-sym.h> and <bp-asm.h>.
5769 (memset): Don't use BP_SYM.
5770 (__bzero): Likewise.
5771 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5772 <bp-sym.h> and <bp-asm.h>.
5773 (__rawmemchr): Don't use BP_SYM.
5774 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5775 <bp-sym.h> and <bp-asm.h>.
5776 (__STRCMP): Don't use BP_SYM.
5777 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5778 <bp-sym.h> and <bp-asm.h>.
5779 (strchr): Don't use BP_SYM.
5780 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5781 <bp-sym.h> and <bp-asm.h>.
5782 (__strchrnul): Don't use BP_SYM.
5783 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5784 <bp-sym.h> and <bp-asm.h>.
5785 (strlen): Don't use BP_SYM.
5786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5787 <bp-sym.h> and <bp-asm.h>.
5788 (strncmp): Don't use BP_SYM. Remove comment about bounded
5789 pointers.
5790 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5791 <bp-sym.h> and <bp-asm.h>.
5792 (__strnlen): Don't use BP_SYM.
5793 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5794 <bp-sym.h> and <bp-asm.h>.
5795 (__GI__setjmp): Don't use BP_SYM.
5796 (_setjmp): Likewise.
5797 (__sigsetjmp): Likewise.
5798 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5799 (L(start_addresses)): Don't use BP_SYM.
5800 (_start): Likewise.
5801 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5802 <bp-asm.h>.
5803 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5804 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5805 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5806 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5807 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5808 <bp-asm.h>.
5809 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5810 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5811 about bounded pointers.
5812 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5813 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5814 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5815 <bp-asm.h>.
5816 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5817 about bounded pointers. Remove GKM FIXME comments.
5818 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5819 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5820 <bp-asm.h>.
5821 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5822 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5823 Remove GKM FIXME comments.
5824 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5825 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5826 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5827 <bp-asm.h>.
5828 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5829 about bounded pointers. Remove GKM FIXME comment.
5830 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5831 and <bp-asm.h>.
5832 (strncmp): Don't use BP_SYM. Remove comment about bounded
5833 pointers.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5835 <bp-sym.h> and <bp-asm.h>.
5836 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5838 <bp-sym.h> and <bp-asm.h>.
5839 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5840 comment.
5841
5842 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5843
5844 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5845 call free(NULL).
5846
5847 2013-03-05 David S. Miller <davem@davemloft.net>
5848
5849 * po/es.po: Update from translation team.
5850
5851 2013-03-05 Andreas Jaeger <aj@suse.de>
5852
5853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5854 <bits/mman-linux.h>.
5855 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5856 is fine.
5857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5858 <bits/mman-linux.h> to end of file.
5859 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5860 is fine.
5861 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5862 <bits/mman-linux.h> to end of file.
5863 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5864 is fine.
5865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5866 <bits/mman-linux.h> to end of file.
5867
5868 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5869 (MCL_CURRENT, MCL_FUTURE): Define here.
5870
5871 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5872
5873 [BZ #15232]
5874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5875 attribute_hidden.
5876 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5877
5878 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5879
5880 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5881 fourth parameter needed for rt_sigprocmask syscall.
5882 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5883 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5884 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5885 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5886 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5887 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5888
5889 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5890
5891 [BZ #13550]
5892 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5893 comment about bounded pointers.
5894 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5895 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5896
5897 2013-03-04 Andreas Jaeger <aj@suse.de>
5898
5899 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5900 common definitions.
5901
5902 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5903 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5904 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5908
5909 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5910
5911 [BZ #15055]
5912 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5913 __ieee754_sqrl instead of __sqrl.
5914
5915 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5916
5917 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5918 * sysdeps/powerpc/fpu_control.h: ... here.
5919 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5920 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5921 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5922 * sysdeps/powerpc/bits/mathinline.h: ... here.
5923
5924 2013-03-01 Roland McGrath <roland@hack.frob.com>
5925
5926 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5927 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5928 to just [NEED_DL_SYSINFO_DSO].
5929 * elf/dl-support.c: Likewise.
5930 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5931 * elf/rtld.c (dl_main): Likewise.
5932 * elf/setup-vdso.h (setup_vdso): Likewise.
5933 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5934 * sysdeps/unix/sysv/linux/dl-sysdep.c
5935 (_dl_discover_osversion): Likewise.
5936
5937 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5938
5939 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5940 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5941
5942 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5943
5944 * NEWS: Mention libm performance improvements and non-x86 PI
5945 futex support.
5946
5947 * csu/libc-start.c (__pthread_initialize_minimal): Change
5948 function arguments.
5949 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5950
5951 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5952
5953 [BZ #13550]
5954 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5955 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5956 <bp-sym.h> and <bp-asm.h>.
5957 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5958 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5959 and <bp-asm.h>.
5960 (memcpy): Don't use BP_SYM.
5961 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5962 <bp-asm.h>.
5963 (__mpn_add_n): Don't use BP_SYM.
5964 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5965 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5966 and <bp-asm.h>.
5967 (__mpn_addmul_1): Don't use BP_SYM.
5968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5969 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5970 <bp-sym.h>.
5971 (_setjmp): Don't use BP_SYM.
5972 (__novmx_setjmp): Likewise.
5973 (__GI__setjmp): Likewise.
5974 (__vmx_setjmp): Likewise.
5975 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5976 <bp-sym.h>.
5977 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5978 (__bzero): Don't use BP_SYM.
5979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5982 <bp-sym.h> and <bp-asm.h>.
5983 (memcpy): Don't use BP_SYM.
5984 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5985 <bp-sym.h> and <bp-asm.h>.
5986 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5987 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5988 <bp-sym.h> and <bp-asm.h>.
5989 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5990 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5991 <bp-asm.h>.
5992 (__mpn_lshift): Don't use BP_SYM.
5993 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5994 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5995 <bp-asm.h>.
5996 (memset): Don't use BP_SYM.
5997 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5998 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5999 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6000 <bp-asm.h>.
6001 (__mpn_mul_1): Don't use BP_SYM.
6002 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6004 <bp-sym.h> and <bp-asm.h>.
6005 (memcmp): Don't use BP_SYM.
6006 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6007 <bp-sym.h> and <bp-asm.h>.
6008 (memcpy): Don't use BP_SYM.
6009 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6010 <bp-sym.h> and <bp-asm.h>.
6011 (memset): Don't use BP_SYM.
6012 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6013 <bp-sym.h> and <bp-asm.h>.
6014 (strncmp): Don't use BP_SYM.
6015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6016 <bp-sym.h> and <bp-asm.h>.
6017 (memcpy): Don't use BP_SYM.
6018 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6019 <bp-sym.h> and <bp-asm.h>.
6020 (memset): Don't use BP_SYM.
6021 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6022 <bp-sym.h> and <bp-asm.h>.
6023 (__memchr): Don't use BP_SYM.
6024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6025 <bp-sym.h> and <bp-asm.h>.
6026 (memcmp): Don't use BP_SYM.
6027 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6028 <bp-sym.h> and <bp-asm.h>.
6029 (memcpy): Don't use BP_SYM.
6030 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6031 <bp-sym.h> and <bp-asm.h>.
6032 (__mempcpy): Don't use BP_SYM.
6033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6034 <bp-sym.h> and <bp-asm.h>.
6035 (__memrchr): Don't use BP_SYM.
6036 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6037 <bp-sym.h> and <bp-asm.h>.
6038 (memset): Don't use BP_SYM.
6039 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6040 <bp-sym.h> and <bp-asm.h>.
6041 (__rawmemchr): Don't use BP_SYM.
6042 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6043 <bp-sym.h> and <bp-asm.h>.
6044 (__STRCMP): Don't use BP_SYM.
6045 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6046 <bp-sym.h> and <bp-asm.h>.
6047 (strchr): Don't use BP_SYM.
6048 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6049 <bp-sym.h> and <bp-asm.h>.
6050 (__strchrnul): Don't use BP_SYM.
6051 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6052 <bp-sym.h> and <bp-asm.h>.
6053 (strlen): Don't use BP_SYM.
6054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6055 <bp-sym.h> and <bp-asm.h>.
6056 (strncmp): Don't use BP_SYM.
6057 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6058 <bp-sym.h> and <bp-asm.h>.
6059 (__strnlen): Don't use BP_SYM.
6060 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6061 <bp-asm.h>.
6062 (__mpn_rshift): Don't use BP_SYM.
6063 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6064 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6065 <bp-sym.h> and <bp-asm.h>.
6066 (__sigsetjmp): Don't use BP_SYM.
6067 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6068 (L(start_addresses)): Don't use BP_SYM.
6069 (_start): Likewise.
6070 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6071 <bp-asm.h>.
6072 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6075 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6076 <bp-asm.h>.
6077 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6078 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6079 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6080 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6081 <bp-asm.h>.
6082 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6083 comments.
6084 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6085 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6086 <bp-asm.h>.
6087 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6088 FIXME comments.
6089 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6090 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6091 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6092 <bp-asm.h>.
6093 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6094 comment.
6095 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6096 and <bp-asm.h>.
6097 (strncmp): Don't use BP_SYM,
6098 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6099 <bp-asm.h>.
6100 (__mpn_sub_n): Don't use BP_SYM.
6101 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6102 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6103 and <bp-asm.h>.
6104 (__mpn_submul_1): Don't use BP_SYM.
6105 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6107 <bp-sym.h> and <bp-asm.h>.
6108 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6110 <bp-sym.h> and <bp-asm.h>.
6111 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6112 comment.
6113
6114 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6115
6116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6117 Use ZK to minimize writes to Z.
6118 (sub_magnitudes): Simplify code a bit.
6119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6120 Use ZK to minimize writes to Z.
6121 (sub_magnitudes): Simplify code a bit.
6122
6123 2013-02-27 Roland McGrath <roland@hack.frob.com>
6124
6125 * csu/gmon-start.c: Add special exception to license text.
6126
6127 2013-02-27 Richard Henderson <rth@redhat.com>
6128
6129 * scripts/config.guess: Update from config.git.
6130 * scripts/config.sub: Likewise.
6131
6132 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6133
6134 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6135
6136 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6137
6138 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6139
6140 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6141
6142 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6143
6144 2013-02-26 Roland McGrath <roland@hack.frob.com>
6145
6146 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6147 [$(build-shared = yes].
6148
6149 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6150
6151 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6152 (__mul): Reduce iterations for calculating mantissa.
6153
6154 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6155 MPTWO.
6156 (__mpranred): Likewise.
6157
6158 [BZ #15160]
6159 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6160 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6161
6162 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6163
6164 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6165 Define __attribute__.
6166
6167 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6168
6169 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6170 unused.
6171 * posix/regex_internal.h (__attribute): Remove.
6172 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6173 (re_string_context_at): Likewise.
6174 (bitset_not): Use __attribute__ and mark function as possibly
6175 unused.
6176 (bitset_merge): Likewise.
6177 (bitset_mask): Likewise.
6178 (re_string_char_size_at): Likewise.
6179 (re_string_wchar_at): Likewise.
6180 (re_string_elem_size_at): Likewise.
6181
6182 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6183
6184 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6185 code.
6186 (cc32): Likewise.
6187
6188 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6189 (__acr): Likewise.
6190 (__cpy): Likewise.
6191 (norm): Likewise.
6192 (denorm): Likewise.
6193 (__dbl_mp): Likewise.
6194 (add_magnitudes): Likewise.
6195 (sub_magnitudes): Likewise.
6196 (__mul): Likewise.
6197 (__inv): Likewise.
6198
6199 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6200 style.
6201
6202 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6203 style.
6204
6205 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6206 code.
6207
6208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6209 up changes with default code.
6210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6211 Likewise.
6212
6213 2013-02-24 Allan McRae <allan@archlinux.org>
6214
6215 * manual/socket.texi (The Internet Namespace): Order menu items
6216 to match that in the file.
6217
6218 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6219 node listing of the info page menu.
6220
6221 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6222
6223 [BZ #13550]
6224 * sysdeps/i386/bp-asm.h: Remove file.
6225 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6226 (PARMS): Do not use macros from bp-asm.h.
6227 (S1): Likewise.
6228 (S2): Likewise.
6229 (SIZE): Likewise.
6230 (__mpn_add_n): Do not use BP_SYM
6231 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6232 "bp-asm.h".
6233 (PARMS): Do not use macros from bp-asm.h.
6234 (S1): Likewise.
6235 (SIZE): Likewise.
6236 (__mpn_addmul_1): Do not use BP_SYM
6237 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6238 "bp-asm.h".
6239 (PARMS): Do not use macros from bp-asm.h.
6240 (SIGMSK): Likewise.
6241 (_setjmp): Likewise. Do not use BP_SYM.
6242 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6243 "bp-asm.h".
6244 (PARMS): Do not use macros from bp-asm.h.
6245 (SIGMSK): Likewise.
6246 (setjmp): Likewise. Do not use BP_SYM.
6247 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6248 "bp-asm.h".
6249 (PARMS): Do not use macros from bp-asm.h.
6250 (__frexp): Do not use BP_SYM.
6251 (frexp): Likewise.
6252 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6253 "bp-asm.h".
6254 (PARMS): Do not use macros from bp-asm.h.
6255 (__frexpf): Do not use BP_SYM.
6256 (frexpf): Likewise.
6257 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6258 "bp-asm.h".
6259 (PARMS): Do not use macros from bp-asm.h.
6260 (__frexpl): Do not use BP_SYM.
6261 (frexpl): Likewise.
6262 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6263 "bp-asm.h".
6264 (PARMS): Do not use macros from bp-asm.h.
6265 (__remquo): Do not use BP_SYM.
6266 (remquo): Likewise.
6267 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6268 "bp-asm.h".
6269 (PARMS): Do not use macros from bp-asm.h.
6270 (__remquof): Do not use BP_SYM.
6271 (remquof): Likewise.
6272 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6273 "bp-asm.h".
6274 (PARMS): Do not use macros from bp-asm.h.
6275 (__remquol): Do not use BP_SYM.
6276 (remquol): Likewise.
6277 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6278 "bp-asm.h".
6279 (PARMS): Do not use macros from bp-asm.h.
6280 (DEST): Likewise.
6281 (SRC): Likewise.
6282 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6283 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6284 "bp-asm.h".
6285 (PARMS): Do not use macros from bp-asm.h.
6286 (strlen): Do not use BP_SYM.
6287 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6288 "bp-asm.h".
6289 (PARMS): Do not use macros from bp-asm.h.
6290 (S1): Likewise.
6291 (S2): Likewise.
6292 (SIZE): Likewise.
6293 (__mpn_add_n): Do not use BP_SYM.
6294 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6295 "bp-asm.h".
6296 (PARMS): Do not use macros from bp-asm.h.
6297 (S1): Likewise.
6298 (SIZE): Likewise.
6299 (__mpn_addmul_1): Do not use BP_SYM.
6300 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6301 weak_alias.
6302 (bzero): Likewise.
6303 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6304 "bp-asm.h".
6305 (PARMS): Do not use macros from bp-asm.h.
6306 (S): Likewise.
6307 (SIZE): Likewise.
6308 (__mpn_lshift): Do not use BP_SYM.
6309 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6310 "bp-asm.h".
6311 (PARMS): Do not use macros from bp-asm.h.
6312 (DEST): Likewise.
6313 (SRC): Likewise.
6314 (LEN): Likewise.
6315 (memcpy): Likewise. Do not use BP_SYM.
6316 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6317 libc_hidden_def and weak_alias.
6318 (mempcpy): Do not use BP_SYM in weak_alias.
6319 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6320 "bp-asm.h".
6321 (PARMS): Do not use macros from bp-asm.h.
6322 (DEST): Likewise.
6323 (LEN): Likewise.
6324 [!BZERO_P] (CHR): Likewise.
6325 (memset): Likewise. Do not use BP_SYM.
6326 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6327 "bp-asm.h".
6328 (PARMS): Do not use macros from bp-asm.h.
6329 (S1): Likewise.
6330 (SIZE): Likewise.
6331 (__mpn_mul_1): Do not use BP_SYM.
6332 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6333 "bp-asm.h".
6334 (PARMS): Do not use macros from bp-asm.h.
6335 (S): Likewise.
6336 (SIZE): Likewise.
6337 (__mpn_rshift): Do not use BP_SYM.
6338 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6339 "bp-asm.h".
6340 (PARMS): Do not use macros from bp-asm.h.
6341 (STR): Likewise.
6342 (CHR): Likewise.
6343 (strchr): Likewise. Do not use BP_SYM.
6344 (index): Do not use BP_SYM in weak_alias.
6345 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6346 "bp-asm.h".
6347 (PARMS): Do not use macros from bp-asm.h.
6348 (DEST): Likewise.
6349 (SRC): Likewise.
6350 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6351 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6352 "bp-asm.h".
6353 (PARMS): Do not use macros from bp-asm.h.
6354 (strlen): Do not use BP_SYM.
6355 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6356 "bp-asm.h".
6357 (PARMS): Do not use macros from bp-asm.h.
6358 (S1): Likewise.
6359 (S2): Likewise.
6360 (SIZE): Likewise.
6361 (__mpn_sub_n): Do not use BP_SYM.
6362 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6363 "bp-asm.h".
6364 (PARMS): Do not use macros from bp-asm.h.
6365 (S1): Likewise.
6366 (SIZE): Likewise.
6367 (__mpn_submul_1): Do not use BP_SYM.
6368 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6369 "bp-asm.h".
6370 (PARMS): Do not use macros from bp-asm.h.
6371 (S1): Likewise.
6372 (S2): Likewise.
6373 (SIZE): Likewise.
6374 (__mpn_add_n): Do not use BP_SYM.
6375 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6376 weak_alias.
6377 (bzero): Likewise.
6378 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6379 "bp-asm.h".
6380 (PARMS): Do not use macros from bp-asm.h.
6381 (BLK2): Likewise.
6382 (LEN): Likewise.
6383 (memcmp): Do not use BP_SYM.
6384 (bcmp): Do not use BP_SYM in weak_alias.
6385 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6386 "bp-asm.h".
6387 (PARMS): Do not use macros from bp-asm.h.
6388 (DEST): Likewise.
6389 (SRC): Likewise.
6390 (LEN): Likewise.
6391 (memcpy): Likewise. Do not use BP_SYM.
6392 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6393 "bp-asm.h".
6394 (PARMS): Do not use macros from bp-asm.h.
6395 (DEST): Likewise.
6396 (SRC): Likewise.
6397 (LEN): Likewise.
6398 (memmove): Likewise. Do not use BP_SYM.
6399 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6400 "bp-asm.h".
6401 (PARMS): Do not use macros from bp-asm.h.
6402 (DEST): Likewise.
6403 (SRC): Likewise.
6404 (LEN): Likewise.
6405 (__mempcpy): Likewise. Do not use BP_SYM.
6406 (mempcpy): Do not use BP_SYM in weak_alias.
6407 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6408 "bp-asm.h".
6409 (PARMS): Do not use macros from bp-asm.h.
6410 (DEST): Likewise.
6411 (LEN): Likewise.
6412 [!BZERO_P] (CHR): Likewise.
6413 (memset): Likewise. Do not use BP_SYM.
6414 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6415 "bp-asm.h".
6416 (PARMS): Do not use macros from bp-asm.h.
6417 (STR2): Likewise.
6418 (strcmp): Do not use BP_SYM.
6419 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6420 "bp-asm.h".
6421 (PARMS): Do not use macros from bp-asm.h.
6422 (STR): Likewise.
6423 (DELIM): Likewise.
6424 [USE_AS_STRTOK_R] (SAVE): Likewise.
6425 (FUNCTION): Likewise. Do not use BP_SYM.
6426 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6427 aliases.
6428 (strtok_r): Likewise.
6429 (__GI___strtok_r): Likewise.
6430 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6431 (PARMS): Do not use macros from bp-asm.h.
6432 (S): Likewise.
6433 (SIZE): Likewise.
6434 (__mpn_lshift): Do not use BP_SYM.
6435 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6436 (PARMS): Do not use macros from bp-asm.h.
6437 (STR): Likewise.
6438 (CHR): Likewise.
6439 (__memchr): Do not use BP_SYM.
6440 (memchr): Do not use BP_SYM in weak_alias.
6441 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6442 (PARMS): Do not use macros from bp-asm.h.
6443 (BLK2): Likewise.
6444 (LEN): Likewise.
6445 (memcmp): Do not use BP_SYM.
6446 (bcmp): Do not use BP_SYM in weak_alias.
6447 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6448 (PARMS): Do not use macros from bp-asm.h.
6449 (S1): Likewise.
6450 (SIZE): Likewise.
6451 (__mpn_mul_1): Do not use BP_SYM.
6452 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6453 "bp-asm.h".
6454 (PARMS): Do not use macros from bp-asm.h.
6455 (STR): Likewise.
6456 (CHR): Likewise.
6457 (__rawmemchr): Do not use BP_SYM.
6458 (rawmemchr): Do not use BP_SYM in weak_alias.
6459 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6460 (PARMS): Do not use macros from bp-asm.h.
6461 (S): Likewise.
6462 (SIZE): Likewise.
6463 (__mpn_rshift): Do not use BP_SYM.
6464 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6465 (PARMS): Do not use macros from bp-asm.h.
6466 (SIGMSK): Likewise.
6467 (__sigsetjmp): Likewise. Do not use BP_SYM.
6468 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6469 (_start): Do not use BP_SYM.
6470 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6471 (PARMS): Do not use macros from bp-asm.h.
6472 (DEST): Likewise.
6473 (SRC): Likewise.
6474 (__stpcpy): Likewise. Do not use BP_SYM.
6475 (stpcpy): Do not use BP_SYM in weak_alias.
6476 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6477 "bp-asm.h".
6478 (PARMS): Do not use macros from bp-asm.h.
6479 (DEST): Likewise.
6480 (SRC): Likewise.
6481 (LEN): Likewise.
6482 (__stpncpy): Likewise. Do not use BP_SYM.
6483 (stpncpy): Do not use BP_SYM in weak_alias.
6484 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6485 (PARMS): Do not use macros from bp-asm.h.
6486 (STR): Likewise.
6487 (CHR): Likewise.
6488 (strchr): Likewise. Do not use BP_SYM.
6489 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6490 "bp-asm.h".
6491 (PARMS): Do not use macros from bp-asm.h.
6492 (STR): Likewise.
6493 (CHR): Likewise.
6494 (__strchrnul): Likewise. Do not use BP_SYM.
6495 (strchrnul): Do not use BP_SYM in weak_alias.
6496 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6497 "bp-asm.h".
6498 (PARMS): Do not use macros from bp-asm.h.
6499 (STOP): Likewise.
6500 (strcspn): Do not use BP_SYM.
6501 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6502 "bp-asm.h".
6503 (PARMS): Do not use macros from bp-asm.h.
6504 (STR): Likewise.
6505 (STOP): Likewise.
6506 (strpbrk): Likewise. Do not use BP_SYM.
6507 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6508 "bp-asm.h".
6509 (PARMS): Do not use macros from bp-asm.h.
6510 (STR): Likewise.
6511 (CHR): Likewise.
6512 (strrchr): Likewise. Do not use BP_SYM.
6513 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6514 (PARMS): Do not use macros from bp-asm.h.
6515 (SKIP): Likewise.
6516 (strspn): Do not use BP_SYM.
6517 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6518 (PARMS): Do not use macros from bp-asm.h.
6519 (STR): Likewise.
6520 (DELIM): Likewise.
6521 (SAVE): Likewise.
6522 (FUNCTION): Likewise. Do not use BP_SYM.
6523 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6524 aliases.
6525 (strtok_r): Likewise.
6526 (__GI___strtok_r): Likewise.
6527 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6528 (PARMS): Do not use macros from bp-asm.h.
6529 (S1): Likewise.
6530 (S2): Likewise.
6531 (SIZE): Likewise.
6532 (__mpn_sub_n): Do not use BP_SYM.
6533 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6534 "bp-asm.h".
6535 (PARMS): Do not use macros from bp-asm.h.
6536 (S1): Likewise.
6537 (SIZE): Likewise.
6538 (__mpn_submul_1): Do not use BP_SYM.
6539 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6540 <bp-sym.h>.
6541 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6542 and <bp-asm.h>.
6543 (PARMS): Do not use macros from bp-asm.h.
6544 (FLAGS): Likewise.
6545 (PTID): Likewise.
6546 (TLS): Likewise.
6547 (CTID): Likewise.
6548 (__clone): Do not use BP_SYM.
6549 (clone): Do not use BP_SYM in weak_alias.
6550 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6551 and <bp-asm.h>.
6552 (PARMS): Do not use macros from bp-asm.h.
6553 (LEN): Likewise.
6554 (__mmap64): Do not use BP_SYM.
6555 (mmap64): Do not use BP_SYM in weak_alias.
6556 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6557 <bp-sym.h> and <bp-asm.h>.
6558 (PARMS): Do not use macros from bp-asm.h.
6559 (__posix_fadvise64_l64): Do not use BP_SYM.
6560 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6561 (PARMS): Do not use macros from bp-asm.h.
6562 (NSOPS): Likewise.
6563 (semtimedop): Do not use BP_SYM.
6564 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6565 and <bp-asm.h>.
6566
6567 2013-02-21 Allan McRae <allan@archlinux.org>
6568
6569 * manual/message.texi (Charset conversion in gettext):
6570 Move @end statement to beginning of line.
6571
6572 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6573
6574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6575 static.
6576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6577 Likewise.
6578
6579 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6580 (denorm): Likewise.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6583
6584 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6585
6586 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6587 tail-call to the resolved function if pltexit isn't needed.
6588
6589 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6590
6591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6592 or Y being zero as being unlikely.
6593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6594 Likewise.
6595
6596 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6597
6598 * manual/nss.texi (System Databases and Name Service Switch):
6599 Remove frobnicate @pxref.
6600
6601 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6602
6603 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6604 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6605
6606 2013-02-20 Petr Machata <pmachata@redhat.com>
6607
6608 * elf/elf.h (R_ARM_TARGET1): New macro.
6609 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6610 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6611 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6612 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6613 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6614 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6615 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6616 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6617 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6618 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6619 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6620 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6621 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6622 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6623 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6624 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6625 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6626 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6627 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6628 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6629 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6630 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6631 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6632 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6633 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6634 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6635 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6636 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6637 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6638 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6639 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6640 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6641 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6642 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6643 (R_ARM_THM_GOT_BREL12): Likewise.
6644 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6645 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6646 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6647 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6648 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6649 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6650 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6651 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6652 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6653
6654 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6655
6656 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6657 __attribute_used__ to __attribute__ ((unused)).
6658
6659 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6660
6661 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6662 powerpc mpa.c.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6664 comment formatting.
6665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6666
6667 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6668
6669 [BZ #13550]
6670 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6671 Remove macro.
6672 (ENTER): Remove both macro definitions.
6673 (LEAVE): Likewise.
6674 (CHECK_BOUNDS_LOW): Likewise.
6675 (CHECK_BOUNDS_HIGH): Likewise.
6676 (CHECK_BOUNDS_BOTH): Likewise.
6677 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6678 (RETURN_BOUNDED_POINTER): Likewise.
6679 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6680 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6681 (POP_ERRNO_LOCATION_RETURN): Likewise.
6682 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6683 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6684 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6685 macros.
6686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6687 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6688 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6689 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6690 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6691 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6692 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6693 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6694 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6695 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6696 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6697 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6698 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6699 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6700 removed macros.
6701 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6702 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6703 macros.
6704 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6705 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6706 * sysdeps/i386/i586/memset.S (memset): Likewise.
6707 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6708 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6709 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6710 macros.
6711 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6712 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6713 Change uses of L(2) to L(out).
6714 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6715 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6716 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6718 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6719 removed macros.
6720 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6721 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6722 macros.
6723 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6724 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6725 (RETURN): Do not use macro LEAVE.
6726 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6727 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6728 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6729 * sysdeps/i386/i686/memset.S (memset): Likewise.
6730 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6731 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6732 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6733 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6734 Likewise.
6735 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6736 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6737 L(1_2) and L(1_3) into L(1).
6738 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6739 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6740 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6741 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6742 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6743 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6744 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6745 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6746 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6747 macros.
6748 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6749 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6750 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6751 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6752 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6753 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6754 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6755 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6756 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6757 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6758 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6759 * sysdeps/i386/strspn.S (strspn): Likewise.
6760 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6761 conditional code.
6762 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6763 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6764 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6765 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6766 L(1_3) into L(1_1).
6767 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6768 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6769 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6770 macros.
6771 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6772
6773 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6774
6775 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6776 macro.
6777
6778 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
6780 * math/atest-exp.c (exp_mpn): Remove ROUND.
6781 * math/atest-exp2.c (exp_mpn): Likewise.
6782 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6783
6784 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6785 * stdlib/tst-tls-atexit-lib.c: Likewise.
6786 * stdlib/tst-tls-atexit.c: Likewise.
6787
6788 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6789
6790 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6791 and __attribute_alloc_size__.
6792
6793 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6794
6795 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6796 __attribute_alloc_size__.
6797 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6798 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6799
6800 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6801
6802 * include/programs/xmalloc.h: New file.
6803 * catgets/gencat.c: Include it.
6804 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6805 * elf/pldd.c: Likewise.
6806 * iconv/iconv_charmap.c: Likewise.
6807 * iconv/iconvconfig.c: Likewise.
6808 * iconv/strtab.c: Likewise.
6809 * locale/programs/locale.c: Likewise.
6810 * locale/programs/localedef.h: Likewise.
6811 * locale/programs/simple-hash.c: Likewise.
6812 * nscd/nscd.h: Likewise.
6813 * nss/makedb.c: Likewise.
6814 * sysdeps/generic/ldconfig.h: Likewise.
6815
6816 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6817
6818 * Versions.def: Add GLIBC_2.18.
6819 * include/link.h (struct link_map): New member l_tls_dtor_count.
6820 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6821 (__call_tls_dtors): Likewise.
6822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6823 __cxa_thread_atexit_impl.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6825 Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6827 Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6829 Likewise.
6830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6831 Likewise.
6832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6834 Likewise.
6835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6836 Likewise.
6837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6839 Likewise.
6840 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6841 (tests): Add test case tst-tls-atexit.
6842 (modules-names): Add shared library for tst-tls-atexit.
6843 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6844 (GLIBC_PRIVATE): Add __call_tls_dtors.
6845 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6846 for libstdc++.
6847 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6848 * stdlib/tst-tls-atexit.c: New test case.
6849 * stdlib/tst-tls-atexit-lib.c: New test case.
6850
6851 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6852
6853 * elf/Versions (ld): Add _dl_find_dso_for_object.
6854 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6855 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6856 (dl_open_worker): Use _dl_find_dso_for_object.
6857 * elf/dl-sym.c (do_sym): Likewise.
6858 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6859
6860 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6861
6862 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6863 Syntactic changes only.
6864 (_dl_runtime_profile): Do a tail-call to the resolved function.
6865
6866 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6867
6868 [BZ #13550]
6869 * sysdeps/x86_64/bp-asm.h: Remove file.
6870 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6871 <bp-sym.h> and <bp-asm.h>.
6872 (__clone): Do not use BP_SYM.
6873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6874 <bp-sym.h> and <bp-asm.h>.
6875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6876 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6877 "bp-asm.h".
6878 (_setjmp): Do not use BP_SYM.
6879 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6880 "bp-asm.h".
6881 (setjmp): Do not use BP_SYM.
6882 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6883 libc_hidden_def.
6884 (mempcpy): Do not use BP_SYM in weak_alias.
6885 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6886 "bp-asm.h".
6887 (strchr): Do not use BP_SYM.
6888 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6889 "bp-asm.h".
6890 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6891 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6892 (_start): Do not use BP_SYM.
6893 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6894 "bp-asm.h".
6895 (strcat): Do not use BP_SYM.
6896 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6897 "bp-asm.h".
6898 (STRCMP): Do not use BP_SYM.
6899 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6900 "bp-asm.h".
6901 (STRCPY): Do not use BP_SYM.
6902 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6903 "bp-asm.h".
6904 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6905 "bp-asm.h".
6906 (FUNCTION): Do not use BP_SYM.
6907 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6908 weak_alias.
6909 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6910
6911 2013-02-17 Andreas Jaeger <aj@suse.de>
6912
6913 * time/Versions: Sort entries.
6914 * string/Versions: Likewise.
6915 * resolv/Versions: Likewise.
6916 * posix/Versions: Likewise.
6917 * iconv/Versions: Likewise.
6918 * elf/Versions: Likewise.
6919 * wcsmbs/Versions: Likewise.
6920
6921 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6922
6923 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6924 loop termination condition.
6925
6926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6927 variable to calculate EZ.
6928 (__sqr): Likewise.
6929
6930 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6931 the lower precision input.
6932
6933 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6934
6935 [BZ #13550]
6936 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6937 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6938 (run-via-rtld-prefix): Do not handle %-bp tests.
6939 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6940 (all-object-suffixes): Remove .ob.
6941 (bppfx): Remove variable.
6942 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6943 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6944 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6945 [$(build-bounded) = yes] (libtype.ob): Likewise.
6946 * Makerules (elide-routines.ob): Remove variable.
6947 (do-tests-clean): Do not handle *-bp.out.
6948 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6949 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6950 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6951 (tests): Do not include $(tests-bp.out).
6952 (xtests): Do not include $(xtests-bp.out).
6953 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6954 [$(build-bounded) = yes] ($(addprefix
6955 $(objpfx),$(binaries-bounded))): Remove rule.
6956 ($(objpfx)%-bp.out): Remove rule.
6957 * config.make.in (build-bounded): Remove variable.
6958 * crypt/Makefile [$(build-bounded) = yes]
6959 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6960 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6961 append to variable.
6962 [$(build-bounded) = yes] (install-lib): Likewise.
6963 [$(build-bounded) = yes] (generated): Likewise.
6964 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6965 Remove rule.
6966 * intl/Makefile [$(build-bounded) = yes]
6967 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6968 * math/Makefile [$(build-bounded) = yes]
6969 ($(tests:%=$(objpfx)%-bp): Likewise.
6970 * misc/Makefile [$(build-bounded) = yes]
6971 ($(objpfx)tst-tsearch-bp): Likewise.
6972 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6973 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6974 Remove dependency.
6975 * string/Makefile (o-objects.ob): Remove variable.
6976 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6977 (CFLAGS-.ob): Remove variable.
6978 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6979 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6980 both definitions of variable.
6981 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6982 (ASFLAGS-.ob): Remove variable.
6983
6984 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6985
6986 [BZ #13550]
6987 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6988 Remove __BOUNDED_POINTERS__ from condition.
6989 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6990 * string/bits/string2.h [!__NO_STRING_INLINES &&
6991 !__BOUNDED_POINTERS__]: Likewise.
6992 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6993 Likewise.
6994 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6995 Remove conditional code.
6996 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6997 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6998 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6999 condition.
7000
7001 [BZ #13550]
7002 * csu/libc-start.c: Do not include <bp-sym.h>.
7003 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7004 * elf/dl-open.c: Do not include <bp-sym.h>.
7005 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7006 * math/fegetenv.c: Do not include <bp-sym.h>.
7007 (fegetenv): Do not use BP_SYM in versioned symbols.
7008 * nptl/sysdeps/pthread/bits/libc-lockP.h
7009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7010 <bp-sym.h>.
7011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7012 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7014 (__pthread_mutex_destroy): Likewise.
7015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7016 (__pthread_mutex_lock): Likewise.
7017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7018 (__pthread_mutex_trylock): Likewise.
7019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7020 (__pthread_mutex_unlock): Likewise.
7021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7022 (__pthread_mutexattr_init): Likewise.
7023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7024 (__pthread_mutexattr_destroy): Likewise.
7025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7026 (__pthread_mutexattr_settype): Likewise.
7027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7028 (__pthread_rwlock_init): Likewise.
7029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7030 (__pthread_rwlock_destroy): Likewise.
7031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7032 (__pthread_rwlock_rdlock): Likewise.
7033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7034 (__pthread_rwlock_tryrdlock): Likewise.
7035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7036 (__pthread_rwlock_wrlock): Likewise.
7037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7038 (__pthread_rwlock_trywrlock): Likewise.
7039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7040 (__pthread_rwlock_unlock): Likewise.
7041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7042 (__pthread_key_create): Likewise.
7043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7044 (__pthread_setspecific): Likewise.
7045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7046 (__pthread_getspecific): Likewise.
7047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7048 Likewise.
7049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7050 (_pthread_cleanup_push_defer): Likewise.
7051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7052 (_pthread_cleanup_pop_restore): Likewise.
7053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7054 (pthread_setcancelstate): Likewise.
7055 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7056 <bp-sym.h>.
7057 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7058 (memchr): Do not use BP_SYM in weak_alias.
7059 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7060 (fegetenv): Do not use BP_SYM in versioned symbols.
7061 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7062 (fesetenv): Do not use BP_SYM in versioned symbols.
7063 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7064 (feupdateenv): Do not use BP_SYM in versioned symbols.
7065 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7066 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7067 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7068 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7069 (open64): Do not use BP_SYM in weak_alias.
7070 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7071 (fegetenv): Do not use BP_SYM in versioned symbols.
7072 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7073 (fesetenv): Do not use BP_SYM in versioned symbols.
7074 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7075 (feupdateenv): Do not use BP_SYM in versioned symbols.
7076 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7077 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7078 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7079 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7080 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7081 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7082 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7083 <bp-sym.h>.
7084 (__libc_start_main): Do not use BP_SYM.
7085
7086 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7087
7088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7089 redundant return line.
7090 (norm): Likewise.
7091 (denorm): Likewise.
7092 (dbl_mp): Likewise.
7093 (sub_magnitudes): Likewise.
7094 (__add): Likewise.
7095 (__sub): Likewise.
7096 (__mul): Likewise.
7097 (__inv): Likewise.
7098 (__dvd): Likewise.
7099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7100 (norm): Likewise.
7101 (denorm): Likewise.
7102 (dbl_mp): Likewise.
7103 (sub_magnitudes): Likewise.
7104 (__add): Likewise.
7105 (__sub): Likewise.
7106 (__mul): Likewise.
7107 (__inv): Likewise.
7108 (__dvd): Likewise.
7109
7110 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7111 instead of __mul.
7112 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7113 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7114 (cc32): Likewise.
7115
7116 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7117 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7119 of __mul for squares.
7120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7121 function
7122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7123 Likewise.
7124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7126
7127 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7128
7129 [BZ #13550]
7130 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7131 code.
7132 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7133 prototype or function definition. Rename ubp_* variables and
7134 parameters. Remove argv definitions conditional on
7135 [__BOUNDED_POINTERS__].
7136 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7137 * elf/dl-runtime.c (_dl_fixup): Likewise.
7138 * include/set-hooks.h (RUN_HOOK): Likewise.
7139 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7140 definition.
7141 * string/strcpy.c (strcpy): Do not use __unbounded.
7142 * sysdeps/generic/frame.h (struct layout): Likewise.
7143 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7144 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7145 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7146 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7147 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7148 (__backtrace): Likewise.
7149 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7150 use __ptrvalue.
7151 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7152 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7153 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7154 Likewise.
7155 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7156 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7157 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7158 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7159 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7160 Do not use __unbounded.
7161 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7162 Rename __unboundedrlimits parameter to rlimits in prototype.
7163 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7164 Do not use __unbounded.
7165 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7166 not use __ptrvalue.
7167 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7168 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7169 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7170 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7171 __ptrvalue or __unbounded.
7172 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7173 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7174 use __unbounded.
7175 (__new_msgctl): Do not use __ptrvalue.
7176 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7177 __unbounded.
7178 (__libc_msgrcv): Do not use __ptrvalue.
7179 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7180 startup_info): Do not use __unbounded.
7181 (__libc_start_main): Likewise. Rename ubp_* variables and
7182 parameters. Remove argv definitions conditional on
7183 [__BOUNDED_POINTERS__].
7184 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7185 __ptrvalue.
7186 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7187 use __unbounded.
7188 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7189 or __ptrvalue.
7190 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7191 use __unbounded.
7192 (__new_shmctl): Do not use __ptrvalue.
7193 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7194 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7195 Likewise.
7196 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7198 (__libc_sigaction): Likewise.
7199 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7200 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7201 Likewise.
7202 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7203
7204 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7205
7206 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7207
7208 * string/mempcpy.c: Implement by calling memcpy.
7209
7210 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7211
7212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7213
7214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7215 evaluation.
7216
7217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7218 values in the mantissa.
7219
7220 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7221 minimize writes to Z.
7222 (sub_magnitudes): Simplify code a bit.
7223
7224 2013-02-12 Roland McGrath <roland@hack.frob.com>
7225
7226 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7227 from the message. The linker prefixes all warnings with that already.
7228
7229 2013-02-12 Andreas Schwab <schwab@suse.de>
7230
7231 [BZ #15078]
7232 * posix/regexec.c (extend_buffers): Add parameter min_len.
7233 (check_matching): Pass minimum needed length.
7234 (clean_state_log_if_needed): Likewise.
7235 (get_subexp): Likewise.
7236 * posix/Makefile (tests): Add bug-regex34.
7237 (bug-regex34-ENV): Define.
7238 * posix/bug-regex34.c: New file.
7239
7240 [BZ #11561]
7241 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7242 elements compare against the byte sequence of it, not its name.
7243 * posix/Makefile (tests): Add bug-regex35.
7244 (bug-regex35-ENV): Define.
7245 * posix/bug-regex35.c: New file.
7246
7247 2013-02-11 Tom de Vries <tom@codesourcery.com>
7248
7249 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7250 comment.
7251 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7252 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7253 (CHECK_EOL): Add undef.
7254
7255 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7256
7257 * bits/stdlib-bsearch.h: New file.
7258 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7259 * stdlib/stdlib.h: Likewise.
7260
7261 2013-02-11 Roland McGrath <roland@hack.frob.com>
7262
7263 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7264 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7265 declaration.
7266 * manual/search.texi (Array Search Function): Add missing const in
7267 lfind prototype.
7268 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7269 declaration to use rlim_t.
7270 (Basic Scheduling Functions): Remove erroneous const from
7271 sched_getparam prototype. Remove erroneous * from
7272 sched_get_priority_max and sched_get_priority_min prototypes.
7273 (Resource Usage): Fix summary @comment on vtimes to refer to
7274 sys/vtimes.h rather than vtimes.h.
7275 Add missing *s in vtimes prototype.
7276 (Limits on Resources): Fix ulimit prototype to return long int.
7277 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7278 prototypes to use long int rather than double.
7279 (BSD Random): Fix initstate and setstate to use char *, not void *.
7280 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7281 prototype to make second argument 'struct aiocb64 *const[]'.
7282 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7283 (Status of AIO Operations): Remove erroneous const in aio_return and
7284 aio_return64 prototypes.
7285 (Synchronizing I/O): Fix sync prototype to return void.
7286 * manual/startup.texi (Suboptions): Remove an erroneous const in
7287 getsubopt prototype.
7288 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7289 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7290 use size_t rather than int.
7291 (Scanning All Users): Likewise for getpwent_r.
7292 (Setting Groups): Add missing const to setgroups prototype.
7293 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7294 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7295 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7296 'const void *' rather than 'const char *'.
7297 (Host Address Functions): Likewise for inet_ntop.
7298 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7299 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7300 ssize_t for return value.
7301 (Sending Data): Likewise for send, sendto, sendmsg.
7302 (Socket Option Functions): Add a missing const in setsockopt prototype.
7303 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7304 use wchar_t for the argument.
7305 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7306 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7307 take no arguments.
7308 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7309 double/float/long double for second argument.
7310 Fix return types of significand, significandf, significandl.
7311 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7312 argument in fchmod prototype.
7313 (File Owner): Use uid_t and gid_t in fchown prototype.
7314 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7315 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7316 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7317 use 'const struct dirent **' as argument types to CMP function pointer
7318 argument.
7319 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7320 (File Times): Fix summary magic @comment for struct utimbuf and utime
7321 to refer to utime.h, not time.h.
7322 * manual/string.texi (Argz Functions): Add missing const in
7323 argz_extract and argz_next prototypes.
7324 (Finding Tokens in a String): Likewise for basename.
7325 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7326 (Copying and Concatenation): Fix typo in wmemmove prototype.
7327 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7328 (Signal Stack): Remove erroneous const in sigstack prototype.
7329 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7330 prototype.
7331 (Simple Calendar Time): Likewise for stime.
7332 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7333 prototype.
7334 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7335 say sys/sysctl.h instead.
7336 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7337 and vsyslog prototypes.
7338
7339 2013-02-11 Tom de Vries <tom@codesourcery.com>
7340
7341 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7342 Remove.
7343
7344 2013-02-11 Roland McGrath <roland@hack.frob.com>
7345
7346 * misc/sys/mman.h: Fix typo in mremap comment.
7347
7348 2013-02-08 Roland McGrath <roland@hack.frob.com>
7349
7350 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7351 the '\0' terminator.
7352
7353 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7354
7355 [BZ #13550]
7356 * debug/segfault.c: Don't include <bp-checks.h>.
7357 * sysdeps/generic/bp-checks.h: Remove file.
7358 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7359 (__GETDENTS): Don't use CHECK_N.
7360 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7361 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7362 (__getgroups): Don't use CHECK_N.
7363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7364 (setgroups): Don't use CHECK_N.
7365 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7366 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7367 (__libc_msgrcv): Don't use CHECK_N.
7368 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7369 (__libc_msgsnd): Don't use CHECK_N.
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7371 <bp-checks.h>.
7372 (__libc_pread): Don't use CHECK_N.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7374 include <bp-checks.h>.
7375 (__libc_pread64): Don't use CHECK_N.
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7377 include <bp-checks.h>.
7378 (__libc_pwrite): Don't use CHECK_N.
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7380 include <bp-checks.h>.
7381 (__libc_pwrite64): Don't use CHECK_N.
7382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7383 <bp-checks.h>.
7384 (__libc_pread): Don't use CHECK_N.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7386 include <bp-checks.h>.
7387 (__libc_pread64): Don't use CHECK_N.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7389 include <bp-checks.h>.
7390 (__libc_pwrite): Don't use CHECK_N.
7391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7392 include <bp-checks.h>.
7393 (__libc_pwrite64): Don't use CHECK_N.
7394 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7395 (do_pread): Don't use CHECK_N.
7396 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7397 (do_pread64): Don't use CHECK_N.
7398 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7399 (do_pwrite): Don't use CHECK_N.
7400 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7401 (do_pwrite64): Don't use CHECK_N.
7402 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7403 (__libc_readv): Don't use CHECK_N.
7404 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7405 (semop): Don't use CHECK_N.
7406 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7407 <bp-checks.h>.
7408 (semtimedop): Don't use CHECK_N.
7409 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7410 (__libc_pread): Don't use CHECK_N.
7411 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7412 <bp-checks.h>.
7413 (__libc_pread64): Don't use CHECK_N.
7414 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7415 <bp-checks.h>.
7416 (__libc_pwrite): Don't use CHECK_N.
7417 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7418 <bp-checks.h>.
7419 (__libc_pwrite64): Don't use CHECK_N.
7420 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7421 <bp-checks.h>.
7422 (__libc_msgrcv): Don't use CHECK_N.
7423 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7424 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7425 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7426 (__libc_writev): Don't use CHECK_N.
7427
7428 2013-02-08 Roland McGrath <roland@hack.frob.com>
7429
7430 * string/strcpy.c: Removed unused variable.
7431
7432 * Makeconfig (+sysdep-includes): Define with := rather than =.
7433 Use an existing include/ subdir of each sysdeps dir before it.
7434
7435 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7436
7437 * nscd/connection.c (register_traced_file): Comment function.
7438 [HAVE_INOTIFY] (union __inev): Define.
7439 [HAVE_INOTIFY] (inotify_check_files): New function.
7440 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7441 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7442 clear_db_cache.
7443 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7444
7445 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7446
7447 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7448 loaded if not already and that a failure is permanent.
7449
7450 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7451
7452 [BZ #15006]
7453 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7454 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7455
7456 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7457
7458 [BZ #13550]
7459 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7460 (CHECK_1_NULL_OK): Likewise.
7461 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7462 (__fxstat): Do not use CHECK_1.
7463 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7464 <bp-checks.h>.
7465 (___fxstat64): Do not use CHECK_1.
7466 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7467 <bp-checks.h>.
7468 (__fxstatat): Do not use CHECK_1.
7469 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7470 <bp-checks.h>.
7471 (__fxstatat64): Do not use CHECK_1.
7472 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7473 <bp-checks.h>.
7474 (__fxstat): Do not use CHECK_1.
7475 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7476 <bp-checks.h>.
7477 (__fxstatat): Do not use CHECK_1.
7478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7479 <bp-checks.h>.
7480 (__getresgid): Do not use CHECK_1.
7481 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7482 <bp-checks.h>.
7483 (__getresuid): Do not use CHECK_1.
7484 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7485 <bp-checks.h>.
7486 (__lxstat): Do not use CHECK_1.
7487 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7488 <bp-checks.h>.
7489 (__old_msgctl): Do not use CHECK_1.
7490 (__new_msgctl): Likewise.
7491 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7492 <bp-checks.h>.
7493 (__new_setrlimit): Do not use CHECK_1.
7494 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7495 <bp-checks.h>.
7496 (__old_shmctl): Do not use CHECK_1.
7497 (__new_shmctl): Likewise.
7498 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7499 <bp-checks.h>.
7500 (__xstat): Do not use CHECK_1.
7501 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7502 (__lxstat): Do not use CHECK_1.
7503 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7504 <bp-checks.h>.
7505 (___lxstat64): Do not use CHECK_1.
7506 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7507 (__old_msgctl): Do not use CHECK_1.
7508 (__new_msgctl): Likewise.
7509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7510 <bp-checks.h>.
7511 (__gettimeofday): Do not use CHECK_1.
7512 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7513 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7514 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7515 <bp-checks.h>.
7516 (__gettimeofday): Do not use CHECK_1.
7517 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7518 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7519 (__new_shmctl): Do not use CHECK_1.
7520 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7521 <bp-checks.h>.
7522 (do_sigtimedwait): Do not use CHECK_1.
7523 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7524 <bp-checks.h>.
7525 (do_sigwaitinfo): Do not use CHECK_1.
7526 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7527 <bp-checks.h>.
7528 (msgctl): Do not use CHECK_1.
7529 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7530 <bp-checks.h>.
7531 (shmctl): Do not use CHECK_1.
7532 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7533 (ustat): Do not use CHECK_1.
7534 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7535 <bp-checks.h>.
7536 (__fxstat): Do not use CHECK_1.
7537 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7538 <bp-checks.h>.
7539 (__fxstatat): Do not use CHECK_1.
7540 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7541 <bp-checks.h>.
7542 (__lxstat): Do not use CHECK_1.
7543 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7544 <bp-checks.h>.
7545 (__xstat): Do not use CHECK_1.
7546 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7547 (__xstat): Do not use CHECK_1.
7548 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7549 (___xstat64): Do not use CHECK_1.
7550
7551 [BZ #13550]
7552 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7553 definitions.
7554 (CHECK_BOUNDS_HIGH): Likewise.
7555 * string/strcpy.c: Do not include <bp-checks.h>.
7556 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7557
7558 2013-02-07 Roland McGrath <roland@hack.frob.com>
7559
7560 * nscd/nscd-client.h (__nscd_drop_map_ref):
7561 Add __attribute__ ((unused)).
7562 * nis/nss-nisplus.h (niserr2nss): Likewise.
7563
7564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7565 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7566
7567 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7568 Remove inline keyword.
7569 * include/rounding-mode.h (round_away): Likewise.
7570 * libio/wfileops.c (adjust_wide_data): Likewise.
7571 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7572 (__m128i_strloadu_tolower): Likewise.
7573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7574 (__m128i_strloadu_tolower): Likewise.
7575 * time/mktime.c (ydhms_diff): Likewise.
7576 * locale/elem-hash.h (elem_hash): Likewise.
7577 * locale/setlocale.c (setdata): Likewise.
7578 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7579 (re_string_wchar_at): Likewise.
7580 (bitset_not, bitset_merge, bitset_mask): Likewise.
7581 [!(__GNUC__ > 3)] (inline): Remove macro.
7582 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7583 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7584 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7585 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7586 * string/memcmp.c (memcmp_bytes): Likewise.
7587 * locale/programs/locarchive.c (compute_hashval): Likewise.
7588 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7589 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7590 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7591 * nss/getent.c (print_rpc, print_protocols): Likewise.
7592 (print_passwd, print_group, print_aliases): Likewise.
7593 * nis/nss-nisplus.h (niserr2nss): Likewise.
7594 * nscd/connections.c (restart_p): Likewise.
7595 Change return type to bool.
7596
7597 2013-02-05 Roland McGrath <roland@hack.frob.com>
7598
7599 * Makeconfig (all-Depend-files): Add existing
7600 $(sorted-subdirs:=/Depend) files.
7601 (all-subdirs): Remove nss.
7602 * sysdeps/unix/inet/Subdirs: Add it here instead.
7603 * hesiod/Depend: New file.
7604
7605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7606 instead of calling alloca.
7607
7608 * io/lseek.c (__lseek): Rename to __libc_lseek.
7609 Define __lseek as an alias.
7610
7611 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7612
7613 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7614
7615 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7616 else clause and remove check for non-standard endianness.
7617
7618 2013-02-04 David S. Miller <davem@davemloft.net>
7619
7620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7621
7622 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7623
7624 [BZ #13550]
7625 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7626 (__ubp_memchr): Remove prototype.
7627 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7628 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7629 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7630 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7631 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7632 Remove alias.
7633 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7634 (__ubp_memchr): Likewise.
7635 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7636 (__ubp_memchr): Likewise.
7637 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7638 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7639 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7640 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7641 CHECK_STRING.
7642 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7643 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7644 (__getcwd): Do not use CHECK_STRING.
7645 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7646 <bp-checks.h>.
7647 (__real_chown): Do not use CHECK_STRING.
7648 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7649 <bp-checks.h>.
7650 (fchownat): Do not use CHECK_STRING.
7651 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7652 CHECK_STRING.
7653 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7654 <bp-checks.h>.
7655 (__lchown): Do not use CHECK_STRING.
7656 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7657 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7658 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7659 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7661 include <bp-checks.h>.
7662 (truncate64): Do not use CHECK_STRING.
7663 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7664 <bp-checks.h>.
7665 (__real_chown): Do not use CHECK_STRING.
7666 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7667 <bp-checks.h>.
7668 (__lchown): Do not use CHECK_STRING.
7669 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7670 <bp-checks.h>.
7671 (__chown): Do not use CHECK_STRING.
7672 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7673 <bp-checks.h>.
7674 (truncate64): Do not use CHECK_STRING.
7675 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7676 Likewise.
7677 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7678 (__xmknod): Do not use CHECK_STRING.
7679 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7680 <bp-checks.h>.
7681 (__xmknodat): Do not use CHECK_STRING.
7682 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7683 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7684
7685 2013-02-04 Andreas Schwab <schwab@suse.de>
7686
7687 [BZ #14142]
7688 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7689 * include/netdb.h: Likewise for h_errno.
7690 * elf/tst-stackguard1.c: Include <tls.h>.
7691
7692 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7693
7694 * elf/link.h (struct link_map): Extend the l_addr comment.
7695 * include/link.h (struct link_map): Likewise.
7696
7697 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7698
7699 [BZ #13550]
7700 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7701 (BOUNDED_1): Remove macro.
7702 * debug/backtrace.c: Don't include <bp-checks.h>.
7703 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7704 (__backtrace): Likewise.
7705 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7706 <bp-checks.h>.
7707 (__backtrace): Don't use BOUNDED_1.
7708 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7709 <bp-checks.h>.
7710 (__backtrace): Don't use BOUNDED_1.
7711 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7712 (__backtrace): Don't use BOUNDED_1.
7713 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7714 (shmat): Don't use BOUNDED_N.
7715
7716 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7717
7718 [BZ #13550]
7719 * sysdeps/generic/bp-start.h: Remove file.
7720 * csu/libc-start.c: Don't include <bp-start.h>.
7721 (LIBC_START_MAIN): Set up __environ directly instead of using
7722 INIT_ARGV_and_ENVIRON.
7723 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7724 <bp-start.h>.
7725
7726 [BZ #13550]
7727 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7728 definitions.
7729 (CHECK_FCNTL): Likewise.
7730 (CHECK_N_PAGES): Likewise.
7731
7732 [BZ #13550]
7733 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7734 definitions.
7735 (CHECK_SIGSET_NULL_OK): Likewise.
7736 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7737 <bp-checks.h>.
7738 (sigpending): Don't use CHECK_SIGSET.
7739 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7740 <bp-checks.h>.
7741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7742 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7743 <bp-checks.h>.
7744 (do_sigsuspend): Don't use CHECK_SIGSET.
7745 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7746 use CHECK_SIGSET.
7747 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7748 (do_sigwait): Don't use CHECK_SIGSET.
7749 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7750 use CHECK_SIGSET.
7751 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7752 include <bp-checks.h>.
7753 (sigpending): Don't use CHECK_SIGSET.
7754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7755 include <bp-checks.h>.
7756 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7757 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7758 <bp-checks.h>.
7759 (sigpending): Don't use CHECK_SIGSET.
7760 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7761 <bp-checks.h>.
7762 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7763
7764 [BZ #13550]
7765 * sysdeps/generic/bp-semctl.h: Remove file.
7766 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7767 <bp-checks.h> and <bp-semctl.h>.
7768 (__old_semctl): Don't use CHECK_SEMCTL.
7769 (__new_semctl): Likewise.
7770 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7771 and <bp-semctl.h>.
7772 (__old_semctl): Don't use CHECK_SEMCTL.
7773 (__new_semctl): Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7775 <bp-checks.h> and <bp-semctl.h>.
7776 (__old_semctl): Don't use CHECK_SEMCTL.
7777 (__new_semctl): Likewise.
7778 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7779 <bp-checks.h> and <bp-semctl.h>.
7780 (semctl): Don't use CHECK_SEMCTL.
7781
7782 [BZ #13550]
7783 * Makerules (elide-bp-thunks): Remove variable.
7784 (elide-routines.oS): Don't use $(elide-bp-thunks).
7785 (elide-routines.os): Likewise.
7786 (elide-routines.o): Likewise.
7787 (elide-routines.op): Likewise.
7788 (elide-routines.og): Likewise.
7789 (objects): Don't use $(bp-thunks).
7790 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7791 include.
7792 (common-generated): Do not add s-proto-bp.d.
7793 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7794 (int): Likewise.
7795 (typ): Likewise.
7796 Do not generate makefile rules for bounded-pointer thunks.
7797 * sysdeps/generic/bp-thunks.h: Remove file.
7798 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7799 * sysdeps/unix/s-proto-bp.S: Likewise.
7800
7801 [BZ #15062]
7802 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7803 parts of result separately when argument is not close to line from
7804 -i to i and one part of argument is small.
7805 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7806 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7807 * math/libm-test.inc (cacos_test): Add more tests.
7808 (casin_test): Likewise.
7809 (casinh_test): Likewise.
7810 * sysdeps/i386/fpu/libm-test-ulps: Update.
7811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812
7813 2013-01-31 David S. Miller <davem@davemloft.net>
7814
7815 * po/de.po: Update from translation team.
7816
7817 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7818
7819 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7820
7821 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7822
7823 * configure.in (_AC_PROG_CC_C89): New definition.
7824 * configure: Regenerate.
7825
7826 * configure.in (AC_PROG_CPP): New definition.
7827 * configure: Regenerate.
7828
7829 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7830
7831 * debug/tst-backtrace.h: New file.
7832 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7833 (ret): Remove variable.
7834 (x): Likewise.
7835 (FAIL): Remove macro.
7836 (NO_INLINE): Likewise.
7837 (fn1): Use match function instead of strstr.
7838 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7839 (ret): Remove variable.
7840 (x): Likewise.
7841 (FAIL): Remove macro.
7842 (NO_INLINE): Likewise.
7843 (fn): Use match function instead of strstr.
7844 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7845 (ret): Remove variable.
7846 (x): Likewise.
7847 (FAIL): Remove macro.
7848 (NO_INLINE): Likewise.
7849 (handle_signal): Use match function instead of strstr.
7850 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7851 (ret): Remove variable.
7852 (x): Likewise.
7853 (FAIL): Remove macro.
7854 (NO_INLINE): Likewise.
7855 (handle_signal): Use match function instead of strstr.
7856
7857 2013-01-23 Roland McGrath <roland@hack.frob.com>
7858
7859 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7860
7861 2013-01-23 David S. Miller <davem@davemloft.net>
7862
7863 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7864 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7865 argument of CAS if possible.
7866 * sysdeps/sparc/sparc64/bits/atomic.h
7867 (__arch_compare_and_exchange_val_32_acq): Likewise.
7868 (__arch_compare_and_exchange_val_64_acq): Likewise.
7869
7870 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7871
7872 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7873 * sysdeps/posix/ulimit.c: ... this.
7874 Include <limits.h>.
7875 * sysdeps/unix/bsd/ulimit.c: Remove file.
7876
7877 2013-01-23 Adam Conrad <adconrad@0c3.net>
7878
7879 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7880 (LDFLAGS-tst-array5): Likewise.
7881
7882 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7883
7884 [BZ #15036]
7885 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7886 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7887 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7888 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7889
7890 2013-01-21 David S. Miller <davem@davemloft.net>
7891
7892 * sysdeps/sparc/backtrace.c: New file.
7893 * sysdeps/sparc/sparc32/backtrace.h: New file.
7894 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7895 * sysdeps/sparc/sparc64/backtrace.h: New file.
7896 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7897 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7898 -funwind-tables.
7899
7900 2013-01-21 Andreas Schwab <schwab@suse.de>
7901
7902 [BZ #15020]
7903 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7904 closed its stdout.
7905
7906 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7907
7908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7909 "mpa2.h".
7910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7911
7912 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7913 Mark Mitchell <mark@codesourcery.com>
7914 Tom de Vries <tom@codesourcery.com>
7915 Paul Pluzhnikov <ppluzhnikov@google.com>
7916
7917 * debug/tst-backtrace2.c: New file.
7918 * debug/tst-backtrace3.c: Likewise.
7919 * debug/tst-backtrace4.c: Likewise.
7920 * debug/tst-backtrace5.c: Likewise.
7921 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7922 (CFLAGS-tst-backtrace3.c): Likewise.
7923 (CFLAGS-tst-backtrace4.c): Likewise.
7924 (CFLAGS-tst-backtrace5.c): Likewise.
7925 (LDFLAGS-tst-backtrace2): Likewise.
7926 (LDFLAGS-tst-backtrace3): Likewise.
7927 (LDFLAGS-tst-backtrace4): Likewise.
7928 (LDFLAGS-tst-backtrace5): Likewise.
7929 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7930 tst-backtrace4 and tst-backtrace5.
7931
7932 2013-01-18 Anton Blanchard <anton@samba.org>
7933 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7934
7935 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7936 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7937 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7938 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7940 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7941 "+r" and remove output regs list as redundant. Add explicit inline
7942 asm to specify register of return val to work around compiler codegen
7943 bug. Remove (int) cast on return value. Add return type parameter to
7944 use in macro so that this macro does not truncate return value for
7945 64-bit values.
7946 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7947 pass to INTERNAL_VSYSCALL_NCS.
7948 (INLINE_VSYSCALL): Add 'long int' as return type to
7949 INTERNAL_VSYSCALL_NCS macro invocation.
7950 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7951 INTERNAL_VSYSCALL_NCS macro invocation.
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7953
7954 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7955
7956 [BZ #14496]
7957 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7958 Fix application of SIMD FP exception mask.
7959
7960 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7961 mp_no from a power of two.
7962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7963 __mpexp_twomm1. Use __pow_mp.
7964
7965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7966 multiplication.
7967
7968 2013-01-17 David S. Miller <davem@davemloft.net>
7969
7970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7971
7972 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7973
7974 [BZ #15023]
7975 * include/complex.h: Condition contents on [!_COMPLEX_H].
7976 (__kernel_casinhf): New prototype.
7977 (__kernel_casinh): Likewise.
7978 (__kernel_casinhl): Likewise.
7979 * math/Makefile (libm_calls): Add k_casinh.
7980 * math/k_casinh.c: New file.
7981 * math/k_casinhf.c: Likewise.
7982 * math/k_casinhl.c: Likewise.
7983 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7984 finite nonzero arguments.
7985 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7986 finite nonzero arguments.
7987 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7988 finite nonzero arguments.
7989 * math/s_casinh.c: Do not include <float.h>.
7990 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7991 * math/s_casinhf.c: Do not include <float.h>.
7992 (__casinhf): Move code for finite nonzero arguments to
7993 k_casinhf.c.
7994 * math/s_casinhl.c: Do not include <float.h>.
7995 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7996 redefine.
7997 (__casinhl): Move code for finite nonzero arguments to
7998 k_casinhl.c.
7999 * math/libm-test.inc (cacos_test): Add more tests.
8000 * sysdeps/i386/fpu/libm-test-ulps: Update.
8001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8002
8003 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8004
8005 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8006 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8007 [!HAVE_MREMAP]: Remove [defined linux] case.
8008 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8009
8010 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8011
8012 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8013
8014 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8015
8016 * elf/elf.h (R_386_SIZE32): New relocation.
8017 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8018 R_386_SIZE32.
8019 (elf_machine_rela): Likewise.
8020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8021 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8022
8023 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8024
8025 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8026 (FP_FAST_FMA): Do not define.
8027 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8028 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8029 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8030 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8031 !_SOFT_FLOAT]: Likewise.
8032 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8033 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8034 value.
8035 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8036 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8037 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8038 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8039 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8040 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8041 file.
8042
8043 2013-01-16 Andreas Schwab <schwab@suse.de>
8044
8045 [BZ #14327]
8046 * include/stdlib.h (__mktemp): Add declaration.
8047 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8048 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8049
8050 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8051
8052 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8053 definitions.
8054 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8055 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8056 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8057 definitions here.
8058 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8059 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8060 definitions.
8061 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8062 and ONE.
8063 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8064 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8066 definitions.
8067 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8068 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8069 definitions.
8070 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8071
8072 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8073
8074 2013-01-15 David S. Miller <davem@davemloft.net>
8075
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8077 trunc{,f} to libm-sysdep_routes.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8080 file.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8083 file.
8084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8085 file.
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8088 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8089 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8090 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8091 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8092 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8093 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8094
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8096 nearbyint{,f} to libm-sysdep_routes.
8097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8099 New file.
8100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8101 file.
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8103 New file.
8104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8105 file.
8106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8108 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8109 file.
8110 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8111 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8112 file.
8113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8114 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8115 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8116
8117 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8118 libc_feholdexcept and libc_fesetenv.
8119
8120 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8121
8122 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8123
8124 2013-01-14 David S. Miller <davem@davemloft.net>
8125
8126 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8127 (SPARC_ASM_VIS2_IFUNC): Likewise.
8128 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8130 use of 'siam' instruction.
8131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8132 Likewise.
8133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8134 Likewise.
8135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8136 Likewise.
8137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8142 file.
8143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8144 file.
8145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8146 file.
8147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8148 file.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8154 new VIS2 routines.
8155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8158 Likewise.
8159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8164 routines to libm-sysdep_routines.
8165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8166
8167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8168 fdim/fdimf to libm-sysdep_routines.
8169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8170 file.
8171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8173 file.
8174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8177 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8178 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8179 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8180 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8181
8182 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8183
8184 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8185 to optimize copies.
8186
8187 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8190
8191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8192 local variable MPTWO.
8193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8194 Likewise.
8195
8196 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8197
8198 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8199 GLOB_NOESCAPE.
8200
8201 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8202
8203 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8204
8205 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8206
8207 * manual/pattern.texi (glob_t): Document gl_flags.
8208 (glob64_t): Likewise.
8209
8210 2013-01-11 David S. Miller <davem@davemloft.net>
8211
8212 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8213 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8214 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8215 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8216 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8217 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8218 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8219 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8220 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8221 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8222 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8223 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8224 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8225
8226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8227 sparc V9 rather than using V8 code.
8228 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8229 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8230
8231 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8232 Move to...
8233 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8234 Here.
8235
8236 2013-01-11 Roland McGrath <roland@hack.frob.com>
8237
8238 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8239 not in the main loop.
8240 * configure: Regenerated.
8241
8242 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8243
8244 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8245 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8246 to just #else.
8247 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8248 [!__GLIBC_HAVE_LONG_LONG] case.
8249 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8250 condition to just #else.
8251 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8252 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8253 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8254 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8255 unconditional.
8256 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8257 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8258 #elif condition to just #else.
8259 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8260 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8261 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8262 #elif condition to just #else.
8263
8264 2013-01-11 Steve Ellcey <sellcey@mips.com>
8265
8266 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8267 (EF_MIPS_ARCH_64): Fix value.
8268 (EF_MIPS_ARCH_32R2): New.
8269 (EF_MIPS_ARCH_64R2): New.
8270
8271 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8272
8273 * Makeconfig (+link-pie-before-libc): New.
8274 (+link-pie-after-libc): Likewise.
8275 (+link-pie-tests): Likewise.
8276 (+link-pie): Rewritten.
8277 (link-before-libc): Remove $(config-LDFLAGS).
8278 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8279 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8280 (config-LDFLAGS): Renamed to ...
8281 (rtld-LDFLAGS): This.
8282 (rtld-tests-LDFLAGS): New macro.
8283 (link-libc-rpath-link): Likewise.
8284 (link-libc-tests-rpath-link): Likewise.
8285 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8286 (link-libc): Prepand $(link-libc-rpath-link).
8287 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8288 (test-program-prefix): New macro.
8289 (test-via-rtld-prefix): Likewise.
8290 (test-program-cmd): Likewise.
8291 (host-test-program-cmd): Likewise.
8292 * Makefile ($(common-objpfx)testrun.sh): Replace
8293 $(run-program-prefix) with $(test-program-prefix).
8294 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8295 $(rtld-LDFLAGS).
8296 ($(common-objpfx)shlib.lds): Likewise.
8297 (build-module-helper): Likewise.
8298 ($(common-objpfx)format.lds): Likewise.
8299 * Rules (binaries-pie-tests): New.
8300 (binaries-pie-notests): Likewise.
8301 (binaries-pie): Rewritten.
8302 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8303 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8304 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8305 (make-test-out): Replace $(host-built-program-cmd) with
8306 $(host-test-program-cmd).
8307 * config.make.in (build-hardcoded-path-in-tests): New variable.
8308 * configure.in (--enable-hardcoded-path-in-tests): New configure
8309 option.
8310 (hardcoded_path_in_tests): New AC_SUBST.
8311 * configure: Regenerated.
8312 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8313 $(built-program-cmd) with $(test-program-cmd).
8314 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8315 (test_program_cmd): This.
8316 * elf/Makefile ($(objpfx)order.out): Run test with
8317 $(test-program-prefix).
8318 ($(objpfx)order2.out): Likewise.
8319 ($(objpfx)tst-initorder.out): Likewise.
8320 ($(objpfx)tst-initorder2.out): Likewise.
8321 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8322 $(test-program-cmd).
8323 ($(objpfx)tst-array1-static.out): Likewise.
8324 ($(objpfx)tst-array2.out): Likewise.
8325 ($(objpfx)tst-array3.out): Likewise.
8326 ($(objpfx)tst-array4.out): Likewise.
8327 ($(objpfx)tst-array5.out): Likewise.
8328 ($(objpfx)tst-array5-static.out): Likewise.
8329 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8330 $(test-program-cmd).
8331 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8332 $(run-program-prefix) with $(test-program-prefix).
8333 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8334 (test_program_prefix): This.
8335 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8336 $(run-program-prefix) with $(test-program-prefix).
8337 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8338 (test_program_prefix): This.
8339 * iconvdata/tst-tables.sh: Likewise.
8340 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8341 $(run-program-prefix) with $(test-program-prefix).
8342 ($(objpfx)tst-translit.out): Likewise.
8343 ($(objpfx)tst-gettext2.out): Likewise.
8344 ($(objpfx)tst-gettext4.out): Likewise.
8345 ($(objpfx)tst-gettext6.out): Likewise.
8346 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8347 (test_program_prefix): This.
8348 * intl/tst-gettext2.sh: Likewise.
8349 * intl/tst-gettext4.sh Likewise.
8350 * intl/tst-gettext6.sh: Likewise.
8351 * intl/tst-translit.sh: Likewise.
8352 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8353 with $(test-program-cmd).
8354 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8355 $(run-program-prefix) with $(test-program-prefix).
8356 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8357 (test_program_prefix): This.
8358 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8359 $(run-program-prefix) with $(test-program-prefix).
8360 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8361 (test_program_prefix): This.
8362 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8363 * posix/Makefile ($(objpfx)globtest.out): Replace
8364 $(run-via-rtld-prefix) and $(test-wrapper) with
8365 $(test-program-prefix) and $(test-via-rtld-prefix).
8366 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8367 $(test-program-prefix).
8368 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8369 $(host-test-program-cmd).
8370 (tst-spawn-ARGS): Likewise.
8371 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8372 $(test-program-prefix).
8373 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8374 (test_via_rtld_prefix): This.
8375 (test_wrapper): Renamed to ...
8376 (test_program_prefix): This.
8377 (run_program_prefix): Replaced by test_program_prefix.
8378 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8379 (test_program_prefix): This.
8380 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8381 with $(host-test-program-cmd).
8382 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8383 $(run-program-prefix) with $(test-program-prefix).
8384 ($(objpfx)tst-printf.out): Likewise.
8385 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8386 $(test-program-cmd).
8387 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8388 (test_program_prefix): This.
8389 * stdio-common/tst-unbputc.sh: Likewise.
8390 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8391 $(run-program-prefix) with $(test-program-prefix).
8392 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8393 (test_program_prefix): This.
8394 * string/Makefile ($(objpfx)tst-svc.out): Replace
8395 $(built-program-cmd) with $(test-program-cmd).
8396
8397 2013-01-11 Andreas Jaeger <aj@suse.de>
8398
8399 [BZ #15003]
8400 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8401 value. Sync with Linux 3.7.
8402
8403 2013-01-10 David S. Miller <davem@davemloft.net>
8404
8405 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8406 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8407 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8408
8409 2013-01-10 Roland McGrath <roland@hack.frob.com>
8410
8411 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8412 never set.
8413 * configure: Regenerated.
8414
8415 2013-01-10 David S. Miller <davem@davemloft.net>
8416
8417 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8418 sparc V9 rather than using V8 code.
8419 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8420 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8421
8422 2013-01-10 Roland McGrath <roland@hack.frob.com>
8423
8424 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8425 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8426 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8427 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8428 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8429 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8430 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8431 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8432 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8433 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8434 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8435 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8436 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8437 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8438 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8439 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8440 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8441 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8442 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8443 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8444 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8445 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8446 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8447 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8448 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8449 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8450 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8451
8452 2013-01-10 David S. Miller <davem@davemloft.net>
8453
8454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8455
8456 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8457
8458 * posix/Makefile (tests-static): New variable.
8459 (tests): Add $(tests-static).
8460 (tst-exec-static-ARGS): New variable.
8461 (tst-spawn-static-ARGS): Likewise.
8462 * posix/tst-exec-static.c: New file.
8463 * posix/tst-spawn-static.c: Likewise.
8464 * posix/tst-exec.c: Support run directly.
8465 * posix/tst-spawn.c: Likewise.
8466
8467 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8468
8469 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8470 long.
8471 * math/bits/mathcalls.h (llrint): Likewise.
8472 (llround): Likewise.
8473 * stdlib/stdlib.h (struct drand48_data): Likewise.
8474 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8475 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8476 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8477 Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8479 Likewise.
8480 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8481 (elf_greg_t): Likewise.
8482 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8483 (__jmp_buf): Likewise.
8484 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8485 definitions.
8486 (llrint): Likewise, for all definitions.
8487 (llrintl): Likewise.
8488
8489 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8490 Remove [__GNUC__] condition.
8491 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8492 condition to just [__USE_ISOC99].
8493 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8494
8495 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 [BZ #14200]
8498 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8499 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8500 defined.
8501 (_POSIX_V6_ILP32_OFF32): Likewise.
8502 (_XBS5_ILP32_OFF32): Likewise.
8503 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8504 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8505
8506 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8507
8508 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8509
8510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8511 doubles __mpexp_twomm1. Adjust usage.
8512 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8513 Remove.
8514
8515 2013-01-10 Andreas Schwab <schwab@suse.de>
8516
8517 [BZ #14964]
8518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8519 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8520
8521 2013-01-09 David S. Miller <davem@davemloft.net>
8522
8523 [BZ #15003]
8524 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8525 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8526 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8527 TCP_FASTOPEN): Define.
8528 (tcp_repair_opt): New structure.
8529 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8530 enum values.
8531 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8532 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8533 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8534 (tcp_cookie_transactions): New structure.
8535
8536 2013-01-09 Anton Blanchard <anton@samba.org>
8537
8538 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8539 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8540 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8541 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8542
8543 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8544
8545 * include/features.h (__USE_ANSI): Remove.
8546
8547 2013-01-09 Roland McGrath <roland@hack.frob.com>
8548
8549 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8550
8551 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8552
8553 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8554
8555 * sysdeps/s390/fpu/libm-test-ulps: Update.
8556
8557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8558
8559 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8560 (__acr): Likewise.
8561 (__cpy): Likewise.
8562 (norm): Likewise.
8563 (denorm): Likewise.
8564 (__mp_dbl): Likewise.
8565 (__dbl_mp): Likewise.
8566 (add_magnitudes): Likewise.
8567 (sub_magnitudes): Likewise.
8568 (__add): Likewise.
8569 (__sub): Likewise.
8570 (__mul): Likewise.
8571 (__inv): Likewise.
8572 (__dvd): Likewise.
8573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8574 (__acr): Likewise.
8575 (__cpy): Likewise.
8576 (norm): Likewise.
8577 (denorm): Likewise.
8578 (__mp_dbl): Likewise.
8579 (__dbl_mp): Likewise.
8580 (add_magnitudes): Likewise.
8581 (sub_magnitudes): Likewise.
8582 (__add): Likewise.
8583 (__sub): Likewise.
8584 (__mul): Likewise.
8585 (__inv): Likewise.
8586 (__dvd): Likewise.
8587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8588 (__acr): Likewise.
8589 (__cpy): Likewise.
8590 (norm): Likewise.
8591 (denorm): Likewise.
8592 (__mp_dbl): Likewise.
8593 (__dbl_mp): Likewise.
8594 (add_magnitudes): Likewise.
8595 (sub_magnitudes): Likewise.
8596 (__add): Likewise.
8597 (__sub): Likewise.
8598 (__mul): Likewise.
8599 (__inv): Likewise.
8600 (__dvd): Likewise.
8601
8602 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8603
8604 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8605 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8606 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8607 2 && __USE_EXTERN_INLINES]: Likewise.
8608
8609 2013-01-08 Andreas Jaeger <aj@suse.de>
8610
8611 [BZ# 14985]
8612 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8613 Remove.
8614 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8615 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8616
8617 2013-01-07 Anton Blanchard <anton@samba.org>
8618
8619 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8620 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8621 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8622 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8623 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8624 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8625 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8626 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8628 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8629 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8631 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8632 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8633 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8634 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8635 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8636 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8637 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8639 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8640 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8642 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8643 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8644 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8645 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8646 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8648 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8649 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8651 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8652 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8653 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8654 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8655 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8657 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8658 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8659 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8660 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8661 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8662
8663 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8664
8665 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8666 (__MALLOC_PMT): Likewise.
8667 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8668 [__GNUC__], only on [_LIBC].
8669 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8670 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8671 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8672 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8673 forward declaration.
8674 (realloc_hook_ini): Likewise.
8675 (memalign_hook_ini): Likewise.
8676 (__libc_memalign): Do not use __MALLOC_PMT in variable
8677 declaration.
8678 (__libc_valloc): Likewise.
8679 (__libc_pvalloc): Likewise.
8680 (__libc_calloc): Likewise.
8681 (__posix_memalign): Likewise.
8682
8683 [BZ #14996]
8684 * math/s_casinh.c: Include <float.h>.
8685 (__casinh): Do not do computation with squaring and square root
8686 for large arguments.
8687 * math/s_casinhf.c: Include <float.h>.
8688 (__casinhf): Do not do computation with squaring and square root
8689 for large arguments.
8690 * math/s_casinhl.c: Include <float.h>.
8691 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8692 (__casinhl): Do not do computation with squaring and square root
8693 for large arguments.
8694 * math/libm-test.inc (casin_test): Add more tests.
8695 (casinh_test): Likewise.
8696 * sysdeps/i386/fpu/libm-test-ulps: Update.
8697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8698
8699 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8700
8701 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8702 (__x86_64_raw_data_cache_size): Likewise.
8703 (__x86_64_data_cache_size_half): Likewise.
8704 (__x86_64_raw_data_cache_size_half): Likewise.
8705 (__x86_64_shared_cache_size): Likewise.
8706 (__x86_64_raw_shared_cache_size): Likewise.
8707 (__x86_64_shared_cache_size_half): Likewise.
8708 (__x86_64_raw_shared_cache_size_half): Likewise.
8709 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8710 to ...
8711 (__x86_data_cache_size): This.
8712 (__x86_64_raw_data_cache_size): Renamed to ...
8713 (__x86_raw_data_cache_size): This.
8714 (__x86_64_data_cache_size_half): Renamed to ...
8715 (__x86_data_cache_size_half): This.
8716 (__x86_64_raw_data_cache_size_half): Renamed to ...
8717 (__x86_raw_data_cache_size_half): This.
8718 (__x86_64_shared_cache_size): Renamed to ...
8719 (__x86_shared_cache_size): This.
8720 (__x86_64_raw_shared_cache_size): Renamed to ...
8721 (__x86_raw_shared_cache_size): This.
8722 (__x86_64_shared_cache_size_half): Renamed to ...
8723 (__x86_shared_cache_size_half): This.
8724 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8725 (__x86_raw_shared_cache_size_half): This.
8726 * sysdeps/x86_64/memcpy.S: Updated.
8727 * sysdeps/x86_64/memset.S: Likewise.
8728 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8729 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8730 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8731
8732 2013-01-04 David S. Miller <davem@davemloft.net>
8733
8734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8735
8736 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8737
8738 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8739 1 to avoid redefinition warning.
8740 (__USE_GNU): Don't define.
8741 (init_signaling_nan): Protoize.
8742
8743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8744
8745 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8746
8747 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8749 (__cpymn): Likewise.
8750 (norm): Remove commented code.
8751 (denorm): Likewise.
8752 (__mp_dbl): Likewise.
8753 (__inv): Likewise.
8754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8755 (__cpymn): Likewise.
8756 (norm): Remove commented code.
8757 (denorm): Likewise.
8758 (__mp_dbl): Likewise.
8759 (__inv): Likewise.
8760
8761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8762 mp_no value for 1.0 and 2.0.
8763 (norm): Use RADIXI instead of radixi.d.
8764 (denorm): Likewise.
8765 (__mul): Use 0.0 instead of zero.d.
8766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8767 mp_no value for 1.0 and 2.0.
8768 (norm): Use RADIXI instead of radixi.d.
8769 (denorm): Likewise.
8770 (__mul): Use 0.0 instead of zero.d.
8771
8772 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8773
8774 [BZ #14994]
8775 * math/s_casinh.c (__casinh): Reduce finite argument to first
8776 quadrant then set signs of results at the end.
8777 * math/s_casinhf.c (__casinhf): Likewise.
8778 * math/s_casinhl.c (__casinhl): Likewise.
8779 * math/libm-test.inc (casin_test): Add more tests.
8780 (casinh_test): Likewise.
8781 * sysdeps/i386/fpu/libm-test-ulps: Update.
8782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8783
8784 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8785
8786 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8787
8788 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8789
8790 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8791 declarations.
8792 (denorm): Likewise.
8793 (__mp_dbl): Likewise.
8794 (__inv): Likewise.
8795
8796 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8797 and adjust the header comment.
8798
8799 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8800 variable name from declaration.
8801
8802 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8803
8804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8805 Initialize COMMON_CPUID_INDEX_7 element.
8806 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8807 (CPUID_RTM): Likewise.
8808 (HAS_RTM): Likewise.
8809 (COMMON_CPUID_INDEX_7): New enum.
8810
8811 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8812
8813 [BZ #14981]
8814 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8815 size is zero, record memory as freed.
8816
8817 2013-01-03 Andreas Jaeger <aj@suse.de>
8818
8819 * po/ia.po: Add new Interlingua translation.
8820
8821 2012-01-03 Allan McRae <allan@archlinux.org>
8822
8823 * locale/programs/localedef.c: Fix description of '--posix' flag.
8824
8825 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8826
8827 * NEWS: Update dates in second copyright notice.
8828 * README: Update copyright dates in example.
8829 * manual/libc.texinfo: Update copyright dates.
8830 * scripts/test-installation.pl: Update copyright date in --version
8831 output.
8832
8833 * hurd/ctty-input.c: Fix copyright notice formatting.
8834 * hurd/ctty-output.c: Likewise.
8835 * hurd/dtable.c: Likewise.
8836 * hurd/hurd-raise.c: Likewise.
8837 * hurd/hurdprio.c: Likewise.
8838 * hurd/msgportdemux.c: Likewise.
8839 * misc/sys/file.h: Likewise.
8840 * misc/sys/ioctl.h: Likewise.
8841 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8842 * sysdeps/mach/hurd/chdir.c: Likewise.
8843 * sysdeps/mach/hurd/fchdir.c: Likewise.
8844 * sysdeps/mach/hurd/rename.c: Likewise.
8845 * sysdeps/mach/hurd/rmdir.c: Likewise.
8846 * sysdeps/mach/hurd/seekdir.c: Likewise.
8847 * sysdeps/mach/hurd/setsid.c: Likewise.
8848 * sysdeps/posix/wait3.c: Likewise.
8849
8850 * All files with FSF copyright notices: Update copyright dates
8851 using scripts/update-copyrights.
8852 * intl/plural.c: Regenerated.
8853 * locale/programs/charmap-kw.h: Likewise.
8854 * locale/programs/locfile-kw.h: Likewise.
8855
8856 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8857
8858 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8859 four values.
8860
8861 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8862 calculation loop and add branch prediction.
8863
8864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8865 check access beyond bounds of m1np.
8866
8867 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8868 MPTWO.
8869 (__inv): Remove local variable MPTWO to use the global
8870 constant.
8871 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8872 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8873 variable MPTWO.
8874 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8875 MP3HALFS static const.
8876
8877 2013-01-01 David S. Miller <davem@davemloft.net>
8878
8879 * po/ca.po: Update from translation team.
8880
8881 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8882
8883 * scripts/update-copyrights: New file.
8884 * Makeconfig: Reformat copyright notice.
8885 * ctype/ctype.h: Likewise.
8886 * debug/swprintf_chk.c: Likewise.
8887 * elf/dl-cache.c: Likewise.
8888 * elf/dl-debug.c: Likewise.
8889 * elf/dl-object.c: Likewise.
8890 * grp/initgroups.c: Likewise.
8891 * hurd/Makefile: Likewise.
8892 * hurd/hurd/signal.h: Likewise.
8893 * hurd/hurdfault.c: Likewise.
8894 * hurd/hurdioctl.c: Likewise.
8895 * hurd/hurdlookup.c: Likewise.
8896 * hurd/intr-msg.c: Likewise.
8897 * iconv/gconv_open.c: Likewise.
8898 * libio/swprintf.c: Likewise.
8899 * locale/lc-ctype.c: Likewise.
8900 * locale/nl_langinfo.c: Likewise.
8901 * mach/Machrules: Likewise.
8902 * mach/Makefile: Likewise.
8903 * malloc/obstack.h: Likewise.
8904 * manual/Makefile: Likewise.
8905 * manual/tsort.awk: Likewise.
8906 * misc/bits/stab.def: Likewise.
8907 * nis/nis_print_group_entry.c: Likewise.
8908 * nis/nis_table.c: Likewise.
8909 * nis/nss_compat/compat-pwd.c: Likewise.
8910 * nis/nss_compat/compat-spwd.c: Likewise.
8911 * po/Makefile: Likewise.
8912 * posix/fnmatch.c: Likewise.
8913 * posix/regex.h: Likewise.
8914 * resolv/Makefile: Likewise.
8915 * resolv/nss_dns/dns-network.c: Likewise.
8916 * resolv/res_hconf.c: Likewise.
8917 * scripts/gen-sorted.awk: Likewise.
8918 * soft-fp/soft-fp.h: Likewise.
8919 * stdio-common/printf.h: Likewise.
8920 * stdlib/monetary.h: Likewise.
8921 * stdlib/random.c: Likewise.
8922 * stdlib/random_r.c: Likewise.
8923 * sysdeps/generic/Makefile: Likewise.
8924 * sysdeps/gnu/Makefile: Likewise.
8925 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8953 * sysdeps/mach/hurd/errnos.awk: Likewise.
8954 * sysdeps/mach/hurd/fork.c: Likewise.
8955 * sysdeps/mach/hurd/getcwd.c: Likewise.
8956 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8957 * sysdeps/mach/hurd/mmap.c: Likewise.
8958 * sysdeps/mach/hurd/utimes.c: Likewise.
8959 * sysdeps/mach/hurd/xmknod.c: Likewise.
8960 * sysdeps/posix/profil.c: Likewise.
8961 * sysdeps/posix/readdir_r.c: Likewise.
8962 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8963 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8964 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8965 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8967 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8968 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8971 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8972 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8973 * sysdeps/pthread/lio_listio.c: Likewise.
8974 * sysdeps/sparc/dl-procinfo.h: Likewise.
8975 * sysdeps/unix/i386/sysdep.S: Likewise.
8976 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8977 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8978 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8979 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8981 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8982 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8983 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8984 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8985 * sysdeps/wordsize-32/divdi3.c: Likewise.
8986 * time/sys/time.h: Likewise.
8987 * wcsmbs/Makefile: Likewise.
8988
8989 2013-01-01 David S. Miller <davem@davemloft.net>
8990
8991 * po/fr.po: Update from translation team.
8992
8993 * catgets/gencat.c: Update copyright year.
8994 * csu/version.c: Likewise.
8995 * debug/catchsegv.sh: Likewise.
8996 * debug/pcprofiledump.c: Likewise.
8997 * debug/xtrace.sh: Likewise.
8998 * elf/ldconfig.c: Likewise.
8999 * elf/ldd.bash.in: Likewise.
9000 * elf/pldd.c: Likewise.
9001 * elf/sotruss.ksh: Likewise.
9002 * elf/sprof.c: Likewise.
9003 * iconv/iconv_prog.c: Likewise.
9004 * iconv/iconvconfig.c: Likewise.
9005 * locale/programs/locale.c: Likewise.
9006 * locale/programs/localedef.c: Likewise.
9007 * login/programs/pt_chown.c: Likewise.
9008 * malloc/memusage.sh: Likewise.
9009 * malloc/memusagestat.c: Likewise.
9010 * malloc/mtrace.pl: Likewise.
9011 * nscd/nscd.c: Likewise.
9012 * nss/getent.c: Likewise.
9013 * nss/makedb.c: Likewise.
9014 * posix/getconf.c: Likewise.
9015
9016 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9017
9018 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9019 numbers.
9020
9021 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9022
9023 * math/bits/mathcalls.h (modf): Use __nonnull.
9024
9025 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9026
9027 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9028 (split): Use macro CN instead of the bare value.
9029 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9030 could be used.
9031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9032 instead of the bare value.
9033 (power1): Likewise.
9034
9035 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
9037 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9038 __ATAN_TWOM.
9039 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9040
9041 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9042 their values.
9043 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9044 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9045 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9046 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9047
9048 2012-12-28 Andreas Jaeger <aj@suse.de>
9049
9050 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9051 values are from Linux 3.7.
9052
9053 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9054 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9055
9056 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9057
9058 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9059 TRUE case.
9060
9061 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9062 (norm): Likewise.
9063 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9064 variables with preprocessor constants.
9065 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9066 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9067 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9068
9069 2012-12-27 Bruno Haible <bruno@clisp.org>
9070
9071 [BZ #14317]
9072 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9073 only if needed.
9074
9075 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9076
9077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9078 and use variable directly.
9079 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9080
9081 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9082 MPONE.
9083 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9084 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9085 variable MPONE.
9086 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9088 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9089 include directive. Remove local variable MPONE.
9090 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9091 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9092 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9093
9094 2012-12-25 David S. Miller <davem@davemloft.net>
9095
9096 * version.h (RELEASE): Set to "development".
9097 (VERSION): Set to "2.17.90".
9098 * NEWS: Add 2.18 section.
9099
9100 2012-12-21 David S. Miller <davem@davemloft.net>
9101
9102 * po/hr.po: Update from translation team.
9103
9104 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9105
9106 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9107
9108 2012-12-19 Steve Ellcey <sellcey@mips.com>
9109
9110 * NEWS: Mention new memcpy for MIPS.
9111
9112 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9113
9114 * manual/contrib.texi (Contributors): Spelling correction.
9115
9116 2012-12-15 David S. Miller <davem@davemloft.net>
9117
9118 * po/ru.po: Update from translation team.
9119
9120 2012-12-13 David S. Miller <davem@davemloft.net>
9121
9122 * NEWS: Mention IFUNC testsuite enhancements.
9123
9124 * po/pl.po: Update from translation team.
9125 * po/bg.po: Likewise.
9126
9127 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9128 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9129
9130 2012-12-11 David S. Miller <davem@davemloft.net>
9131
9132 * po/sv.po: Update from translation team.
9133
9134 * po/vi.po: Update from translation team.
9135
9136 * po/cs.po: Update from translation team.
9137
9138 * po/de.po: Update from translation team.
9139 * po/eo.po: Likewise.
9140 * po/nl.po: Likewise.
9141
9142 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9143
9144 [BZ #14246]
9145 * manual/argp.texi (Argp Helper Functions): Move node to follow
9146 Argp Parsing State.
9147
9148 [BZ #14872]
9149 * manual/conf.texi (Limits on File System Capacity): Mention if
9150 terminating null is included in the max size.
9151
9152 2012-12-10 Andreas Jaeger <aj@suse.de>
9153
9154 * po/cs.po: Update from translation team.
9155
9156 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9157
9158 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9159 void pointer and cast to uintptr_t.
9160 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9161 path.
9162 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9163 * sysdeps/s390/s390-64/memset.S: Likewise.
9164
9165 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9166
9167 [BZ #14833]
9168 * menual/message.texi (Message Translation): Fix typos.
9169 (Helper programs for gettext): Likewise.
9170
9171 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9172
9173 [BZ #14898]
9174 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9175 Change to -1.
9176
9177 2012-12-07 David S. Miller <davem@davemloft.net>
9178
9179 * po/libc.pot: Update.
9180
9181 2012-12-07 Richard Henderson <rth@redhat.com>
9182
9183 [BZ #10114]
9184 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9185 normal/normal case to before the switch.
9186 (_FP_DIV): Likewise.
9187
9188 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9189 Mike Frysinger <vapier@gentoo.org>
9190
9191 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9192 check for __NR_fadvise64_64.
9193
9194 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9195
9196 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9197 0, not just to plain "0" as a statement.
9198 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9199 with cw.
9200
9201 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9202
9203 * NEWS: Use sourceware.org in Bugzilla URL.
9204
9205 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9206
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9208 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9209
9210 * stdio-common/tst-put-error.c (do_test): Add newline to the
9211 padded test to ensure flush.
9212
9213 2012-12-05 Jeff Law <law@redhat.com>
9214
9215 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9216
9217 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9218
9219 * README: Don't refer to ports add-on as distributed separately.
9220 Mention AArch64 in list of systems supported in the ports add-on.
9221
9222 * LICENSES: Add more non-FSF copyright and license notices.
9223
9224 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9225 ((unused)).
9226
9227 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9228
9229 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9230 10000 as width of padded output.
9231
9232 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9233
9234 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9235
9236 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9237 variable LX with __attribute__ ((unused)).
9238 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9239 Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9243 with __attribute__ ((unused)).
9244
9245 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9246
9247 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9248
9249 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9250
9251 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9252 (CFLAGS-nldbl-acos.c): New variable.
9253 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9258 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9259 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9261 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9262 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9263 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9264 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9265 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9266 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9267 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9268 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9269 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9270 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9271 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9272 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9273 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9274 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9275 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9276 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9277 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9278 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9279 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9280 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9281 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9282 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9283 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9284 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9285 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9286 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9287 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9288 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9289 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9290 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9291 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9292 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9293 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9294 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9295 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9296 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9297 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9298 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9299 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9300 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9301 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9302 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9303 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9304 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9305 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9306 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9307 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9308 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9309 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9310 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9311 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9312 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9313 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9314 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9315 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9316 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9317 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9318 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9319 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9320 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9321 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9322 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9323 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9324 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9325 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9326 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9327 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9328 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9329 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9330 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9331 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9332 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9333 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9334 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9335 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9336 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9337 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9338 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9339 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9340 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9341 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9342 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9343 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9344 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9345 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9346 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9347 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9348 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9349 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9350
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9352 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9353
9354 [BZ #14914]
9355 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9356 whole low double instead of just low 47 bits when splitting values
9357 into two parts.
9358
9359 2012-12-03 Allan McRae <allan@archlinux.org>
9360
9361 * manual/stdio.texi (Predefined Printf Handlers): Remove
9362 @hsep and @vsep usage.
9363
9364 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9365
9366 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9367 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9368
9369 2012-12-03 Jeff Law <law@redhat.com>
9370
9371 * time/sys/time.h (settimeofday): Do not mark TV argument
9372 as __nonnull.
9373
9374 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9375
9376 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9377 when currently writing and seek to current position when not.
9378 * libio/Makefile (tests): Remove bug-fclose1.
9379 * libio/bug-fclose1.c: Delete.
9380
9381 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9382
9383 * manual/arith.texi (feenableexcept): Fix typo.
9384 (fedisableexcept): Likewise.
9385
9386 2012-11-30 Roland McGrath <roland@hack.frob.com>
9387
9388 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9389 second, differently-typed declaration, rather than a cast.
9390
9391 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9392
9393 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9394 * include/rpc/svc.h: ... here.
9395
9396 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9397
9398 [BZ #13013]
9399 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9400 depending n and resplen2 to catch cases where answer
9401 equals answerp2.
9402
9403 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9404
9405 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9406 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9407
9408 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9409
9410 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9411
9412 2012-11-29 Roland McGrath <roland@hack.frob.com>
9413
9414 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9415
9416 2012-11-28 Jeff Law <law@redhat.com>
9417
9418 [BZ #13761]
9419 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9420 dataset_temporary. Track alloca usage into alloca_used.
9421 If dataset is large allocate and release it via malloc/free.
9422
9423 2012-06-04 Florian Weimer <fweimer@redhat.com>
9424
9425 [BZ #14197]
9426 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9427
9428 2012-11-28 David S. Miller <davem@davemloft.net>
9429
9430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9431
9432 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9433
9434 [BZ #14803]
9435 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9436 of pi/2 rounded to nearest to 64 bits.
9437 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9438 nearest to 64 bits.
9439 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9440 bits.
9441
9442 2012-11-28 Jeff Law <law@redhat.com>
9443 Martin Osvald <mosvald@redhat.com>
9444
9445 [BZ #14889]
9446 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9447 * sunrpc/svc.c: Include time.h.
9448 (__svc_accept_failed): New function.
9449 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9450 any reason other than EINTR, call __svc_accept_failed.
9451 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9452 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9453
9454 2012-11-28 Andreas Schwab <schwab@suse.de>
9455
9456 * scripts/abilist.awk: Also handle indirect functions in .opd
9457 section.
9458
9459 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9460
9461 [BZ #13881]
9462 * sysdeps/x86/fpu/powl_helper.c: New file.
9463 * sysdeps/x86/fpu/Makefile: Likewise.
9464 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9465 (p3): New object.
9466 (__ieee754_powl): Use __powl_helper for finite arguments except
9467 integer exponents below 8.
9468 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9469 (p3): New object.
9470 (__ieee754_powl): Use __powl_helper for finite arguments except
9471 integer exponents below 8.
9472 * math/libm-test.inc (pow_test): Add more tests and enable some
9473 previously disabled tests.
9474 * sysdeps/i386/fpu/libm-test-ulps: Update.
9475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9476
9477 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9478 Carlos O'Donell <carlos_odonell@mentor.com>
9479
9480 * nss/makedb.c (is_prime): Assert that input is odd and greater
9481 than 4. Note that fact in a comment too.
9482 (next_prime): Add 4 to input.
9483
9484 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9485
9486 [BZ #11741]
9487 * libio/Makefile (tests): Add test case tst-fwrite-error.
9488 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9489 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9490 * libio/tst-fwrite-error.c: New test case.
9491
9492 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9493
9494 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9495 before casting to void *.
9496 * include/libc-internal.h (__pointer_type): New macro.
9497 (__integer_if_pointer_type_sub): Likewise.
9498 (__integer_if_pointer_type): Likewise.
9499 (cast_to_integer): Likewise.
9500 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9501 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9502 before casting to atomic64_t.
9503 (atomic_exchange_acq): Likewise.
9504 (__arch_exchange_and_add_body): Likewise.
9505 (__arch_add_body): Likewise.
9506 (atomic_add_negative): Likewise.
9507 (atomic_add_zero): Likewise.
9508
9509 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9510
9511 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9512 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9513 (add_fdes): Likewise.
9514 (linear_search_fdes): Likewise.
9515 (binary_search_unencoded_fdes): Likewise.
9516
9517 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9518
9519 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9520
9521 2012-11-24 Adam Conrad <adconrad@0c3.net>
9522
9523 * configure.in: Autodetect C++ header directories.
9524 * configure: Regenerated.
9525
9526 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9527
9528 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9529
9530 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9531
9532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9533
9534 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9535
9536 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9537 LDBL_MANT_DIG == 106]: Disable some tests.
9538 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9539 Likewise.
9540 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9541 Likewise.
9542
9543 [BZ #14871]
9544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9545 input for small inputs. Return +/- pi/2 for large inputs.
9546 * math/libm-test.inc (atan_test): Add more tests.
9547
9548 * sysdeps/generic/unwind-dw2-fde-glibc.c
9549 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9550 __attribute__ ((unused)).
9551
9552 [BZ #14645]
9553 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9554 x * y if x and y are nonzero and z is zero.
9555
9556 [BZ #14811]
9557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9558 nonzero exponents with absolute value below 0x1p-117 to +/-
9559 0x1p-117.
9560
9561 [BZ #14869]
9562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9563 up arguments below 2**-450, not just those below 2**-500.
9564 * math/libm-test.inc (hypot_test): Add another test.
9565
9566 [BZ #14868]
9567 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9568 Return a+b for ratio over 2**120, not 2**60.
9569 * math/libm-test.inc (hypot_test): Add another test.
9570
9571 * math/libm-test.inc (clog_test): Use
9572 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9573 (clog10_test): Likewise.
9574
9575 [BZ #6778]
9576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9577
9578 2012-11-22 Andreas Schwab <schwab@suse.de>
9579
9580 * sysdeps/i386/fpu/libm-test-ulps: Update.
9581
9582 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9583
9584 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9585 printf output with newline.
9586
9587 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9588
9589 [BZ #14865]
9590 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9591 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9592 -z nodlopen, -z initfirst and -z execstack support.
9593 * configure: Regenerated.
9594
9595 * elf/elf.h (DF_1_NODIRECT): New macro.
9596 (DF_1_IGNMULDEF): Likewise.
9597 (DF_1_NOKSYMS): Likewise.
9598 (DF_1_NOHDR): Likewise.
9599 (DF_1_EDITED): Likewise.
9600 (DF_1_NORELOC): Likewise.
9601 (DF_1_SYMINTPOSE): Likewise.
9602 (DF_1_GLOBAUDIT): Likewise.
9603 (DF_1_SINGLETON): Likewise.
9604 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9605 DT_1_SUPPORTED_MASK bits.
9606 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9607
9608 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9609
9610 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9611
9612 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9613
9614 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9615 macro.
9616
9617 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9618 (sendmmsg): Move declarations...
9619 * socket/sys/socket.h: ... here.
9620 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9621 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9622 include it from...
9623 * socket/recvmmsg.c: ... this new file.
9624 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9625 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9626 definition of __sendmmsg hidden.
9627 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9628 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9629 Move ENOSYS stub into and include it from...
9630 * socket/sendmmsg.c: ... this new file.
9631 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9632 (sysdep_routines): Move recvmmsg and sendmmsg...
9633 * socket/Makefile (routines): ... here.
9634 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9635 (GLIBC_PRIVATE): Add __sendmmsg.
9636 * include/sys/socket.h (__sendmmsg): Add declarations.
9637 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9638 sendmmsg.
9639
9640 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9641
9642 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9643 variable I1 with __attribute__ ((unused)).
9644 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9645
9646 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9647
9648 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9649 DUMMY variables with __attribute__ ((unused)).
9650
9651 * bits/byteswap.h: Include <bits/types.h>.
9652 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9653
9654 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9655
9656 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9657 string_t. Do not manually set errno.
9658 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9659 length with __strnlen. Make sure to both set errno and return it on
9660 failure.
9661
9662 2012-11-19 David S. Miller <davem@davemloft.net>
9663
9664 With help from Joseph Myers.
9665 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9666 very large arguments properly.
9667 * math/libm-test.inc (atan_test): New tests.
9668 (atan2_test): New tests.
9669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9671
9672 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9673
9674 [BZ #14856]
9675 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9676 Define to 3.
9677
9678 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9679 [POSIX] (EADDRNOTAVAIL): Likewise.
9680 [POSIX] (EAFNOSUPPORT): Likewise.
9681 [POSIX] (EALREADY): Likewise.
9682 [POSIX] (ECONNABORTED): Likewise.
9683 [POSIX] (ECONNREFUSED): Likewise.
9684 [POSIX] (ECONNRESET): Likewise.
9685 [POSIX] (EDESTADDRREQ): Likewise.
9686 [POSIX] (EDQUOT): Likewise.
9687 [POSIX] (EHOSTUNREACH): Likewise.
9688 [POSIX] (EIDRM): Likewise.
9689 [POSIX] (EISCONN): Likewise.
9690 [POSIX] (ELOOP): Likewise.
9691 [POSIX] (EMULTIHOP): Likewise.
9692 [POSIX] (ENETDOWN): Likewise.
9693 [POSIX] (ENETUNREACH): Likewise.
9694 [POSIX] (ENOBUFS): Likewise.
9695 [POSIX] (ENODATA): Likewise.
9696 [POSIX] (ENOLINK): Likewise.
9697 [POSIX] (ENOMSG): Likewise.
9698 [POSIX] (ENOPROTOOPT): Likewise.
9699 [POSIX] (ENOSR): Likewise.
9700 [POSIX] (ENOSTR): Likewise.
9701 [POSIX] (ENOTCONN): Likewise.
9702 [POSIX] (ENOTSOCK): Likewise.
9703 [POSIX] (EOPNOTSUPP): Likewise.
9704 [POSIX] (EOVERFLOW): Likewise.
9705 [POSIX] (EPROTO): Likewise.
9706 [POSIX] (EPROTONOSUPPORT): Likewise.
9707 [POSIX] (EPROTOTYPE): Likewise.
9708 [POSIX] (ESTALE): Likewise.
9709 [POSIX] (ETIME): Likewise.
9710 [POSIX] (ETXTBSY): Likewise.
9711 [POSIX] (EWOULDBLOCK): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9713 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9714 [POSIX] (SEEK_CUR): Likewise.
9715 [POSIX] (SEEK_END): Likewise.
9716 [POSIX || UNIX98] (mode_t): Do not require.
9717 [POSIX] (off_t): Likewise.
9718 [POSIX] (pid_t): Likewise.
9719 [POSIX] (sys/stat.h): Do not allow header.
9720 [POSIX] (unistd.h): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9722 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9724 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9725 require.
9726 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9727 sigevent): Specify elements.
9728 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9729 entry.
9730 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9731 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9732
9733 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9734 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9735 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9736 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9737 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9738 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9739 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9740 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9742 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9743 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9744 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9745 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9746 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9747 Likewise.
9748 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9749 Likewise.
9750 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9751 Likewise.
9752 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9753 Likewise.
9754 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9755 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9756 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9757 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9758 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9759 Specify lower bound on value.
9760 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9761 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9762 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9763 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9764 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9765 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9766 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9767 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9768 value.
9769 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9770 as optional.
9771 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9772 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9773 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9774 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9775 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9776 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9777 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9778 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9779 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9780 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9781 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9782 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9783 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9784 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9785 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9786 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9787 entry.
9788 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9789 optional.
9790 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9791 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9792 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9793 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9794 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9795 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9796 Likewise.
9797 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9798 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9799 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9800 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9801 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9802 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9803 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9804 as optional.
9805 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9806 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9807 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9808 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9809 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9810 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9811 specify as optional.
9812 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9813 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9814 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9815 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9816 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9817 [XPG3] (NL_LANGMAX): Likewise.
9818 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9819 [POSIX || XPG3] (NL_NMAX): Likewise.
9820 [POSIX || XPG3] (NL_SETMAX): Likewise.
9821 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9822 [XPG3] (NZERO): Likewise.
9823 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9824 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9825 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9826 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9827 (REG_ERANGE): Expect.
9828 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9829 optional-constant.
9830 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9831 Use (void) in prototype.
9832 [POSIX] (*_t): Allow.
9833 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9834 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9835 (WRDE_BADVAL): Expect.
9836
9837 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9838 expect.
9839 [XPG3 || XPG4] (O_RSYNC): Likewise.
9840 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9841 Likewise.
9842 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9843 [XPG3 || XPG4] (sigqueue): Likewise.
9844 [XPG3 || XPG4] (sigtimedwait): Likewise.
9845 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9846 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9847 [XPG3 || XPG4] (vsnprintf): Likewise.
9848 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9849 Likewise.
9850 [XPG3 || XPG4] (blksize_t): Likewise.
9851 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9852 Likewise.
9853 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9854 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9855 [XPG3 || XPG4] (struct itimerspec): Likewise.
9856 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9857 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9858 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9859 [XPG3 || XPG4] (clockid_t): Likewise.
9860 [XPG3 || XPG4] (timer_t): Likewise.
9861 [XPG3 || XPG4] (clock_getres): Likewise.
9862 [XPG3 || XPG4] (clock_gettime): Likewise.
9863 [XPG3 || XPG4] (clock_settime): Likewise.
9864 [XPG3 || XPG4] (nanosleep): Likewise.
9865 [XPG3 || XPG4] (timer_create): Likewise.
9866 [XPG3 || XPG4] (timer_delete): Likewise.
9867 [XPG3 || XPG4] (timer_gettime): Likewise.
9868 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9869 [XPG3 || XPG4] (timer_settime): Likewise.
9870 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9871 [XPG3 || XPG4] (getlogin_r): Likewise.
9872 [XPG3 || XPG4] (pread): Likewise.
9873 [XPG3 || XPG4] (pthread_atfork): Likewise.
9874 [XPG3 || XPG4] (pwrite): Likewise.
9875
9876 [BZ #14835]
9877 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9878 <bits/siginfo.h>.
9879
9880 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9881
9882 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9883 finalizing MALLSTREAM.
9884
9885 * sysdeps/mach/hurd/syncfs.c: New file.
9886
9887 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9888
9889 [BZ #14719]
9890 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9891 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9892 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9893 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9894 (_nss_dns_gethostbyname4_r): Likewise.
9895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9896 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9897
9898 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9899
9900 [BZ #13763]
9901 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9902
9903 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9904
9905 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9906 * elf/cache.c (print_entry): Print ",AArch64" for
9907 FLAG_AARCH64_LIB64
9908
9909 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9910 * elf/cache.c (print_entry): Print ",hard-float" for
9911 FLAG_ARM_LIBHF.
9912
9913 2012-11-18 David S. Miller <davem@davemloft.net>
9914
9915 With help from Joseph Myers.
9916 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9917 cutoff to 2**-13.
9918 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9919 cutoff to 2**-25.
9920 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9921 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9922 small.
9923 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9924 * math/libm-test.inc (y0_test): New tests.
9925 (y1_test): New tests.
9926 * sysdeps/i386/fpu/libm-test-ulps: Update.
9927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9929
9930 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9931
9932 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9933 64-bit targets.
9934 * configure: Regenerated.
9935
9936 2012-11-17 David S. Miller <davem@davemloft.net>
9937
9938 [BZ #14811]
9939 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9940 nonzero exponents with absolute value below 0x1p-128 to +/-
9941 0x1p-128.
9942
9943 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9944
9945 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9946
9947 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9948
9949 * posix/getconf-speclist.c: New file.
9950 * posix/posix-envs.def: Likewise.
9951 * posix/confstr.c (START_ENV_GROUP): New macro.
9952 (END_ENV_GROUP): Likewise.
9953 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9954 (KNOWN_PRESENT_ENV_STRING): Likewise.
9955 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9956 (UNKNOWN_ENVIRONMENT): Likewise.
9957 (confstr): Include posix-envs.def instead of handling
9958 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9959 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9960 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9961 (END_ENV_GROUP): Likewise.
9962 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9963 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9964 (UNKNOWN_ENVIRONMENT): Likewise.
9965 (__sysconf): Include posix-envs.def instead of handling associated
9966 cases directly here.
9967 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9968 preprocessing getconf-speclist.c rather than running getconf or
9969 generating empty file.
9970
9971 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9972
9973 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9974
9975 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9976
9977 [BZ #14672]
9978 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9979
9980 2012-11-16 David S. Miller <davem@davemloft.net>
9981
9982 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9983 smaller than LDBL_EPSILON/2.0L, just return xm1.
9984
9985 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 * elf/tst-array1.c (init): Set constructor priority to 1000.
9988 (fini): Set destructor priority to 1000.
9989 * elf/tst-array2dep.c: Likewise.
9990
9991 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9992
9993 [BZ #11741]
9994 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9995 (_IO_new_file_xsputn): Also return EOF if none of the input
9996 data was written when overflow failed.
9997 * libio/iopadn.c (_IO_padn): Likewise.
9998 * libio/iowpadn.c (_IO_wpadn): Likewise.
9999 * stdio-common/tst-put-error.c: Add copyright notice.
10000 (do_test): Add case for printing padded string.
10001 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10002 _IO_padn returned error.
10003 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10004 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10005 return EOF.
10006
10007 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10008
10009 * libio/libioP.h: Add comment note that the references to C++
10010 bits are now obsolete.
10011
10012 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10013
10014 * math/libm-test.inc (check_complex): Use asprintf.
10015
10016 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10017
10018 * debug/pcprofiledump.c (print_version): Update copyright year.
10019 * malloc/memusagestat.c (print_version): Likewise.
10020
10021 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10022
10023 [BZ #14831]
10024 * elf/Makefile (tests): Add tst-audit8.
10025 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10026 ($(objpfx)tst-audit8.out): New target.
10027 (tst-audit8-ENV): New variable.
10028 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10029 audit if l_reloc_result is NULL.
10030 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10031 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10032 * elf/tst-audit8.c: New file.
10033
10034 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10035
10036 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10037 * misc/Makefile (CFLAGS-select.c): Define.
10038 * posix/Makefile (CFLAGS-pause.c): Define.
10039
10040 2012-11-13 David S. Miller <davem@davemloft.net>
10041
10042 * crypt/Makefile: Move test targets after toplevel Rules
10043 inclusion. Grab any necessary sysdep routines when linking.
10044 * crypt/md5.c (md5_process_block): Remove define, we will always
10045 name it __md5_process_block.
10046 (md5_finish_ctx): Update md5_process_block call.
10047 (md5_stream): Likewise.
10048 (md5_process_bytes): Likewise.
10049 (md5_process_block): Rename to __md5_process_block and move to ...
10050 * crypt/md5-block.c: ... here.
10051 * crypt/sha256.c (sha256_process_block): Move to ...
10052 * crypt/sha256-block.c: ... here.
10053 * crypt/sha512.c (sha512_process_block): Move to ...
10054 * crypt/sha512-block.c: ... here.
10055 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10056 path.
10057 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10058 * sysdeps/sparc/sparc64/multiarch/Makefile
10059 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10060 crypt subdir.
10061 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10062 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10063 multiarch changes.
10064 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10065 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10066 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10067 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10068 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10069 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10070 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10071 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10072 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10073 file.
10074 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10075 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10076 file.
10077 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10078
10079 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10080
10081 * timezone/tzselect.ksh: Update from tzcode git revision
10082 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10083 * timezone/zdump.c: Likewise.
10084 * timezone/zic.c: Likewise.
10085 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10086 in TZVERSION setting, not $(PKGVERSION).
10087 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10088 REPORT_BUGS_TO settings.
10089
10090 [BZ #14838]
10091 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10092 macro.
10093
10094 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10095
10096 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10097 detection to immediately after _FP_ROUND().
10098 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10099 bits are 0.
10100
10101 2012-11-11 David S. Miller <davem@davemloft.net>
10102
10103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10104 inttypes.h
10105 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10106 __close rather than their public counterparts.
10107
10108 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10109
10110 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10111 file.
10112 [UNIX98] (sem_timedwait): Do not expect.
10113 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10114 [XPG4 || UNIX98] (sockatmark): Do not expect.
10115 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10116 (clock_getcpuclockid): Do not expect.
10117 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10118 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10119 Do not expect.
10120 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10121 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10122 [UNIX98] (vwscanf): Likewise.
10123 [UNIX98] (vswscanf): Likewise.
10124
10125 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10126
10127 * timezone/version.h: Remove file.
10128 * timezone/README: Do not refer to version.h.
10129 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10130 $(objpfx)version.h.
10131 ($(objpfx)zdump.o): Likewise.
10132 ($(objpfx)version.h): New target.
10133
10134 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10135 2012i.
10136 * timezone/README: Don't mention modification to tzselect.ksh.
10137 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10138 work on unmodified tzselect.ksh. Substitute version numbers in
10139 tzselect.ksh.
10140
10141 * Makefile (format-me): Remove.
10142 (INSTALL): Adjust indentation. Use commands directly instead of
10143 using $(format-me).
10144
10145 * aclocal.m4 (ACX_PKGVERSION): New macro.
10146 (ACX_BUGURL): Likewise.
10147 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10148 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10149 (REPORT_BUGS_TO): Likewise.
10150 * configure: Regenerated.
10151 * config.h.in (PKGVERSION): New macro.
10152 (REPORT_BUGS_TO): Likewise.
10153 * config.make.in (PKGVERSION): New variable.
10154 (PKGVERSION_TEXI): Likewise.
10155 (REPORT_BUGS_TO): Likewise.
10156 (REPORT_BUGS_TEXI): Likewise.
10157 * Makefile (format-me): Use -I$(common-objpfx)manual.
10158 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10159 ($(common-objpfx)manual/%): New target.
10160 (manual/%): Remove target.
10161 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10162 (print_version): Use PKGVERSION.
10163 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10164 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10165 and REPORT_BUGS_TO.
10166 ($(objpfx)xtrace): Likewise.
10167 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10168 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10169 (print_version): Use PKGVERSION.
10170 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10171 (do_version): Use PKGVERSION.
10172 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10173 REPORT_BUGS_TO.
10174 (common-ldd-rewrite): Likewise.
10175 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10176 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10177 (print_version): Use PKGVERSION.
10178 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10179 * elf/pldd.c (argp_program_bug_address): Remove variable.
10180 (more_help): New function.
10181 (argp): Use more_help.
10182 (print_version): Use PKGVERSION.
10183 * elf/sln.c (main): Use PKGVERSION.
10184 (usage): Use REPORT_BUGS_TO.
10185 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10186 (top level): Use PKGVERSION.
10187 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10188 (print_version): Use PKGVERSION.
10189 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10190 (print_version): Use PKGVERSION.
10191 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10192 (print_version): Use PKGVERSION.
10193 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10194 (print_version): Use PKGVERSION.
10195 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10196 (print_version): Use PKGVERSION.
10197 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10198 (print_version): Use PKGVERSION.
10199 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10200 and BUGURL.
10201 ($(objpfx)memusage): Likewise.
10202 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10203 (do_version): Use PKGVERSION.
10204 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10205 (print_version): Use PKGVERSION.
10206 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10207 ($PKGVERSION): New variable.
10208 ($REPORT_BUGS_TO): Likewise.
10209 (usage): Use $REPORT_BUGS_TO.
10210 (top level): Use $PKGVERSION.
10211 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10212 ($(objpfx)pkgvers.texi): New rule.
10213 ($(objpfx)stamp-pkgvers): Likewise.
10214 * manual/install.texi: Include pkgvers.texi.
10215 (--with-pkgversion): Document new configure option.
10216 (--with-bugurl): Likewise.
10217 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10218 than necessarily for this particular distribution. Use
10219 REPORT_BUGS_TO for where to report bugs.
10220 * INSTALL: Regenerated.
10221 * manual/libc.texinfo: Include pkgvers.texi.
10222 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10223 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10224 (print_version): Use PKGVERSION.
10225 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10226 (print_version): Use PKGVERSION.
10227 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10228 (print_version): Use PKGVERSION.
10229 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10230 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10231 macro.
10232 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10233 (print_version): Use PKGVERSION.
10234 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10235 (print_version): Use PKGVERSION.
10236 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10237 and PKGVERSION.
10238
10239 * timezone/checktab.awk: Update from tzcode 2012i.
10240 * timezone/ialloc.c: Likewise.
10241 * timezone/private.h: Likewise.
10242 * timezone/scheck.c: Likewise.
10243 * timezone/tzfile.h: Likewise.
10244 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10245 (TZVERSION): Hardcode tzcode version number.
10246 * timezone/zdump.c: Update from tzcode 2012i.
10247 * timezone/zic.c: Likewise.
10248 * timezone/version.h: New file.
10249 * timezone/README: Describe version.h. Update upstream location.
10250
10251 [BZ #14824]
10252 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10253 (mktemp): Enable declaration.
10254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10255 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10256 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10257 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10258 Likewise.
10259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10260 Likewise.
10261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10262 Likewise.
10263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10264 Likewise.
10265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10266 Likewise.
10267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10268 Likewise.
10269
10270 [BZ #14821]
10271 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10272 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10273 for copies of such integer values.
10274 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10275 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10276
10277 2012-11-09 Andreas Jaeger <aj@suse.de>
10278
10279 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10280 definitions and declarations that are provided by
10281 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10282
10283 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10284
10285 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10286 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10287 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10288 definition.
10289
10290 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10291
10292 * elf/elf.h: Update comment before AArch64 relocations.
10293
10294 2012-11-07 David S. Miller <davem@davemloft.net>
10295
10296 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10297 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10298 (__start_context): Declare.
10299 (__makecontext_ret): Delete.
10300 (__makecontext): Hook up __start_context instead of
10301 __makecontext_ret.
10302 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10303 (sysdep_routines): Add __start_context when in stdlib.
10304
10305 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10306
10307 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10308 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10309 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10310 hardcoded "nm".
10311 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10312 (READELF): New variable. Use it instead of hardcoded "readelf".
10313
10314 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10317 * sysdeps/x86/Makefile: Here.
10318 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10319 * sysdeps/x86/tst-xmmymm.sh: This.
10320
10321 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10322
10323 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10324 expectations.
10325 [UNIX98] (pthread_barrier_t): Do not expect.
10326 [UNIX98] (pthread_barrierattr_t): Likewise.
10327 [UNIX98] (pthread_spinlock_t): Likewise.
10328 [UNIX98] (pthread_barrier_destroy): Likewise.
10329 [UNIX98] (pthread_barrier_init): Likewise.
10330 [UNIX98] (pthread_barrier_wait): Likewise.
10331 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10332 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10333 [UNIX98] (pthread_barrierattr_init): Likewise.
10334 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10335 [UNIX98] (pthread_getcpuclockid): Likewise.
10336 [UNIX98] (pthread_mutex_timedlock): Likewise.
10337 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10338 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10339 [UNIX98] (pthread_sigmask): Likewise.
10340 [UNIX98] (pthread_spin_destroy): Likewise.
10341 [UNIX98] (pthread_spin_init): Likewise.
10342 [UNIX98] (pthread_spin_lock): Likewise.
10343 [UNIX98] (pthread_spin_trylock): Likewise.
10344 [UNIX98] (pthread_spin_unlock): Likewise.
10345 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10346 Do not expect.
10347 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10349 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10350 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10351 [XPG3 || XPG4] (pthread_key_t): Likewise.
10352 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10353 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10354 [XPG3 || XPG4] (pthread_once_t): Likewise.
10355 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10356 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10358 [XPG3 || XPG4] (pthread_t): Likewise.
10359
10360 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10361 not expect.
10362 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10363
10364 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10365 Change function return type to int.
10366
10367 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10368 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10369 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10370 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10371 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10372 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10373 [!POSIX] (posix_madvise): Likewise.
10374 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10375 && !UNIX98].
10376 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10377 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10378 (mode_t): Likewise.
10379 (posix_mem_offset): Likewise.
10380 (posix_typed_mem_get_info): Likewise.
10381 (posix_typed_mem_open): Likewise.
10382
10383 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10384 Change condition to [XOPEN2K8].
10385
10386 * conform/conformtest.pl: Preprocess allow-header data with -x c
10387 instead of from stdin.
10388 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10389 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10390 [C99-based standards] (cerfc): Likewise.
10391 [C99-based standards] (cexp2): Likewise.
10392 [C99-based standards] (cexpm1): Likewise.
10393 [C99-based standards] (clog10): Likewise.
10394 [C99-based standards] (clog1p): Likewise.
10395 [C99-based standards] (clog2): Likewise.
10396 [C99-based standards] (clgamma): Likewise.
10397 [C99-based standards] (ctgamma): Likewise.
10398 [C99-based standards] (cerff): Likewise.
10399 [C99-based standards] (cerfcf): Likewise.
10400 [C99-based standards] (cexp2f): Likewise.
10401 [C99-based standards] (cexpm1f): Likewise.
10402 [C99-based standards] (clog10f): Likewise.
10403 [C99-based standards] (clog1pf): Likewise.
10404 [C99-based standards] (clog2f): Likewise.
10405 [C99-based standards] (clgammaf): Likewise.
10406 [C99-based standards] (ctgammaf): Likewise.
10407 [C99-based standards] (cerfl): Likewise.
10408 [C99-based standards] (cerfcl): Likewise.
10409 [C99-based standards] (cexp2l): Likewise.
10410 [C99-based standards] (cexpm1l): Likewise.
10411 [C99-based standards] (clog10l): Likewise.
10412 [C99-based standards] (clog1pl): Likewise.
10413 [C99-based standards] (clog2l): Likewise.
10414 [C99-based standards] (clgammal): Likewise.
10415 [C99-based standards] (ctgammal): Likewise.
10416 * conform/data/inttypes.h-data [C99-based standards]: Include
10417 stdint.h-data. Remove all expectations for stdint.h contents.
10418 [C99-based standards] (PRI*): Do not allow.
10419 [C99-based standards] (SCN*): Likewise.
10420 [C99-based standards] (*_t): Likewise.
10421 [C99-based-standards] (PRId8): Expect macro.
10422 [C99-based-standards] (PRIi8): Likewise.
10423 [C99-based-standards] (PRIo8): Likewise.
10424 [C99-based-standards] (PRIu8): Likewise.
10425 [C99-based-standards] (PRIx8): Likewise.
10426 [C99-based-standards] (PRIX8): Likewise.
10427 [C99-based-standards] (SCNd8): Likewise.
10428 [C99-based-standards] (SCNi8): Likewise.
10429 [C99-based-standards] (SCNo8): Likewise.
10430 [C99-based-standards] (SCNu8): Likewise.
10431 [C99-based-standards] (SCNx8): Likewise.
10432 [C99-based-standards] (PRIdLEAST8): Likewise.
10433 [C99-based-standards] (PRIiLEAST8): Likewise.
10434 [C99-based-standards] (PRIoLEAST8): Likewise.
10435 [C99-based-standards] (PRIuLEAST8): Likewise.
10436 [C99-based-standards] (PRIxLEAST8): Likewise.
10437 [C99-based-standards] (PRIXLEAST8): Likewise.
10438 [C99-based-standards] (SCNdLEAST8): Likewise.
10439 [C99-based-standards] (SCNiLEAST8): Likewise.
10440 [C99-based-standards] (SCNoLEAST8): Likewise.
10441 [C99-based-standards] (SCNuLEAST8): Likewise.
10442 [C99-based-standards] (SCNxLEAST8): Likewise.
10443 [C99-based-standards] (PRIdFAST8): Likewise.
10444 [C99-based-standards] (PRIiFAST8): Likewise.
10445 [C99-based-standards] (PRIoFAST8): Likewise.
10446 [C99-based-standards] (PRIuFAST8): Likewise.
10447 [C99-based-standards] (PRIxFAST8): Likewise.
10448 [C99-based-standards] (PRIXFAST8): Likewise.
10449 [C99-based-standards] (SCNdFAST8): Likewise.
10450 [C99-based-standards] (SCNiFAST8): Likewise.
10451 [C99-based-standards] (SCNoFAST8): Likewise.
10452 [C99-based-standards] (SCNuFAST8): Likewise.
10453 [C99-based-standards] (SCNxFAST8): Likewise.
10454 [C99-based-standards] (PRId16): Likewise.
10455 [C99-based-standards] (PRIi16): Likewise.
10456 [C99-based-standards] (PRIo16): Likewise.
10457 [C99-based-standards] (PRIu16): Likewise.
10458 [C99-based-standards] (PRIx16): Likewise.
10459 [C99-based-standards] (PRIX16): Likewise.
10460 [C99-based-standards] (SCNd16): Likewise.
10461 [C99-based-standards] (SCNi16): Likewise.
10462 [C99-based-standards] (SCNo16): Likewise.
10463 [C99-based-standards] (SCNu16): Likewise.
10464 [C99-based-standards] (SCNx16): Likewise.
10465 [C99-based-standards] (PRIdLEAST16): Likewise.
10466 [C99-based-standards] (PRIiLEAST16): Likewise.
10467 [C99-based-standards] (PRIoLEAST16): Likewise.
10468 [C99-based-standards] (PRIuLEAST16): Likewise.
10469 [C99-based-standards] (PRIxLEAST16): Likewise.
10470 [C99-based-standards] (PRIXLEAST16): Likewise.
10471 [C99-based-standards] (SCNdLEAST16): Likewise.
10472 [C99-based-standards] (SCNiLEAST16): Likewise.
10473 [C99-based-standards] (SCNoLEAST16): Likewise.
10474 [C99-based-standards] (SCNuLEAST16): Likewise.
10475 [C99-based-standards] (SCNxLEAST16): Likewise.
10476 [C99-based-standards] (PRIdFAST16): Likewise.
10477 [C99-based-standards] (PRIiFAST16): Likewise.
10478 [C99-based-standards] (PRIoFAST16): Likewise.
10479 [C99-based-standards] (PRIuFAST16): Likewise.
10480 [C99-based-standards] (PRIxFAST16): Likewise.
10481 [C99-based-standards] (PRIXFAST16): Likewise.
10482 [C99-based-standards] (SCNdFAST16): Likewise.
10483 [C99-based-standards] (SCNiFAST16): Likewise.
10484 [C99-based-standards] (SCNoFAST16): Likewise.
10485 [C99-based-standards] (SCNuFAST16): Likewise.
10486 [C99-based-standards] (SCNxFAST16): Likewise.
10487 [C99-based-standards] (PRId32): Likewise.
10488 [C99-based-standards] (PRIi32): Likewise.
10489 [C99-based-standards] (PRIo32): Likewise.
10490 [C99-based-standards] (PRIu32): Likewise.
10491 [C99-based-standards] (PRIx32): Likewise.
10492 [C99-based-standards] (PRIX32): Likewise.
10493 [C99-based-standards] (SCNd32): Likewise.
10494 [C99-based-standards] (SCNi32): Likewise.
10495 [C99-based-standards] (SCNo32): Likewise.
10496 [C99-based-standards] (SCNu32): Likewise.
10497 [C99-based-standards] (SCNx32): Likewise.
10498 [C99-based-standards] (PRIdLEAST32): Likewise.
10499 [C99-based-standards] (PRIiLEAST32): Likewise.
10500 [C99-based-standards] (PRIoLEAST32): Likewise.
10501 [C99-based-standards] (PRIuLEAST32): Likewise.
10502 [C99-based-standards] (PRIxLEAST32): Likewise.
10503 [C99-based-standards] (PRIXLEAST32): Likewise.
10504 [C99-based-standards] (SCNdLEAST32): Likewise.
10505 [C99-based-standards] (SCNiLEAST32): Likewise.
10506 [C99-based-standards] (SCNoLEAST32): Likewise.
10507 [C99-based-standards] (SCNuLEAST32): Likewise.
10508 [C99-based-standards] (SCNxLEAST32): Likewise.
10509 [C99-based-standards] (PRIdFAST32): Likewise.
10510 [C99-based-standards] (PRIiFAST32): Likewise.
10511 [C99-based-standards] (PRIoFAST32): Likewise.
10512 [C99-based-standards] (PRIuFAST32): Likewise.
10513 [C99-based-standards] (PRIxFAST32): Likewise.
10514 [C99-based-standards] (PRIXFAST32): Likewise.
10515 [C99-based-standards] (SCNdFAST32): Likewise.
10516 [C99-based-standards] (SCNiFAST32): Likewise.
10517 [C99-based-standards] (SCNoFAST32): Likewise.
10518 [C99-based-standards] (SCNuFAST32): Likewise.
10519 [C99-based-standards] (SCNxFAST32): Likewise.
10520 [C99-based-standards] (PRId64): Likewise.
10521 [C99-based-standards] (PRIi64): Likewise.
10522 [C99-based-standards] (PRIo64): Likewise.
10523 [C99-based-standards] (PRIu64): Likewise.
10524 [C99-based-standards] (PRIx64): Likewise.
10525 [C99-based-standards] (PRIX64): Likewise.
10526 [C99-based-standards] (SCNd64): Likewise.
10527 [C99-based-standards] (SCNi64): Likewise.
10528 [C99-based-standards] (SCNo64): Likewise.
10529 [C99-based-standards] (SCNu64): Likewise.
10530 [C99-based-standards] (SCNx64): Likewise.
10531 [C99-based-standards] (PRIdLEAST64): Likewise.
10532 [C99-based-standards] (PRIiLEAST64): Likewise.
10533 [C99-based-standards] (PRIoLEAST64): Likewise.
10534 [C99-based-standards] (PRIuLEAST64): Likewise.
10535 [C99-based-standards] (PRIxLEAST64): Likewise.
10536 [C99-based-standards] (PRIXLEAST64): Likewise.
10537 [C99-based-standards] (SCNdLEAST64): Likewise.
10538 [C99-based-standards] (SCNiLEAST64): Likewise.
10539 [C99-based-standards] (SCNoLEAST64): Likewise.
10540 [C99-based-standards] (SCNuLEAST64): Likewise.
10541 [C99-based-standards] (SCNxLEAST64): Likewise.
10542 [C99-based-standards] (PRIdFAST64): Likewise.
10543 [C99-based-standards] (PRIiFAST64): Likewise.
10544 [C99-based-standards] (PRIoFAST64): Likewise.
10545 [C99-based-standards] (PRIuFAST64): Likewise.
10546 [C99-based-standards] (PRIxFAST64): Likewise.
10547 [C99-based-standards] (PRIXFAST64): Likewise.
10548 [C99-based-standards] (SCNdFAST64): Likewise.
10549 [C99-based-standards] (SCNiFAST64): Likewise.
10550 [C99-based-standards] (SCNoFAST64): Likewise.
10551 [C99-based-standards] (SCNuFAST64): Likewise.
10552 [C99-based-standards] (SCNxFAST64): Likewise.
10553 [C99-based-standards] (PRIdMAX): Likewise.
10554 [C99-based-standards] (PRIiMAX): Likewise.
10555 [C99-based-standards] (PRIoMAX): Likewise.
10556 [C99-based-standards] (PRIuMAX): Likewise.
10557 [C99-based-standards] (PRIxMAX): Likewise.
10558 [C99-based-standards] (PRIXMAX): Likewise.
10559 [C99-based-standards] (SCNdMAX): Likewise.
10560 [C99-based-standards] (SCNiMAX): Likewise.
10561 [C99-based-standards] (SCNoMAX): Likewise.
10562 [C99-based-standards] (SCNuMAX): Likewise.
10563 [C99-based-standards] (SCNxMAX): Likewise.
10564 [C99-based-standards] (PRIdPTR): Likewise.
10565 [C99-based-standards] (PRIiPTR): Likewise.
10566 [C99-based-standards] (PRIoPTR): Likewise.
10567 [C99-based-standards] (PRIuPTR): Likewise.
10568 [C99-based-standards] (PRIxPTR): Likewise.
10569 [C99-based-standards] (PRIXPTR): Likewise.
10570 [C99-based-standards] (SCNdPTR): Likewise.
10571 [C99-based-standards] (SCNiPTR): Likewise.
10572 [C99-based-standards] (SCNoPTR): Likewise.
10573 [C99-based-standards] (SCNuPTR): Likewise.
10574 [C99-based-standards] (SCNxPTR): Likewise.
10575 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10576 allow.
10577 * conform/data/stdint.h-data: Update comments to clarify
10578 requirements.
10579 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10580 type.
10581 [C99-based standards] (INT8_MAX): Likewise.
10582 [C99-based standards] (INT16_MIN): Likewise.
10583 [C99-based standards] (INT16_MAX): Likewise.
10584 [C99-based standards] (INT32_MIN): Likewise.
10585 [C99-based standards] (INT32_MAX): Likewise.
10586 [C99-based standards] (INT64_MIN): Likewise.
10587 [C99-based standards] (INT64_MAX): Likewise.
10588 [C99-based standards] (UINT8_MAX): Likewise.
10589 [C99-based standards] (UINT16_MAX): Likewise.
10590 [C99-based standards] (UINT32_MAX): Likewise.
10591 [C99-based standards] (UINT64_MAX): Likewise.
10592 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10593 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10594 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10595 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10596 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10597 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10598 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10599 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10600 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10601 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10602 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10603 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10604 [C99-based standards] (INT_FAST8_MIN): Likewise.
10605 [C99-based standards] (INT_FAST8_MAX): Likewise.
10606 [C99-based standards] (INT_FAST16_MIN): Likewise.
10607 [C99-based standards] (INT_FAST16_MAX): Likewise.
10608 [C99-based standards] (INT_FAST32_MIN): Likewise.
10609 [C99-based standards] (INT_FAST32_MAX): Likewise.
10610 [C99-based standards] (INT_FAST64_MIN): Likewise.
10611 [C99-based standards] (INT_FAST64_MAX): Likewise.
10612 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10613 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10614 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10615 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10616 [C99-based standards] (INTPTR_MIN): Likewise.
10617 [C99-based standards] (INTPTR_MAX): Likewise.
10618 [C99-based standards] (UINTPTR_MAX): Likewise.
10619 [C99-based standards] (INTMAX_MIN): Likewise.
10620 [C99-based standards] (INTMAX_MAX): Likewise.
10621 [C99-based standards] (UINTMAX_MAX): Likewise.
10622 [C99-based standards] (PTRDIFF_MIN): Likewise.
10623 [C99-based standards] (PTRDIFF_MAX): Likewise.
10624 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10625 [C99-based standards] (SIZE_MAX): Likewise.
10626 [C99-based standards] (WCHAR_MAX): Likewise.
10627 [C99-based standards] (WINT_MAX): Likewise.
10628 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10629 constraint on value.
10630 [C99-based standards] (WCHAR_MIN): Likewise.
10631 [C99-based standards] (WINT_MIN): Likewise.
10632 [C99-based standards] (*_t): Allow.
10633 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10634 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10635 Include math.h-data and complex.h-data. Remove all expectations
10636 of math.h and complex.h contents.
10637 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10638 at end of line.
10639 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10640 (struct tm): Expect tag.
10641 [C99-based-standards] (wcstof): Expect function.
10642 [C99-based-standards] (wcstold): Likewise.
10643 [C99-based-standards] (wcstoll): Likewise.
10644 [C99-based-standards] (wcstoull): Likewise.
10645 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10646 macro-int-constant. Specify type.
10647 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10648 constraint on value.
10649 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10650 Specify type.
10651 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10652 Specify value.
10653 [ISO C standards]: Do not allow headers.
10654 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10655 wcs[abcdefghijklmnopqrstuvwxyz]*.
10656 [ISO C standards] (*_t): Do not allow.
10657 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10658 Expect function.
10659 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10660 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10661 Specify type.
10662 [ISO C standards]: Do not allow headers.
10663 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10664 is[abcdefghijklmnopqrstuvwxyz]*.
10665 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10666 to[abcdefghijklmnopqrstuvwxyz]*.
10667 [ISO C standards] (*_t): Do not allow.
10668 * conform/data/stdalign.h-data: New file.
10669 * conform/data/stdbool.h-data: Likewise.
10670 * conform/data/stdnoreturn.h-data: Likewise.
10671
10672 2012-11-07 Roland McGrath <roland@hack.frob.com>
10673
10674 [BZ #14815]
10675 * manual/filesys.texi (Directory Entries): Typo fix.
10676 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10677
10678 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10679
10680 * elf/elf.h (EM_AARCH64): New macro.
10681 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10682 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10683 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10684 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10685 (R_AARCH64_TLSDESC): Likewise.
10686 (NT_ARM_TLS): Likewise.
10687 (NT_ARM_HW_BREAK): Likewise.
10688 (NT_ARM_HW_WATCH): Likewise.
10689
10690 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10691
10692 [BZ #14811]
10693 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10694 (__ieee754_powl): Saturate nonzero exponents with absolute value
10695 below 0x1p-79 to +/- 0x1p-79.
10696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10697 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10698 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10699 nonzero exponents with absolute value below 0x1p-32 to +/-
10700 0x1p-32.
10701 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10702 (__ieee754_powl): Saturate nonzero exponents with absolute value
10703 below 0x1p-79 to +/- 0x1p-79.
10704 * math/libm-test.inc (pow_test): Add more tests.
10705
10706 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10707
10708 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10709 _dl_s390_cap_flags with kernel. Increase string length.
10710 (_dl_s390_platforms): Add z196 and zEC12.
10711
10712 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10713
10714 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10715 Change XOPEN21K to XOPEN2K.
10716
10717 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10718
10719 * string/memmove.c: Use memcpy when possible.
10720
10721 2012-11-06 Andreas Jaeger <aj@suse.de>
10722
10723 * po/eo.po: Update from translation team.
10724
10725 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10726
10727 [BZ #14793]
10728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10729 exponent and small x and y exponents, scale x or y up. Increase
10730 by 2 the exponent used in scaling up.
10731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10732 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10733 * math/libm-test.inc (fma_test): Add more tests.
10734 (fma_test_towardzero): Likewise.
10735 (fma_test_downward): Likewise.
10736 (fma_test_upward): Likewise.
10737
10738 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10739
10740 [BZ #14805]
10741 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10742 fenv_t *.
10743
10744 [BZ #14801]
10745 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10746 namespace for names of struct fields.
10747 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10748 fenv_t fields.
10749 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10750 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10751
10752 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10753
10754 [BZ #3665]
10755 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10756
10757 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10758
10759 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10760 PTR_DEMANGLE.
10761
10762 [BZ #5246]
10763 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10764 PTR_DEMANGLE.
10765
10766 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10767
10768 [BZ #14797]
10769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10770 definitely overflow as x * y not x * y + z.
10771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10773 * math/libm-test.inc (fma_test): Add more tests.
10774 (fma_test_towardzero): Likewise.
10775 (fma_test_downward): Likewise.
10776 (fma_test_upward): Likewise.
10777
10778 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10779
10780 [BZ #157]
10781
10782 * include/stub-tag.h: Remove file.
10783 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10784 '#include' of it.
10785 * manual/maint.texi (Porting): Don't reference it.
10786 * Makerules ($(objpfx)stubs): Likewise.
10787 * dirent/closedir.c: Don't include <stub-tag.h>.
10788 * dirent/dirfd.c: Likewise.
10789 * dirent/fdopendir.c: Likewise.
10790 * dirent/getdents.c: Likewise.
10791 * dirent/getdents64.c: Likewise.
10792 * dirent/opendir.c: Likewise.
10793 * dirent/readdir.c: Likewise.
10794 * dirent/readdir64.c: Likewise.
10795 * dirent/readdir64_r.c: Likewise.
10796 * dirent/readdir_r.c: Likewise.
10797 * dirent/rewinddir.c: Likewise.
10798 * dirent/seekdir.c: Likewise.
10799 * dirent/telldir.c: Likewise.
10800 * gmon/profil.c: Likewise.
10801 * grp/setgroups.c: Likewise.
10802 * inet/if_index.c: Likewise.
10803 * io/access.c: Likewise.
10804 * io/chdir.c: Likewise.
10805 * io/chmod.c: Likewise.
10806 * io/chown.c: Likewise.
10807 * io/close.c: Likewise.
10808 * io/dup.c: Likewise.
10809 * io/dup2.c: Likewise.
10810 * io/dup3.c: Likewise.
10811 * io/euidaccess.c: Likewise.
10812 * io/faccessat.c: Likewise.
10813 * io/fchdir.c: Likewise.
10814 * io/fchmod.c: Likewise.
10815 * io/fchmodat.c: Likewise.
10816 * io/fchown.c: Likewise.
10817 * io/fchownat.c: Likewise.
10818 * io/fcntl.c: Likewise.
10819 * io/flock.c: Likewise.
10820 * io/fstatfs.c: Likewise.
10821 * io/fstatfs64.c: Likewise.
10822 * io/fstatvfs.c: Likewise.
10823 * io/fstatvfs64.c: Likewise.
10824 * io/futimens.c: Likewise.
10825 * io/fxstat.c: Likewise.
10826 * io/fxstat64.c: Likewise.
10827 * io/fxstatat.c: Likewise.
10828 * io/fxstatat64.c: Likewise.
10829 * io/getcwd.c: Likewise.
10830 * io/isatty.c: Likewise.
10831 * io/lchmod.c: Likewise.
10832 * io/lchown.c: Likewise.
10833 * io/link.c: Likewise.
10834 * io/linkat.c: Likewise.
10835 * io/lseek.c: Likewise.
10836 * io/lseek64.c: Likewise.
10837 * io/lxstat64.c: Likewise.
10838 * io/mkdir.c: Likewise.
10839 * io/mkdirat.c: Likewise.
10840 * io/mkfifo.c: Likewise.
10841 * io/mkfifoat.c: Likewise.
10842 * io/open.c: Likewise.
10843 * io/open64.c: Likewise.
10844 * io/openat.c: Likewise.
10845 * io/openat64.c: Likewise.
10846 * io/pipe.c: Likewise.
10847 * io/pipe2.c: Likewise.
10848 * io/poll.c: Likewise.
10849 * io/posix_fadvise.c: Likewise.
10850 * io/posix_fadvise64.c: Likewise.
10851 * io/posix_fallocate.c: Likewise.
10852 * io/posix_fallocate64.c: Likewise.
10853 * io/read.c: Likewise.
10854 * io/readlink.c: Likewise.
10855 * io/readlinkat.c: Likewise.
10856 * io/rmdir.c: Likewise.
10857 * io/sendfile.c: Likewise.
10858 * io/sendfile64.c: Likewise.
10859 * io/statfs.c: Likewise.
10860 * io/statfs64.c: Likewise.
10861 * io/statvfs.c: Likewise.
10862 * io/statvfs64.c: Likewise.
10863 * io/symlink.c: Likewise.
10864 * io/symlinkat.c: Likewise.
10865 * io/ttyname.c: Likewise.
10866 * io/ttyname_r.c: Likewise.
10867 * io/umask.c: Likewise.
10868 * io/unlink.c: Likewise.
10869 * io/unlinkat.c: Likewise.
10870 * io/utime.c: Likewise.
10871 * io/utimensat.c: Likewise.
10872 * io/write.c: Likewise.
10873 * io/xmknod.c: Likewise.
10874 * io/xmknodat.c: Likewise.
10875 * io/xstat.c: Likewise.
10876 * io/xstat64.c: Likewise.
10877 * login/getpt.c: Likewise.
10878 * login/grantpt.c: Likewise.
10879 * login/unlockpt.c: Likewise.
10880 * math/e_acoshl.c: Likewise.
10881 * math/e_acosl.c: Likewise.
10882 * math/e_asinl.c: Likewise.
10883 * math/e_atan2l.c: Likewise.
10884 * math/e_atanhl.c: Likewise.
10885 * math/e_coshl.c: Likewise.
10886 * math/e_expl.c: Likewise.
10887 * math/e_fmodl.c: Likewise.
10888 * math/e_gammal_r.c: Likewise.
10889 * math/e_hypotl.c: Likewise.
10890 * math/e_j0l.c: Likewise.
10891 * math/e_j1l.c: Likewise.
10892 * math/e_jnl.c: Likewise.
10893 * math/e_lgammal_r.c: Likewise.
10894 * math/e_log10l.c: Likewise.
10895 * math/e_log2l.c: Likewise.
10896 * math/e_logl.c: Likewise.
10897 * math/e_powl.c: Likewise.
10898 * math/e_rem_pio2l.c: Likewise.
10899 * math/e_sinhl.c: Likewise.
10900 * math/e_sqrtl.c: Likewise.
10901 * math/fclrexcpt.c: Likewise.
10902 * math/fedisblxcpt.c: Likewise.
10903 * math/feenablxcpt.c: Likewise.
10904 * math/fegetenv.c: Likewise.
10905 * math/fegetexcept.c: Likewise.
10906 * math/fegetround.c: Likewise.
10907 * math/feholdexcpt.c: Likewise.
10908 * math/fesetenv.c: Likewise.
10909 * math/fesetround.c: Likewise.
10910 * math/feupdateenv.c: Likewise.
10911 * math/fgetexcptflg.c: Likewise.
10912 * math/fraiseexcpt.c: Likewise.
10913 * math/fsetexcptflg.c: Likewise.
10914 * math/ftestexcept.c: Likewise.
10915 * math/k_cosl.c: Likewise.
10916 * math/k_rem_pio2l.c: Likewise.
10917 * math/k_sinl.c: Likewise.
10918 * math/k_tanl.c: Likewise.
10919 * math/s_asinhl.c: Likewise.
10920 * math/s_atanl.c: Likewise.
10921 * math/s_cbrtl.c: Likewise.
10922 * math/s_erfl.c: Likewise.
10923 * math/s_expm1l.c: Likewise.
10924 * math/s_log1pl.c: Likewise.
10925 * math/s_tanhl.c: Likewise.
10926 * misc/acct.c: Likewise.
10927 * misc/brk.c: Likewise.
10928 * misc/chflags.c: Likewise.
10929 * misc/chroot.c: Likewise.
10930 * misc/fchflags.c: Likewise.
10931 * misc/fgetxattr.c: Likewise.
10932 * misc/flistxattr.c: Likewise.
10933 * misc/fremovexattr.c: Likewise.
10934 * misc/fsetxattr.c: Likewise.
10935 * misc/fsync.c: Likewise.
10936 * misc/ftruncate.c: Likewise.
10937 * misc/futimes.c: Likewise.
10938 * misc/futimesat.c: Likewise.
10939 * misc/getdomain.c: Likewise.
10940 * misc/getdtsz.c: Likewise.
10941 * misc/gethostid.c: Likewise.
10942 * misc/gethostname.c: Likewise.
10943 * misc/getloadavg.c: Likewise.
10944 * misc/getpagesize.c: Likewise.
10945 * misc/getsysstats.c: Likewise.
10946 * misc/getxattr.c: Likewise.
10947 * misc/gtty.c: Likewise.
10948 * misc/ioctl.c: Likewise.
10949 * misc/lgetxattr.c: Likewise.
10950 * misc/listxattr.c: Likewise.
10951 * misc/llistxattr.c: Likewise.
10952 * misc/lremovexattr.c: Likewise.
10953 * misc/lsetxattr.c: Likewise.
10954 * misc/lutimes.c: Likewise.
10955 * misc/madvise.c: Likewise.
10956 * misc/mincore.c: Likewise.
10957 * misc/mlock.c: Likewise.
10958 * misc/mlockall.c: Likewise.
10959 * misc/mmap.c: Likewise.
10960 * misc/mprotect.c: Likewise.
10961 * misc/msync.c: Likewise.
10962 * misc/munlock.c: Likewise.
10963 * misc/munlockall.c: Likewise.
10964 * misc/munmap.c: Likewise.
10965 * misc/preadv.c: Likewise.
10966 * misc/preadv64.c: Likewise.
10967 * misc/ptrace.c: Likewise.
10968 * misc/pwritev.c: Likewise.
10969 * misc/pwritev64.c: Likewise.
10970 * misc/readv.c: Likewise.
10971 * misc/reboot.c: Likewise.
10972 * misc/remap_file_pages.c: Likewise.
10973 * misc/removexattr.c: Likewise.
10974 * misc/revoke.c: Likewise.
10975 * misc/select.c: Likewise.
10976 * misc/setdomain.c: Likewise.
10977 * misc/setegid.c: Likewise.
10978 * misc/seteuid.c: Likewise.
10979 * misc/sethostid.c: Likewise.
10980 * misc/sethostname.c: Likewise.
10981 * misc/setregid.c: Likewise.
10982 * misc/setreuid.c: Likewise.
10983 * misc/setxattr.c: Likewise.
10984 * misc/sstk.c: Likewise.
10985 * misc/stty.c: Likewise.
10986 * misc/swapoff.c: Likewise.
10987 * misc/swapon.c: Likewise.
10988 * misc/sync.c: Likewise.
10989 * misc/syncfs.c: Likewise.
10990 * misc/syscall.c: Likewise.
10991 * misc/truncate.c: Likewise.
10992 * misc/ualarm.c: Likewise.
10993 * misc/usleep.c: Likewise.
10994 * misc/ustat.c: Likewise.
10995 * misc/utimes.c: Likewise.
10996 * misc/vhangup.c: Likewise.
10997 * misc/writev.c: Likewise.
10998 * posix/_exit.c: Likewise.
10999 * posix/alarm.c: Likewise.
11000 * posix/execve.c: Likewise.
11001 * posix/fexecve.c: Likewise.
11002 * posix/fork.c: Likewise.
11003 * posix/fpathconf.c: Likewise.
11004 * posix/getaddrinfo.c: Likewise.
11005 * posix/getegid.c: Likewise.
11006 * posix/geteuid.c: Likewise.
11007 * posix/getgid.c: Likewise.
11008 * posix/getgroups.c: Likewise.
11009 * posix/getlogin.c: Likewise.
11010 * posix/getlogin_r.c: Likewise.
11011 * posix/getpgid.c: Likewise.
11012 * posix/getpid.c: Likewise.
11013 * posix/getppid.c: Likewise.
11014 * posix/getresgid.c: Likewise.
11015 * posix/getresuid.c: Likewise.
11016 * posix/getsid.c: Likewise.
11017 * posix/getuid.c: Likewise.
11018 * posix/glob64.c: Likewise.
11019 * posix/nanosleep.c: Likewise.
11020 * posix/pathconf.c: Likewise.
11021 * posix/pause.c: Likewise.
11022 * posix/posix_madvise.c: Likewise.
11023 * posix/pread.c: Likewise.
11024 * posix/pread64.c: Likewise.
11025 * posix/pwrite.c: Likewise.
11026 * posix/pwrite64.c: Likewise.
11027 * posix/sched_getaffinity.c: Likewise.
11028 * posix/sched_getp.c: Likewise.
11029 * posix/sched_gets.c: Likewise.
11030 * posix/sched_primax.c: Likewise.
11031 * posix/sched_primin.c: Likewise.
11032 * posix/sched_rr_gi.c: Likewise.
11033 * posix/sched_setaffinity.c: Likewise.
11034 * posix/sched_setp.c: Likewise.
11035 * posix/sched_sets.c: Likewise.
11036 * posix/sched_yield.c: Likewise.
11037 * posix/setgid.c: Likewise.
11038 * posix/setlogin.c: Likewise.
11039 * posix/setpgid.c: Likewise.
11040 * posix/setresgid.c: Likewise.
11041 * posix/setresuid.c: Likewise.
11042 * posix/setsid.c: Likewise.
11043 * posix/setuid.c: Likewise.
11044 * posix/sleep.c: Likewise.
11045 * posix/spawni.c: Likewise.
11046 * posix/sysconf.c: Likewise.
11047 * posix/times.c: Likewise.
11048 * posix/wait.c: Likewise.
11049 * posix/wait3.c: Likewise.
11050 * posix/wait4.c: Likewise.
11051 * posix/waitpid.c: Likewise.
11052 * resolv/gai_sigqueue.c: Likewise.
11053 * resource/getpriority.c: Likewise.
11054 * resource/getrlimit.c: Likewise.
11055 * resource/getrusage.c: Likewise.
11056 * resource/nice.c: Likewise.
11057 * resource/setpriority.c: Likewise.
11058 * resource/setrlimit.c: Likewise.
11059 * resource/ulimit.c: Likewise.
11060 * rt/aio_cancel.c: Likewise.
11061 * rt/aio_fsync.c: Likewise.
11062 * rt/aio_read.c: Likewise.
11063 * rt/aio_sigqueue.c: Likewise.
11064 * rt/aio_suspend.c: Likewise.
11065 * rt/aio_write.c: Likewise.
11066 * rt/clock_getres.c: Likewise.
11067 * rt/clock_gettime.c: Likewise.
11068 * rt/clock_nanosleep.c: Likewise.
11069 * rt/clock_settime.c: Likewise.
11070 * rt/lio_listio.c: Likewise.
11071 * rt/mq_close.c: Likewise.
11072 * rt/mq_getattr.c: Likewise.
11073 * rt/mq_notify.c: Likewise.
11074 * rt/mq_open.c: Likewise.
11075 * rt/mq_receive.c: Likewise.
11076 * rt/mq_send.c: Likewise.
11077 * rt/mq_setattr.c: Likewise.
11078 * rt/mq_timedreceive.c: Likewise.
11079 * rt/mq_timedsend.c: Likewise.
11080 * rt/mq_unlink.c: Likewise.
11081 * rt/shm_open.c: Likewise.
11082 * rt/shm_unlink.c: Likewise.
11083 * rt/timer_create.c: Likewise.
11084 * rt/timer_delete.c: Likewise.
11085 * rt/timer_getoverr.c: Likewise.
11086 * rt/timer_gettime.c: Likewise.
11087 * rt/timer_settime.c: Likewise.
11088 * setjmp/__longjmp.c: Likewise.
11089 * setjmp/setjmp.c: Likewise.
11090 * signal/kill.c: Likewise.
11091 * signal/killpg.c: Likewise.
11092 * signal/raise.c: Likewise.
11093 * signal/sigaction.c: Likewise.
11094 * signal/sigaltstack.c: Likewise.
11095 * signal/sigblock.c: Likewise.
11096 * signal/sigignore.c: Likewise.
11097 * signal/sigintr.c: Likewise.
11098 * signal/signal.c: Likewise.
11099 * signal/sigpause.c: Likewise.
11100 * signal/sigpending.c: Likewise.
11101 * signal/sigqueue.c: Likewise.
11102 * signal/sigreturn.c: Likewise.
11103 * signal/sigset.c: Likewise.
11104 * signal/sigsetmask.c: Likewise.
11105 * signal/sigstack.c: Likewise.
11106 * signal/sigsuspend.c: Likewise.
11107 * signal/sigtimedwait.c: Likewise.
11108 * signal/sigvec.c: Likewise.
11109 * signal/sigwait.c: Likewise.
11110 * signal/sigwaitinfo.c: Likewise.
11111 * signal/sysv_signal.c: Likewise.
11112 * socket/accept.c: Likewise.
11113 * socket/accept4.c: Likewise.
11114 * socket/bind.c: Likewise.
11115 * socket/connect.c: Likewise.
11116 * socket/getpeername.c: Likewise.
11117 * socket/getsockname.c: Likewise.
11118 * socket/getsockopt.c: Likewise.
11119 * socket/isfdtype.c: Likewise.
11120 * socket/listen.c: Likewise.
11121 * socket/recv.c: Likewise.
11122 * socket/recvfrom.c: Likewise.
11123 * socket/recvmsg.c: Likewise.
11124 * socket/send.c: Likewise.
11125 * socket/sendmsg.c: Likewise.
11126 * socket/sendto.c: Likewise.
11127 * socket/setsockopt.c: Likewise.
11128 * socket/shutdown.c: Likewise.
11129 * socket/sockatmark.c: Likewise.
11130 * socket/socket.c: Likewise.
11131 * socket/socketpair.c: Likewise.
11132 * stdio-common/ctermid.c: Likewise.
11133 * stdio-common/cuserid.c: Likewise.
11134 * stdio-common/remove.c: Likewise.
11135 * stdio-common/rename.c: Likewise.
11136 * stdio-common/renameat.c: Likewise.
11137 * stdio-common/tempname.c: Likewise.
11138 * stdlib/getcontext.c: Likewise.
11139 * stdlib/makecontext.c: Likewise.
11140 * stdlib/setcontext.c: Likewise.
11141 * stdlib/swapcontext.c: Likewise.
11142 * stdlib/system.c: Likewise.
11143 * streams/fattach.c: Likewise.
11144 * streams/fdetach.c: Likewise.
11145 * streams/getmsg.c: Likewise.
11146 * streams/getpmsg.c: Likewise.
11147 * streams/putmsg.c: Likewise.
11148 * streams/putpmsg.c: Likewise.
11149 * sysdeps/unix/bsd/getpt.c: Likewise.
11150 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11151 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11152 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11154 Likewise.
11155 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11156 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11157 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11158 * sysvipc/msgctl.c: Likewise.
11159 * sysvipc/msgget.c: Likewise.
11160 * sysvipc/msgrcv.c: Likewise.
11161 * sysvipc/msgsnd.c: Likewise.
11162 * sysvipc/semctl.c: Likewise.
11163 * sysvipc/semget.c: Likewise.
11164 * sysvipc/semop.c: Likewise.
11165 * sysvipc/semtimedop.c: Likewise.
11166 * sysvipc/shmat.c: Likewise.
11167 * sysvipc/shmctl.c: Likewise.
11168 * sysvipc/shmdt.c: Likewise.
11169 * sysvipc/shmget.c: Likewise.
11170 * termios/tcdrain.c: Likewise.
11171 * termios/tcflow.c: Likewise.
11172 * termios/tcflush.c: Likewise.
11173 * termios/tcgetattr.c: Likewise.
11174 * termios/tcgetpgrp.c: Likewise.
11175 * termios/tcsendbrk.c: Likewise.
11176 * termios/tcsetattr.c: Likewise.
11177 * termios/tcsetpgrp.c: Likewise.
11178 * time/adjtime.c: Likewise.
11179 * time/clock.c: Likewise.
11180 * time/getitimer.c: Likewise.
11181 * time/gettimeofday.c: Likewise.
11182 * time/setitimer.c: Likewise.
11183 * time/settimeofday.c: Likewise.
11184 * time/stime.c: Likewise.
11185 * time/time.c: Likewise.
11186
11187 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11188
11189 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11190 /usr/old/bin.
11191
11192 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11193 instead of spaces.
11194 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11195
11196 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11197
11198 [BZ #14796]
11199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11200 FE_TONEAREST before applying Dekker multiplication and Knuth
11201 addition. Clear inexact exceptions and check for exact zero
11202 results afterwards.
11203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11206 * math/libm-test.inc (fma_test): Add more tests.
11207 (fma_test_towardzero): Likewise.
11208 (fma_test_downward): Likewise.
11209 (fma_test_upward): Likewise.
11210 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11211 function.
11212 (libc_fesetround): New macro.
11213 (libc_fesetroundf): Likewise.
11214 (libc_fesetroundl): Likewise.
11215 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11216 function.
11217 (libc_fesetround_387): Likewise.
11218 (libc_fesetroundf): New macro.
11219 (libc_fesetround): Likewise.
11220 (libc_fesetroundl): Likewise.
11221 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11222 function.
11223 (libc_fesetroundf): New macro.
11224 (libc_fesetround): Likewise.
11225 (libc_fesetroundl): Likewise.
11226 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11227 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11228 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11229 libm_hidden_ver.
11230 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11231 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11232 libm_hidden_def.
11233 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11234 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11235 libm_hidden_ver.
11236 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11237 libm_hidden_def.
11238
11239 [BZ #3439]
11240 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11241 integer constant usable in #if and use that to give value to enum
11242 constant.
11243 (FE_DIVBYZERO): Likewise.
11244 (FE_UNDERFLOW): Likewise.
11245 (FE_OVERFLOW): Likewise.
11246 (FE_INVALID): Likewise.
11247 (FE_INVALID_SNAN): Likewise.
11248 (FE_INVALID_ISI): Likewise.
11249 (FE_INVALID_IDI): Likewise.
11250 (FE_INVALID_ZDZ): Likewise.
11251 (FE_INVALID_IMZ): Likewise.
11252 (FE_INVALID_COMPARE): Likewise.
11253 (FE_INVALID_SOFTWARE): Likewise.
11254 (FE_INVALID_SQRT): Likewise.
11255 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11256 (FE_TONEAREST): Likewise.
11257 (FE_TOWARDZERO): Likewise.
11258 (FE_UPWARD): Likewise.
11259 (FE_DOWNWARD): Likewise.
11260 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11261 (FE_DIVBYZERO): Likewise.
11262 (FE_OVERFLOW): Likewise.
11263 (FE_UNDERFLOW): Likewise.
11264 (FE_INEXACT): Likewise.
11265 (FE_TONEAREST): Likewise.
11266 (FE_DOWNWARD): Likewise.
11267 (FE_UPWARD): Likewise.
11268 (FE_TOWARDZERO): Likewise.
11269 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11270 (FE_UNDERFLOW): Likewise.
11271 (FE_OVERFLOW): Likewise.
11272 (FE_DIVBYZERO): Likewise.
11273 (FE_INVALID): Likewise.
11274 (FE_TONEAREST): Likewise.
11275 (FE_TOWARDZERO): Likewise.
11276 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11277 (FE_OVERFLOW): Likewise.
11278 (FE_UNDERFLOW): Likewise.
11279 (FE_DIVBYZERO): Likewise.
11280 (FE_INEXACT): Likewise.
11281 (FE_TONEAREST): Likewise.
11282 (FE_TOWARDZERO): Likewise.
11283 (FE_UPWARD): Likewise.
11284 (FE_DOWNWARD): Likewise.
11285 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11286 (FE_DIVBYZERO): Likewise.
11287 (FE_OVERFLOW): Likewise.
11288 (FE_UNDERFLOW): Likewise.
11289 (FE_INEXACT): Likewise.
11290 (FE_TONEAREST): Likewise.
11291 (FE_DOWNWARD): Likewise.
11292 (FE_UPWARD): Likewise.
11293 (FE_TOWARDZERO): Likewise.
11294
11295 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11296
11297 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11298
11299 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11300
11301 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11302 commands. Quote $PWD.
11303 (blacklist_exports): Don't use remove_newlines. Replace "declare
11304 -x" by "export".
11305 (remove_newlines): Remove.
11306
11307 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11310 * stdlib/stdlib.h (atof): Moved to ...
11311 * include/bits/stdlib-float.h: Here. New file.
11312 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11313 * stdlib/bits/stdlib-float.h: New file.
11314 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11315 -mno-sse -mno-mmx.
11316 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11317 <xmmintrin.h>.
11318
11319 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11320
11321 * conform/conformtest.pl (@headers): Add fenv.h.
11322 * conform/data/fenv.h-data: New file.
11323 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11324 include of <math/fenv.h>.
11325
11326 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11327 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11328 && !UNIX98]. Enables tests for XOPEN2K8.
11329 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11330 POSIX2008]: Likewise.
11331
11332 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11333 (struct rusage): Do not expect type or its members.
11334
11335 [BZ #3439]
11336 * math/math.h (FP_NAN): Define macro to integer constant usable in
11337 #if and use that to give value to enum constant.
11338 (FP_INFINITE): Likewise.
11339 (FP_ZERO): Likewise.
11340 (FP_SUBNORMAL): Likewise.
11341 (FP_NORMAL): Likewise.
11342
11343 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11344
11345 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11346 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11347 arguments.
11348
11349 2012-11-02 Roland McGrath <roland@hack.frob.com>
11350
11351 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11352 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11353 autoconf-time if not.
11354 * configure.in: Remove AC_PREREQ.
11355
11356 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11357
11358 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11359 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11360 of the internal implementation.
11361
11362 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11363
11364 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11365 except include of <misc/sys/syslog.h>.
11366
11367 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11368
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11370 function returns with a NULL context exit with zero.
11371
11372 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11373
11374 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11375
11376 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11377
11378 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11379 (run_program_cmd): This.
11380 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11381 (tst_langinfo): New variable. Use it.
11382
11383 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11384
11385 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11386 floating point opcodes.
11387
11388 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11389
11390 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11391 variable.
11392
11393 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11394
11395 * sysdeps/mach/hurd/powerpc: Remove directory.
11396 * sysdeps/mach/powerpc: Likewise.
11397
11398 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11399
11400 * scripts/check-local-headers.sh: Ignore c++ headers.
11401
11402 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11403
11404 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11405 __libc_cleanup_region_start argument.
11406
11407 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11408
11409 [BZ #14784]
11410 [BZ #14785]
11411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11412 x * y using scaling, not as x * y + z.
11413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11414 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11415 * math/libm-test.inc (fma_test): Add more tests.
11416 (fma_test_towardzero): Likewise.
11417 (fma_test_downward): Likewise.
11418 (fma_test_upward): Likewise.
11419
11420 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11421
11422 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11423
11424 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11425
11426 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11427 New variable.
11428
11429 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11430
11431 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11432
11433 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11434
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11436 Fix sort order.
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11438 Likewise.
11439
11440 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11441
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11443 Fix the order of the list for glibc 2.17.
11444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11445 Likewise.
11446
11447 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11448
11449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11450
11451 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11452
11453 [BZ #14610]
11454 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11455 for low part of x being zero before using __atanl (y).
11456 * math/libm-test.inc (atan2_test): Add another test.
11457
11458 * manual/install.texi (Configuring and compiling): Document
11459 general use of test-wrapper and test-wrapper-env.
11460 * INSTALL: Regenerated.
11461
11462 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11463 (__fma): Do not extract and scale down low bits on after-rounding
11464 systems when result rounded to normal precision would have normal
11465 exponent.
11466 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11467 (__fmal): Do not extract and scale down low bits on after-rounding
11468 systems when result rounded to normal precision would have normal
11469 exponent.
11470 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11471 (__fmal): Do not extract and scale down low bits on after-rounding
11472 systems when result rounded to normal precision would have normal
11473 exponent.
11474 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11475 macro.
11476 (fma_test): Add more tests.
11477 (fma_test_towardzero): Likewise.
11478 (fma_test_downward): Likewise.
11479 (fma_test_upward): Likewise.
11480
11481 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11482
11483 * sysdeps/i386/tininess.h: Renamed to ...
11484 * sysdeps/x86/tininess.h: This.
11485 * sysdeps/x86_64/tininess.h: Removed.
11486
11487 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11488
11489 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11490 input. Use $(build-program-cmd).
11491 ($(objpfx)tst-array1-static.out): Likewise.
11492 ($(objpfx)tst-array2.out): Likewise.
11493 ($(objpfx)tst-array3.out): Likewise.
11494 ($(objpfx)tst-array4.out): Likewise.
11495 ($(objpfx)tst-array5.out): Likewise.
11496 ($(objpfx)tst-array5-static.out): Likewise.
11497
11498 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11499
11500 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11501 if defined.
11502
11503 * nss/nsswitch.h (nss_interface_function): Provide new
11504 macro for use with NSS functions.
11505 * grp/initgroups.c: Use new macro.
11506 * nss/getXXbyYY.c: Likewise.
11507 * nss/getXXbyYY_r.c: Likewise.
11508 * nss/getXXent.c: Likewise.
11509 * nss/getXXent_r.c: Likewise.
11510 * sysdeps/posix/getaddrinfo.c: Likewise.
11511
11512 2012-10-30 Andreas Jaeger <aj@suse.de>
11513
11514 * po/ru.po: Update Russion translation from translation project.
11515
11516 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11517
11518 [BZ #14152]
11519 [BZ #14783]
11520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11521 result and shift together with sticky bit instead of replicating
11522 round-to-nearest rounding.
11523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11525 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11526 missing underflow exceptions.
11527 (fma_test_towardzero): Add more tests.
11528 (fma_test_downward): Likewise.
11529 (fma_test_upward): Likewise.
11530
11531 [BZ #14047]
11532 * sysdeps/generic/tininess.h: New file.
11533 * sysdeps/i386/tininess.h: Likewise.
11534 * sysdeps/sh/tininess.h: Likewise.
11535 * sysdeps/x86_64/tininess.h: Likewise.
11536 * stdlib/tst-strtod-underflow.c: Likewise.
11537 * stdlib/tst-tininess.c: Likewise.
11538 * stdlib/strtod_l.c: Include <tininess.h>.
11539 (round_and_return): Do not set errno for exact underflow cases.
11540 Force an underflow exception when setting errno for underflow.
11541 Determine underflow based on rounding to normal precision if
11542 TININESS_AFTER_ROUNDING.
11543 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11544 ERANGE for exact underflow cases.
11545 * stdlib/Makefile (tests): Add tst-tininess and
11546 tst-strtod-underflow.
11547 ($(objpfx)tst-tininess): Use $(link-libm).
11548 ($(objpfx)tst-strtod-underflow): Likewise.
11549
11550 2012-10-30 Andreas Jaeger <aj@suse.de>
11551
11552 [BZ#14767]
11553 * elf/Makefile (tests): Remove conditional for have-initfini-array
11554 since this is now always required and the variable does not exist
11555 anymore.
11556 (tests-static): Likewise.
11557 (modules-names): Likewise.
11558
11559 * po/eo.po: Add Esperanto translation from translation project.
11560
11561 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11562 merged with constructor/destructor.
11563 (init_array): Likewise.
11564 * elf/tst-array2dep.c (fini_array): Likewise.
11565 (init_array): Likewise.
11566
11567 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11568
11569 * manual/message.texi: Delete @cartouche tags.
11570
11571 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11572
11573 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11574 EOPNOTSUPP.
11575 * sysdeps/mach/hurd/fsync.c: Likewise.
11576
11577 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11578 [_POSIX_REALTIME_SIGNALS]: Change condition to
11579 [_POSIX_REALTIME_SIGNALS > 0].
11580
11581 2012-10-27 Andreas Jaeger <aj@suse.de>
11582
11583 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11584 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11586 [__WORDSIZE != 64]: Likewise.
11587
11588 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * iconvdata/tst-table.sh: Remove ${SHELL}.
11591 * iconvdata/tst-tables.sh: Likewise.
11592
11593 2012-10-25 David S. Miller <davem@davemloft.net>
11594
11595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11596 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11597 of strtoull.
11598
11599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11600 ifunc-impl-list.c
11601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11602 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11603 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11604 file.
11605
11606 2012-10-25 Roland McGrath <roland@hack.frob.com>
11607
11608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11609 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11610 __getdirentries.
11611
11612 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11613 Jim Blandy <jimb@codesourcery.com>
11614
11615 * scripts/cross-test-ssh.sh: New file.
11616 * manual/install.texi (Configuring and compiling): Document use of
11617 cross-test-ssh.sh.
11618 * INSTALL: Regenerated.
11619
11620 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11621
11622 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11623 EOPNOTSUPP.
11624
11625 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11626
11627 * Makeconfig (run-program-prefix): Fix comment.
11628
11629 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11630 Jim Blandy <jimb@codesourcery.com>
11631
11632 * Makeconfig (test-wrapper): New variable,
11633 (test-wrapper-env): Likewise.
11634 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11635 (run-built-tests): Define to yes.
11636 (run-program-prefix): Use $(test-wrapper).
11637 (built-program-cmd): Likewise.
11638 * Rules (make-test-out): Use $(test-wrapper-env) and
11639 $(host-built-program-cmd).
11640 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11641 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11642 tst-pathopt.sh.
11643 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11644 $(test-wrapper-env) to tst-rtld-load-self.sh.
11645 ($(objpfx)order2.out): Use $(test-wrapper).
11646 ($(objpfx)tst-initorder.out): Likewise.
11647 ($(objpfx)tst-initorder2.out): Likewise.
11648 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11649 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11650 (test_wrapper_env): New variable. Use it to run ld.so.
11651 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11652 Use it to run ld.so.
11653 (test_wrapper_env): Likewise.
11654 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11655 $(test-wrapper) to run-iconv-test.sh.
11656 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11657 (ICONV): Use $test_wrapper.
11658 * posix/Makefile ($(objpfx)globtest.out): Pass
11659 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11660 globtest.sh, not $(run-program-prefix).
11661 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11662 (test_wrapper): Likewise.
11663 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11664 set together with run_via_rtld_prefix.
11665 (run_program_prefix): Define in terms of test_wrapper and
11666 run_via_rtld_prefix.
11667
11668 2012-10-24 Roland McGrath <roland@hack.frob.com>
11669
11670 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11671 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11672 Targets removed.
11673
11674 [BZ #14743]
11675 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11676 Declare __clock_getres, __clock_gettime, __clock_settime,
11677 __clock_nanosleep, and __clock_getcpuclockid.
11678 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11679 Remove librt_hidden_def (clock_gettime).
11680 * sysdeps/unix/clock_gettime.c: Likewise.
11681 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11682 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11683 * rt/clock_getres.c: Define __clock_getres as an alias.
11684 * sysdeps/posix/clock_getres.c: Likewise.
11685 * rt/clock_settime.c: Define __clock_settime as an alias.
11686 * sysdeps/unix/clock_settime.c: Likewise.
11687 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11688 * sysdeps/unix/clock_nanosleep.c: Likewise.
11689 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11690 * rt/clock-compat.c: New file.
11691 * rt/Makefile (librt-routines): Add clock-compat and move
11692 $(clock-routines) to ...
11693 (routines): ... here, new variable.
11694 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11695 Don't add get_clockfreq here.
11696 * rt/Versions (libc: GLIBC_2.17): New version set.
11697 Add clock_* symbols here.
11698 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11699 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11700 (GLIBC_2.17): Add clock_* symbols.
11701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11705 Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11707 Likewise.
11708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11712 * NEWS: Mention the move.
11713
11714 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11715 Use __open, __read, __close rather than their public counterparts.
11716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11717 (__get_clockfreq_via_cpuinfo): Likewise.
11718 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11719 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11720
11721 * config.h.in (HAVE_IFUNC): New #undef.
11722 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11723 was successful.
11724 * configure: Regenerated.
11725
11726 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11727
11728 * configure.in: Move READELF check to start of file.
11729 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11730 libc_cv_asm_gnu_indirect_function in the process.
11731 * configure: Regenerated.
11732
11733 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11734
11735 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11736 send the output to /dev/null.
11737 (libc_cv_cc_with_libunwind): Likewise.
11738 (libc_cv_as_noexecstack): Likewise.
11739 * configure: Regenerate.
11740
11741 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11742
11743 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11744
11745 * posix/globtest.sh (TMPDIR): Do not set.
11746 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11747 (testout): Likewise.
11748
11749 2012-10-24 Andreas Jaeger <aj@suse.de>
11750
11751 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11752 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11753 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11754 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11755 posix_fadvise64, posix_fallocate64.
11756
11757 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11758 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11759 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11760 Likewise.
11761 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11762 Likewise.
11763 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11764
11765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11766 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11767 <bits/fcntl-linux.h>.
11768 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11769
11770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11771 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11772 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11773 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11774 [__WORDSIZE != 64]: Likewise.
11775
11776 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11777
11778 * Makeconfig (run-built-tests): New variable.
11779 * Rules [$(cross-compiling) = yes]: Change condition to
11780 [$(run-built-tests) = no].
11781 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11782 to [$(run-built-tests) = yes].
11783 * elf/Makefile [$(cross-compiling) = no]: Likewise
11784 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11785 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11786 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11787 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11788 * io/Makefile [$(cross-compiling) = no]: Likewise.
11789 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11790 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11791 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11792 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11793 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11794 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11795 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11796 * string/Makefile [$(cross-compiling) = no]: Likewise.
11797
11798 * posix/Makefile ($(objpfx)globtest.out): Pass
11799 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11800 $(rtld-installed-name).
11801 * posix/globtest.sh (elf_objpfx): Remove variable.
11802 (rtld_installed_name): Likewise.
11803 (library_path): Likewise.
11804 (run_program_prefix): New variable. Use for running globtest
11805 binary.
11806
11807 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11808 Joseph Myers <joseph@codesourcery.com>
11809
11810 * Makeconfig (host-built-program-cmd): New variable.
11811 * elf/Makefile (tst-stackguard1-ARGS): Use
11812 $(host-built-program-cmd).
11813 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11814 (tst-spawn-ARGS): Likewise.
11815 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11816
11817 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11818 Jim Blandy <jimb@codesourcery.com>
11819
11820 * Makeconfig (run-via-rtld-prefix): New variable.
11821 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11822 (built-program-cmd): Likewise.
11823
11824 2012-10-22 Andreas Jaeger <aj@suse.de>
11825
11826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11827 __O_RSYNC if it exists, otherwise to O_SYNC.
11828
11829 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11830 Joseph Myers <joseph@codesourcery.com>
11831
11832 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11833 /dev/null.
11834 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11835 from /dev/null
11836 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11837 /dev/null.
11838
11839 2012-10-22 Andreas Jaeger <aj@suse.de>
11840
11841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11842 Define always.
11843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11844
11845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11846 bits/fcntl-linux.h.
11847
11848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11849 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11850
11851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11852 to __O_LARGEFILE.
11853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11854 to __O_LARGEFILE.
11855
11856 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11857 Joseph Myers <joseph@codesourcery.com>
11858
11859 * config.make.in (NM): New variable.
11860
11861 2012-10-21 Andreas Jaeger <aj@suse.de>
11862
11863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11864 definitions and declarations that are provided by
11865 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11866
11867 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11868
11869 [BZ #14683]
11870 * elf/Makefile (tests-static): Add tst-leaks1-static.
11871 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11872 ($(objpfx)tst-leaks1-static): New rule.
11873 ($(objpfx)tst-leaks1-static-mem): Likewise.
11874 (tst-leaks1-static-ENV): New macro.
11875 * elf/dl-open.c (dl_open_worker): Check the main application
11876 only if SHARED is defined.
11877 * elf/tst-leaks1-static.c: New file.
11878
11879 2012-10-20 Andreas Jaeger <aj@suse.de>
11880
11881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11882 generic values for Linux.
11883 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11884 and declarations that are provided by <bits/fcntl-linux.h> and
11885 include <bits/fcntl-linux.h>.
11886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11888
11889 2012-10-20 Roland McGrath <roland@hack.frob.com>
11890
11891 * io/fcntl.h: Move include of <bits/types.h> to the top and
11892 include it unconditionally.
11893
11894 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11895
11896 * wcsmbs/Makefile (tests-ifunc): New variable.
11897 (tests): Add $(tests-ifunc).
11898 * wcsmbs/test-wcschr-ifunc.c: New file.
11899 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11900 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11901 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11902 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11903 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11904
11905 * string/Makefile (tests-ifunc): New variable.
11906 (tests): Add $(tests-ifunc).
11907 * string/test-memccpy.c (TEST_NAME): New macro.
11908 * string/test-memchr.c (TEST_NAME): Likewise.
11909 * string/test-memcmp.c (TEST_NAME): Likewise.
11910 * string/test-memcpy.c (TEST_NAME): Likewise.
11911 * string/test-memmem.c (TEST_NAME): Likewise.
11912 * string/test-memmove.c (TEST_NAME): Likewise.
11913 * string/test-memset.c (TEST_NAME): Likewise.
11914 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11915 * string/test-stpcpy.c (TEST_NAME): Likewise.
11916 * string/test-stpncpy.c (TEST_NAME): Likewise.
11917 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11918 * string/test-strcasestr.c (TEST_NAME): Likewise.
11919 * string/test-strcat.c (TEST_NAME): Likewise.
11920 * string/test-strchr.c (TEST_NAME): Likewise.
11921 * string/test-strcmp.c(TEST_NAME): Likewise.
11922 * string/test-strcpy.c (TEST_NAME): Likewise.
11923 * string/test-strcspn.c (TEST_NAME): Likewise.
11924 * string/test-strlen.c (TEST_NAME): Likewise.
11925 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11926 * string/test-strncmp.c (TEST_NAME): Likewise.
11927 * string/test-strncpy.c (TEST_NAME): Likewise.
11928 * string/test-strnlen.c (TEST_NAME): Likewise.
11929 * string/test-strpbrk.c (TEST_NAME): Likewise.
11930 * string/test-strrchr.c (TEST_NAME): Likewise.
11931 * string/test-strspn.c (TEST_NAME): Likewise.
11932 * string/test-strstr.c (TEST_NAME): Likewise.
11933 * string/test-bcopy-ifunc.c: New file.
11934 * string/test-bzero-ifunc.c: Likewise.
11935 * string/test-memccpy-ifunc.c: Likewise.
11936 * string/test-memchr-ifunc.c: Likewise.
11937 * string/test-memcmp-ifunc.c: Likewise.
11938 * string/test-memcpy-ifunc.c: Likewise.
11939 * string/test-memmem-ifunc.c: Likewise.
11940 * string/test-memmove-ifunc.c: Likewise.
11941 * string/test-mempcpy-ifunc.c: Likewise.
11942 * string/test-memset-ifunc.c: Likewise.
11943 * string/test-rawmemchr-ifunc.c: Likewise.
11944 * string/test-stpcpy-ifunc.c: Likewise.
11945 * string/test-stpncpy-ifunc.c: Likewise.
11946 * string/test-strcasecmp-ifunc.c: Likewise.
11947 * string/test-strcasestr-ifunc.c: Likewise.
11948 * string/test-strcat-ifunc.c: Likewise.
11949 * string/test-strchr-ifunc.c: Likewise.
11950 * string/test-strchrnul-ifunc.c: Likewise.
11951 * string/test-strcmp-ifunc.c: Likewise.
11952 * string/test-strcpy-ifunc.c: Likewise.
11953 * string/test-strcspn-ifunc.c: Likewise.
11954 * string/test-strlen-ifunc.c: Likewise.
11955 * string/test-strncasecmp-ifunc.c: Likewise.
11956 * string/test-strncat-ifunc.c: Likewise.
11957 * string/test-strncmp-ifunc.c: Likewise.
11958 * string/test-strncpy-ifunc.c: Likewise.
11959 * string/test-strnlen-ifunc.c: Likewise.
11960 * string/test-strpbrk-ifunc.c: Likewise.
11961 * string/test-strrchr-ifunc.c: Likewise.
11962 * string/test-strspn-ifunc.c: Likewise.
11963 * string/test-strstr-ifunc.c: Likewise.
11964
11965 * debug/Makefile (tests-ifunc): New variable.
11966 (tests): Add $(tests-ifunc).
11967 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11968 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11969 * debug/test-stpcpy_chk-ifunc.c: New file.
11970 * debug/test-strcpy_chk-ifunc.c: Likewise.
11971
11972 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11973
11974 [BZ #13601]
11975 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11976 header is not read in.
11977
11978 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11979
11980 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11981 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11982 directly. Pass built executable to script as
11983 $(built-program-cmd).
11984 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11985 $testprogram without using LD_LIBRARY_PATH and $ldso.
11986
11987 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11988 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11989 $(rtld-installed-name).
11990 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11991 (rtld_installed_name): Likewise.
11992 (library_path): Likewise.
11993 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11994 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11995 $(run-program-prefix) to tst-tables.sh.
11996 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11997 it to run tst-table-from and tst-table-to.
11998 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11999 Pass it to tst-table.sh.
12000 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12001 $(run-program-prefix) to tst-gettext.sh.
12002 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12003 tst-translit.sh.
12004 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12005 tst-gettext2.sh.
12006 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12007 to run tst-gettext.
12008 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12009 to run tst-gettext2.
12010 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12011 to run tst-translit.
12012 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12013 $(run-program-prefix) to tst-mtrace.sh.
12014 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12015 to run tst-mtrace.
12016 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12017 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12018 $(rtld-installed-name).
12019 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12020 (rtld_installed_name): Likewise.
12021 (run_program_prefix): New variable. Use it to run wordexp-test.
12022
12023 * Makeconfig (ARCH): Remove all definitions.
12024 (machine): Likewise.
12025 [ARCH]: Remove conditional code.
12026 [!objdir]: Give error.
12027 [!objdir] (objpfx): Remove.
12028 [!objdir] (common-objpfx): Likewise.
12029 [!objdir] (common-objdir): Likewise.
12030 * configure.in (config_makefile): Remove. Hardcode Makefile in
12031 AC_CONFIG_FILES call.
12032 * configure: Regenerated.
12033
12034 [BZ #13888]
12035 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12036 or TMPDIR.
12037 (testout): Likewise.
12038
12039 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12040 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12041 $(rtld-installed-name).
12042 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12043 (rtld_installed_name): Likwise.
12044 (runit): Remove function.
12045 (run_getconf): New variable, Use it for running getconf binary.
12046
12047 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 [BZ #14716]
12050 * string/test-memmem.c (check_result): New function.
12051 (do_one_test): Use it.
12052 (check1): New function.
12053 (test_main): Use it.
12054
12055 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12056
12057 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12058
12059 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12060
12061 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12062 (_G_LSEEK64): Likewise.
12063 (_G_MMAP64): Likewise.
12064 (_G_FSTAT64): Likewise.
12065 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12066 (_G_LSEEK64): Likewise.
12067 (_G_MMAP64): Likewise.
12068 (_G_FSTAT64): Likewise.
12069 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12070 unconditional. Call __mmap64 directly.
12071 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12072 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12073 __lseek64 directly.
12074 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12075 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12076 __mmap64 directly.
12077 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12078 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12079 __lseek64 directly.
12080 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12081 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12082 __lseek64 directly.
12083 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12084 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12085 __lseek64 directly.
12086 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12087 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12088 __fxstat64 directly.
12089 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12090 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12091 unconditional.
12092 (freopen64) [!_G_OPEN64]: Remove conditional code.
12093 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12094 unconditional.
12095 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12096 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12097 unconditional.
12098 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12099 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12100 unconditional.
12101 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12102 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12103 unconditional.
12104 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12105 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12106 unconditional.
12107 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12108 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12109 unconditional.
12110 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12111 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12112 unconditional.
12113 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12114
12115 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12116
12117 [BZ #12140]
12118 * manual/memory.texi (Malloc Tunable Parameters): Add note
12119 about free list pointers overwriting some perturb bytes.
12120 Wording suggested by Roland McGrath.
12121
12122 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12123
12124 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12125 (lgamma_test): Likewise.
12126 (tgamma_test): Likewise.
12127
12128 2012-10-16 Florian Weimer <fweimer@redhat.com>
12129
12130 [BZ #14700]
12131 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12132 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12133
12134 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12135
12136 * NEWS: Mention BZ #14716.
12137 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12138 when removing AVAILABLE1_USES_J macro.
12139
12140 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12141
12142 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12143 (__bswap_64): __uint64_t for unsigned 64-bit int.
12144
12145 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12146
12147 * include/string.h (memmem): Declare libc hidden alias.
12148 * string/memmem.c (memmem): Define libc hidden alias.
12149 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12150 __read, __close instead of open, read, close.
12151
12152 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12155 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12156 global and hidden.
12157 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12158 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12159 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12160 Likewise.
12161 (__rawmemchr_sse2): Likewise.
12162 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12163 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12164 (__strchr_sse2): Likewise.
12165 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12166 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12167 (__strcasecmp_sse2): Likewise.
12168 (__strncasecmp_sse2): Likewise.
12169 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12170 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12171 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12172 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12173 (__strrchr_sse2): Likewise.
12174 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12175 ifunc-impl-list.c.
12176 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12177 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12178 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12179 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12180 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12181 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12182 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12183 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12184 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12185 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12186 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12187 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12188 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12189 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12190 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12191 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12192 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12193 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12194 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12195 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12196 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12197 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12198 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12199 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12200 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12202 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12203 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12204 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12205 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12206
12207 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12208 global and hidden.
12209 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12210 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12211 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12212 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12213 Likewise.
12214 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12215 Likewise.
12216 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12217 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12218 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12219 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12220 ifunc-impl-list.c.
12221 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12227 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12228 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12230 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12231 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12232 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12234 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12235 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12239 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12240 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12241 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12242 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12243 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12244 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12246 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12247 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12248 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12249 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12250 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12251 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12252 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12253 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12254 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12255 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12256 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12257 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12258 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12259 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12260 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12261 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12262
12263 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12264 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12265 * include/ifunc-impl-list.h: New file.
12266 * misc/ifunc-impl-list.c: Likewise.
12267 * misc/Makefile (routines): Add ifunc-impl-list.
12268 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12269 * string/test-string.h: Include <ifunc-impl-list.h>.
12270 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12271 impl_array): New variables.
12272 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12273 are defined.
12274 (test_init): Call __libc_ifunc_impl_list to initialize
12275 func_list if TEST_IFUNC and TEST_NAME are defined.
12276
12277 * string/Makefile (strop-tests): Add bcopy and bzero.
12278 * string/test-bcopy.c: New file.
12279 * string/test-bzero.c: Likewise.
12280 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12281 defined.
12282 * string/test-memset.c: Support bzero test if TEST_BZERO is
12283 defined.
12284 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12285 __libc_memmove.
12286 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12287 __libc_memset.
12288 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12289 of memset.
12290
12291 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12292
12293 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12294 * configure: Regenerated.
12295
12296 * Makeconfig (+link-static-before-libc): Don't include
12297 $(link-static-libc).
12298
12299 * libio/libio.h (_IO_pos_t): Remove.
12300
12301 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12302
12303 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12304 McGrath.
12305
12306 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12307
12308 * crypt/crypt-entry.c: Include fips-private.h.
12309 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12310 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12311 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12312 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12313
12314 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12315
12316 * crypt/crypt-private.h: Include stdbool.h.
12317 (_ufc_setup_salt_r): Return bool.
12318 * crypt/crypt-entry.c: Include errno.h.
12319 (__crypt_r): Return NULL with EINVAL for bad salt.
12320 * crypt/crypt_util.c (bad_for_salt): New.
12321 (_ufc_setup_salt_r): Check that salt is long enough and within
12322 the specified alphabet.
12323 * crypt/badsalttest.c: New file.
12324 * crypt/Makefile (tests): Add it.
12325 ($(objpfx)badsalttest): New.
12326
12327 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12328
12329 * NEWS: Add entry for BZ #14602.
12330
12331 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12332
12333 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12334 type-generic.
12335 * math/libm-test.inc: Update comment listing what functions and
12336 macros are tested.
12337 (isgreater_test): New function.
12338 (isgreaterequal_test): Likewise.
12339 (isless_test): Likewise.
12340 (islessequal_test): Likewise.
12341 (islessgreater_test): Likewise.
12342 (isunordered_test): Likewise.
12343 (main): Call the new functions.
12344
12345 2012-10-09 Roland McGrath <roland@hack.frob.com>
12346
12347 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12348 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12349 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12350 * sysdeps/i386/configure: Regenerated.
12351 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12352 * sysdeps/mach/configure: Regenerated.
12353 * sysdeps/mach/hurd/configure: Regenerated.
12354 * sysdeps/powerpc/configure: Regenerated.
12355 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12356 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12357 * sysdeps/s390/s390-32/configure: Regenerated.
12358 * sysdeps/s390/s390-64/configure: Regenerated.
12359 * sysdeps/sh/configure: Regenerated.
12360 * sysdeps/sparc/configure: Regenerated.
12361 * sysdeps/unix/sysv/linux/configure: Regenerated.
12362 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12363 * sysdeps/x86_64/configure: Regenerated.
12364
12365 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12366 defined. Don't check if MAP is NULL.
12367
12368 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12369
12370 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12371 (_G_stat64): Likewise.
12372 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12373 (_G_stat64): Likewise.
12374 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12375 instead of struct _G_stat64.
12376 * libio/fileops.c (mmap_remap_check): Likewise.
12377 (decide_maybe_mmap): Likewise.
12378 (_IO_new_file_seekoff): Likewise.
12379 (_IO_file_stat): Likewise.
12380 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12381 _G_off64_t.
12382 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12383 instead of struct _G_stat64.
12384 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12385
12386 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12387
12388 [BZ #14602]
12389 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12390 Replace with ...
12391 (CHECK_EOL): New macro.
12392 (two_way_short_needle): Check beginning of haystack for EOL. Use
12393 CHECK_EOL.
12394 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12395 Replace with CHECK_EOL.
12396 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12397 Replace with CHECK_EOL.
12398
12399 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12400
12401 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12402 type-generic.
12403 * math/libm-test.inc: Update comment listing what functions and
12404 macros are tested.
12405 (finite_test): New function.
12406 (isinf_test): Likewise.
12407 (isnan_test): Likewise.
12408 (fpclassify_test): Test subnormal input.
12409 (isfinite_test): Likewise.
12410 (isnormal_test): Likewise.
12411 (main): Call the new functions.
12412
12413 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12414
12415 [BZ #14660]
12416 * Makerules (%.dynsym): Force C locale when running
12417 $(OBJDUMP) --dynamic-syms.
12418
12419 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12420
12421 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12422 <stdint.h>.
12423
12424 2012-10-06 David S. Miller <davem@davemloft.net>
12425
12426 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12427 upper 32-bits of the length value in %o2 since we use branch-on-register
12428 tests which consider the entire 64-bit register.
12429
12430 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12431
12432 * string/test-strstr.c (check2): Add a test for page boundary.
12433
12434 2012-10-05 David S. Miller <davem@davemloft.net>
12435
12436 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12438 file.
12439 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12440 sysdep_routines.
12441 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12442 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12443 and bzero when HWCAP_SPARC_CRYPTO is present.
12444
12445 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 [BZ #14602]
12448 * string/test-strstr.c (check2): New function.
12449 (test_main): Call check2.
12450
12451 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12452 and bug-strchr1.
12453 * string/bug-strcasestr1.c (do_test): Moved to ...
12454 * string/test-strcasestr.c (check1): Here. New function.
12455 (do_one_test): Break out result checking code into ...
12456 (check_result): This. New function.
12457 (do_one_test): Call check_result.
12458 (test_main): Call check1.
12459 * string/bug-strchr1.c (do_test): Moved to ...
12460 * string/test-strchr.c (check1): Here. New function.
12461 (do_one_test): Break out result checking code into ...
12462 (check_result): This. New function.
12463 (do_one_test): Call check_result.
12464 (test_main): Call check1.
12465 * string/bug-strstr1.c (main): Moved to ...
12466 * string/test-strstr.c (check1): Here. New function.
12467 (do_one_test): Break out result checking code into ...
12468 (check_result): This. New function.
12469 (do_one_test): Call check_result.
12470 (test_main): Call check1.
12471 * string/bug-strcasestr1.c: Removed.
12472 * string/bug-strchr1.c: Likewise.
12473 * string/bug-strstr1.c: Likewise.
12474
12475 * elf/Makefile (dl-routines): Add hwcaps.
12476 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12477 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12478 (_dl_important_hwcaps): Moved to ...
12479 * elf/dl-hwcaps.c: Here. New file.
12480 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12481
12482 [BZ #14557]
12483 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12484 if IS_IN_rtld isn't defined.
12485
12486 * elf/dl-support.c (_dl_sysinfo_map): New.
12487 Include "get-dynamic-info.h" and "setup-vdso.h".
12488 (_dl_non_dynamic_init): Call setup_vdso.
12489 * elf/dynamic-link.h: Don't include <assert.h>.
12490 (elf_get_dynamic_info): Moved to ...
12491 * elf/get-dynamic-info.h: Here. New file.
12492 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12493 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12494 * elf/setup-vdso.h: Here. New file.
12495 * elf/rtld.c: Include "setup-vdso.h".
12496 (dl_main): Call setup_vdso.
12497
12498 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12499
12500 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12501 creal in comment listing functions tested. List finite, isinf,
12502 isnan, isless, islessequal, isgreater, isgreaterequal,
12503 islessgreater, isunordered, lgamma_r and pow10 as functions and
12504 macros not tested. Mention which functions not tested are aliases
12505 for other functions. Fix typo. Note that signs of NaNs are not
12506 tested.
12507
12508 * scripts/config.guess: Update from config.git.
12509 * scripts/config.sub: Likewise.
12510
12511 2012-10-04 Roland McGrath <roland@hack.frob.com>
12512
12513 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12514 * misc/madvise.c (madvise): Renamed to __madvise.
12515 Make madvise a weak alias.
12516 * include/sys/mman.h: Declare __madvise.
12517 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12518 * sysdeps/unix/syscalls.list
12519 (madvise): Make __madvise the strong name, and madvise a weak alias.
12520 * sysdeps/unix/sysv/linux/syscalls.list
12521 (madvise, mmap): Remove redundant entries.
12522 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12523 * malloc/malloc.c (mtrim): Likewise.
12524 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12525
12526 2012-10-03 Roland McGrath <roland@hack.frob.com>
12527
12528 * sysdeps/mach/hurd/dl-cache.c: File removed.
12529 * config.h.in (USE_LDCONFIG): New #undef.
12530 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12531 * configure: Regenerated.
12532 * elf/Makefile (dl-routines): Add dl-cache only under
12533 [$(use-ldconfig) = yes].
12534 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12535 cache on [USE_LDCONFIG].
12536 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12537 [USE_LDCONFIG].
12538 * elf/rtld.c (dl_main): Likewise.
12539
12540 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12541
12542 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12543 _SC_LEVEL4_CACHE_LINESIZE.
12544
12545 2012-10-03 Roland McGrath <roland@hack.frob.com>
12546
12547 * sysdeps/unix/bsd/confstr.h: File removed.
12548
12549 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12550
12551 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12552 sys/sdt-config.h.
12553
12554 2012-10-02 Roland McGrath <roland@hack.frob.com>
12555
12556 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12557 Make 'mapoff' field ElfW(Off) rather than off_t.
12558
12559 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12560
12561 * nscd/Makefile: Remove nscd-cflags and all its users.
12562 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12563 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12564
12565 [BZ #10631]
12566 * malloc.c (malloc_printerr): Clarify error message.
12567
12568 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 [BZ #14648]
12571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12572 Set bit_FMA_Usable if FMA is supported.
12573 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12574 macro.
12575 (bit_FMA4_Usable): Updated.
12576 (index_FMA_Usable): New macro.
12577 (CPUID_FMA): Likewise
12578 (HAS_FMA): Defined with bit_FMA_Usable.
12579
12580 2012-10-01 Roland McGrath <roland@hack.frob.com>
12581
12582 * bits/types.h (__swblk_t): Type removed.
12583 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12584 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12586 (__SWBLK_T_TYPE): Likewise.
12587 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12588 (__SWBLK_T_TYPE): Likewise.
12589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12590 (__SWBLK_T_TYPE): Likewise.
12591 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12592 (__SWBLK_T_TYPE): Likewise.
12593
12594 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12595 Honza Horak <hhorak@redhat.com>
12596
12597 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12598 (xdr_mapname): Use YPMAXMAP as maxsize.
12599 (xdr_peername): Use YPMAXPEER as maxsize.
12600 (xdr_keydat): Use YPAXRECORD as maxsize.
12601 (xdr_valdat): Use YPMAXRECORD as maxsize.
12602
12603 2012-10-01 Roland McGrath <roland@hack.frob.com>
12604
12605 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12606
12607 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12608 * csu/init-first.c: ... here.
12609 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12610 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12613 * sysdeps/i386/init-first.c: File removed.
12614 * sysdeps/sh/init-first.c: File removed.
12615
12616 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12617
12618 [BZ #14645]
12619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12620 if x * y might underflow to zero and z is zero.
12621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12623 * math/libm-test.inc (min_subnorm_value): New variable.
12624 (fma_test): Add more tests.
12625 (fma_test_towardzero): Likewise.
12626 (fma_test_downward): Likewise
12627 (fma_test_upward): Likewise.
12628 (initialize): Set min_subnorm_value.
12629
12630 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12631
12632 [BZ #14638]
12633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12634 0 + 0.
12635 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12636 mode for addition resulting in exact zero.
12637 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12639 exact 0 + 0.
12640 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12642 * math/libm-test.inc (fma_test): Add more tests.
12643 (fma_test_towardzero): New function.
12644 (fma_test_downward): Likewise.
12645 (fma_test_upward): Likewise.
12646 (main): Call the new functions.
12647
12648 2012-09-28 David S. Miller <davem@davemloft.net>
12649
12650 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12651
12652 2012-09-28 Roland McGrath <roland@hack.frob.com>
12653
12654 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12655 instead of SIGALRM.
12656
12657 * sysdeps/gnu/_G_config.h: Moved to ...
12658 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12659 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12660 * sysdeps/generic/_G_config.h: ... here.
12661
12662 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12663
12664 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12665
12666 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12667 Conditionalize target on [libnss_test1.so-version].
12668
12669 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12670
12671 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12672 (elfobjdir): Move out of conditionals.
12673
12674 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12675 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12676 (__nss_lookup_function): Conditionalize label remove_from_tree on
12677 [!DO_STATIC_NSS || SHARED], matching its only use.
12678
12679 2012-09-28 David S. Miller <davem@davemloft.net>
12680
12681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12682 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12683 file.
12684 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12685 sysdep_routines.
12686 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12688 when HWCAP_SPARC_CRYPTO is present.
12689
12690 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12691
12692 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12693
12694 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12695
12696 [BZ #6530]
12697 * stdio-common/vfprintf.c (process_string_arg): Revert
12698 2000-07-22 change.
12699
12700 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12701
12702 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12703 for testcase.
12704 * stdio-common/tst-sprintf.c: Include <locale.h>
12705 (main): Test sprintf's handling of incomplete multibyte
12706 characters.
12707
12708 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 * elf/dl-runtime.c (VERSYMIDX): Removed.
12711 * elf/dl-version.c (VERSYMIDX): Likewise.
12712 * elf/do-rel.h (VERSYMIDX): Likewise.
12713 (VALIDX): Likewise.
12714 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12715 * elf/rtld.c (VALIDX): Likewise.
12716 (ADDRIDX): Likewise.
12717 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12718 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12719 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12720 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12721 (VALIDX): Likewise.
12722 (ADDRIDX): Likewise.
12723
12724 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12725
12726 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12727
12728 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12729
12730 [BZ #11438]
12731 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12732 to global scope.
12733 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12734 addresses are in the same scope as 192.0.2/24.
12735 * posix/gai.conf: Document new scope table defaults.
12736
12737 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12738
12739 [BZ #5298]
12740 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12741 for ftell. Compute offsets from write pointers instead.
12742 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12743
12744 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12745
12746 [BZ #14543]
12747 * libio/Makefile (tests): New test case tst-fseek.
12748 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12749 combination works in wide mode.
12750 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12751 state when the external buffer state changes.
12752
12753 2012-09-27 David S. Miller <davem@davemloft.net>
12754
12755 [BZ #14376]
12756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12757 pass reloc->r_addend in as the 'high' argument to
12758 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12759
12760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12761
12762 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12763
12764 * rt/tst-aio2.c: Include <pthread.h>.
12765 * rt/tst-aio3.c: Likewise.
12766
12767 2012-09-27 Steve Ellcey <sellcey@mips.com>
12768
12769 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12770
12771 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12774 contents on [SHARED].
12775
12776 2012-09-26 Marek Polacek <polacek@redhat.com>
12777
12778 [BZ #14530]
12779 [BZ #13741]
12780 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12781 for C++ and GCC <4.3 as well as for non GCC compilers.
12782
12783 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12784
12785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12786
12787 2012-09-25 Roland McGrath <roland@hack.frob.com>
12788
12789 * Makefile.in (all, install): Declare with .PHONY.
12790 Reported by Michael Hope <michael.hope@linaro.org>.
12791
12792 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12793
12794 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12795 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12796 system header.
12797 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12798 Likewise.
12799 (sydep_routines): Add the new and the internal functions.
12800 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12801 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12803 (GLIBC_2.17): Add the new function.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12805 (GLIBC_2.17): Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12807 (GLIBC_2.17): Likewise.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12809 (GLIBC_2.17): Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12811
12812 2012-09-25 Alan Modra <amodra@gmail.com>
12813
12814 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12815 Add release barrier before setting once_control to say
12816 initialisation is done. Add hints on lwarx. Use macro in
12817 place of isync.
12818 (clear_once_control): Add release barrier.
12819
12820 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12821
12822 [BZ #13629]
12823 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12824 specially.
12825 * math/s_clog10.c (__clog10): Likewise.
12826 * math/s_clog10f.c (__clog10f): Likewise.
12827 * math/s_clog10l.c (__clog10l): Likewise.
12828 * math/s_clogf.c (__clogf): Likewise.
12829 * math/s_clogl.c (__clogl): Likewise.
12830 * math/Makefile (libm-calls): Add x2y2m1.
12831 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12832 (__x2y2m1): Likewise.
12833 (__x2y2m1l): Likewise.
12834 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12835 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12840 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12841 * sysdeps/i386/fpu/libm-test-ulps: Update.
12842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12843
12844 [BZ #14621]
12845 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12846 int as type of variable DEPTH.
12847 (glob): Use size_t instead of int as type of variables NEWCOUNT
12848 and OLD_PATHC.
12849
12850 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12851
12852 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12853 Add s_sincosf-sse2.
12854 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12855 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12856 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12857 macros for using routine as __sincosf_ia32.
12858 Use macro for function declaration and weak_alias.
12859 * sysdeps/i386/fpu/libm-test-ulps: Update.
12860
12861 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12863
12864 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12865 subnormal argument.
12866 * math/s_cexpf.c (__cexpf): Likewise.
12867 * math/s_csinf.c (__csinf): Likewise.
12868 * math/s_csinhf.c (__csinhf): Likewise.
12869 * math/s_ctanf.c (__ctanf): Likewise.
12870 * math/s_ctanhf.c (__ctanhf): Likewise.
12871 * math/s_ccosh.c (__ccoshf): Likewise.
12872 * math/s_cexp.c (__cexpl): Likewise.
12873 * math/s_csin.c (__csin): Likewise.
12874 * math/s_csinh.c (__csinh): Likewise.
12875 * math/s_ctan.c (__ctan): Likewise.
12876 * math/s_ctanh.c (ctanh): Likewise.
12877 * math/s_ccoshl.c (__ccoshl): Likewise.
12878 * math/s_cexpl.c (__cexpl): Likewise.
12879 * math/s_csinl.c (__csinl): Likewise.
12880 * math/s_csinhl.c (__csinhl): Likewise.
12881 * math/s_ctanl.c (__ctanl): Likewise.
12882 * math/s_ctanhl.c (__ctanhl): Likewise.
12883
12884 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12885
12886 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12887 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12888 (_IO_off_t): Define to __off_t, not _G_off_t.
12889 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12890 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12891 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12892 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12893 type of __dummy and __dummy2 fields.
12894 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12895 (_G_ssize_t): Likewise.
12896 (_G_off_t): Likewise.
12897 (_G_pid_t): Likewise.
12898 (_G_uid_t): Likewise.
12899 (_G_wchar_t): Likewise.
12900 (_G_wint_t): Likewise.
12901 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12902 (_G_ssize_t): Likewise.
12903 (_G_off_t): Likewise.
12904 (_G_pid_t): Likewise.
12905 (_G_uid_t): Likewise.
12906 (_G_wchar_t): Likewise.
12907 (_G_wint_t): Likewise.
12908 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12909 (_G_ssize_t): Likewise.
12910 (_G_off_t): Likewise.
12911 (_G_pid_t): Likewise.
12912 (_G_uid_t): Likewise.
12913 (_G_wchar_t): Likewise.
12914 (_G_wint_t): Likewise.
12915
12916 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12917
12918 * malloc/arena.c: Include malloc-sysdep.h.
12919 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12920 is sufficient to shrink the heap or an unmap is needed.
12921 * sysdeps/generic/malloc-sysdep.h: New file. Define
12922 new function check_may_shrink_heap.
12923 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12924 new function check_may_shrink_heap.
12925
12926 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12927
12928 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12929 comments.
12930
12931 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12932
12933 * catgets/test-gencat.sh: Add "set -e".
12934 * elf/tst-pathopt.sh: Likewise.
12935 * grp/tst_fgetgrent.sh: Likewise.
12936 * iconvdata/run-iconv-test.sh: Likewise.
12937 * intl/tst-gettext.sh: Likewise.
12938 * intl/tst-gettext2.sh: Likewise.
12939 * intl/tst-gettext4.sh: Likewise.
12940 * intl/tst-gettext6.sh: Likewise.
12941 * intl/tst-translit.sh: Likewise.
12942 * io/ftwtest-sh: Likewise.
12943 * libio/test-freopen.sh: Likewise.
12944 * malloc/tst-mtrace.sh: Likewise.
12945 * posix/globtest.sh: Likewise.
12946 * posix/tst-getconf.sh: Likewise.
12947 * posix/wordexp-tst.sh: Likewise.
12948 * stdio-common/tst-printf.sh: Likewise.
12949 * stdio-common/tst-unbputc.sh: Likewise.
12950 * stdlib/tst-fmtmsg.sh: Likewise.
12951 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12952 * catgets/Makefile: Do not specify -e option when running
12953 testsuite shell scripts.
12954 * elf/Makefile: Likewise.
12955 * grp/Makefile: Likewise.
12956 * iconvdata/Makefile: Likewise.
12957 * intl/Makefile: Likewise.
12958 * io/Makefile: Likewise.
12959 * libio/Makefile: Likewise.
12960 * malloc/Makefile: Likewise.
12961 * posix/Makefile: Likewise.
12962 * stdio-common/Makefile: Likewise.
12963 * stdlib/Makefile: Likewise.
12964 * sysdeps/x86_64/Makefile: Likewise.
12965
12966 * io/ftwtest-sh: Add copyright header.
12967 * posix/globtest.sh: Likewise.
12968 * posix/tst-getconf.sh: Likewise.
12969 * posix/wordexp-tst.sh: Likewise.
12970 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12971
12972 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12973
12974 [BZ #13679]
12975 * Makeconfig (+link): Defined as $(+link-static) if
12976 $(build-shared) isn't yes.
12977 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12978 isn't yes.
12979 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12980
12981 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12982
12983 [BZ #14562]
12984 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12985 new chunk size with MALLOC_ALIGN_MASK.
12986
12987 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12988
12989 [BZ #5044]
12990 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12991 <rounding-mode.h>.
12992 (__printf_fphex): Determine rounding using get_rounding_mode and
12993 round_away.
12994 * stdio-common/tst-printf-round.c (struct hex_test): New
12995 structure.
12996 (hex_tests): New variable.
12997 (test_hex_in_one_mode): New function.
12998 (do_test): Also run tests for hex float output.
12999
13000 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13001
13002 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13003 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13004 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13005 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13006 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13007 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13008 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13009 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13010
13011 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13012
13013 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13014 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13015 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13016 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13017
13018 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13019
13020 [BZ #14579]
13021 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13022 mode only.
13023 * elf/tst-rtld-load-self.sh: New test.
13024 * elf/Makefile: Run it.
13025
13026 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13027
13028 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13029 (tst-writev-ENV): Remove.
13030 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13031
13032 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13033
13034 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13035
13036 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13037
13038 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13039 unconditional.
13040 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13041 Likewise.
13042 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13043 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13044 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13045 Likewise.
13046
13047 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13048
13049 [BZ #14587]
13050 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13051 * config.make.in (have-cpp-asm-debuginfo): Removed.
13052 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13053 * configure: Regenerated.
13054
13055 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13056
13057 [BZ #5044]
13058 * stdio-common/printf_fp.c: Include <stdbool.h> and
13059 <rounding-mode.h>.
13060 (___printf_fp): Determine rounding using get_rounding_mode and
13061 round_away.
13062 * stdio-common/tst-printf-round.c: New file.
13063 * stdio-common/Makefile (tests): Add tst-printf-round.
13064 (link-libm): New variable.
13065 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13066
13067 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13068
13069 [BZ #14576]
13070 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13071 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13072 Likewise.
13073 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13074 Likewise.
13075
13076 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13077
13078 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13079 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13080 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13081 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13082
13083 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13084
13085 [BZ #14518]
13086 * include/rounding-mode.h: New file.
13087 * sysdeps/generic/get-rounding-mode.h: Likewise.
13088 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13089 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13090 (MAX_VALUE): New macro.
13091 (MIN_VALUE): Likewise.
13092 (overflow_value): New function.
13093 (underflow_value): Likewise.
13094 (round_and_return): Use overflow_value and underflow_value to
13095 determine return values in overflow and underflow cases. Use
13096 round_away to determine rounding depending on rounding mode.
13097 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13098 determine return values in overflow and underflow cases.
13099 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13100 (struct test_results): New structure.
13101 (struct test): Use struct test_results to store expected results
13102 for all rounding modes.
13103 (TEST): Include expected results for all rounding modes.
13104 (test_in_one_mode): New function.
13105 (do_test): Use test_in_one_mode to compute and check results.
13106 Check results for all rounding modes.
13107 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13108 $(link-libm).
13109
13110 2012-12-09 Allan McRae <allan@archlinux.org>
13111
13112 * sysdeps/i386/fpu/libm-test-ulps: Update
13113
13114 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13115
13116 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13117 (_G_int32_t): Likewise.
13118 (_G_uint16_t): Likewise.
13119 (_G_uint32_t): Likewise.
13120 (_G_HAVE_BOOL): Likewise.
13121 (_G_HAVE_ATEXIT): Likewise.
13122 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13123 (_G_HAVE_IO_FILE_OPEN): Likewise.
13124 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13125 (_G_int32_t): Likewise.
13126 (_G_uint16_t): Likewise.
13127 (_G_uint32_t): Likewise.
13128 (_G_HAVE_BOOL): Likewise.
13129 (_G_HAVE_ATEXIT): Likewise.
13130 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13131 (_G_HAVE_IO_FILE_OPEN): Likewise.
13132 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13133 (_G_int32_t): Likewise.
13134 (_G_uint16_t): Likewise.
13135 (_G_uint32_t): Likewise.
13136 (_G_HAVE_BOOL): Likewise.
13137 (_G_HAVE_ATEXIT): Likewise.
13138 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13139 (_G_HAVE_IO_FILE_OPEN): Likewise.
13140
13141 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13142
13143 * csu/libc-tls.c: Update copyright years.
13144
13145 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13146
13147 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13148 [!_G_USING_THUNKS]: Remove conditional code.
13149 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13150 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13151
13152 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13153 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13154 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13155 (_G_VTABLE_LABEL_PREFIX): Likewise.
13156 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13157 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13158 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13159 (_G_VTABLE_LABEL_PREFIX): Likewise.
13160 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13161 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13162 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13163 (_G_VTABLE_LABEL_PREFIX): Likewise.
13164 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13165
13166 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13167
13168 * libio/Makefile: Include ../Makeconfig before tests.
13169 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13170 only if $(build-shared) is yes.
13171
13172 * iconv/gconv_db.c: Update copyright years.
13173
13174 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13175
13176 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13177 unwind info if defined PIC. Fix special cases description.
13178 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13179
13180 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13181 DP_HI_MASK entry.
13182 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13183
13184 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13185
13186 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13187
13188 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13189 is NULL.
13190
13191 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13192 (LDLIBS-tst-chk4): This.
13193 (LDFLAGS-tst-chk5): Renamed to ...
13194 (LDLIBS-tst-chk5): This.
13195 (LDFLAGS-tst-chk6): Renamed to ...
13196 (LDLIBS-tst-chk6): This.
13197 (LDFLAGS-tst-lfschk4): Renamed to ...
13198 (LDLIBS-tst-lfschk4): This.
13199 (LDFLAGS-tst-lfschk5): Renamed to ...
13200 (LDLIBS-tst-lfschk5): This.
13201 (LDFLAGS-tst-lfschk6): Renamed to ...
13202 (LDLIBS-tst-lfschk6): This.
13203
13204 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13205 on $(common-objpfx)soversions.mk.
13206
13207 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13208
13209 [BZ #10014]
13210 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13211 example host name.
13212
13213 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13214
13215 * malloc/arena.c (arena_get_retry): New function that gets
13216 another arena for the caller to try its request on.
13217 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13218 current arena cannot fulfill the request.
13219 (__libc_memalign): Likewise.
13220 (__libc_memalign): Likewise.
13221 (__libc_pvalloc): Likewise.
13222 (__libc_calloc): Likewise.
13223
13224 2012-09-05 John Tobey <john.tobey@gmail.com>
13225
13226 [BZ #13542]
13227 * manual/arith.texi (Operations on Complex): Fix description
13228 of carg branch cut.
13229
13230 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13231
13232 [BZ #10014]
13233 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13234 host name.
13235
13236 [BZ #10038]
13237 * manual/memory.texi (Memory): Make order of menu items match
13238 order of sections.
13239
13240 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13241
13242 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13243 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13244 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13245
13246 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13247
13248 * csu/libc-tls.c (static_dtv): Renamed to ...
13249 (_dl_static_dtv): This. Make it global.
13250 (_dl_initial_dtv): Removed.
13251 (__libc_setup_tls): Updated.
13252 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13253 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13254 DL_INITIAL_DTV.
13255
13256 2012-09-06 Petr Machata <pmachata@redhat.com>
13257
13258 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13259 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13260 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13261 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13262
13263 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13264
13265 [BZ #14545]
13266 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13267 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13268 freeing dtv[-1].
13269
13270 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13271
13272 [BZ #14544]
13273 * Makeconfig (link-static-before-libc): Replace $(+prector)
13274 with $(+prectorT).
13275 (link-static-after-libc): Replace $(+postctor) with
13276 $(+postctorT).
13277 (link-bounded): Replace $(+prector)/$(+postctor) with
13278 $(+prectorT)/$(+postctorT).
13279 (+prectorT): New macro.
13280 (+postctorT): Likewise.
13281
13282 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13283
13284 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13285 (round_str): Handle values above the maximum for IBM long double
13286 as inexact.
13287 * stdlib/tst-strtod-round.c (tests): Regenerated.
13288
13289 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13290
13291 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13292 assembler flag.
13293 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13294 zarch_nohighgprs around the zarch optimized routines.
13295 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13296 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13297 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13298 for zarch.
13299
13300 2012-09-05 David S. Miller <davem@davemloft.net>
13301
13302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13303
13304 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13305 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13306 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13307 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13308 entries.
13309
13310 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13311
13312 * malloc/arena.c: Fold copyright years.
13313 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13314
13315 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13316
13317 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13318
13319 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13320
13321 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13322
13323 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13324
13325 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13326 change internal state upon failure.
13327
13328 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13329
13330 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13331 * malloc/memusage.c (mmap): Likewise.
13332 (mmap64, mremap): Likewise. Adjust name in comment.
13333
13334 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13335
13336 * libio/fileops.c: Fix typos in comments.
13337 * libio/oldfileops.c: Likewise.
13338 * libio/wfileops.c: Likewise.
13339
13340 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13341
13342 [BZ #1349]
13343 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13344 (tst-malloc-usable-ENV): Set environment for test case.
13345 * malloc/hooks.c (malloc_check_get_size): New function to get
13346 requested size.
13347 * malloc/malloc.c (musable): Use malloc_check_get_size.
13348 * malloc/tst-malloc-usable.c: New test case.
13349
13350 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13351
13352 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13353
13354 2012-09-05 Allan McRae <allan@archlinux.org>
13355
13356 [BZ #13966]
13357 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13358 determine header location.
13359 * configure: Regenerated.
13360
13361 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13362
13363 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13364 float format.
13365 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13366 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13367 format.
13368 (test): Regenerate.
13369
13370 2012-09-04 David S. Miller <davem@davemloft.net>
13371
13372 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13373 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13374 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13375
13376 2012-09-04 Florian Weimer <fweimer@redhat.com>
13377
13378 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13379 failures.
13380
13381 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13382
13383 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13384
13385 [BZ #9914]
13386 * libio/iogetdelim.c: Include <limits.h>.
13387 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13388 + len + 1 would overflow.
13389
13390 2012-09-03 Andreas Jaeger <aj@suse.de>
13391
13392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13393 * sysdeps/i386/fpu/libm-test-ulps: Update.
13394
13395 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13396
13397 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13398 Add s_sinf-sse2, s_conf-sse2.
13399
13400 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13401 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13402 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13403 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13404
13405 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13406 for using routine as __sinf_ia32.
13407 Use macro for function declaration and weak_alias.
13408 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13409 for using routine as __cosf_ia32.
13410 Use macro for function declaration and weak_alias.
13411
13412 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13413 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13414
13415 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13416 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13418
13419 * math/libm-test.inc (cos_test): Add more test cases.
13420 (sin_test): Likewise.
13421 (sincos_test): Likewise.
13422
13423 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13424
13425 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13426 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13427 hidden.
13428 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13429
13430 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 [BZ #14538]
13433 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13434 first element of the GOT.
13435 (elf_machine_load_address): Return the difference between
13436 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13437
13438 2012-09-01 Allan McRae <allan@archlinux.org>
13439
13440 [BZ #13412]
13441 * configure.in (AWK): Require gawk version 3.0 or later.
13442 * configure: Regenerated.
13443
13444 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13445
13446 * sysdeps/unix/sysv/linux/kernel-features.h
13447 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13449 [__NR_clock_getres]: Make code unconditional.
13450 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13451 (clock_getcpuclockid): Remove code left unreachable by removal of
13452 conditionals.
13453 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13454 code unconditional.
13455 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13456 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13457 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13458 Make code unconditional.
13459 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13460 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13461 * sysdeps/unix/sysv/linux/clock_settime.c
13462 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13463 conditional code.
13464 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13465 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13466
13467 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13468
13469 [BZ #14476]
13470 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13471 scripts/test-installation.pl.
13472
13473 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13474 and $ld_so_version if it is set.
13475
13476 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13477
13478 [BZ #14516]
13479 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13480 failure if reading from procfs failed.
13481 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13482
13483 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13484
13485 * sysdeps/unix/sysv/linux/kernel-features.h
13486 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13487 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13488 Remove conditional code.
13489 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13490 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13491 Remove conditional code.
13492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13493 * sysdeps/unix/sysv/linux/i386/fxstat.c
13494 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13496 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13497 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13499 * sysdeps/unix/sysv/linux/i386/lxstat.c
13500 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13502 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13503 Remove conditional code.
13504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13505 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13506 Remove conditional code.
13507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13508 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13509 <kernel-features.h>.
13510 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13511 Remove.
13512 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13513 Remove conditional code.
13514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13515 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13516 Remove conditional.
13517
13518 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13519
13520 [BZ #5400]
13521 * NEWS: Add fixed bug number.
13522
13523 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13524
13525 [BZ #14519]
13526 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13527 underflowing exponent in case of negative sign.
13528 * stdlib/tst-strtod-round-data: Add more tests.
13529 * stdlib/tst-strtod-round.c (tests): Regenerated.
13530
13531 [BZ #3479]
13532 * stdlib/strtod_l.c (NDIG): Remove.
13533 (HEXNDIG): Likewise.
13534 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13535 smallest representable value.
13536 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13537 lie within an exact representation of 1/2 ulp of the result.
13538 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13539 unconditionally.
13540 (TENS_P9_IDX): Define unconditionally.
13541 (TENS_P9_SIZE): Likewise.
13542 (TENS_P10_IDX): Likewise.
13543 (TENS_P10_SIZE): Likewise.
13544 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13545 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13546 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13547 entries for 10^2^13 and 10^2^14.
13548 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13549 (TENS_P13_IDX): Define.
13550 (TENS_P13_SIZE): Likewise.
13551 (TENS_P14_IDX): Likewise.
13552 (TENS_P14_SIZE): Likewise.
13553 (_fpioconst_pow10): Change array size to
13554 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13555 unconditional.
13556 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13557 1024]: Add entries for 10^2^13 and 10^2^14.
13558 [LAST_POW10 > _LAST_POW10]: Remove #error.
13559 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13560 (_fpioconst_pow10): Change array size to
13561 FPIOCONST_POW10_ARRAY_SIZE.
13562 * stdlib/gen-fpioconst.c: New file.
13563 * stdlib/gen-tst-strtod-round.c: Likewise.
13564 * stdlib/tst-strtod-round-data: Likewise.
13565 * stdlib/tst-strtod-round.c: Likewise.
13566 * stdlib/Makefile (tests): Add tst-strtod-round.
13567
13568 [BZ #14459]
13569 * stdlib/strtod_l.c: Include <stdint.h>.
13570 (NDEBUG): Do not define.
13571 (round_and_return): Change EXPONENT parameter to type intmax_t.
13572 Rearrange calculations to avoid internal overflow possibilities.
13573 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13574 Rearrange calculations to avoid internal overflow possibilities.
13575 Assert that number fits inside MPNSIZE limbs.
13576 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13577 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13578 calculations and add assertions to avoid internal overflow
13579 possibilities. Add casts to avoid signed/unsigned operations.
13580 * stdlib/tst-strtod-overflow.c: New file.
13581 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13582
13583 2012-08-25 Marek Polacek <polacek@redhat.com>
13584
13585 * time/time.h: Fix some typos in comments.
13586
13587 2012-08-23 Roland McGrath <roland@hack.frob.com>
13588
13589 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13590 * posix/tst-rfc3484-2.c: Likewise.
13591 * posix/tst-rfc3484-3.c: Likewise.
13592
13593 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13594
13595 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13596 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13597
13598 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13599
13600 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13601 #include of fxstatat64.c.
13602
13603 2012-08-22 Roland McGrath <roland@hack.frob.com>
13604
13605 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13606 * shadow/getspent_r.c: Likewise.
13607 * shadow/getspnam.c: Likewise.
13608 * shadow/getspnam_r.c: Likewise.
13609 * gshadow/getsgent.c: Likewise.
13610 * gshadow/getsgent_r.c: Likewise.
13611 * gshadow/getsgnam.c: Likewise.
13612 * gshadow/getsgnam_r.c: Likewise.
13613 * inet/getnetbyad.c: Likewise.
13614 * inet/getnetbyad_r.c: Likewise.
13615 * inet/getnetbynm.c: Likewise.
13616 * inet/getnetbynm_r.c: Likewise.
13617 * inet/getnetent.c: Likewise.
13618 * inet/getnetent_r.c: Likewise.
13619 * inet/getproto.c: Likewise.
13620 * inet/getproto_r.c: Likewise.
13621 * inet/getprtent.c: Likewise.
13622 * inet/getprtent_r.c: Likewise.
13623 * inet/getprtname.c: Likewise.
13624 * inet/getprtname_r.c: Likewise.
13625 * inet/getrpcbyname.c: Likewise.
13626 * inet/getrpcbyname_r.c: Likewise.
13627 * inet/getrpcbynumber.c: Likewise.
13628 * inet/getrpcbynumber_r.c: Likewise.
13629 * inet/getrpcent.c: Likewise.
13630 * inet/getrpcent_r.c: Likewise.
13631 * inet/getaliasent.c: Likewise.
13632 * inet/getaliasent_r.c: Likewise.
13633 * inet/getaliasname.c: Likewise.
13634 * inet/getaliasname_r.c: Likewise.
13635 * nscd/getgrgid_r.c: Likewise.
13636 * nscd/getgrnam_r.c: Likewise.
13637 * nscd/gethstbyad_r.c: Likewise.
13638 * nscd/gethstbynm3_r.c: Likewise.
13639 * nscd/getpwnam_r.c: Likewise.
13640 * nscd/getpwuid_r.c: Likewise.
13641 * nscd/getsrvbynm_r.c: Likewise.
13642 * nscd/getsrvbypt_r.c: Likewise.
13643 * nscd/gai.c: Likewise.
13644
13645 * configure.in (build_nscd): New substituted variable, set
13646 by --disable-build-nscd and defaults to $use_nscd.
13647 * configure: Regenerated.
13648 * config.make.in (build-nscd): New substituted variable.
13649 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13650 Change conditional to require [$(build-nscd) = yes] as well.
13651 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13652
13653 [BZ# 13696]
13654 * configure.in (use_nscd): New substituted variable, set by
13655 --disable-nscd. If enabled, define USE_NSCD.
13656 * configure: Regenerated.
13657 * config.h.in: Add USE_NSCD.
13658 * config.make.in (use-nscd): New substituted variable.
13659 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13660 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13661 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13662 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13663 (CFLAGS-getgrnam_r.c): Likewise.
13664 (CFLAGS-initgroups.c): Likewise.
13665 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13666 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13667 Variables removed.
13668 * inet/getnetgrent_r.c
13669 (nscd_setnetgrent): New function, broken out of ...
13670 (setnetgrent): ... here. Call it.
13671 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13672 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13673 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13674 * nscd/Makefile (routines, aux): Move definitions after include of
13675 Makeconfig. Conditionalize on [$(use-nscd) != no].
13676 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13677 Conditionalize on [USE_NSCD].
13678 (is_nscd, nscd_init_cb): Likewise.
13679 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13680 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13681 * nss/nss_db/db-init.c: Likewise.
13682 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13683 [USE_NSCD].
13684 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13685 (make_request): Use it.
13686 (cache_valid_p): New function.
13687 (__check_pf): Use it.
13688 * NEWS: Add item for --disable-nscd.
13689
13690 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13691
13692 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13693 to support sed >= 4.2.1-20-ga9bf076.
13694 * configure: Regenerated.
13695
13696 2012-08-22 Roland McGrath <roland@hack.frob.com>
13697
13698 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13699 Conditionalize whole body on [IREL].
13700
13701 2012-08-22 Jeff Law <law@redhat.com>
13702
13703 [BZ #14505]
13704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13705 if the family is PF_UNSPEC.
13706
13707 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13708
13709 * Makerules (lib-version): Rename from V.
13710 (install-lib-nosubdir): Change V to lib-version.
13711
13712 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13713
13714 [BZ #14252]
13715 * powerpc32/power6/wcschr.c: New file.
13716 * powerpc32/power6/wcscpy.c: New file.
13717 * powerpc32/power6/wcsrchr.c: New file.
13718 * powerpc64/power6/wcschr.c: New file.
13719 * powerpc64/power6/wcscpy.c: New file.
13720 * powerpc64/power6/wcsrchr.c: New file.
13721
13722 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13723
13724 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13725 (two_way_short_needle): Use it.
13726 * string/strstr.c (AVAILABLE1_USES_J): Define.
13727 * string/strcasestr.c: Likewise.
13728
13729 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13730 array references.
13731 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13732
13733 [BZ #11607]
13734 * NEWS: Add an entry.
13735 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13736 define their defaults.
13737 (two_way_short_needle): Detect end-of-string on-the-fly.
13738 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13739 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13740 * string/bug-strcasestr1.c: New test.
13741 * string/Makefile: Run it.
13742
13743 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13744
13745 [BZ #11607]
13746 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13747 the first character.
13748
13749 2012-08-21 Roland McGrath <roland@hack.frob.com>
13750
13751 * csu/elf-init.c (__libc_csu_irel): Function removed.
13752 * csu/libc-start.c (apply_irel): New function.
13753 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13754
13755 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13756
13757 * sysdeps/unix/sysv/linux/kernel-features.h
13758 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13759 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13760 <kernel-features.h>.
13761 [__NR_fadvise64_64]: Make code unconditional.
13762 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13763 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13764 !__NR_fadvise64_64)]: Likewise.
13765 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13766 !__NR_fadvise64_64))]: Likewise.
13767 [__NR_fadvise64]: Make code unconditional.
13768 [!__NR_fadvise64]: Remove conditional code.
13769 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13770 <kernel-features.h>.
13771 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13772 unconditional.
13773 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13774 conditional code.
13775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13776 not include <kernel-features.h>.
13777 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13778 unconditional.
13779 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13780 conditional code.
13781 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13782 include <kernel-features.h>.
13783 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13784 unconditional.
13785 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13786 conditional code.
13787
13788 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13789
13790 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13791 slight instruction rearrangements per scrollpipe analysis.
13792 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13793
13794 2012-08-20 Roland McGrath <roland@hack.frob.com>
13795
13796 * manual/syslog.texi (syslog; vsyslog, closelog):
13797 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13798 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13799
13800 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13801 DSOCAPS to match condition on defining it.
13802
13803 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13804
13805 * sysdeps/unix/sysv/linux/kernel-features.h
13806 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13808 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13809 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13811 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13812 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13814 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13815 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13816
13817 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13818 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13819
13820 * sysdeps/unix/sysv/linux/kernel-features.h
13821 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13822 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13823 unconditional.
13824 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13825 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13826 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13827 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13828 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13829 Make code unconditional.
13830 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13831 (__mmap64) [!__NR_mmap2]: Likewise.
13832 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13833 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13834 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13835 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13836 [__NR_mmap2]: Make code unconditional.
13837 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13838 (__mmap64) [!__NR_mmap2]: Likewise.
13839
13840 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13841
13842 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13843
13844 2012-08-18 Andreas Jaeger <aj@suse.de>
13845
13846 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13847
13848 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13849
13850 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13851 * include/unistd.h (__have_sock_cloexec): Likewise.
13852 (__have_pipe2): Likewise.
13853 (__have_dup3): Likewise.
13854
13855 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13856
13857 [BZ #9685]
13858 * include/unistd.h (__have_pipe2): Change define into an extern int.
13859 (__have_dup3): Likewise.
13860 * socket/have_sock_cloexec.c: Include fcntl.h.
13861 (__have_pipe2): New variable.
13862 (__have_dup3): Likewise.
13863
13864 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13865
13866 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13867
13868 2012-08-17 Marek Polacek <polacek@redhat.com>
13869
13870 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13871 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13872
13873 2012-08-17 Roland McGrath <roland@hack.frob.com>
13874
13875 * configure.in: Add AC_SUBST for sysheaders.
13876 * configure: Regenerated.
13877 * config.make.in (sysheaders): New substituted variable.
13878
13879 * sysdeps/unix/mkfifo.c: Moved ...
13880 * sysdeps/posix/mkfifo.c: ... here.
13881 * sysdeps/unix/mkfifoat.c: Moved ...
13882 * sysdeps/posix/mkfifoat.c: ... here.
13883
13884 * sysdeps/unix/utime.c: Moved ...
13885 * sysdeps/posix/utime.c: ... here.
13886
13887 * sysdeps/unix/time.c: Moved ...
13888 * sysdeps/posix/time.c: ... here.
13889 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13890 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13891
13892 * sysdeps/unix/nice.c: Moved ...
13893 * sysdeps/posix/nice.c: ... here.
13894
13895 * sysdeps/unix/alarm.c: Moved ...
13896 * sysdeps/posix/alarm.c: ... here.
13897
13898 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13899
13900 2012-08-17 Jeff Law <law@redhat.com>
13901
13902 * intl/Makefile (codeset_mo): New variable.
13903 ($(codeset_mo)): New target.
13904 (tst-codeset.out): Depend on that. Remove explicit rule.
13905 (tst-gettext3.out, tst-gettext5.out): Likewise.
13906 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13907 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13908 * intl/tst-codeset.sh: Remove.
13909 * intl/tst-gettext3.sh: Likewise.
13910 * intl/tst-gettext5.sh: Likewise.
13911
13912 2012-08-17 Roland McGrath <roland@hack.frob.com>
13913
13914 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13915 * sysdeps/unix/syscalls.list: ... here.
13916
13917 * sysdeps/posix/getaddrinfo.c
13918 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13919 (gaiconf_init, gaiconf_reload): Use them.
13920 [!_STATBUF_ST_NSEC]
13921 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13922 Define using time_t rather than struct timespec.
13923
13924 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13925 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13926 Macros removed.
13927 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13928 [!NO_THREADS].
13929 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13930 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13931 Likewise.
13932
13933 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13934 __libc_cleanup_push argument.
13935
13936 * bits/param.h: New file.
13937 * misc/sys/param.h: New file.
13938 * include/sys/param.h: New file.
13939 * misc/Makefile (headers): Add bits/param.h.
13940 * sysdeps/generic/sys/param.h: File removed.
13941 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13942 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13943 * sysdeps/mach/hurd/bits/param.h: New file.
13944 * sysdeps/mach/hurd/sys/param.h: File removed.
13945
13946 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13947 last change.
13948
13949 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13950 [_IO_MTSAFE_IO].
13951 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13952 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13953 New macros.
13954
13955 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13956 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13957 rather than -D_IO_MTSAFE_IO conditionally.
13958 * stdio-common/Makefile (CPPFLAGS): Likewise.
13959 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13960 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13961 Use $(libio-mtsafe).
13962 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13963 of -D_IO_MTSAFE_IO.
13964 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13965 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13966 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13967 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13968 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13969 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13970 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13971 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13972 (CFLAGS-fread_u_chk.c): Likewise.
13973 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13974 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13975 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13976 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13977 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13978 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13979 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13980 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13981 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13982
13983 * libio/Makefile: Test [$(libc-reentrant) = yes]
13984 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13985
13986 * Makeconfig
13987 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13988 * sysdeps/pthread/configure: File removed.
13989 * sysdeps/pthread/Makeconfig: New file.
13990 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13991 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13992
13993 2012-08-16 Gary Benson <gbenson@redhat.com>
13994
13995 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13996 unmapping the first object in a namespace.
13997
13998 2012-08-16 Roland McGrath <roland@hack.frob.com>
13999
14000 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14001 (__internal_setnetgrent): ... this. Add internal_function to
14002 definition. Add libc_hidden_def.
14003 (setnetgrent): Update caller.
14004 (internal_endnetgrent): Renamed to ...
14005 (__internal_endnetgrent): ... this. Add internal_function to
14006 definition. Add libc_hidden_def.
14007 (endnetgrent): Update caller.
14008 (internal_getnetgrent_r): Renamed to ...
14009 (__internal_getnetgrent_r): ... this. Add internal_function to
14010 definition. Add libc_hidden_def.
14011 (__getnetgrent_r): Update caller.
14012 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14013
14014 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14015
14016 * stdlib/longlong.h: Update from GCC.
14017
14018 2012-08-16 Roland McGrath <roland@hack.frob.com>
14019
14020 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14021 on _QL, which is set by umul_ppmm but never used.
14022 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14023 variables, which are set by GMP macros but never used.
14024 * stdio-common/_itowa.c (_itowa): Likewise.
14025 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14026 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14027
14028 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14029
14030 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14031 struct La_sh_regs is not constant.
14032 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14033 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14034 and struct La_sparc64_regs are not constant.
14035
14036 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14037
14038 * sysdeps/unix/sysv/linux/kernel-features.h
14039 (__ASSUME_POSIX_TIMERS): Remove.
14040 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14041 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14042 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14043 Make code unconditional.
14044 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14045 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14046 Make code unconditional.
14047 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14048 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14049 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14050 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14051 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14052 Make code unconditional.
14053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14054 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14055 (__libc_missing_posix_timers): Remove.
14056
14057 2012-08-15 Roland McGrath <roland@hack.frob.com>
14058
14059 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14060 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14061
14062 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14063
14064 * elf/dl-sym.c: Include <stdlib.h>.
14065
14066 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14067 constants, which avoids warnings in 32-bit builds.
14068
14069 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14070 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14071
14072 * misc/lseek.c: File moved to ...
14073 * io/lseek.c: ... here.
14074
14075 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14076
14077 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14078 shifting LEN more than 31 bits at once.
14079
14080 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14081
14082 [BZ #14195]
14083 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14084 segmentation fault for a case of two empty input strings.
14085 * string/test-strncasecmp.c (check1): Renamed to...
14086 (bz12205): ...this.
14087 (bz14195): Add new testcase for two empty input strings and N > 0.
14088 (test_main): Call new testcase, adapt for renamed function.
14089
14090 2012-08-15 Andreas Jaeger <aj@suse.de>
14091
14092 [BZ #14090]
14093 * crypt/md5test2.c: New test, based on test supplied by Serge
14094 Belyshev <belyshev@depni.sinp.msu.ru>.
14095 * crypt/Makefile (xtests): Add md5test-giant..
14096 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14097
14098 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14099
14100 [BZ #14090]
14101 * crypt/md5.c (md5_process_block): Don't assume the buffer
14102 length is less than 2**32.
14103 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14104 length is less than 2**64.
14105
14106 2012-08-15 Roland McGrath <roland@hack.frob.com>
14107
14108 * string/str-two-way.h: Include <sys/param.h>.
14109 (MAX): Macro removed.
14110
14111 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14112 Move #define and #undef of memmove to just before and after
14113 including <string.h>.
14114
14115 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14116 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14117 and after including <string.h>. Move declarations of
14118 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14119 to before #include "string/memmove.c".
14120
14121 * include/dirent.h: Declare __getdirentries.
14122
14123 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14124 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14125
14126 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14127
14128 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14129 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14130 * sysdeps/i386/configure: Regenerated.
14131 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14132 STABS_CURRENT_FILE, and STABS_FUN.
14133 (END): Remove call to STABS_FUN_END.
14134 (STABS_CURRENT_FILE1): Delete.
14135 (STABS_CURRENT_FILE): Likewise.
14136 (STABS_FUN): Likewise.
14137 (STABS_FUN_END): Likewise.
14138 (STABS_FUN2): Likewise.
14139 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14140 * sysdeps/x86_64/configure: Regenerated.
14141
14142 2012-08-14 Roland McGrath <roland@hack.frob.com>
14143
14144 * elf/dl-open.c: Include <atomic.h>.
14145 * elf/dl-lookup.c: Likewise.
14146
14147 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14148
14149 * sysdeps/unix/sysv/linux/kernel-features.h
14150 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14151 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14152 unconditionally.
14153 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14154 unconditionally.
14155 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14156 condition on __ASSUME_CLONE_THREAD_FLAGS.
14157
14158 2012-08-14 Andreas Jaeger <aj@suse.de>
14159
14160 * sysdeps/i386/fpu/libm-test-ulps: Update.
14161
14162 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14163
14164 * include/atomic.h (atomic_exchange_and_add): Split into ...
14165 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14166 New atomic macros.
14167
14168 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14169
14170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14171
14172 2012-08-13 Jeff Law <law@redhat.com>
14173
14174 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14175 null byte in the output string.
14176
14177 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14178
14179 * sysdeps/unix/sysv/linux/kernel-features.h
14180 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14181 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14182 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14184 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14185 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14186 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14187
14188 2012-08-09 Jeff Law <law@redhat.com>
14189
14190 [BZ #13939]
14191 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14192 When avoid_arena is set, don't retry in the that arena. Pick the
14193 next one, whatever it might be.
14194 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14195 (arena_lock): Pass in new parameter to arena_get2.
14196 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14197 arena_get2.
14198 (__libc_malloc): Unify retrying after main arena failure with
14199 __libc_memalign version.
14200 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14201
14202 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14203
14204 [BZ #14166]
14205 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14206 to __redirect_strstr.
14207 (__strstr_sse42): Use typeof __redirect_strstr.
14208 (__strstr_ia32): Likewise.
14209 (__libc_strstr): New prototype.
14210 (strstr): Renamed to ...
14211 (__libc_strstr): This.
14212 (strstr): New strong alias of __libc_strstr.
14213 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14214 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14215 __redirect_time.
14216 Include <time.h>.
14217 (__libc_time): New prototype.
14218 (time_ifunc): Replace time with __libc_time.
14219 (time): New strong alias and hidden definition of __libc_time.
14220 (__GI_time): Remove strong alias.
14221 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14222 Include <stddef.h>.
14223 (memmove): Redefined to __redirect_memmove.
14224 (__memmove_sse2): Use typeof __redirect_memmove.
14225 (__memmove_ssse3): Likewise.
14226 (__memmove_ssse3_back): Likewise.
14227 (__libc_memmove): New prototype.
14228 (memmove): Renamed to ...
14229 (__libc_memmove): This.
14230 (memmove): New strong alias of __libc_memmove.
14231
14232 2012-08-08 Mark Salter <msalter@redhat.com>
14233
14234 * elf/elf.h
14235 (R_MN10300_TLS_GD): Define.
14236 (R_MN10300_TLS_LD): Likewise.
14237 (R_MN10300_TLS_LDO): Likewise.
14238 (R_MN10300_TLS_GOTIE): Likewise.
14239 (R_MN10300_TLS_IE): Likewise.
14240 (R_MN10300_TLS_LE): Likewise.
14241 (R_MN10300_TLS_DTPMOD): Likewise.
14242 (R_MN10300_TLS_DTPOFF): Likewise.
14243 (R_MN10300_TLS_TPOFF): Likewise.
14244 (R_MN10300_SYM_DIFF): Likewise.
14245 (R_MN10300_ALIGN): Likewise.
14246 (R_MN10300_NUM): Update.
14247
14248 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14249
14250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14251 Remove.
14252
14253 2012-08-08 Roland McGrath <roland@hack.frob.com>
14254
14255 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14256
14257 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14258 sysdeps/unix -> sysdeps/posix move.
14259 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14260
14261 2012-08-07 Allan McRae <allan@archlinux.org>
14262
14263 [BZ #14303]
14264 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14265 (SUNOS_CPP): Likewise.
14266 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14267 not found.
14268 (open_input): Call CPP using execvp.
14269
14270 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14271
14272 * sysdeps/unix/sysv/linux/kernel-features.h
14273 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14274 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14275 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14276 (__ASSUME_WAITID_SYSCALL): Likewise.
14277 * sysdeps/unix/sysv/linux/dl-execstack.c
14278 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14279 code unconditional.
14280 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14281 conditional code.
14282 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14283 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14284 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14285 code.
14286 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14287 unconditional.
14288 [__ASSUME_WAITID_SYSCALL]: Likewise.
14289 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14290
14291 2012-08-07 Roland McGrath <roland@hack.frob.com>
14292
14293 * sysdeps/unix/closedir.c: Renamed to ...
14294 * sysdeps/posix/closedir.c: ... here.
14295 * sysdeps/unix/dirfd.c: Renamed to ...
14296 * sysdeps/posix/dirfd.c: ... here.
14297 * sysdeps/unix/dirstream.h: Renamed to ...
14298 * sysdeps/posix/dirstream.h: ... here.
14299 * sysdeps/unix/fdopendir.c: Renamed to ...
14300 * sysdeps/posix/fdopendir.c: ... here.
14301 * sysdeps/unix/opendir.c: Renamed to ...
14302 * sysdeps/posix/opendir.c: ... here.
14303 * sysdeps/unix/readdir.c: Renamed to ...
14304 * sysdeps/posix/readdir.c: ... here.
14305 * sysdeps/unix/readdir_r.c: Renamed to ...
14306 * sysdeps/posix/readdir_r.c: ... here.
14307 * sysdeps/unix/rewinddir.c: Renamed to ...
14308 * sysdeps/posix/rewinddir.c: ... here.
14309 * sysdeps/unix/seekdir.c: Renamed to ...
14310 * sysdeps/posix/seekdir.c: ... here.
14311 * sysdeps/unix/telldir.c: Renamed to ...
14312 * sysdeps/posix/telldir.c: ... here.
14313 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14314 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14315 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14316 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14317
14318 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14319 * bits/fcntl.h: ... here.
14320
14321 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14322 not 0.
14323 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14324 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14325 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14326 (struct flock): Move l_start, l_len to the beginning.
14327 Use __pid_t for l_pid.
14328 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14329 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14330 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14331 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14332 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14333 [__USE_LARGEFILE64] (struct flock64): New type.
14334 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14335
14336 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14337 * bits/dirent.h: ... here.
14338
14339 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14340 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14341
14342 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14343
14344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14345 Change from 2.6.0 to 2.6.16.
14346 * sysdeps/unix/sysv/linux/configure: Regenerated.
14347 * sysdeps/unix/sysv/linux/kernel-features.h
14348 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14349 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14350 version.
14351 (__ASSUME_UTIMES): Likewise.
14352 (__ASSUME_CLONE_STOPPED): Remove.
14353 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14354 architectures, not kernel version.
14355 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14356 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14357 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14358 (__ASSUME_WAITID_SYSCALL): Likewise.
14359 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14360 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14361 * README: State 2.6.16 as minimum Linux kernel version. Do not
14362 refer to older versions.
14363
14364 2012-08-06 Roland McGrath <roland@hack.frob.com>
14365
14366 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14367 Define alphasort64 as an alias.
14368 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14369 Define versionsort64 as an alias.
14370 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14371 Define scandir64 as an alias.
14372 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14373 Define scandirat64 as an alias.
14374 * dirent/alphasort64.c (alphasort64):
14375 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14376 * dirent/versionsort64.c: Likewise.
14377 * dirent/scandir64.c: Likewise.
14378 * dirent/scandirat64.c: Likewise.
14379 * sysdeps/wordsize-64/alphasort.c: File removed.
14380 * sysdeps/wordsize-64/alphasort64.c: File removed.
14381 * sysdeps/wordsize-64/scandir.c: File removed.
14382 * sysdeps/wordsize-64/scandir64.c: File removed.
14383 * sysdeps/wordsize-64/scandirat.c: File removed.
14384 * sysdeps/wordsize-64/scandirat64.c: File removed.
14385 * sysdeps/wordsize-64/versionsort.c: File removed.
14386 * sysdeps/wordsize-64/versionsort64.c: File removed.
14387 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14389 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14391 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14393 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14394 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14395
14396 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14398 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14400 [defined __arch64__ || defined __sparcv9]
14401 (__INO_T_MATCHES_INO64_T): New macro.
14402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14403 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14404 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14405 * sysdeps/unix/sysv/linux/bits/dirent.h
14406 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14407 (_DIRENT_MATCHES_DIRENT64): New macro.
14408
14409 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14410 Define lockf64 as an alias.
14411 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14412 Define fseeko64 as an alias.
14413 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14414 Define ftello64 as an alias.
14415 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14416 Define _IO_fgetpos64 and fgetpos64 as aliases.
14417 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14418 Define _IO_fsetpos64 and fsetpos64 as aliases.
14419 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14420 Conditionalize body on this.
14421 * libio/fseeko64.c: Likewise.
14422 * libio/ftello64.c: Likewise.
14423 * libio/iofgetpos64.c: Likewise.
14424 * libio/iofsetpos64.c: Likewise.
14425 * sysdeps/wordsize-64/lockf.c: File removed.
14426 * sysdeps/wordsize-64/lockf64.c: File removed.
14427 * sysdeps/wordsize-64/fseeko.c: File removed.
14428 * sysdeps/wordsize-64/fseeko64.c: File removed.
14429 * sysdeps/wordsize-64/ftello.c: File removed.
14430 * sysdeps/wordsize-64/ftello64.c: File removed.
14431 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14432 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14433 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14434 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14435 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14436 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14437 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14438 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14439 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14440 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14441 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14442 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14443 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14444 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14445
14446 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14448 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14450 [defined __arch64__ || defined __sparcv9]
14451 (__OFF_T_MATCHES_OFF64_T): New macro.
14452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14453 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14455 (__OFF_T_MATCHES_OFF64_T): New macro.
14456
14457 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14458
14459 * stdlib/secure-getenv.c (__secure_getenv): Replace
14460 GLIBC_2_16 with GLIBC_2_17.
14461
14462 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14463
14464 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14465 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14466
14467 2012-08-03 David S. Miller <davem@davemloft.net>
14468
14469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14470
14471 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14472
14473 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14474 Remove.
14475 (__ASSUME_CORRECT_SI_PID): Likewise.
14476 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14477 (__ASSUME_TMPFS_NAME): Likewise.
14478 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14479 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14480 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14481 (HAVE_AUX_SECURE): Make definition unconditional.
14482 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14483 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14484
14485 2012-08-03 Roland McGrath <roland@hack.frob.com>
14486
14487 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14488 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14489 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14490 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14491 __eloop_threshold instead of SYMLOOP_MAX.
14492
14493 * sysdeps/generic/eloop-threshold.h: New file.
14494 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14495 of MAXSYMLINKS.
14496 * elf/chroot_canon.c (chroot_canon): Likewise.
14497
14498 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14499
14500 [BZ #13717]
14501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14502 Change to 2.6.0 everywhere.
14503 * sysdeps/unix/sysv/linux/configure: Regenerated.
14504 * sysdeps/unix/sysv/linux/kernel-features.h
14505 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14506 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14507 kernel versions.
14508 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14509 (__ASSUME_FUTEX_REQUEUE): Remove.
14510 (__ASSUME_STATFS64): Define unconditionally.
14511 (__ASSUME_AT_SECURE): Likewise.
14512 (__ASSUME_CORRECT_SI_PID): Likewise.
14513 (__ASSUME_TGKILL): Define without depending on kernel version for
14514 i386.
14515 (__ASSUME_UTIMES): Likewise.
14516 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14517 kernel version.
14518 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14519 (__ASSUME_TMPFS_NAME): Likewise.
14520 * README: Update reference to Linux kernel versions.
14521
14522 2012-08-02 Marek Polacek <polacek@redhat.com>
14523
14524 [BZ# 14150]
14525 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14526 libc_cv_asm_type_prefix with %.
14527 * configure: Regenerated.
14528 * include/libc-symbols.h: Remove comment about
14529 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14530 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14531 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14532 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14533 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14534 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14535 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14536 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14537 * elf/tst-unique2mod1.c: Likewise.
14538 * elf/tst-unique1mod2.c: Likewise.
14539 * elf/tst-unique1mod1.c: Likewise.
14540 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14541 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14542 Replace ASM_TYPE_DIRECTIVE with .type.
14543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14544 * sysdeps/i386/sysdep.h: Likewise.
14545 * sysdeps/x86_64/sysdep.h: Likewise.
14546 * sysdeps/sh/sysdep.h: Likewise.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14548 Do not define ASM_TYPE_DIRECTIVE.
14549 * sysdeps/powerpc/sysdep.h: Likewise.
14550 * sysdeps/powerpc/powerpc32/sysdep.h:
14551 Replace ASM_TYPE_DIRECTIVE with .type.
14552 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14553 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14554 * sysdeps/i386/fpu/e_powf.S: Likewise.
14555 * sysdeps/i386/fpu/e_expl.S: Likewise.
14556 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14557 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14558 * sysdeps/i386/fpu/e_pow.S: Likewise.
14559 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14560 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14561 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14562 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14563 * sysdeps/i386/fpu/e_log2.S: Likewise.
14564 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14565 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14566 * sysdeps/i386/fpu/e_powl.S: Likewise.
14567 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14568 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14569 * sysdeps/i386/fpu/e_logl.S: Likewise.
14570 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14571 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14572 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14573 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14574 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14575 * sysdeps/i386/fpu/e_log.S: Likewise.
14576 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14577 * sysdeps/i386/fpu/e_logf.S: Likewise.
14578 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14579 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14580 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14581 * sysdeps/i386/fpu/e_log10.S: Likewise.
14582 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14583 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14584 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14585 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14586 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14587 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14588 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14589 * sysdeps/i386/i686/strtok.S: Likewise.
14590 * sysdeps/i386/i386-mcount.S: Likewise.
14591 * sysdeps/i386/strtok.S: Likewise.
14592 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14593 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14594 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14595 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14596 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14597 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14598 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14599 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14600 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14601 * sysdeps/x86_64/_mcount.S: Likewise.
14602 * sysdeps/x86_64/strtok.S: Likewise.
14603 * sysdeps/sh/_mcount.S: Likewise.
14604
14605 2012-08-01 Roland McGrath <roland@hack.frob.com>
14606
14607 * libio/iofopen.c: Include <fcntl.h>.
14608 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14609 (_IO_fopen64, fopen64): Define as aliases.
14610 * libio/iofopen64.c: Include <fcntl.h>.
14611 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14612 Conditionalize body on this.
14613 * sysdeps/wordsize-64/iofopen.c: File removed.
14614 * sysdeps/wordsize-64/iofopen64.c: File removed.
14615
14616 2012-08-01 Marek Polacek <polacek@redhat.com>
14617
14618 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14619 Use dlfcn directly instead of a variable.
14620 (binfmt-subdir): Do not define.
14621 (dlfcn): Likewise.
14622
14623 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14624
14625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14626 Remove all definitions.
14627 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14628 <kernel-features.h>.
14629 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14630 (miss_F_GETOWN_EX): Remove all definitions.
14631 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14632 macro definition.
14633 [!__ASSUME_FCNTL64]: Remove conditional code.
14634 [__ASSUME_FCNTL64]: Make code unconditional.
14635 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14636 <kernel-features.h>.
14637 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14638 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14639 (lockf64) [__NR_fcntl64]: Make code unconditional.
14640 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14641
14642 * sysdeps/unix/sysv/linux/kernel-features.h
14643 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14644 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14645 Make code unconditional.
14646 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14647 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14649 [__NR_vfork]: Make code unconditional.
14650 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14651 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14653 [__NR_vfork]: Make code unconditional.
14654 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14655 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14656
14657 2012-08-01 Roland McGrath <roland@hack.frob.com>
14658
14659 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14660 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14661
14662 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14663 Define mkstemp64 as an alias.
14664 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14665 Define mkstemps64 as an alias.
14666 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14667 Define mkostemp64 as an alias.
14668 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14669 Define mkostemps64 as an alias.
14670 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14671 Conditionalize body on this.
14672 * misc/mkostemp64.c: Likewise.
14673 * misc/mkostemps64.c: Likewise.
14674 * misc/mkstemps64.c: Likewise.
14675 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14676 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14677 * sysdeps/wordsize-64/mkostemp.c: File removed.
14678 * sysdeps/wordsize-64/mkstemp.c: File removed.
14679 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14680 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14683
14684 [BZ #14138]
14685 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14686 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14687 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14688 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14689
14690 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14691 compat_symbol macros from <shlib-compat.h> rather than the underlying
14692 default_symbol_version and symbol_version macros, so that DEFAULT
14693 lines in shlib-versions are respected.
14694 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14695
14696 2012-08-01 Florian Weimer <fweimer@redhat.com>
14697
14698 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14699 Declare with warn_unused_result.
14700 (setgid, setregid, setegid, setresgid): Likewise.
14701 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14702 Likewise.
14703 * WUR-REPORT: Remove set*id functions.
14704
14705 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14706
14707 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14708
14709 2012-07-31 Roland McGrath <roland@hack.frob.com>
14710
14711 [BZ #10191]
14712 * include/sys/socket.h (__libc_accept, __libc_accept4):
14713 Add attribute_hidden.
14714 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14715
14716 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14717 use of PTR_MANGLE.
14718 * inet/getnetgrent_r.c (setup): Likewise.
14719
14720 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14721
14722 2012-07-31 David S. Miller <davem@davemloft.net>
14723
14724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14725
14726 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14727
14728 [BZ #13629]
14729 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14730 value between 1.0 and 2.0 and smaller part has absolute value less
14731 than 1.0.
14732 * math/s_clog10.c (__clog10): Likewise.
14733 * math/s_clog10f.c (__clog10f): Likewise.
14734 * math/s_clog10l.c (__clog10l): Likewise.
14735 * math/s_clogf.c (__clogf): Likewise.
14736 * math/s_clogl.c (__clogl): Likewise.
14737 * math/libm-test.inc (clog_test): Add more tests.
14738 (clog10_test): Likewise.
14739 * sysdeps/i386/fpu/libm-test-ulps: Update.
14740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14741
14742 2012-07-31 Florian Weimer <fweimer@redhat.com>
14743
14744 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14745 Exit with zero in case no suitable GID is found, and write a
14746 message to standard error.
14747
14748 2012-07-30 Roland McGrath <roland@hack.frob.com>
14749
14750 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14751 rather than to 1.
14752 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14753 (MAXPATHLEN): Removed.
14754 (NOGROUP, NODEV): New macros.
14755 (setbit, clrbit, isset, isclr): New macros.
14756 (howmany, roundup, powerof2): New macros.
14757 (DEV_BSIZE): New macro.
14758
14759 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14760 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14761
14762 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14763 definition on [!__NO_LONG_DOUBLE_MATH].
14764
14765 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14766 PTR_MANGLE and PTR_DEMANGLE.
14767
14768 * socket/accept4.c (accept4): Rename to __libc_accept4.
14769 Define accept4 as a weak alias.
14770
14771 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14772 on [_DIRENT_HAVE_D_TYPE].
14773 * io/ftw.c (ftw_dir): Likewise.
14774
14775 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14776
14777 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14778
14779 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14780 Use the BSD numbers rather than the arbitrary ones we had.
14781 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14782 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14783 (SIGXCPU, SIGXFSZ): New macros.
14784 (_NSIG): Now 32.
14785
14786 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14787 initializer on [_LIBC_REENTRANT].
14788
14789 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14790 definitions inside [_POSIX_MAPPED_FILES].
14791
14792 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14793
14794 * dirent/opendir.c: Include <fcntl.h>.
14795
14796 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14797 (__libc_getspecific): Likewise.
14798 (__libc_key_create): Likewise.
14799
14800 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14801 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14802 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14803 (tmpfile64): Define as alias.
14804 * sysdeps/wordsize-64/tmpfile.c: File removed.
14805 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14806 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14807 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14808
14809 * stdio-common/vfscanf.c: Include <stdbool.h>.
14810 * nss/makedb.c: Likewise.
14811 * stdio-common/_i18n_number.h: Likewise.
14812 * argp/argp-help.c: Likewise.
14813 * posix/wordexp.c: Likewise.
14814 * sysdeps/posix/spawni.c: Likewise.
14815 * nss/nss_files/files-initgroups.c: Likewise.
14816 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14817 * nss/nss_files/files-initgroups.c: Likewise.
14818 * nss/nss_db/db-netgrp.c: Likewise.
14819 * nss/nss_db/db-initgroups.c: Likewise.
14820 * io/fchmodat.c: Include <sys/stat.h>.
14821
14822 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14823 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14824
14825 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14826 [HAVE_MMAP].
14827
14828 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14829 Add multiple inclusion protection.
14830
14831 2012-07-27 David S. Miller <davem@davemloft.net>
14832
14833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14834
14835 2012-07-27 Gary Benson <gbenson@redhat.com>
14836
14837 [BZ #14298]
14838 * elf/rtld.c: Include <stap-probe.h>.
14839 (dl_main): Added static probes "init_start" and "init_complete".
14840 * elf/dl-load.c: Include <stap-probe.h>.
14841 (lose): Take new parameter "nsid".
14842 Added static probe "map_failed".
14843 (_dl_map_object_from_fd): Pass namespace id to lose.
14844 Added static probe "map_start".
14845 (open_verify): Pass namespace id to lose.
14846 * elf/dl-open.c: Include <stap-probe.h>.
14847 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14848 and "reloc_complete".
14849 * elf/dl-close.c: Include <stap-probe.h>.
14850 (_dl_close_worker): Added static probes "unmap_start" and
14851 "unmap_complete".
14852 * elf/rtld-debugger-interface.txt: New file documenting the above.
14853
14854 2012-07-26 Roland McGrath <roland@hack.frob.com>
14855
14856 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14857 rather than a string variable.
14858 * sunrpc/rpc_main.c (h_output): Likewise.
14859 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14860
14861 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14862
14863 * inet/check_native.c: New file.
14864
14865 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14866
14867 [BZ #13629]
14868 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14869 if larger part has absolute value 1.0.
14870 * math/s_clog10.c (__clog10): Likewise.
14871 * math/s_clog10f.c (__clog10f): Likewise.
14872 * math/s_clog10l.c (__clog10l): Likewise.
14873 * math/s_clogf.c (__clogf): Likewise.
14874 * math/s_clogl.c (__clogl): Likewise.
14875 * math/libm-test.inc (clog_test): Add more tests.
14876 (clog10_test): Likewise.
14877 * sysdeps/i386/fpu/libm-test-ulps: Update.
14878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14879
14880 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14881 (pltexit): Likewise.
14882 (La_regs): Likewise.
14883 (La_retval): Likewise.
14884 (int_retval): Likewise.
14885 Update #error for removed macros to refer only to definitions in
14886 tst-audit.h.
14887 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14888 macro.
14889 (pltexit): Likewise.
14890 (La_regs): Likewise.
14891 (La_retval): Likewise.
14892 (int_retval): Likewise.
14893 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14894 macro.
14895 (pltexit): Likewise.
14896 (La_regs): Likewise.
14897 (La_retval): Likewise.
14898 (int_retval): Likewise.
14899 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14900 macro.
14901 (pltexit): Likewise.
14902 (La_regs): Likewise.
14903 (La_retval): Likewise.
14904 (int_retval): Likewise.
14905 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14906 macro.
14907 (pltexit): Likewise.
14908 (La_regs): Likewise.
14909 (La_retval): Likewise.
14910 (int_retval): Likewise.
14911 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14912 macro.
14913 (pltexit): Likewise.
14914 (La_regs): Likewise.
14915 (La_retval): Likewise.
14916 (int_retval): Likewise.
14917 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14918 macro.
14919 (pltexit): Likewise.
14920 (La_regs): Likewise.
14921 (La_retval): Likewise.
14922 (int_retval): Likewise.
14923 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14924 macro definitions in tst-audit.h.
14925 * sysdeps/i386/tst-audit.h: New file.
14926 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14927 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14928 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14929 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14930 * sysdeps/sh/tst-audit.h: Likewise.
14931 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14932 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14933 * sysdeps/x86_64/tst-audit.h: Likewise.
14934
14935 2012-07-26 Andreas Jaeger <aj@suse.de>
14936
14937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14938 ptrace.
14939
14940 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14941 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14942 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14943 PTRACE_O_MASK.
14944 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14945 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14946 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14947
14948 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14949 value.
14950
14951 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14952 _sigsys.
14953 (si_call_addr, si_syscall, si_arch): Define new macro.
14954 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14955 _sigsys.
14956 (si_call_addr, si_syscall, si_arch): Define new marcro.
14957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14958 _sigsys.
14959 (si_call_addr, si_syscall, si_arch): Define new macro.
14960 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14961 _sigsys.
14962 (si_call_addr, si_syscall, si_arch): Define new macro.
14963
14964 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14965
14966 [BZ #13717]
14967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14968 Change to 2.4.21 where previously 2.4.1.
14969 * sysdeps/unix/sysv/linux/configure: Regenerated.
14970 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14971 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14972 Linux kernel version.
14973 (__ASSUME_STD_AUXV): Remove.
14974 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14975 kernel version.
14976 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14977 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14978 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14979 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14980 (__ASSUME_NETLINK_SUPPORT): Likewise.
14981 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14982 (__no_netlink_support): Remove conditional definition.
14983 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14984 Remove.
14985 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14986 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14987 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14988 (if_nameindex_ioctl): Remove.
14989 (if_nameindex_netlink): Do not handle __no_netlink_support.
14990 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14991 code.
14992 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14993 Remove conditional code.
14994 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14995 code.
14996 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14997 unconditional.
14998 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14999 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15000 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15001 Remove.
15002 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15003 [!__ASSUME_STD_AUXV]: Remove conditional code.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15005 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15006 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15008 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15009 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15010 code.
15011 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15013 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15014 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15015 conditional code.
15016 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15018 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15019 code.
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15021 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15022 conditional code.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15024 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15025 code unconditional.
15026 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15027 conditional code.
15028 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15029 unconditional.
15030 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15031 conditional code.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15033 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15034 unconditional.
15035 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15036 conditional code.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15038 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15039 code unconditional.
15040 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15041 conditional code.
15042 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15043 unconditional.
15044 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15045 conditional code.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15047 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15048 code unconditional.
15049 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15050 conditional code.
15051 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15052 unconditional.
15053 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15054 conditional code.
15055
15056 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15057
15058 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15059 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15060 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15061 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15062 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15063 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15064 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15065 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15066 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15067 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15068 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15069 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15070 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15071 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15072 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15073 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15074 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15076 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15078 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15079 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15080 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15081
15082 2012-07-25 Florian Weimer <fweimer@redhat.com>
15083
15084 * Versions.def: Add GLIBC_2.17.
15085 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15086 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15087 Introduce __libc_secure_getenv.
15088 * stdlib/Versions (2.17): Add secure_getenv
15089 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15090 * stdlib/secure-getenv.c: Rename __secure_getenv to
15091 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15092 symbol __secure_getenv for GLIBC_2.0.
15093 * stdlib/tst-secure-getenv.c: New.
15094 * stdlib/Makefile (tests): Add testcase.
15095 * manual/startup.texi (Environment Access): Document
15096 secure_getenv.
15097 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15098 __libc_secure_getenv.
15099 * inet/ruserpass.c (ruserpass): Likewise.
15100 * malloc/mtrace.c (mtrace): Likewise.
15101 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15102 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15103 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15104 * sysdeps/posix/tempname.c: Likewise. Evaluate
15105 HAVE_SECURE_GETENV.
15106 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15107 __secure_getenv to __libc_secure_getenv.
15108 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15110 Likewise.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15112 Likewise.
15113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15120
15121 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15122
15123 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15124 (struct La_i86_retval): Likewise.
15125 (struct La_x86_64_regs): Likewise.
15126 (struct La_x86_64_retval): Likewise.
15127 (struct La_x32_regs): Likewise.
15128 (struct La_x32_retval): Likewise.
15129 (struct La_ppc32_regs): Likewise.
15130 (struct La_ppc32_retval): Likewise.
15131 (struct La_ppc64_regs): Likewise.
15132 (struct La_ppc64_retval): Likewise.
15133 (struct La_sh_regs): Likewise.
15134 (struct La_sh_retval): Likewise.
15135 (struct La_s390_32_regs): Likewise.
15136 (struct La_s390_32_retval): Likewise.
15137 (struct La_s390_64_regs): Likewise.
15138 (struct La_s390_64_retval): Likewise.
15139 (struct La_sparc32_regs): Likewise.
15140 (struct La_sparc32_retval): Likewise.
15141 (struct La_sparc64_regs): Likewise.
15142 (struct La_sparc64_retval): Likewise.
15143 (struct audit_ifaces): Remove architecture-specific pltenter and
15144 pltexit members.
15145 * sysdeps/i386/ldsodefs.h: New file.
15146 * sysdeps/powerpc/ldsodefs.h: Likewise.
15147 * sysdeps/s390/ldsodefs.h: Likewise.
15148 * sysdeps/sh/ldsodefs.h: Likewise.
15149 * sysdeps/sparc/ldsodefs.h: Likewise.
15150 * sysdeps/x86_64/ldsodefs.h: Likewise.
15151
15152 2012-07-25 Marek Polacek <polacek@redhat.com>
15153
15154 [BZ #6808]
15155 * math/libm-test.inc (yn_test): Add another test.
15156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15157 to ERANGE when the result is +-Inf.
15158 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15159 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15160 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15161 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15162
15163 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15164
15165 * conform/data/time.h-data (NULL): Use macro-constant. Require
15166 equal to 0.
15167 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15168 clock_t.
15169 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15170
15171 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15172
15173 * configure.in <sysdeps resolving>: Correct printing
15174 Implies_before.
15175 * configure: Regenerate.
15176
15177 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15178
15179 * math/w_ilogb.c: Include <limits.h>.
15180 * math/w_ilogbl.c: Likewise.
15181
15182 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15183
15184 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15185 va_copy. Document allowing for unavailable va_copy only as
15186 pre-C99 compatibility.
15187 * manual/string.texi (Copying and Concatenation): Use va_copy
15188 instead of __va_copy in concat example.
15189
15190 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15191
15192 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15193 (__sendto): Use create_address_port. Initialize APORT and deallocate
15194 it if not null.
15195
15196 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15197 with O_NOLINK passed to __file_name_lookup.
15198
15199 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15200 with O_NOLINK passed to __file_name_lookup.
15201
15202 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15203 negative N or less than NGIDS.
15204
15205 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15206 type to string_t. Set ERANGE as errno and return it if NAME is not big
15207 enough. Use memcpy instead of strncpy.
15208
15209 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15210
15211 * elf/Makefile (check-data): Remove.
15212 (localplt.data): New vpath directive.
15213 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15214 instead of $(check-data).
15215 * scripts/data/localplt-generic.data: Move to ...
15216 * sysdeps/generic/localplt.data: ... here.
15217 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15218 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15219 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15221 ... here.
15222 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15224 ... here.
15225 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15227 ... here.
15228 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15230 ... here.
15231 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15233 ... here.
15234 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15236 ... here.
15237
15238 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15239
15240 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15241 PPC32 and PPC64 files.
15242 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15243 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15244
15245 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15246
15247 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15248 __makecontext_ret to ...
15249 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15250 ... here and call exit if uc_link is NULL. New file.
15251 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15252 __makecontext_ret.S.
15253 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15254 __makecontext_ret to ...
15255 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15256 ... here and call exit if uc_link is NULL. New file.
15257 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15258 __makecontext_ret.S.
15259
15260 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15261
15262 * elf/elf.h (R_390_IRELATIVE): New definition.
15263 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15264 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15265 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15266 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15267 (elf_machine_lazy_rel): Likewise.
15268 * sysdeps/s390/dl-irel.h: New file.
15269 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15270 * sysdeps/s390/s390-64/memset.S: New asm code.
15271 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15272 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15274 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15275 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15276 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15278 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15279 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15280 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15281 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15282 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15283 * sysdeps/s390/s390-32/memset.S: New asm code.
15284 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15285
15286 2012-07-17 Marek Polacek <polacek@redhat.com>
15287
15288 [BZ #14349]
15289 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15290 * sysdeps/s390/s390-64/configure.in: Likewise.
15291 * sysdeps/sparc/configure.in: Likewise.
15292 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15293 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15294 * sysdeps/i386/configure.in: Likewise.
15295 * sysdeps/x86_64/configure.in: Likewise.
15296 * sysdeps/sh/configure.in: Likewise.
15297 * sysdeps/s390/s390-32/configure: Regenerated.
15298 * sysdeps/s390/s390-64/configure: Likewise.
15299 * sysdeps/x86_64/configure: Likewise.
15300 * sysdeps/sh/configure: Likewise.
15301 * sysdeps/powerpc/powerpc64/configure: Likewise.
15302 * sysdeps/powerpc/powerpc32/configure: Likewise.
15303 * sysdeps/sparc/configure: Likwise.
15304 * sysdeps/i386/configure: Likewise.
15305
15306 * elf/dl-open.c: Comment fixes.
15307
15308 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15309
15310 * Makefile [CXX] (check-data): Remove.
15311 [CXX] (c++-types.data): New vpath directive.
15312 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15313 vpath. Do not allow for C++ type data being missing.
15314 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15315 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15316 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15317 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15318 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15319 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15320 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15322 ... here.
15323 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15325 ... here.
15326 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15328 ... here.
15329 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15331 ... here.
15332 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15334 ... here.
15335 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15337 ... here.
15338 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15340 ... here.
15341 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15343
15344 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15345 definitions to architecture-specific files.
15346 (TLS_IE): Likewise.
15347 (TLS_LD): Likewise.
15348 (TLS_GD): Likewise.
15349 * sysdeps/i386/tls-macros.h: New file.
15350 * sysdeps/powerpc/tls-macros.h: Likewise.
15351 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15352 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15353 * sysdeps/sh/tls-macros.h: Likewise.
15354 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15355 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15356 * sysdeps/x86_64/tls-macros.h: Likewise.
15357
15358 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15359
15360 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15361 zero value for regular exit case.
15362
15363 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15364 (__start_context): Preserve zero value for regular exit case.
15365
15366 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15367 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15368
15369 * manual/setjmp.texi (setcontext): Clarify normal process
15370 termination when uc_link is the null pointer.
15371 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15372 exit call.
15373
15374 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15375
15376 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15377 preprocessor. Test for each exception mask separately.
15378
15379 2012-07-16 Andreas Jaeger <aj@suse.de>
15380
15381 * po/ru.po: Update from translation team.
15382
15383 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15384
15385 * conform/data/string.h-data (NULL): Use macro-constant. Require
15386 equal to 0.
15387 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15388 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15389 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15390 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15392
15393 2012-07-13 Andreas Jaeger <aj@suse.de>
15394
15395 * po/fr.po: Update from translation team.
15396
15397 2012-07-12 Marek Polacek <polacek@redhat.com>
15398
15399 [BZ #14173]
15400 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15401 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15402 loop condition.
15403
15404 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15405
15406 [BZ #13717]
15407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15408 Change to 2.4.1 where previously 2.4.0.
15409 * sysdeps/unix/sysv/linux/configure: Regenerated.
15410 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15411 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15412 version.
15413 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15414 (__ASSUME_AT_CLKTCK): Remove.
15415 (__ASSUME_AT_PAGESIZE): Likewise.
15416 (__ASSUME_AT_XID): Likewise.
15417 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15418 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15419 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15420 unconditionally.
15421 (HAVE_AUX_PAGESIZE): Likewise.
15422 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15423 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15424 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15425
15426 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15427
15428 [BZ #14307]
15429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15430 the temporary buffer used to invoke __gethostbyname2_r,
15431 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15432 host_data / struct gaih_addrtuple.
15433 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15434 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15435 header file nss/nsswitch.h.
15436 * nss/nsswitch.h (global scope): Add definition of implementation
15437 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15438 resolv/nss_dns/dns-host.c).
15439
15440 2012-07-11 Andreas Jaeger <aj@suse.de>
15441
15442 * po/fr.po: Update from translation team.
15443
15444 * po/sv.po: Update from translation team
15445 * po/fr.po: Another update from translation team.
15446
15447 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15448
15449 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15450 for subnormals or multiply small sinh result by itself.
15451 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15453
15454 2012-07-11 David S. Miller <davem@davemloft.net>
15455
15456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15457
15458 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15459
15460 [BZ #14347]
15461 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15462 (INTERNAL_MARK): Shift it here.
15463
15464 2012-07-10 Marek Polacek <polacek@redhat.com>
15465
15466 [BZ #14151]
15467 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15468 libc_cv_asm_global_directive with .globl.
15469 * configure: Regenerated.
15470 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15471 with .globl.
15472 * sysdeps/i386/configure: Regenerated.
15473 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15474 with .globl.
15475 * sysdeps/x86_64/configure: Regenerated.
15476 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15477 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15478 * elf/tst-unique2mod2.c: Likewise.
15479 * elf/tst-unique2mod1.c: Likewise.
15480 * elf/tst-unique1mod2.c: Likewise.
15481 * elf/tst-unique1mod1.c: Likewise.
15482 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15483 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15485 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15486 * sysdeps/mach/sysdep.h: Likewise.
15487 * sysdeps/i386/sysdep.h: Likewise.
15488 * sysdeps/i386/i386-mcount.S: Likewise.
15489 * sysdeps/x86_64/_mcount.S: Likewise.
15490 * sysdeps/x86_64/sysdep.h: Likewise.
15491 * sysdeps/sh/_mcount.S: Likewise.
15492 * sysdeps/sh/sysdep.h: Likewise.
15493 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15494 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15495 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15496 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15497 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15498 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15499 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15500 * locale/localeinfo.h: Likewise.
15501 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15502 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15503
15504 2012-07-09 Roland McGrath <roland@hack.frob.com>
15505
15506 [BZ #14336]
15507 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15508 system".
15509 * manual/message.texi (The Uniforum approach): Likewise.
15510 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15511 (glibc iconv Implementation): Likewise.
15512
15513 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15514
15515 [BZ #14337]
15516 * math/s_clog.c (__clog): Avoid scaling a value down where that
15517 could result in underflow.
15518 * math/s_clog10.c (__clog10): Likewise.
15519 * math/s_clog10f.c (__clog10f): Likewise.
15520 * math/s_clog10l.c (__clog10l): Likewise.
15521 * math/s_clogf.c (__clogf): Likewise.
15522 * math/s_clogl.c (__clogl): Likewise.
15523 * math/libm-test.inc (clog_test): Add more tests.
15524 (clog10_test): Likewise.
15525 * sysdeps/i386/fpu/libm-test-ulps: Update.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15527
15528 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15529
15530 [BZ #14283]
15531 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15532 by 7 not 8 to examine high bit of fractional part.
15533
15534 [BZ #14042]
15535 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15536 for call to __mcount_internal.
15537 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15538 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15539 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15540
15541 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15542
15543 [BZ #14154]
15544 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15545 approximation for values within 0x1p-13f of an odd multiple of
15546 pi/4.
15547 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15548 exception. Add more tests.
15549 * sysdeps/i386/fpu/libm-test-ulps: Update.
15550
15551 [BZ #6778]
15552 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15553 inputs and return -1 for them. Do not check for +Inf in case not
15554 reachable for +Inf.
15555 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15556 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15557 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15558 and return -1 for them. Do not check for +Inf in case not
15559 reachable for +Inf.
15560 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15561 define.
15562 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15563 and return -1 for them. Do not check for +Inf in case not
15564 reachable for +Inf.
15565 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15566 spurious underflow.
15567 * sysdeps/i386/fpu/libm-test-ulps: Update.
15568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15569
15570 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15571
15572 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15573
15574 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15575
15576 [BZ #14157]
15577 [BZ #14331]
15578 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15579 could result in spurious underflow. Scale down values above
15580 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15581 * math/s_csqrtf.c (__csqrtf): Likewise.
15582 * math/s_csqrtl.c (__csqrtl): Likewise.
15583 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15584 spurious underflow.
15585 * sysdeps/i386/fpu/libm-test-ulps: Update.
15586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15587
15588 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15589
15590 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15591 xopen-msg.sed.
15592 * catgets/xopen-msg.awk: New file.
15593 * catgets/xopen-msg.sed: Removed.
15594
15595 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15596 po2text.sed.
15597 * intl/po2test.awk: New file.
15598 * intl/po2test.sed: Removed.
15599
15600 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15601
15602 [BZ #14328]
15603 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15604 or multiply small sinh result by itself.
15605 * math/s_ctanf.c (__ctanf): Likewise.
15606 * math/s_ctanh.c (__ctanh): Likewise.
15607 * math/s_ctanhf.c (__ctanhf): Likewise.
15608 * math/s_ctanhl.c (__ctanhl): Likewise.
15609 * math/s_ctanl.c (__ctanl): Likewise.
15610 * math/libm-test.inc (ctan_test_tonearest): New function.
15611 (ctan_test_towardzero): Likewise.
15612 (ctan_test_downward): Likewise.
15613 (ctan_test_upward): Likewise.
15614 (ctanh_test_tonearest): Likewise.
15615 (ctanh_test_towardzero): Likewise.
15616 (ctanh_test_downward): Likewise.
15617 (ctanh_test_upward): Likewise.
15618 (main): Call these new functions.
15619 * sysdeps/i386/fpu/libm-test-ulps: Update.
15620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15621
15622 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15623
15624 * .gitignore: Delete /ports entry.
15625
15626 2012-07-03 Andreas Jaeger <aj@suse.de>
15627
15628 * po/bg.po: Update from translation team.
15629 * po/cs.po: Likewise.
15630 * po/de.po: Likewise.
15631 * po/hr.po: Likewise.
15632 * po/nl.pl: Likewise.
15633 * po/pl.po: Likewise.
15634 * po/vi.po: Likewise.
15635
15636 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15637
15638 * Makeconfig [!+link] (+link-before-libc): New variable.
15639 [!+link] (+link-after-libc): Likewise.
15640 [!+link] (+link-tests): Likewise.
15641 [!+link] (+link): Define in terms of $(+link-before-libc) and
15642 $(+link-after-libc).
15643 [!+link-static] (+link-static-before-libc): New variable.
15644 [!+link-static] (+link-static-after-libc): Likewise.
15645 [!+link-static] (+link-static-tests): Likewise.
15646 [!+link-static] (+link-static): Define in terms of
15647 $(+link-static-before-libc) and $(+link-static-after-libc).
15648 [build-shared] (link-libc-before-gnulib): New variable.
15649 [build-shared] (link-libc-tests): Likewise.
15650 [build-shared] (link-libc): Define in terms of
15651 $(link-libc-before-gnulib).
15652 [!build-shared] (link-libc-tests): New variable.
15653 (link-libc-static-tests): New variable.
15654 [!gnulib] (gnulib-arch): New variable.
15655 [!gnulib] (gnulib-tests): Likewise.
15656 [!gnulib] (static-gnulib-arch): Likewise.
15657 [!gnulib] (static-gnulib-tests): Likewise.
15658 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15659 Define with "=" instead of ":=".
15660 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15661 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15662 * Rules (binaries-all-notests): New variable.
15663 (binaries-all-tests): Likewise.
15664 (binaries-static-notests): Likewise.
15665 (binaries-static-tests): Likewise.
15666 (binaries-all): Define using $(binaries-all-notests) and
15667 $(binaries-all-tests).
15668 (binaries-static): Define using $(binaries-static-notests) and
15669 $(binaries-static-tests).
15670 (binaries-shared-tests): New variable.
15671 (binaries-shared-notests): Likewise.
15672 (binaries-shared): Remove variable.
15673 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15674 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15675 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15676 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15677 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15678 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15679 * elf/Makefile (sln-modules): New variable.
15680 (extra-objs): Add $(sln-modules:=.o).
15681 (ldconfig-modules): Add static-stubs.
15682 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15683 * elf/static-stubs.c: New file.
15684
15685 [BZ #14283]
15686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15687 by 7 not 8 to examine high bit of fractional part. Use volatile
15688 variables when splitting into final array of floats if
15689 __FLT_EVAL_METHOD__ != 0.
15690 * math/libm-test.inc (cos_test): Add another test.
15691 (sin_test): Likewise.
15692 * sysdeps/i386/fpu/libm-test-ulps: Update.
15693
15694 [BZ #14273]
15695 * math/libm-test.inc (cosh_test): Add more tests.
15696
15697 * version.h (RELEASE): Set to "development".
15698 (VERSION): Set to "2.16.90".
15699
15700 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15701
15702 * NEWS: Update copyright. Remove last-updated date.
15703 Mention math library bug fixes and timezone data changes.
15704 * README: Mention GNU/Hurd, x32, and HPPA support status.
15705
15706 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15707
15708 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15709
15710 2012-06-27 Andreas Jaeger <aj@suse.de>
15711
15712 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15713
15714 2012-06-25 Andreas Jaeger <aj@suse.de>
15715
15716 * sysdeps/s390/fpu/libm-test-ulps: Update.
15717
15718 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15719 Thomas Schwinge <thomas@codesourcery.com>
15720
15721 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15722 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15724 fanotify_mark.
15725
15726 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15727
15728 * sysdeps/mach/start.c: Remove file.
15729 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15730 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15731 * sysdeps/sh/init-first.c: Likewise.
15732
15733 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15734 registers for frame unwinding purposes, add CFI directives.
15735 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15736 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15737 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15738 Likewise.
15739
15740 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15741 __fortify_fail returning.
15742 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15743
15744 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15745 sysdeps/sh/____longjmp_chk.S.
15746 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15747 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15748 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15749 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15750
15751 * sysdeps/sh/abort-instr.h: New file.
15752 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15753 process in case exit returns.
15754
15755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15756 initialize the GOT register before use.
15757
15758 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15759 calculation of ARGC > 4.
15760
15761 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15762 meaningful names to some local labels.
15763
15764 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15765 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15766
15767 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15768 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15769 (__arch_compare_and_exchange_val_16_acq): Likewise.
15770 (__arch_compare_and_exchange_val_32_acq): Likewise.
15771 (atomic_exchange_and_add): Fix gUSA sequence.
15772 (atomic_add): Likewise.
15773 (atomic_add_negative): Likewise.
15774 (atomic_add_zero): Likewise.
15775 (atomic_bit_test_set): Likewise.
15776
15777 2012-06-22 Andreas Schwab <schwab@redhat.com>
15778
15779 [BZ #13579]
15780 * include/link.h (struct link_map): Add l_free_initfini.
15781 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15782 l_initfini.
15783 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15784 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15785 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15786 set.
15787
15788 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15789
15790 * configure.in: Use AC_LANG_SOURCE.
15791 * configure: Regenerate.
15792
15793 2012-06-22 Roland McGrath <roland@hack.frob.com>
15794
15795 * configure.in (libc_cv_localstatedir): New substituted variable.
15796 * configure: Regenerated.
15797 * config.make.in (localstatedir): New variable, substituted from
15798 libc_cv_localstatedir.
15799 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15800 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15801 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15802 * sysdeps/gnu/configure: Regenerated.
15803
15804 2012-06-21 Jeff Law <law@redhat.com>
15805
15806 [BZ #14277]
15807 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15808 free. Simplify list management for _LIBC case.
15809
15810 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15811
15812 [BZ #14273]
15813 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15814 Clear sign bit of 64-bit integer value before comparing against
15815 overflow value.
15816
15817 * sysdeps/mach/configure: Regenerated.
15818
15819 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15820
15821 [BZ #14278]
15822 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15823
15824 2012-06-21 Jeff Law <law@redhat.com>
15825
15826 [BZ #13882]
15827 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15828 uint16_t for elements in the "seen" array to avoid char overflows.
15829 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15830 * elf/dl-open.c (dl_open_worker): Likewise.
15831
15832 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15833
15834 * scripts/list-sources.sh: Scan PORTS for translations.
15835 * po/libc.pot: Regenerated.
15836
15837 2012-06-21 Andreas Jaeger <aj@suse.de>
15838
15839 [BZ #12194]
15840 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15841 warning.
15842 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15843 * bits/byteswap-16.h (__bswap_16): Likewise.
15844 * bits/byteswap.h (__bswap_constant_16): Likewise.
15845
15846 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15847
15848 [BZ #14117]
15849 * sysdeps/i386/fpu_control.h: Removed.
15850 * sysdeps/x86_64/fpu_control.h: Moved to ...
15851 * sysdeps/x86/fpu_control.h: Here.
15852
15853 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15854 (_FPU_SETCW): Likewise.
15855
15856 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15857
15858 [BZ #14117]
15859 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15860 * sysdeps/x86/fpu/bits/mathinline.h: This.
15861 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15862
15863 [BZ #14050]
15864 [BZ #14117]
15865 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15866 functions if __x86_64__ is defined.
15867
15868 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15869
15870 * string/endian.h: Add !__ASSEMBLER__ condition for including
15871 conversion interfaces.
15872
15873 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15874
15875 [BZ #14241]
15876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15877 of ABS(x) in calculating zero to negative powers other than odd
15878 integers.
15879 * math/libm-test.inc (pow_test): Add more tests.
15880
15881 2012-06-15 Andreas Jaeger <aj@suse.de>
15882
15883 * manual/contrib.texi (Contributors): Update entry of Liubov
15884 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15885 Machado Filho.
15886
15887 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15888
15889 * string/string.h: Add __wur to GNU version of strerror_r.
15890
15891 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15892
15893 [BZ #14229]
15894 * string/Makefile (tests): Add tst-strtok_r.
15895 * string/tst-strtok_r.c: New file.
15896 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15897 RAX_LP/RDX_LP on SAVE_PTR.
15898
15899 2012-06-14 Roland McGrath <roland@hack.frob.com>
15900
15901 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15902
15903 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15904
15905 * libm_test.inc (csqrt_test): Allow more spurious underflow
15906 exceptions.
15907 (j0_test): Likewise.
15908 (j1_test): Likewise.
15909 (y0_test): Likewise.
15910 (y1_test): Likewise.
15911
15912 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15913
15914 * po/Makefile (libc.pot): Use UTF-8 charset.
15915
15916 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15917
15918 [BZ #14210]
15919 Suppress sign-conversion warning from FD_SET.
15920 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15921 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15922 not unsigned long int.
15923 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15924
15925 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15926
15927 [BZ #14050]
15928 [BZ #14117]
15929 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15930 __extern_always_inline instead of __extern_inline.
15931 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15932 (__signbit): Likewise.
15933 (__signbitl): Support C++ namespace.
15934 (lrintf): New inline function.
15935 (lrint): Likewise.
15936 (llrintf): Likewise.
15937 (llrint): Likewise.
15938 (fmaxf): Likewise.
15939 (fmax): Likewise.
15940 (fminf): Likewise.
15941 (fmin): Likewise.
15942 (rint): Likewise.
15943 (rintf): Likewise.
15944 (ceil): Likewise.
15945 (ceilf): Likewise.
15946 (floor): Likewise.
15947 (floorf): Likewise.
15948 (nearbyint): Likewise.
15949 (nearbyintf): Likewise.
15950
15951 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15952
15953 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15954 non-default versions.
15955
15956 2012-06-11 Roland McGrath <roland@hack.frob.com>
15957
15958 [BZ #14218]
15959 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15960
15961 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15962
15963 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15964 (FE_UPWARD, FE_DOWNWARD): Don't define.
15965 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15966 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15967
15968 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15969 reading it.
15970 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15972
15973 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15974
15975 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15977 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15978 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15979
15980 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15981
15982 [BZ #14117]
15983 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15984 * sysdeps/i386/fpu/Implies: New file.
15985 * sysdeps/x86_64/fpu/Implies: Likewise.
15986 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15987 * sysdeps/x86/fpu/bits/fenv.h: This.
15988
15989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15990 __SSE_MATH__.
15991
15992 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15993
15994 [BZ #14134]
15995 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15996 character 0xffff that matches the last element of the
15997 conversion table.
15998
15999 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16000
16001 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16002 fmodl commit.
16003
16004 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005
16006 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16007 values higher than 25.6283.
16008
16009 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16010
16011 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16012 subnormal exponent extraction and add some __builtin_expect.
16013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16014 Fix for subnormal mantissa calculation.
16015
16016 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16017
16018 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16019 cpu2 is -1 and errno is not ENOSYS.
16020
16021 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16022
16023 [BZ #14117]
16024 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16025 * sysdeps/x86/bits/string.h: This.
16026 * sysdeps/x86_64/bits/string.h: Removed.
16027
16028 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16029 if not compiling for x86-64, but compiling for >= i486.
16030
16031 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16032 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16033
16034 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16035 New macro from Linux kernel 3.4.0.
16036 (FP_XSTATE_MAGIC2): Likewise.
16037 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16038 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16039 (struct _fpx_sw_bytes): New struct.
16040 (struct _xsave_hdr): Likewise.
16041 (struct _ymmh_state): Likewise.
16042 (struct _xstate): Likewise.
16043
16044 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16045 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16047 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16048 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16049 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16050
16051 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16052 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16053 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16054 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16055 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16056 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16057
16058 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16059
16060 [BZ #13743]
16061 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16062 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16063 (sysdep_headers): Include sys/platform/ppc.h.
16064 * sysdeps/powerpc/test-gettimebase.c: Test for
16065 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16066 * manual/Makefile (appendices): Include platform.texi.
16067 * manual/contrib.texi (Contributors): Update @node pointers.
16068 * manual/maint.texi (Maintenance): Likewise.
16069 (Platform): New node.
16070 * manual/platform.texi: New file. Document the new features.
16071
16072 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16073 Jakub Jelinek <jakub@redhat.com>
16074
16075 [BZ #14188]
16076 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16077 where __builtin_expect is unavailable.
16078
16079 2012-06-03 David S. Miller <davem@davemloft.net>
16080
16081 * stdlib/longlong.h: Updated from GCC.
16082
16083 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16084
16085 [BZ #14042]
16086 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16087 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16088 __mcount_internal.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16090 (GLIBC_2.16): Likewise.
16091
16092 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16093
16094 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16095
16096 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16097
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16099 (default-abi): New variable.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16101 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16102 variable.
16103 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16104 Likewise.
16105 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16106 Likewise.
16107 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16108 Likewise.
16109
16110 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16111 definition. Document in comment.
16112
16113 2012-06-01 David S. Miller <davem@davemloft.net>
16114
16115 * stdlib/longlong.h: Updated from GCC.
16116
16117 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16118
16119 [BZ #14117]
16120 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16121 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16122 sys/debugreg.h sys/io.h here.
16123 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16124 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16125 sys/io.h.
16126 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16127 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16128 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16129 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16130 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16131 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16132
16133 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16134 Define only if __x86_64__ is defined.
16135
16136 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16137
16138 [BZ #14048]
16139 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16140 Use int64_t for variable i.
16141 * math/libm-test.inc (fmod_test): Add more tests.
16142
16143 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16144 z computation is not scheduled after fetestexcept.
16145 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16146 Use math_force_eval instead of asm to ensure calculation scheduled
16147 before exception test.
16148 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16149 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16150
16151 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16152
16153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16154 computation is not scheduled after fetestexcept.
16155
16156 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16157
16158 [BZ #14117]
16159 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16160 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16161
16162 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16163
16164 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16165 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16166
16167 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16168
16169 [BZ #14117]
16170 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16171 <bits/wordsize.h>.
16172 (__WCHAR_MIN): Support __WORDSIZE == 64.
16173 (__WCHAR_MAX): Likewise.
16174
16175 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16176 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16177
16178 [BZ #14183]
16179 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16180 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16181
16182 [BZ #14117]
16183 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16184 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16185
16186 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16187 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16188
16189 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16190 Defined to 1 if __x86_64__ isn't defined.
16191 (_STAT_VER_LINUX_OLD): New.
16192 (st_atime): Remove duplicate.
16193 (st_mtime): Likewise.
16194 (st_ctime): Likewise.
16195
16196 2012-05-31 David S. Miller <davem@davemloft.net>
16197
16198 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16199 entries.
16200
16201 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16202
16203 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16204 gen-libm-test.pl.
16205
16206 [BZ #14132]
16207 * elf/dl-reloc.c: Include <_itoa.h>.
16208 (_dl_reloc_bad_type): Remove use of INTUSE.
16209 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16210 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16211 * stdio-common/psiginfo.c (psiginfo): Likewise.
16212 * stdio-common/psignal.c (psignal): Likewise.
16213 * string/strsignal.c (strsignal): Likewise.
16214 * include/signal.h (_sys_siglist): Declare hidden proto.
16215 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16216 INTVARDEF with libc_hidden_data_def.
16217 * stdio-common/itoa-udigits.c: Likewise.
16218 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16219 (_itoa_lower_digits_internal): Remove declaration.
16220 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16221 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16222 (_sys_sigabbrev_internal): Remove aliases.
16223 (_sys_siglist): Define hidden alias.
16224
16225 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16226
16227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16228 bits/sysctl.h.
16229
16230 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16231
16232 [BZ #14117]
16233 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16234 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16235
16236 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16237 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16238 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16239 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16241 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16242
16243 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16245 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16246
16247 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16248 with __addr.
16249 (insw): Likewise.
16250 (insl): Likewise.
16251 (outsb): Likewise.
16252 (outsw): Likewise.
16253 (outsl): Likewise.
16254
16255 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16257 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16258
16259 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16260 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16262 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16263 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16264 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16265
16266 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16267 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16268
16269 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16270 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16271
16272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16273 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16274 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16275
16276 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16277 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16278 to ...
16279 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16280
16281 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16282 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16283 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16284
16285 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16286 for x86-64.
16287 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16288
16289 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16290
16291 * math/math.h (M_El): Use two more decimal places.
16292 (M_LOG2El): Likewise.
16293 (M_LOG10El): Likewise.
16294 (M_LN2l): Likewise.
16295 (M_LN10l): Likewise.
16296 (M_PIl): Likewise.
16297 (M_PI_2l): Likewise.
16298 (M_PI_4l): Likewise.
16299 (M_1_PIl): Likewise.
16300 (M_2_PIl): Likewise.
16301 (M_2_SQRTPIl): Likewise.
16302 (M_SQRT2l): Likewise.
16303 (M_SQRT1_2l): Likewise.
16304
16305 2012-05-31 David S. Miller <davem@davemloft.net>
16306
16307 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16308 values between float registers.
16309 * sysdeps/sparc/sparc64/memset.S: Likewise.
16310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16311
16312 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16313
16314 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16315 -D_FORTIFY_SOURCE=1.
16316 (CPPFLAGS-tst-longjmp_chk.c): Define.
16317 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16318 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16319 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16320 CFLAGS-tst-wchar-h.c.
16321
16322 2012-05-31 Marek Polacek <polacek@redhat.com>
16323
16324 [BZ #14132]
16325 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16326 __endmntent_internal): Remove declaration.
16327 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16328 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16329 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16330
16331 2012-05-30 David S. Miller <davem@davemloft.net>
16332
16333 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16334 (___Q_simulate_exceptions): Use real FP ops rather than writing
16335 into the %fsr.
16336 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16337 Likewise.
16338
16339 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16340
16341 [BZ #14117]
16342 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16343 * sysdeps/x86/bits/xtitypes.h: This.
16344
16345 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16346 * sysdeps/x86/bits/wordsize.h: This.
16347
16348 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16349 * sysdeps/x86/bits/huge_vall.h: This.
16350
16351 * sysdeps/i386/bits/select.h: Removed.
16352 * sysdeps/x86_64/bits/select.h: Renamed to ...
16353 * sysdeps/x86/bits/select.h: This.
16354
16355 * sysdeps/i386/bits/setjmp.h: Removed.
16356 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16357 * sysdeps/x86/bits/setjmp.h: This.
16358
16359 * sysdeps/i386/bits/mathdef.h: Removed.
16360 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16361 * sysdeps/x86/bits/mathdef.h: This.
16362
16363 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16364
16365 [BZ #14132]
16366 * include/sys/socket.h (__connect_internal)
16367 (__libc_sa_len_internal): Remove declaration.
16368 (__connect, __libc_sa_len): Declare hidden_proto.
16369 (SA_LEN): Remove use of INTUSE.
16370 * socket/connect.c: Add libc_hidden_def.
16371 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16372 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16373 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16374 alias.
16375 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16376 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16377 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16378 of adding _internal alias.
16379
16380 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16381
16382 [BZ #14117]
16383 * sysdeps/i386/bits/link.h: Removed.
16384 * sysdeps/i386/bits/linkmap.h: Likewise.
16385 * sysdeps/x86_64/bits/link.h: Renamed to ...
16386 * sysdeps/x86/bits/link.h: This.
16387 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16388 * sysdeps/x86/bits/linkmap.h: This.
16389
16390 * sysdeps/i386/bits/endian.h: Removed.
16391 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16392 * sysdeps/x86/bits/endian.h: This.
16393
16394 * sysdeps/i386/bits/byteswap.h: Removed.
16395 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16396 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16397 * sysdeps/x86/bits/byteswap.h: This.
16398 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16399 * sysdeps/x86/bits/byteswap-16.h: This.
16400 * sysdeps/i386/Implies: Add x86.
16401 * sysdeps/x86_64/Implies: Likewise.
16402
16403 2012-05-30 David S. Miller <davem@davemloft.net>
16404
16405 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16406 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16407 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16408 (FP_TRAPPING_EXCEPTIONS): Define.
16409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16410 (FP_TRAPPING_EXCEPTIONS): Define.
16411 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16412 subnormals only when inexact has been signalled or underflow
16413 exceptions are enabled.
16414 (_FP_PACK_CANONICAL): Likewise.
16415
16416 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16417
16418 [BZ #14183]
16419 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16420 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16421
16422 2012-05-30 Richard Henderson <rth@twiddle.net>
16423
16424 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16425 with #ifndef NOT_IN_libc.
16426
16427 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16428 marked to avoid plt entry.
16429
16430 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16431
16432 [BZ #14112]
16433 * Makeconfig (default-abi): New macro.
16434 (abi-includes): Likewise.
16435 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16436 $(abi-$(default-abi)-lib-soname) for soname if defined.
16437 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16438 abi-variants.
16439 * Makefile (installed-stubs): Likewise.
16440 * include/stubs-biarch.h: Removed.
16441 * scripts/lib-names.awk: Only handle one library at a time.
16442 * scripts/soversions.awk: Remove WORDSIZE support.
16443 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16444 entries.
16445 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16446 Removed.
16447 (syscall-list-default-condition): Likewise.
16448 (syscall-list-default-condition): Likewise.
16449 (syscall-list-includes): Likewise.
16450 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16451 syscall-list-* with abi-*. Handle undefined abi-variants.
16452 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16453 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16454 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16455 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16456 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16457 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16458 Removed.
16459 (syscall-list-32-options): Likewise.
16460 (syscall-list-32-condition): Likewise.
16461 (syscall-list-64-options): Likewise.
16462 (syscall-list-64-condition): Likewise.
16463 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16464 macro.
16465 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16466 Renamed to ...
16467 (abi-*): This.
16468 (abi-64-ld-soname): New macro.
16469 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16471 Renamed to ...
16472 (abi-*): This.
16473 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16474 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16475
16476 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16477
16478 * sysdeps/unix/sysv/linux/kernel-features.h
16479 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16480 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16481 include <kernel-features.h>.
16482 [!__NR_ftruncate64]: Remove conditional code.
16483 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16484 [__NR_ftruncate64]: Make code unconditional.
16485 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16486 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16487 include <kernel-features.h>.
16488 [!__NR_ftruncate64]: Remove conditional code.
16489 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16490 [__NR_ftruncate64]: Make code unconditional.
16491 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16493 include <kernel-features.h>.
16494 [!__NR_ftruncate64]: Remove conditional code.
16495 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16496 [__NR_ftruncate64]: Make code unconditional.
16497 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16499 include <kernel-features.h>.
16500 [!__NR_ftruncate64]: Remove conditional code.
16501 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16502 [__NR_ftruncate64]: Make code unconditional.
16503 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16504
16505 * configure.in (libc_cv_fpie): Weaken to a compile test using
16506 LIBC_TRY_CC_OPTION.
16507 * configure: Regenerated.
16508
16509 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16510
16511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16515 Refreshed.
16516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16522 Refreshed.
16523
16524 2012-05-27 David S. Miller <davem@davemloft.net>
16525
16526 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16527 (___Q_zero): New.
16528 (__Q_simulate_exceptions): Return void. Change to simulate
16529 exceptions by writing into the %fsr.
16530 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16531 (__Qp_handle_exceptions): Likewise.
16532 (numbers): Delete.
16533 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16534 __Qp_handle_exceptions.
16535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16536 __Qp_handle_exceptions.
16537 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16538 as unused and give dummy FP_RND_NEAREST initializer.
16539 (FP_INHIBIT_RESULTS): Define.
16540 (___Q_simulate_exceptions): Update declaration.
16541 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16542 formatting.
16543 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16544 as unused and give dummy FP_RND_NEAREST initializer.
16545 (__Qp_handle_exceptions): Update declaration.
16546 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16547 formatting.
16548
16549 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16550
16551 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16552 the temporary FPU control word.
16553 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16554 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16555 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16556 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16557 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16558 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16559 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16560 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16561 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16562 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16563 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16564
16565 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16566
16567 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16568 fields.
16569
16570 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16571
16572 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16573 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16574 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16575 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16576 Likewise.
16577 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16578 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16579 Likewise.
16580
16581 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16582
16583 * po/h.po: Update from translation team.
16584
16585 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16586
16587 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16588
16589 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16590 handling of denormals.
16591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16592 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16593 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16594 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16595 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16598 Likewise.
16599
16600 2012-05-26 Marek Polacek <polacek@redhat.com>
16601
16602 [BZ #14152]
16603 * math/libm-test.inc (fma_test): Don't always expect underflow
16604 exception.
16605
16606 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16607
16608 [BZ #12416]
16609 * elf/tst-execstack.c: Include stackinfo.h.
16610 (do_test): Adjust test case to ensure that pthread_getattr_np
16611 behaviour remains the same after marking stack executable.
16612
16613 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16614
16615 * sysdeps/unix/sysv/linux/kernel-features.h
16616 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16617 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16618 kernel-features.h.
16619 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16620 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16621 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16622 kernel-features.h.
16623 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16624 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16625
16626 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16627
16628 * configure.in: Define the default includes to being none.
16629 * configure: Regenerated.
16630
16631 2012-05-25 Roland McGrath <roland@hack.frob.com>
16632
16633 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16634 * sysdeps/x86_64/setjmp.S: Likewise.
16635 * sysdeps/i386/bsd-setjmp.S: Likewise.
16636 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16637 * sysdeps/i386/setjmp.S: Likewise.
16638 * sysdeps/i386/__longjmp.S: Likewise.
16639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16640 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16641
16642 * include/stap-probe.h: New file.
16643 * configure.in: Handle --enable-systemtap.
16644 * configure: Regenerated.
16645 * config.h.in (USE_STAP_PROBE): New #undef.
16646 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16647 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16648 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16649
16650 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16651
16652 [BZ #13717]
16653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16654 to 2.4.0 where earlier.
16655 * sysdeps/unix/sysv/linux/configure: Regenerated.
16656 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16657 <kernel-features.h>.
16658 [__ASSUME_32BITUIDS]: Make code unconditional.
16659 [!__ASSUME_32BITUIDS]: Remove conditional code.
16660 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16661 <kernel-features.h>.
16662 [__ASSUME_32BITUIDS]: Make code unconditional.
16663 [!__ASSUME_32BITUIDS]: Remove conditional code.
16664 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16665 [__ASSUME_32BITUIDS]: Make code unconditional.
16666 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16667 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16668 <kernel-features.h>.
16669 [__ASSUME_32BITUIDS]: Make code unconditional.
16670 [!__ASSUME_32BITUIDS]: Remove conditional code.
16671 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16672 <kernel-features.h>.
16673 [__ASSUME_32BITUIDS]: Make code unconditional.
16674 [!__ASSUME_32BITUIDS]: Remove conditional code.
16675 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16676 <kernel-features.h>.
16677 [__ASSUME_32BITUIDS]: Make code unconditional.
16678 [!__ASSUME_32BITUIDS]: Remove conditional code.
16679 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16680 <kernel-features.h>.
16681 [__ASSUME_32BITUIDS]: Make code unconditional.
16682 [!__ASSUME_32BITUIDS]: Remove conditional code.
16683 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16684 <kernel-features.h>.
16685 [__ASSUME_32BITUIDS]: Make code unconditional.
16686 [!__ASSUME_32BITUIDS]: Remove conditional code.
16687 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16688 <kernel-features.h>.
16689 [__ASSUME_32BITUIDS]: Make code unconditional.
16690 [!__ASSUME_32BITUIDS]: Remove conditional code.
16691 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16692 <kernel-features.h>.
16693 [__ASSUME_32BITUIDS]: Make code unconditional.
16694 [!__ASSUME_32BITUIDS]: Remove conditional code.
16695 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16696 <kernel-features.h>.
16697 [__ASSUME_32BITUIDS]: Make code unconditional.
16698 [!__ASSUME_32BITUIDS]: Remove conditional code.
16699 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16700 <kernel-features.h>.
16701 [__ASSUME_32BITUIDS]: Make code unconditional.
16702 [!__ASSUME_32BITUIDS]: Remove conditional code.
16703 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16704 <kernel-features.h>.
16705 [__ASSUME_32BITUIDS]: Make code unconditional.
16706 [!__ASSUME_32BITUIDS]: Remove conditional code.
16707 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16708 <kernel-features.h>.
16709 [__NR_setresgid] (__setresgid): Do not declare.
16710 [__ASSUME_32BITUIDS]: Make code unconditional.
16711 [!__ASSUME_32BITUIDS]: Remove conditional code.
16712 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16713 <kernel-features.h>.
16714 [__NR_setresuid] (__setresuid): Do not declare.
16715 [__ASSUME_32BITUIDS]: Make code unconditional.
16716 [!__ASSUME_32BITUIDS]: Remove conditional code.
16717 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16718 <kernel-features.h>.
16719 [__ASSUME_32BITUIDS]: Make code unconditional.
16720 [!__ASSUME_32BITUIDS]: Remove conditional code.
16721 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16722 <kernel-features.h>.
16723 [__ASSUME_32BITUIDS]: Make code unconditional.
16724 [!__ASSUME_32BITUIDS]: Remove conditional code.
16725 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16726 <kernel-features.h>.
16727 [__ASSUME_32BITUIDS]: Make code unconditional.
16728 [!__ASSUME_32BITUIDS]: Remove conditional code.
16729 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16730 <kernel-features.h>.
16731 [__ASSUME_32BITUIDS]: Make code unconditional.
16732 [!__ASSUME_32BITUIDS]: Remove conditional code.
16733 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16734 <kernel-features.h>.
16735 [__ASSUME_32BITUIDS]: Make code unconditional.
16736 [!__ASSUME_32BITUIDS]: Remove conditional code.
16737 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16738 <kernel-features.h>.
16739 [__ASSUME_32BITUIDS]: Make code unconditional.
16740 [!__ASSUME_32BITUIDS]: Remove conditional code.
16741 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16742 <kernel-features.h>.
16743 [__ASSUME_32BITUIDS]: Make code unconditional.
16744 [!__ASSUME_32BITUIDS]: Remove conditional code.
16745 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16746 <kernel-features.h>.
16747 [__ASSUME_32BITUIDS]: Make code unconditional.
16748 [!__ASSUME_32BITUIDS]: Remove conditional code.
16749 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16750 <kernel-features.h>.
16751 [__ASSUME_32BITUIDS]: Make code unconditional.
16752 [!__ASSUME_32BITUIDS]: Remove conditional code.
16753 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16754 <kernel-features.h>.
16755 [__ASSUME_32BITUIDS]: Make code unconditional.
16756 [!__ASSUME_32BITUIDS]: Remove conditional code.
16757 * sysdeps/unix/sysv/linux/kernel-features.h
16758 (__ASSUME_SETRESUID_SYSCALL): Remove.
16759 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16760 (__ASSUME_32BITUIDS): Likewise.
16761 (__ASSUME_LDT_WORKS): Likewise.
16762 (__ASSUME_O_DIRECTORY): Likewise.
16763 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16764 architecture but not kernel version.
16765 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16766 (__ASSUME_MMAP2_SYSCALL): Likewise.
16767 (__ASSUME_STAT64_SYSCALL): Likewise.
16768 (__ASSUME_IPC64): Likewise.
16769 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16770 <kernel-features.h>.
16771 [__ASSUME_32BITUIDS]: Make code unconditional.
16772 [!__ASSUME_32BITUIDS]: Remove conditional code.
16773 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16774 <kernel-features.h>.
16775 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16776 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16777 132096]: Remove conditional code.
16778 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16779 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16780 <kernel-features.h>.
16781 [__ASSUME_32BITUIDS]: Make code unconditional.
16782 [!__ASSUME_32BITUIDS]: Remove conditional code.
16783 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16784 <kernel-features.h>.
16785 [__ASSUME_32BITUIDS]: Make code unconditional.
16786 [!__ASSUME_32BITUIDS]: Remove conditional code.
16787 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16788 <kernel-features.h>.
16789 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16790 unconditional.
16791 (__setresgid): Do not declare.
16792 [__ASSUME_32BITUIDS]: Make code unconditional.
16793 [!__ASSUME_32BITUIDS]: Remove conditional code.
16794 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16795 <kernel-features.h>.
16796 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16797 unconditional.
16798 (__setresuid): Do not declare.
16799 [__ASSUME_32BITUIDS]: Make code unconditional.
16800 [!__ASSUME_32BITUIDS]: Remove conditional code.
16801 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16802 <kernel-features.h>.
16803 [__ASSUME_32BITUIDS]: Make code unconditional.
16804 [!__ASSUME_32BITUIDS]: Remove conditional code.
16805 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16806 <kernel-features.h>.
16807 [__ASSUME_32BITUIDS]: Make code unconditional.
16808 [!__ASSUME_32BITUIDS]: Remove conditional code.
16809
16810 2012-05-25 Richard Henderson <rth@twiddle.net>
16811
16812 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16813 dl_hwcap to ifunc resolver.
16814 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16815 elf_ifunc_invoke.
16816 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16817 dl_hwcap to ifunc resolver.
16818 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16819
16820 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16821
16822 [BZ #14153]
16823 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16824 for |x| <= 2**-26, not 2**-57.
16825 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16826 exception.
16827
16828 2012-05-24 Jeff Law <law@redhat.com>
16829
16830 * stdio-common/Makefile (tests): Add bug25.
16831 * stdio-common/bug25.c: New test.
16832
16833 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16834
16835 [BZ #13576]
16836 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16837 multiple of MALLOC_ALIGNMENT in size.
16838 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16839
16840 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16841
16842 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16843 Require >= 256.
16844 (FILENAME_MAX): Use macro-int-constant.
16845 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16846 (_IOFBF): Use macro-int-constant.
16847 (_IOLBF): Likewise.
16848 (_IONBF): Likewise.
16849 (SEEK_CUR): Likewise.
16850 (SEEK_END): Likewise.
16851 (SEEK_SET): Likewise.
16852 (TMP_MAX): Likewise.
16853 (EOF): Use macro-int-constant. Require < 0.
16854 (NULL): Use macro-constant. Require == 0.
16855 (stdin): Require type to be FILE *.
16856 (stdout): Likewise.
16857 (stderr): Likewise.
16858 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16859 macro-int-constant.
16860 (EXIT_SUCCESS): Likewise.
16861 (NULL): Use macro-constant. Require == 0.
16862 (RAND_MAX): Use macro-int-constant.
16863 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16864 [C99-based standards] (strtof): Require function.
16865 [C99-based standards] (strtold): Likewise.
16866 [C99-based standards] (strtoll): Likewise.
16867 [C99-based standards] (strtoull): Likewise.
16868 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16869 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16870 [ISO || ISO99 || ISO11] (math.h): Likewise.
16871 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16872 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16874
16875 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16876
16877 [BZ #14132]
16878 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16879 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16880 * intl/dgettext.c (DCGETTEXT): Likewise.
16881 * intl/gettext.c (DCGETTEXT): Likewise.
16882 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16883 * posix/regex_internal.h (gettext): Likewise.
16884 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16885 Remove declaration.
16886 * include/argz.h (__argz_count_internal)
16887 (__argz_stringify_internal): Remove declaration.
16888 (__argz_count, __argz_stringify): Declare hidden proto.
16889 * intl/dcgettext.c: Remove use of INTDEF.
16890 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16891 * string/argz-stringify.c: Likewise.
16892 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16893 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16894 Declare hidden proto.
16895 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16896 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16897 Declare hidden proto.
16898 * include/stdio.h (__asprintf_internal): Don't declare.
16899 (__asprintf): Don't define as macro. Declare hidden proto.
16900 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16901 (__fsetlocking): Declare hidden proto.
16902 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16903 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16904 hidden proto.
16905 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16906 (_IO_setlinebuf): Remove use of INTUSE.
16907 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16908 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16909 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16910 Remove declaration.
16911 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16912 (_IO_do_flush): Remove use of INTUSE.
16913 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16914 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16915 (_IO_adjust_column, _IO_least_wmarker)
16916 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16917 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16918 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16919 (_IO_default_doallocate, _IO_wdefault_doallocate)
16920 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16921 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16922 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16923 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16924 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16925 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16926 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16927 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16928 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16929 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16930 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16931 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16932 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16933 proto.
16934 (_IO_flush_all_internal, _IO_adjust_column_internal)
16935 (_IO_default_uflow_internal, _IO_default_finish_internal)
16936 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16937 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16938 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16939 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16940 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16941 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16942 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16943 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16944 (_IO_file_close_internal, _IO_file_close_it_internal)
16945 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16946 (_IO_file_init_internal, _IO_file_attach_internal)
16947 (_IO_file_fopen_internal, _IO_file_read_internal)
16948 (_IO_file_sync_internal, _IO_file_seek_internal)
16949 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16950 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16951 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16952 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16953 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16954 (_IO_list_all_internal, _IO_link_in_internal)
16955 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16956 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16957 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16958 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16959 (_IO_do_write_internal, _IO_padn_internal)
16960 (_IO_getline_info_internal, _IO_getline_internal)
16961 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16962 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16963 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16964 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16965 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16966 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16967 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16968 with libc_hidden_ver, remove use of INTUSE.
16969 * libio/genops.c: Likewise.
16970 * libio/freopen.c: Likewise.
16971 * libio/freopen64.c: Likewise.
16972 * libio/iofclose.c: Likewise.
16973 * libio/iofdopen.c: Likewise.
16974 * libio/iofflush.c: Likewise.
16975 * libio/iofflush_u.c: Likewise.
16976 * libio/iofgets.c: Likewise.
16977 * libio/iofgets_u.c: Likewise.
16978 * libio/iofopen.c: Likewise.
16979 * libio/iofopncook.c: Likewise.
16980 * libio/iofread.c: Likewise.
16981 * libio/iofread_u.c: Likewise.
16982 * libio/ioftell.c: Likewise.
16983 * libio/iofwrite.c: Likewise.
16984 * libio/iogetline.c: Likewise.
16985 * libio/iogets.c: Likewise.
16986 * libio/iogetwline.c: Likewise.
16987 * libio/iopadn.c: Likewise.
16988 * libio/iopopen.c: Likewise.
16989 * libio/ioseekoff.c: Likewise.
16990 * libio/ioseekpos.c: Likewise.
16991 * libio/iosetbuffer.c: Likewise.
16992 * libio/iosetvbuf.c: Likewise.
16993 * libio/ioungetc.c: Likewise.
16994 * libio/ioungetwc.c: Likewise.
16995 * libio/iovdprintf.c: Likewise.
16996 * libio/iovsprintf.c: Likewise.
16997 * libio/iovsscanf.c: Likewise.
16998 * libio/memstream.c: Likewise.
16999 * libio/obprintf.c: Likewise.
17000 * libio/oldfileops.c: Likewise.
17001 * libio/oldiofclose.c: Likewise.
17002 * libio/oldiofdopen.c: Likewise.
17003 * libio/oldiofopen.c: Likewise.
17004 * libio/oldiopopen.c: Likewise.
17005 * libio/oldstdfiles.c: Likewise.
17006 * libio/putc.c: Likewise.
17007 * libio/setbuf.c: Likewise.
17008 * libio/setlinebuf.c: Likewise.
17009 * libio/stdfiles.c: Likewise.
17010 * libio/strops.c: Likewise.
17011 * libio/vasprintf.c: Likewise.
17012 * libio/vscanf.c: Likewise.
17013 * libio/vsnprintf.c: Likewise.
17014 * libio/vswprintf.c: Likewise.
17015 * libio/wfiledoalloc.c: Likewise.
17016 * libio/wfileops.c: Likewise.
17017 * libio/wgenops.c: Likewise.
17018 * libio/wmemstream.c: Likewise.
17019 * libio/wstrops.c: Likewise.
17020 * libio/__fpurge.c: Likewise.
17021 * libio/__fsetlocking.c: Likewise.
17022 * assert/assert.c: Likewise.
17023 * debug/fgets_chk.c: Likewise.
17024 * debug/fgets_u_chk.c: Likewise.
17025 * debug/fread_chk.c: Likewise.
17026 * debug/fread_u_chk.c: Likewise.
17027 * debug/gets_chk.c: Likewise.
17028 * debug/obprintf_chk.c: Likewise.
17029 * debug/vasprintf_chk.c: Likewise.
17030 * debug/vdprintf_chk.c: Likewise.
17031 * debug/vsnprintf_chk.c: Likewise.
17032 * debug/vsprintf_chk.c: Likewise.
17033 * malloc/mtrace.c: Likewise.
17034 * misc/error.c: Likewise.
17035 * misc/syslog.c: Likewise.
17036 * stdio-common/asprintf.c: Likewise.
17037 * stdio-common/fxprintf.c: Likewise.
17038 * stdio-common/getw.c: Likewise.
17039 * stdio-common/isoc99_fscanf.c: Likewise.
17040 * stdio-common/isoc99_scanf.c: Likewise.
17041 * stdio-common/isoc99_vfscanf.c: Likewise.
17042 * stdio-common/isoc99_vscanf.c: Likewise.
17043 * stdio-common/isoc99_vsscanf.c: Likewise.
17044 * stdio-common/printf-prs.c: Likewise.
17045 * stdio-common/printf_fp.c: Likewise.
17046 * stdio-common/printf_fphex.c: Likewise.
17047 * stdio-common/printf_size.c: Likewise.
17048 * stdio-common/putw.c: Likewise.
17049 * stdio-common/scanf.c: Likewise.
17050 * stdio-common/sprintf.c: Likewise.
17051 * stdio-common/tmpfile.c: Likewise.
17052 * stdio-common/vfprintf.c: Likewise.
17053 * stdio-common/vfscanf.c: Likewise.
17054 * stdlib/strfmon_l.c: Likewise.
17055 * sunrpc/openchild.c: Likewise.
17056 * sunrpc/xdr_stdio.c: Likewise.
17057 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17058 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17059
17060 2012-05-24 Roland McGrath <roland@hack.frob.com>
17061
17062 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17063
17064 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17065 in the third column, to generate for the shared library an IFUNC
17066 that uses _dl_vdso_vsym.
17067 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17068 * Makeconfig (object-suffixes-noshared): New variable.
17069
17070 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17071 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17072 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17073 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17074
17075 [BZ #14132]
17076 * include/sys/time.h (__gettimeofday): Remove macro.
17077 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17078 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17079 Remove INTDEF.
17080 (__gettimeofday): Add libc_hidden_def.
17081 (gettimeofday): Add libc_hidden_weak.
17082 * sysdeps/mach/gettimeofday.c: Likewise.
17083 * sysdeps/posix/gettimeofday.c: Likewise.
17084 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17085 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17087 (__gettimeofday_internal): Remove strong_alias.
17088 (__gettimeofday): Add libc_hidden_def.
17089 (gettimeofday): Add libc_hidden_weak.
17090 * sysdeps/unix/syscalls.list (gettimeofday):
17091 Remove __gettimeofday_internal alias.
17092
17093 2012-05-24 Daniel Jacobowitz <drow@false.org>
17094 H.J. Lu <hongjiu.lu@intel.com>
17095
17096 [BZ #12495]
17097 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17098 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17099 (largebin_index_32_big): New.
17100 (largebin_index): Use it for 16-byte alignment.
17101 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17102 correction with front_misalign.
17103
17104 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17105
17106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17108 Likewise.
17109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17110 Likewise.
17111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17112 Likewise.
17113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17114 Likewise.
17115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17116 Likewise.
17117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17118 Likewise.
17119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17120 Likewise.
17121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17122 Likewise.
17123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17124 Likewise.
17125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17126 Likewise.
17127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17128 Likewise.
17129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17130 Likewise.
17131
17132 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17133 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17134
17135 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17136
17137 [BZ #10846]
17138 [BZ #14036]
17139 * math/libm-test.inc (exp_test): Add test from bug 14036.
17140 (pow_test): Add test from bug 10846.
17141
17142 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17143 and other flags.
17144 (special_function): Do not include flags in test name.
17145 (parse_args): Likewise.
17146 * sysdeps/i386/fpu/libm-test-ulps: Update.
17147 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17148 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17149 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17151
17152 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17153 exceptions.
17154 * math/libm-test.inc ("Philosophy"): Update comment about
17155 exception testing.
17156 (UNDERFLOW_EXCEPTION): New macro.
17157 (UNDERFLOW_EXCEPTION_OK): Likewise.
17158 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17159 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17160 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17161 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17162 (INVALID_EXCEPTION_OK): Update value.
17163 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17164 (OVERFLOW_EXCEPTION_OK): Likewise.
17165 (IGNORE_ZERO_INF_SIGN): Likewise.
17166 (test_exceptions): Handle underflow exceptions.
17167 (acos_test): Update for underflow exception expectations.
17168 (cexp_test): Likewise.
17169 (clog_test): Likewise.
17170 (clog10_test): Likewise.
17171 (csqrt_test): Likewise.
17172 (ctan_test): Likewise.
17173 (ctanh_test): Likewise.
17174 (exp_test): Likewise.
17175 (exp10_test): Likewise.
17176 (exp2_test): Likewise.
17177 (expm1_test): Likewise.
17178 (fma_test): Likewise.
17179 (j0_test): Likewise.
17180 (jn_test): Likewise.
17181 (nexttoward_test): Likewise.
17182 (pow_test): Likewise.
17183 (scalbn_test): Likewise.
17184 (scalbln_test): Likewise.
17185 (tan_test): Likewise.
17186 (y1_test): Likewise.
17187 * sysdeps/i386/fpu/libm-test-ulps: Update.
17188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17189
17190 2012-05-23 David S. Miller <davem@davemloft.net>
17191
17192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17193 (__libc_sigaction): Remove unused local variables.
17194
17195 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17196
17197 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17198
17199 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17200
17201 mktime: avoid signed integer overflow
17202 * time/mktime.c (__mktime_internal): Do not mishandle the case
17203 where diff == INT_MIN.
17204
17205 mktime: simplify computation of average
17206 * time/mktime.c (ranged_convert): Use new time_t_avg function
17207 instead of rolling our own (probably-slower) code.
17208
17209 mktime: do not assume signed right shift propagates sign bit
17210 * time/mktime.c (isdst_differ): New static function.
17211 (__mktime_internal): No need to normalize tm_isdst now.
17212 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17213 tm_isdst values.
17214
17215 mktime: merge another wrapv change from gnulib
17216 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17217 from some compilers.
17218
17219 mktime: remove incorrect attempt at unusual arithmetics
17220 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17221 The code didn't really work on such machines anyway.
17222 (TYPE_MINIMUM): Assume two's complement.
17223 (twos_complement_arithmetic): Verify that long_int and time_t
17224 are two's complement (or unsigned, in the latter case).
17225
17226 mktime: check signed shifts on long_int and time_t, too
17227 * time/mktime.c (SHR): Check that shifts work as desired
17228 on the types long_int and time_t too, as SHR is used on
17229 such types.
17230
17231 mktime: do not assume 'long' is wide enough
17232 * time/mktime.c (verify): Move decl up.
17233 (long_int): New type.
17234 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17235 to remove assumption in the code that 'long' is wide enough to
17236 store year values. This assumption is not true on x32 and on
17237 some non-glibc platforms.
17238
17239 mktime: merge wrapv change from gnulib
17240 * time/mktime.c (WRAPV): New macro.
17241 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17242 (guess_time_tm, __mktime_internal): Do not assume that signed
17243 integer overflow wraps around; modern compilers generate code
17244 where this assumption is no longer valid.
17245
17246 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17247
17248 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17249 Replace "jmp L(pseudo_end)" with "ret".
17250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17251 Likewise.
17252
17253 2012-05-23 Andreas Jaeger <aj@suse.de>
17254
17255 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17256 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17257
17258 2012-05-23 Andreas Jaeger <aj@suse.de>
17259 Maximilian Attems <max@stro.at>
17260
17261 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17262 New macros.
17263
17264 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17265
17266 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17267 code so that pseudo_end is just ret and the stack pointer is
17268 correct also for static library in error case.
17269
17270 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17271
17272 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17273 move to syscalls.list.
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17278
17279 * manual/install.texi (Running make install): Do not mention Linux
17280 kernel version for which pt_chown is not needed.
17281 (Linux): Do not mention problems with nscd with 2.0 kernels.
17282 * INSTALL: Regenerated.
17283
17284 2012-05-23 Andreas Jaeger <aj@suse.de>
17285
17286 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17287 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17288 macro.
17289 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17290 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17291 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17292 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17293 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17294 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17297 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17299 * sysdeps/unix/sysv/linux/bits/in.h
17300 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17301
17302 2012-05-22 Roland McGrath <roland@hack.frob.com>
17303
17304 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17305 (PREPARE_VERSION): Just use assert instead, it will be elided
17306 under [NDEBUG] anyway.
17307
17308 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17309
17310 * sysdeps/unix/sysv/linux/Makefile: Include
17311 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17312 (sysdep_routines): Remove sysctl.
17313 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17314 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17315 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17316 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17317 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17318
17319 2012-05-22 Andreas Jaeger <aj@suse.de>
17320
17321 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17322 that pseudo_end is just ret and the stack pointer is correct also
17323 for static library in error case.
17324
17325 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17326
17327 [BZ #14122]
17328 * nss/nsswitch.c (defconfig_entries): New variable.
17329 (__nss_database_lookup): Don't leak defconfig entries.
17330 (nss_parse_service_list): Don't leak on error paths.
17331 (free_database_entries): New function.
17332 (free_defconfig): New function.
17333 (free_mem): Move common code to free_database_entries.
17334
17335 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17336
17337 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17338 Add arch_prctl.
17339 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17340
17341 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17342 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17344 New macro.
17345 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17346 (INTERNAL_SYSCALL_TYPES): Likewise.
17347 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17348 (LOAD_REGS_TYPES_[1-6]): Likewise.
17349 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17350 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17351
17352 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17353
17354 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17355 copysignl for GLIBC_2_0.
17356 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17357 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17359 logbl for GLIBC_2_0.
17360 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17361 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17362
17363 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17364
17365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17366 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17367
17368 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17369 Use "neg %eax".
17370
17371 * time/mktime.c: Update copyright years.
17372
17373 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17374
17375 mktime: merge comment-quoting-style change from gnulib
17376 * time/mktime.c: Quote 'like this' in comments.
17377 The GNU coding standards suggest that we no longer quote `like this',
17378 as "`" and "'" are typically rendered asymmetrically nowadays.
17379 The typical gnulib style is to quote 'like this' when quoting
17380 code, and "like this" when quoting English.
17381
17382 * time/mktime.c (compile-command): Add "-I.".
17383
17384 mktime: merge mktime-internal.h change from gnulib
17385 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17386
17387 mktime: merge time_r change from gnulib
17388 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17389
17390 mktime: merge DEBUG change from gnulib
17391 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17392 case system <time.h> has a #define.
17393
17394 mktime: merge <sys/types.h> change from gnulib
17395 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17396 since <time.t> is now guaranteed to define time_t.
17397
17398 mktime: merge HAVE_CONFIG_H change from gnulib
17399 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17400
17401 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17402
17403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17404 Use "neg %eax".
17405
17406 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17407 __rlim_t cast.
17408 (struct rusage): Use anonymous union to pad each field to
17409 __syscall_slong_t.
17410
17411 2012-05-21 David S. Miller <davem@davemloft.net>
17412
17413 * Makefules (o-iterator): Remove .s cases.
17414 (compile-command.s): Delete.
17415 (COMPILE.s): Delete.
17416 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17417
17418 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17419
17420 * configure.in (libc_cv_predef_stack_protector): Only consider
17421 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17422 * configure: Regenerated.
17423
17424 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17425
17426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17427 New macro. Use R*LP on int and pointer.
17428 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17429 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17430 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17431 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17432
17433 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17434 [__WORDSIZE_TIME64_COMPAT32] instead of
17435 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17436 (struct utmp): Likewise.
17437 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17438 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17439 Renamed to ...
17440 (__WORDSIZE_TIME64_COMPAT32): This.
17441 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17442 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17443 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17444 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17445 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17446 (__WORDSIZE_TIME64_COMPAT32): New macro.
17447
17448 2012-05-21 Andreas Jaeger <aj@suse.de>
17449
17450 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17451 only if [SHARED]. Add prototype for __wcschr_ia32.
17452
17453 2012-05-21 Roland McGrath <roland@hack.frob.com>
17454
17455 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17456 of %rbp unmolested in the jmp_buf while mangling the low bits.
17457 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17458 unmolested high bits of %rbp while demangling the low bits.
17459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17460
17461 2012-05-21 Andreas Jaeger <aj@suse.de>
17462
17463 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17464 * sunrpc/svc_simple.c: Use it for registerrpc.
17465 * sunrpc/xcrypt.c: Use it for passwd2des.
17466
17467 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17468
17469 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17470
17471 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17472 Don't define if [__SYSCALL_WORDSIZE != 32].
17473 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17474 New macro.
17475
17476 2012-05-21 Bruno Haible <bruno@clisp.org>
17477 Andreas Jaeger <aj@suse.de>
17478
17479 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17480 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17481 inptr and inend for must_buffer_ch.
17482 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17483 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17484 * stdio-common/Makefile (tests): Remove bug15.
17485 (bug15-ENV): Remove macro.
17486 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17487 anymore.
17488
17489 2012-05-19 Andreas Jaeger <aj@suse.de>
17490 Roland McGrath <roland@hack.frob.com>
17491
17492 * manual/contrib.texi: Completely rewritten. It contains now an
17493 alphabetical list of contributors and their contributions.
17494
17495 2012-05-21 Richard Henderson <rth@twiddle.net>
17496
17497 * misc/getauxval.c (__getauxval): Use unsigned long int.
17498 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17499 (getauxval): Use unsigned long int.
17500
17501 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17502
17503 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17504
17505 2012-05-21 Roland McGrath <roland@hack.frob.com>
17506
17507 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17508 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17509 __alignof__ (long double).
17510
17511 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17512
17513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17514
17515 2012-05-20 Richard Henderson <rth@twiddle.net>
17516
17517 * misc/getauxval.c: New file.
17518 * misc/sys/auxv.h: New file.
17519 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17520 (routines): Add getauxval.
17521 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17522 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17523 * elf/dl-sysdep.c (_dl_auxv): Remove.
17524 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17525 * elf/dl-support.c (_dl_auxv): New variable.
17526 (_dl_aux_init): Initialize it.
17527 * manual/startup.texi (Auxiliary Vector): New node.
17528 * sysdeps/generic/bits/hwcap.h: New file.
17529 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17530 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17531 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17532 * sysdeps/sparc/sysdep.h: ... here. Include it.
17533 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17536 Update.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17545
17546 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17547
17548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17549
17550 2012-05-19 David S. Miller <davem@davemloft.net>
17551
17552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17553
17554 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17555
17556 [BZ #14123]
17557 * math/s_ccosh.c: Include <float.h>
17558 (__ccosh): Avoid internal overflow calculating sinh and cosh
17559 values before multiplying by sin and cos values.
17560 * math/s_ccoshf.c: Likewise.
17561 * math/s_ccoshl.c: Likewise.
17562 * math/s_csin.c: Likewise.
17563 * math/s_csinf.c: Likewise.
17564 * math/s_csinl.c: Likewise.
17565 * math/s_csinh.c: Likewise.
17566 * math/s_csinhf.c: Likewise.
17567 * math/s_csinhl.c: Likewise.
17568 * math/libm-test.inc (ccos_test): Add more tests.
17569 (ccosh_test): Likewise.
17570 (csin_test): Likewise.
17571 (csinh_test): Likewise.
17572 * sysdeps/i386/fpu/libm-test-ulps: Update.
17573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17574
17575 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17576
17577 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17578 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17579
17580 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17581
17582 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17583
17584 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17585 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17586 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17587 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17588 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17589 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17590 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17591 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17592 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17593 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17594 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17595 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17596 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17597 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17598 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17599 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17600 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17601 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17602 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17603 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17604 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17605 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17606 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17607 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17608 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17609 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17610 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17611 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17612 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17613 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17614 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17615
17616 2012-05-18 Andreas Jaeger <aj@suse.de>
17617
17618 * csu/.gitignore: Delete.
17619
17620 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17621
17622 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17623 (timex): Use __syscall_slong_t.
17624
17625 2012-05-18 Andreas Jaeger <aj@suse.de>
17626 Carlos O'Donell <carlos_odonell@mentor.com>
17627
17628 * manual/install.texi (Configuring and compiling): Update
17629 description about files modified in the source directory.
17630 * INSTALL: Regenerated.
17631
17632 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17633
17634 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17635 value. Use "or" to set return value to -1.
17636 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17637 negate return value.
17638
17639 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17640
17641 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17642 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17643 failure if the compiler has Graphite support disabled.
17644 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17645 Likewise.
17646 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17647 CFLAGS-memmove.c): Likewise.
17648 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17649 Likewise.
17650
17651 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 * sysdeps/x86_64/x32/_itoa.h: New file.
17654
17655 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17656 getdents system call only if kernel and user dirents have the
17657 same d_ino and d_off.
17658
17659 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17660 LLONG_MAX != LONG_MAX.
17661 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17662 (_fitoa_word): Likewise.
17663
17664 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17665 years.
17666 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17668 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17669
17670 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17671 include <bits/wordsize.h>. Check __x86_64__ instead of
17672 __WORDSIZE.
17673 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17674 if __x86_64__ is defined. Use anonymous union on fpstate.
17675
17676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17677 anonymous union.
17678
17679 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17680
17681 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17682 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17683 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17684 Refer to _rtld_local_ro instead of _rtld_global_ro.
17685 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17686 Likewise.
17687 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17688 Likewise.
17689 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17690 Likewise.
17691 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17692 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17693 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17694
17695 * sysdeps/powerpc/powerpc32/dl-machine.c
17696 (__elf_machine_runtime_setup) [PROF]: Don't reference
17697 _dl_prof_resolve.
17698
17699 2012-05-18 Andreas Jaeger <aj@suse.de>
17700
17701 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17702 function only available for GCCs before 3.4 since GCC 3.4
17703 introduced a builtin.
17704 (lrint): Likewise.
17705 (llrintf): Likewise.
17706 (llrint): Likewise.
17707 (fmaxf): Likewise.
17708 (fmax): Likewise.
17709 (fminf): Likewise.
17710 (fmin): Likewise.
17711 (rint): Likewise.
17712 (rintf): Likewise.
17713 (nearbyint): Likewise.
17714 (nearbyintf): Likewise.
17715 (ceil): Likewise.
17716 (ceilf): Likewise.
17717 (floor): Likewise.
17718 (floorf): Likewise.
17719
17720 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17721
17722 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17723 on both fields and cast pointer to __syscall_ulong_t.
17724
17725 * bits/types.h (__fsword_t): New type.
17726 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17727 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17729 (__FSWORD_T_TYPE): Likewise.
17730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17731 (__FSWORD_T_TYPE): Likewise.
17732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17733 (__FSWORD_T_TYPE): Likewise.
17734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17735 (__FSWORD_T_TYPE): Likewise.
17736 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17737 __SWORD_TYPE with __fsword_t.
17738 (statfs64): Likewise.
17739
17740 2012-05-17 David S. Miller <davem@davemloft.net>
17741
17742 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17743
17744 2012-05-17 Andreas Jaeger <aj@suse.de>
17745
17746 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17747 warning.
17748
17749 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17752
17753 2012-05-17 Andreas Jaeger <aj@suse.de>
17754
17755 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17756 when it is used.
17757
17758 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17759
17760 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17761
17762 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17763
17764 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17765 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17766
17767 2012-05-17 Andreas Jaeger <aj@suse.de>
17768 Carlos O'Donell <carlos_odonell@mentor.com>
17769
17770 [BZ #14059]
17771 * sysdeps/x86_64/multiarch/init-arch.h
17772 (bit_YMM_Usable): Rename to...
17773 (bit_AVX_Usable): ... this.
17774 (bit_FMA4_Usable): New macro.
17775 (bit_XMM_state): New macro.
17776 (bit_YMM_state): New macro.
17777 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17778 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17779 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17780 (CPUID_OSXSAVE): New macro.
17781 (CPUID_AVX): New macro.
17782 (CPUID_FMA4): New macro.
17783 (index_YMM_Usable): Rename to...
17784 (index_AVX_Usable): ... this.
17785 (HAS_AVX): Use HAS_ARCH_FEATURE.
17786 (HAS_FMA4): Likewise.
17787 (HAS_YMM_USABLE): Remove.
17788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17789 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17790 are present.
17791 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17792 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17793 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17794 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17795 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17796
17797 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17798
17799 * math/libm-test.c: Support platforms without multiple rounding modes.
17800 * math/bug-nextafter.c: Support platforms without FP exceptions.
17801 * math/bug-nexttoward.c: Likewise.
17802 * math/test-fenv.c: Likewise.
17803 * math/test-misc.c: Likewise.
17804 * stdlib/bug-getcontext.c: Likewise.
17805
17806 2012-05-17 Andreas Jaeger <aj@suse.de>
17807
17808 * manual/examples/search.c (critter_cmp): Change signature to
17809 avoid warnings.
17810 * manual/string.texi (Collation Functions): Likewise.
17811
17812 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 * bits/types.h: Fold copyright years.
17815 * bits/typesizes.h: Likewise.
17816 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17820 * time/time.h: Likewise.
17821
17822 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17823
17824 [BZ #208]
17825 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17826 in instead of returning them. Return void.
17827 (__libc_mallinfo): Accumulate over all arenas.
17828 (__malloc_stats): Adjust for change in int_mallinfo interface.
17829
17830 2012-05-16 Roland McGrath <roland@hack.frob.com>
17831
17832 [BZ #10375]
17833 * configure.in (NM): Add AC_CHECK_TOOL for it.
17834 (libc_extra_cflags): New substituted variable.
17835 Check for -fstack-protector being used implicitly.
17836 * configure: Regenerated.
17837 * config.make.in (config-extra-cflags): New variable,
17838 gets @libc_extra_cflags@.
17839 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17840
17841 [BZ #10375]
17842 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17843 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17844 * configure: Regenerated.
17845 * config.make.in (CPPUNDEFS): New substituted variable.
17846 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17847 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17848 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17849
17850 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17851
17852 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17853 (mq_attr): Use __syscall_slong_t.
17854
17855 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17856
17857 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17858 Check __x86_64__ instead of __WORDSIZE.
17859 (_STAT_VER_LINUX): Likewise.
17860 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17861 __syscall_ulong_t and __syscall_slong_t.
17862 (stat64): Likewise.
17863
17864 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17865
17866 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17867
17868 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17869
17870 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17871
17872 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17873
17874 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17875 __syscall_ulong_t.
17876
17877 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17878 include <bits/wordsize.h>. Check __x86_64__ instead of
17879 __WORDSIZE.
17880 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17881 defined.
17882 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17883
17884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17885 include <bits/wordsize.h>. Check __x86_64__ instead of
17886 __WORDSIZE.
17887 (user_regs_struct): Use "__extension__ unsigned long long"
17888 instead of "unsigned long" if __x86_64__ is defined.
17889 (user): Likewise. Pad after pointer field if __ILP32__ is
17890 defined.
17891
17892 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17893
17894 * configure.in (makeinfo): Require version 4.5 or later. Allow
17895 versions 5 to 9.
17896 * configure: Regenerated.
17897 * manual/install.texi (texinfo): Increase version requirement to
17898 4.5 or later.
17899 * INSTALL: Regenerated.
17900
17901 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17902
17903 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17904
17905 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17906
17907 * sysdeps/x86_64/x32/ffs.c: New file.
17908
17909 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17910 __syscall_ulong_t.
17911 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17912 defined. Use __syscall_ulong_t.
17913 (shminfo): Use __syscall_ulong_t.
17914 (shm_info): Likewise.
17915
17916 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17917 __syscall_ulong_t.
17918
17919 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17920 <bits/wordsize.h>.
17921 (msgqnum_t): Use __syscall_ulong_t.
17922 (msglen_t): Likewise.
17923 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17924 __syscall_ulong_t.
17925
17926 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17927 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17928
17929 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17930
17931 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17932 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17933
17934 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17935 __syscall_slong_t.
17936
17937 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17938 include <bits/wordsize.h>. Check __x86_64__ instead of
17939 __WORDSIZE.
17940
17941 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17942 "unsigned long long int" if __x86_64__ is defined.
17943 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17944
17945 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17946 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17947 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17948
17949 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17950 <stdint.h>.
17951 (GET_PC): Cast to uintptr_t first.
17952 (GET_FRAME): Likewise.
17953 (GET_STACK): Likewise.
17954
17955 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17956 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17957 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17958 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17959 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17960 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17961 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17962 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17963 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17964 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17965 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17966 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17967 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17968 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17969 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17970 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17971 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17972 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17973 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17974 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17975 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17976 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17977 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17978 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17979 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17980 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17981 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17982 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17983 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17984
17985 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17986
17987 * Makerules (+depfiles): Also collect depfiles from .oS in
17988 $(extra-objs).
17989 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17990 .oS, $(libnldbl-routines)).
17991
17992 * Makerules (native-compile-mkdep-flags): Define.
17993 * sunrpc/Makefile (extra-objs): Add $(addprefix
17994 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17995 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17996 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17997 calling $(make-target-directory).
17998
17999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18000
18001 * bits/types.h (__snseconds_t): Removed.
18002 * time/time.h (struct timespec): Replace __snseconds_t with
18003 __syscall_slong_t.
18004 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18005 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18006 Likewise.
18007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18008 (__SNSECONDS_T_TYPE): Likewise.
18009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18010 (__SNSECONDS_T_TYPE): Likewise.
18011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18012 (__SNSECONDS_T_TYPE): Likewise.
18013
18014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18015
18016 * sysdeps/mach/hurd/bits/typesizes.h
18017 (__SYSCALL_SLONG_TYPE): New macro.
18018 (__SYSCALL_ULONG_TYPE): Likewise.
18019
18020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18021
18022 * bits/types.h (__syscall_slong_t): New type.
18023 (__syscall_ulong_t): Likewise.
18024
18025 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18026 (__SYSCALL_ULONG_TYPE): Likewise.
18027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18028 (__SYSCALL_SLONG_TYPE): Likewise.
18029 (__SYSCALL_ULONG_TYPE): Likewise.
18030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18031 (__SYSCALL_SLONG_TYPE): Likewise.
18032 (__SYSCALL_ULONG_TYPE): Likewise.
18033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18034 (__SYSCALL_SLONG_TYPE): Likewise.
18035 (__SYSCALL_ULONG_TYPE): Likewise.
18036
18037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18038
18039 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18040 Add sigaltstack-offsets.sym.
18041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18042 <sigaltstack-offsets.h>.
18043 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18044 longjmp_msg pointer.
18045 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18046 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18047 signal stack.
18048 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18049
18050 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18051
18052 * elf/stackguard-macros.h: Remove file.
18053 * sysdeps/generic/stackguard-macros.h: New file.
18054 * sysdeps/i386/stackguard-macros.h: Likewise.
18055 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18056 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18057 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18058 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18059 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18060 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18061 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18062 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18063 <elf/stackguard-macros.h>.
18064
18065 [BZ #14109]
18066 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18067 __aligned__ in attribute.
18068 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18069 (gregset_t): Likewise.
18070
18071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18072
18073 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18074 * sysdeps/x86_64/64/Implies-after: Here. New file.
18075 * sysdeps/x86_64/x32/Implies-after: New file.
18076
18077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18080 and access return value for _dl_profile_fixup. Use R10_LP to
18081 load frame size.
18082
18083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18086
18087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18088
18089 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18090 * sysdeps/x86_64/x32/sysdep.h: New file.
18091
18092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18093
18094 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18095 * sysdeps/x86_64/setjmp.S: Likewise.
18096
18097 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18098
18099 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18100 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18101 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18102 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18103 remove unused global constant.
18104
18105 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18106
18107 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18108 include of <not-cancel.h>.
18109
18110 2012-05-15 Roland McGrath <roland@hack.frob.com>
18111
18112 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18113
18114 2012-05-15 Jeff Law <law@redhat.com>
18115 Andreas Jaeger <aj@suse.de>
18116
18117 [BZ #13594]
18118 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18119 out from...
18120 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18121 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18122 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18123 code changing __hst_map_handle.map.
18124
18125 2012-05-15 Roland McGrath <roland@hack.frob.com>
18126
18127 * configure.in (sysnames): Look for Implies-before and Implies-after
18128 files.
18129 * configure: Regenerated.
18130
18131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18132
18133 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18134 8-byte data alignment with LP_SIZE alignment.
18135
18136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18137
18138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18139 into R10_LP.
18140
18141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18142
18143 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18144
18145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18146
18147 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18148 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18149 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18150 Likewise.
18151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18152
18153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18154
18155 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18156 (stackinfo_sub_sp): Likewise.
18157
18158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18159
18160 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18161 RAX_LP.
18162
18163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18164
18165 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18166 into R*_LP.
18167
18168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18169
18170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18171 sizes into R*_LP.
18172
18173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18174
18175 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18176
18177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18178
18179 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18180 into R11_LP and load __x86_64_shared_cache_size_half into
18181 R8_LP.
18182
18183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18184
18185 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18186 R8_LP.
18187
18188 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189
18190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18191 logb for POWER7.
18192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18193 logbf for POWER7.
18194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18195 logbl for POWER7.
18196 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18197 powerpc32/power7/fpu/s_logb.c via #include.
18198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18199 powerpc32/power7/fpu/s_logbf.c via #include.
18200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18201 powerpc32/power7/fpu/s_logbl.c via #include.
18202
18203 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18204
18205 * README.libm: Remove file.
18206
18207 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18208
18209 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18210 count for x32. Use R*_LP and omit operand-size suffix.
18211
18212 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18213
18214 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18215 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18216 * sysdeps/x86_64/x32/shlib-versions: New file.
18217
18218 2012-05-14 Roland McGrath <roland@hack.frob.com>
18219
18220 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18221 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18222 Use _dl_fatal_printf instead.
18223
18224 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18225
18226 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18227 set if not set by the user. Do not allow for being unset.
18228 * sysdeps/unix/sysv/linux/configure: Regenerated.
18229
18230 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18231
18232 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18233 the `q' suffix from lea and replace .quad with ASM_ADDR.
18234
18235 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18236
18237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18238 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18239 instead of $17.
18240 (PTR_DEMANGLE): Likewise.
18241
18242 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18243
18244 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18245 (LP_OP): Likewise.
18246 (ASM_ADDR): Likewise.
18247 (RAX_LP): Likewise.
18248 (RBP_LP): Likewise.
18249 (RBX_LP): Likewise.
18250 (RCX_LP): Likewise.
18251 (RDI_LP): Likewise.
18252 (RSI_LP): Likewise.
18253 (RSP_LP): Likewise.
18254 (R8_LP): Likewise.
18255 (R9_LP): Likewise.
18256 (R10_LP): Likewise.
18257 (R10_LP): Likewise.
18258 (R11_LP): Likewise.
18259 (R12_LP): Likewise.
18260 (R13_LP): Likewise.
18261 (R14_LP): Likewise.
18262 (R15_LP): Likewise.
18263
18264 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18265
18266 * sysdeps/x86_64/x32/dl-machine.h: New file.
18267
18268 2012-05-14 Andreas Jaeger <aj@suse.de>
18269
18270 * manual/Makefile (subdir): Remove export of subdir.
18271 (all): Remove target.
18272 (.PHONY): Remove all from list.
18273 (mkinstalldirs): Remove.
18274 (.PHONY): Remove installdirs from list.
18275 ($(inst_infodir)/libc.info): Use make-target-directory.
18276 (installdirs): Remove.
18277 (subdir_%): Remove.
18278 (glibc-targets): Remove.
18279 (lib): Remove.
18280 (stubs): Remove.
18281 ($(objpfx)stubs ../po/manual.pot): Remove.
18282 ($(objpfx)stamp%): Remove.
18283 (make-target-directory): Remove.
18284 (subdir_install): Remove.
18285 (routines): Remove.
18286 (aux): Remove.
18287 (sources): Remove.
18288 (objects): Remove.
18289 (headers): Remove.
18290
18291 [BZ #13750]
18292 * manual/.gitignore: Remove, it's not needed anymore.
18293 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18294 all files in it.
18295 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18296 directory.
18297 (texis): Renamed to $(objpfx)texis.
18298 (texis-path): New, contains path to generated files.
18299 (chapters.%): Use texis-path for complete path, add extra argument
18300 libc-texinfo.sh.
18301 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18302 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18303 (summary,texi, stamp-summary): Use complete path of
18304 files. Generate files in build dir.
18305 (dir-add.texi): Build in build dir.
18306 (libm-err.texi,stamp-libm-err): Likewise.
18307 (version.texi, stamp-version): Likewise.
18308 (.%c.texi): Likewise.
18309 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18310 (mostlyclean): Remove target.
18311 (realclean): Remove target.
18312 (generated): Add new variable with contents from mostlyclean and
18313 realclean, remove entries duplicated in common-mostlyclean, add
18314 stamp-libm-err and stamp-version.
18315 (generated-dirs): Add libc directory.
18316 ($(inst_infodir)/libc.info): Install files from build dir.
18317
18318 * manual/install.texi (Configuring and compiling): Adjust since
18319 the info files are not part of the tar ball anymore.
18320
18321 2012-05-14 Andreas Jaeger <aj@suse.de>
18322
18323 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18324 variable.
18325
18326 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18327
18328 [BZ #13717]
18329 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18330 to 2.2.0 where earlier.
18331 * sysdeps/unix/sysv/linux/configure: Regenerated.
18332 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18333 Remove conditional code.
18334 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18335 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18336 Remove conditional code.
18337 [!__NR_lchown]: Likewise.
18338 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18339 [__NR_lchown]: Likewise.
18340 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18341 comment referencing __ASSUME_LCHOWN_SYSCALL.
18342 * sysdeps/unix/sysv/linux/i386/sigaction.c
18343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18345 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18346 Remove conditional code.
18347 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18348 (__protocol_available): Remove #if 0 code.
18349 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18350 conditional code.
18351 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18352 * sysdeps/unix/sysv/linux/kernel-features.h
18353 (__ASSUME_GETCWD_SYSCALL): Don't define.
18354 (__ASSUME_REALTIME_SIGNALS): Likewise.
18355 (__ASSUME_PREAD_SYSCALL): Likewise.
18356 (__ASSUME_PWRITE_SYSCALL): Likewise.
18357 (__ASSUME_POLL_SYSCALL): Likewise.
18358 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18359 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18360 non-SPARC.
18361 (__ASSUME_SIOCGIFNAME): Don't define.
18362 (__ASSUME_MSG_NOSIGNAL): Likewise.
18363 (__ASSUME_SENDFILE): Define unconditionally.
18364 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18365 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18366 conditional code.
18367 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18368 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18369 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18370 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18371 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18372 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18373 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18375 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18378 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18381 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18384 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18387 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18390 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18398 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18399 Remove conditional code.
18400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18401 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18402 Remove conditional code.
18403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18404 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18405 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18406 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18407 Remove conditional code.
18408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18409 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18410 Remove conditional code.
18411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18412 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18413 Remove conditional code.
18414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18415 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18416 Remove conditional code.
18417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18418 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18419 Remove conditional code.
18420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18421 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18422 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18424 * sysdeps/unix/sysv/linux/sigaction.c
18425 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18426 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18427 * sysdeps/unix/sysv/linux/sigpending.c
18428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18430 * sysdeps/unix/sysv/linux/sigprocmask.c
18431 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18432 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18433 * sysdeps/unix/sysv/linux/sigsuspend.c
18434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18436 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18437 (__libc_missing_rt_sigs): Remove.
18438 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18439 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18440 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18441 Remove conditional code.
18442 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18443 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18444 return 1.
18445 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18446 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18447 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18448 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18449
18450 2012-05-14 Andreas Jaeger <aj@suse.de>
18451
18452 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18453 it's not used in glibc.
18454 (__coshm1): Likewise.
18455 (__acosh1p): Likewise.
18456 (__sgn): Likewise.
18457
18458 * manual/string.texi (Copying and Concatenation): Add missing
18459 variable in concat example.
18460 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18461
18462 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18463
18464 [BZ #14103]
18465 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18466 __builtin_clzl with __builtin_clzll.
18467
18468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18469
18470 [BZ #14104]
18471 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18472 libc_freeres_ptr.
18473
18474 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18475
18476 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18477 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18478 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18480
18481 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18482
18483 * NEWS: Update ia64 info.
18484
18485 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18486
18487 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18488 used as bcopy.
18489
18490 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18491
18492 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18493 * sysdeps/unix/syscalls.list (dup3): Likewise.
18494 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18495 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18496
18497 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18500 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18501
18502 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18503
18504 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18505 thread pointer.
18506 (TLS_IE): Use mov/add instead of movq/addq to load thread
18507 pointer.
18508 (TLS_GD_PREFIX): New.
18509 (TLS_GD): Use it.
18510
18511 2012-05-11 David S. Miller <davem@davemloft.net>
18512
18513 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18514 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18515 (_FPU_SETCW): Likewise.
18516
18517 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18518
18519 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18520 is 32-byte aligned.
18521
18522 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18523
18524 [BZ #11837]
18525 * iconvdata/gb18030.c: Update tables.
18526 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18527 characters specially.
18528 (BODY for TO_LOOP): Add encoding of missing ranges.
18529
18530 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18531
18532 [BZ #13673]
18533 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18534 * sysdeps/mach/hurd/dup3.c: Likewise.
18535 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18536 * sysdeps/powerpc/memmove.c:: Likewise.
18537
18538 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18539
18540 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18541 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18542
18543 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18544
18545 * elf/elf.h (R_X86_64_RELATIVE64): New.
18546 (R_X86_64_NUM): Updated.
18547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18548 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18549 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18550 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18551 tst-quad1pie tst-quad2pie
18552 (modules-names): Add tst-quadmod1 tst-quadmod2.
18553 ($(objpfx)tst-quad1): New dependency.
18554 ($(objpfx)tst-quad2): Likewise.
18555 ($(objpfx)tst-quad1pie): Likewise.
18556 ($(objpfx)tst-quad2pie): Likewise.
18557 * sysdeps/x86_64/tst-quad1.c: New file.
18558 * sysdeps/x86_64/tst-quad1pie.c: New file.
18559 * sysdeps/x86_64/tst-quad2.c: Likewise.
18560 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18561 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18562 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18563 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18564 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18565
18566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18567
18568 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18569 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18570 * streams/stropts.h (t_scalar_t): Define type.
18571
18572 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18573 (_PATH_PRESERVE): Set to "/var/lib".
18574 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18575
18576 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18577 instead of int.
18578
18579 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18580 if __dir_mkfile succeeded.
18581
18582 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18583 checking for _hurd_dtablesize. Unlock it right after having
18584 finished _hurd_dtable allocation.
18585
18586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18587
18588 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18589 * sysdeps/mach/hurd/configure: Regenerated.
18590 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18591 special-casing to...
18592 * sysdeps/gnu/configure.in: ... this new file.
18593 * sysdeps/unix/sysv/linux/configure: Regenerated.
18594 * sysdeps/gnu/configure: New generated file.
18595
18596 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18597 for Linux: use nsec instead of usec, as well as:
18598 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18599 members of type struct timespec.
18600 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18601 New macros.
18602 (struct stat64): Likewise.
18603 (_STATBUF_ST_NSEC): New macro.
18604 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18605
18606 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18607 __strtoul_internal rather than strtoul.
18608
18609 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18610
18611 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18612 and reject them.
18613
18614 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18615
18616 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18617 which preserves existing values.
18618 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18619
18620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18621
18622 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18623 TIMEOUT values. Return EINVAL for NFDS values either negative or
18624 greater than FD_SETSIZE.
18625
18626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18627
18628 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18629 allocated, call __vm_protect to finish enabling the existing space, and
18630 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18631 allocate the remainder.
18632
18633 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18634
18635 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18636 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18637
18638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18639
18640 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18641 sysdeps/mach/hurd/readlink.c.
18642
18643 * posix/tst-sysconf.c (posix_options): Only use
18644 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18645 _POSIX_SYNCHRONIZED_IO when they are defined
18646 * sysdeps/mach/hurd/bits/posix_opt.h:
18647 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18648 (_XOPEN_REALTIME): Undefine macro.
18649 (_XOPEN_REALTIME_THREADS): Undefine macro.
18650 (_XOPEN_SHM): Undefine macro.
18651 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18652 macro to -1.
18653 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18654 macro to -1.
18655 (_POSIX_ASYNC_IO): Undefine macro.
18656 (_POSIX_PRIORITIZED_IO): Undefine macro.
18657 (_POSIX_SPIN_LOCKS): Define macro to -1.
18658
18659 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18660 SA_NODEFER, SA_RESETHAND.
18661 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18662 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18663 F_DUPFD_CLOEXEC.
18664
18665 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18666
18667 * elf/Makefile (pldd-modules): Define unconditionally.
18668
18669 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18670
18671 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18672
18673 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18674
18675 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18676 Return ENOENT when name is empty.
18677 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18678
18679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18680
18681 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18682
18683 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18684
18685 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18686
18687 Fix mlock in all cases except non-readable pages.
18688 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18689 instead of VM_PROT_ALL as parameter to __vm_wire function.
18690
18691 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18692 (__mkdir): When path is `/', just fail with EEXIST.
18693 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18694
18695 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18696
18697 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18698 <sys/uio.h> (for writev).
18699 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18700 and <sys/param.h> (for MIN).
18701
18702 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18703
18704 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18705 REQUESTED_TIME. Properly set the remaining time and return EINTR
18706 if interrupted.
18707
18708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18709
18710 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18711 Depend on against $(link-rpcuserlibs).
18712
18713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18714
18715 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18716 (__libc_stack_end): Do not use attribute_relro.
18717 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18718 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18719 to libthread-provided value.
18720 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18721 attribute_relro.
18722
18723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18724
18725 [BZ #3748]
18726 * bits/libc-lock.h (__libc_once_get): New macro.
18727 * sysdeps/mach/bits/libc-lock.h: Likewise.
18728 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18730 instead of using implementation details.
18731
18732 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18733 * libio/freopen.c: Likewise.
18734 * libio/freopen64.c: Likewise.
18735 * misc/syslog.c: Likewise.
18736 * nscd/connections.c: Likewise.
18737 * nscd/netgroupcache.c: Likewise.
18738 * sysdeps/posix/getcwd.c: Likewise.
18739
18740 2012-05-10 Roland McGrath <roland@hack.frob.com>
18741
18742 * math/w_ilogbf.c: Add #include <limits.h>.
18743
18744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18745
18746 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18747 path instead of returning without unlocking.
18748
18749 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18750 immediate-write ioctls.
18751 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18752
18753 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18754
18755 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18756 __builtin_frame_address instead of making assumptions about the
18757 location of the return address relative to DATA. Force early load of
18758 the return address.
18759 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18760 __builtin_frame_address.
18761
18762 dup3 for GNU Hurd.
18763 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18764 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18765 implement dup3 and do some further code clean-ups.
18766 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18767 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18768
18769 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18770
18771 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18772
18773 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18774 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18775 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18776 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18777 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18778 d->port.lock.
18779
18780 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18781 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18782 when handler == SIG_ERR, not when handler != SIG_ERR.
18783
18784 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18785
18786 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18787 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18788 definitions.
18789
18790 accept4 for GNU Hurd.
18791 * include/sys/socket.h (__libc_accept4): New prototype.
18792 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18793 to implement __libc_accept4.
18794 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18795 __libc_accept4.
18796 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18797
18798 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18799 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18800 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18801 signal-defines.sym.
18802
18803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18804
18805 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18806
18807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18808
18809 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18810 assertion on O_CLOEXEC flag.
18811 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18812 * hurd/intern-fd.c: Likewise.
18813 * hurd/port2fd.c: Likewise.
18814
18815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18816
18817 [BZ #3906]
18818 * bits/in.h (IPV6_PKTINFO): Define new macro.
18819 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18820
18821 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18822
18823 [BZ #13954]
18824 [BZ #13955]
18825 [BZ #13956]
18826 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18828 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18829 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18831 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18832 * math/libm-test.inc (logb_test) : Additional logb tests.
18833
18834 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18835 Andreas Jaeger <aj@suse.de>
18836
18837 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18838 * configure: Regenerated.
18839 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18840 * config.make.in (link-obsolete-rpc): New substituted variable.
18841 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18842 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18843 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18844 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18845 so that libc.a contains the symbols.
18846 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18847 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18848 * sunrpc/auth_none.c: Likewise.
18849 * sunrpc/auth_unix.c: Likewise.
18850 * sunrpc/authdes_prot.c: Likewise.
18851 * sunrpc/authuxprot.c: Likewise.
18852 * sunrpc/clnt_gen.c: Likewise.
18853 * sunrpc/clnt_perr.c: Likewise.
18854 * sunrpc/clnt_raw.c: Likewise.
18855 * sunrpc/clnt_simp.c: Likewise.
18856 * sunrpc/clnt_tcp.c: Likewise.
18857 * sunrpc/clnt_udp.c: Likewise.
18858 * sunrpc/clnt_unix.c: Likewise.
18859 * sunrpc/des_crypt.c: Likewise.
18860 * sunrpc/des_soft.c: Likewise.
18861 * sunrpc/get_myaddr.c: Likewise.
18862 * sunrpc/key_call.c: Likewise.
18863 * sunrpc/key_prot.c: Likewise.
18864 * sunrpc/netname.c: Likewise.
18865 * sunrpc/pm_getmaps.c: Likewise.
18866 * sunrpc/pm_getport.c: Likewise.
18867 * sunrpc/pmap_clnt.c: Likewise.
18868 * sunrpc/pmap_prot.c: Likewise.
18869 * sunrpc/pmap_prot2.c: Likewise.
18870 * sunrpc/pmap_rmt.c: Likewise.
18871 * sunrpc/publickey.c: Likewise.
18872 * sunrpc/rpc_cmsg.c: Likewise.
18873 * sunrpc/rpc_common.c: Likewise.
18874 * sunrpc/rpc_dtable.c: Likewise.
18875 * sunrpc/rpc_prot.c: Likewise.
18876 * sunrpc/rpc_thread.c: Likewise.
18877 * sunrpc/rtime.c: Likewise.
18878 * sunrpc/svc.c: Likewise.
18879 * sunrpc/svc_auth.c: Likewise.
18880 * sunrpc/svc_raw.c: Likewise.
18881 * sunrpc/svc_run.c: Likewise.
18882 * sunrpc/svc_tcp.c: Likewise.
18883 * sunrpc/svc_udp.c: Likewise.
18884 * sunrpc/svc_unix.c: Likewise.
18885 * sunrpc/svcauth_des.c: Likewise.
18886 * sunrpc/xcrypt.c: Likewise.
18887 * sunrpc/xdr.c: Likewise.
18888 * sunrpc/xdr_array.c: Likewise.
18889 * sunrpc/xdr_float.c: Likewise.
18890 * sunrpc/xdr_intXX_t.c: Likewise.
18891 * sunrpc/xdr_mem.c: Likewise.
18892 * sunrpc/xdr_rec.c: Likewise.
18893 * sunrpc/xdr_ref.c: Likewise.
18894 * sunrpc/xdr_sizeof.c: Likewise.
18895 * sunrpc/xdr_stdio.c: Likewise.
18896
18897 2012-05-10 Roland McGrath <roland@hack.frob.com>
18898
18899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18900 change. Update copyright years.
18901
18902 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18903
18904 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18905
18906 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18907 Joseph Myers <joseph@codesourcery.com>
18908 Paul Pluzhnikov <ppluzhnikov@google.com>
18909
18910 [BZ #14012]
18911 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18912 requiring rpcgen.
18913 [cross-compiling] (extra-libs): Likewise.
18914 [cross-compiling] (extra-libs-others): Likewise.
18915 [cross-compiling] (librpcsvc-routines): Likewise.
18916 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18917 [cross-compiling] (omit-deps): Likewise.
18918 (sunrpc-CPPFLAGS): New variable.
18919 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18920 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18921 (cross-rpcgen-objs): New variable.
18922 (extra-objs): Append $(cross-rpcgen-objs).
18923 ($(cross-rpcgen-objs)): New rule.
18924 ($(objpfx)cross-rpcgen): Likewise.
18925 (rpcgen-cmd): Define to use $(built-program-file). Expand
18926 comment.
18927 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18928 ($(objpfx)x%.stmp): Likewise.
18929 * sunrpc/proto.h [IS_IN_build] (_): Define.
18930 [IS_IN_build] (_libc_intl_domainname): Likewise.
18931
18932 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18933
18934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18935 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18936 and R_X86_64_TPOFF64.
18937
18938 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18939
18940 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18941 sysdeps/unix/sysv/syscalls.list.
18942 (stime): Likewise.
18943 (utime): Likewise.
18944 * sysdeps/unix/sysv/syscalls.list: Remove file.
18945
18946 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18947
18948 [BZ #3440]
18949 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18950 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18951 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18952 (__LC_IDENTIFICATION): Make these macros useful in #if
18953 expressions, as required by C99.
18954
18955 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18956
18957 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18958 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18959 after this.
18960
18961 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18962
18963 * stdlib/longlong.h: Updated from GCC.
18964
18965 2012-05-09 Andreas Jaeger <aj@suse.de>
18966
18967 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18968 default is first entry.
18969 (run_mode): Set type.
18970 (main): Remove informal message about syslog.
18971 (options): Fix typo.
18972
18973 [BZ #14053]
18974 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18975 to asm.
18976 (lrint): Likewise.
18977 (llrintf): Likewise.
18978 (llrint): Likewise.
18979 (rint): Likewise.
18980 (rintf): Likewise.
18981 (nearbyint): Likewise.
18982 (nearbyintf): Likewise.
18983
18984 2012-05-09 Andreas Jaeger <aj@suse.de>
18985 Pedro Alves <palves@redhat.com>
18986
18987 * nscd/nscd.c (run_mode): Use enum.
18988 (main): Cleanup coding style issue.
18989
18990 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18991 Andreas Jaeger <aj@suse.de>
18992
18993 * nscd/nscd.c (go_background): Replaced with...
18994 (run_mode): ... this.
18995 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18996 (options): Add -F --foreground.
18997 (main): Implement it.
18998 (parse_opt): Parse it.
18999
19000 2012-05-09 Andreas Jaeger <aj@suse.de>
19001
19002 [BZ #14083]
19003 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19004 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19005 -Wconversion warning.
19006 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19007 Likewise.
19008
19009 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19010
19011 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19012 == 0.
19013 (LC_ALL): Use macro-int-constant.
19014 (LC_COLLATE): Likewise.
19015 (LC_CTYPE): Likewise.
19016 (LC_MESSAGES): Likewise.
19017 (LC_MONETARY): Likewise.
19018 (LC_NUMERIC): Likewise.
19019 (LC_TIME): Likewise.
19020 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19021 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19023 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19024 Specify type.
19025 [C99-based standards] (float_t): Expect type.
19026 [C99-based standards] (double_t): Expect type.
19027 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19028 type.
19029 [C99-based standards] (HUGE_VALL): Likewise.
19030 [C99-based standards] (INFINITY): Likewise.
19031 [C99-based standards] (NAN): Likewise.
19032 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19033 [C99-based standards] (FP_NAN): Likewise.
19034 [C99-based standards] (FP_NORMAL): Likewise.
19035 [C99-based standards] (FP_SUBNORMAL): Likewise.
19036 [C99-based standards] (FP_ZERO): Likewise.
19037 [C99-based standards] (FP_FAST_FMA): Use
19038 optional-macro-int-constant. Specify type. Require == 1.
19039 [C99-based standards] (FP_FAST_FMAF): Likewise.
19040 [C99-based standards] (FP_FAST_FMAL): Likewise.
19041 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19042 [C99-based standards] (FP_ILOGBNAN): Likewise.
19043 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19044 Specify type.
19045 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19046 [C99-based standards] (math_errhandling): Specify type.
19047 [ISO99 || ISO11] (signgam): Do not allow.
19048 [non-C99-based standards] (copysignf): Do not allow.
19049 [non-C99-based standards] (exp2f): Likewise.
19050 [non-C99-based standards] (log2f): Likewise.
19051 [non-C99-based standards] (modff): Allow.
19052 [non-C99-based standards] (erff): Do not allow.
19053 [non-C99-based standards] (erfcf): Likewise.
19054 [non-C99-based standards] (gammaf): Likewise.
19055 [non-C99-based standards] (hypotf): Likewise.
19056 [non-C99-based standards] (j0f): Likewise.
19057 [non-C99-based standards] (j1f): Likewise.
19058 [non-C99-based standards] (jnf): Likewise.
19059 [non-C99-based standards] (lgammaf): Likewise.
19060 [non-C99-based standards] (tgammaf): Likewise.
19061 [non-C99-based standards] (y0f): Likewise.
19062 [non-C99-based standards] (y1f): Likewise.
19063 [non-C99-based standards] (ynf): Likewise.
19064 [non-C99-based standards] (isnanf): Likewise.
19065 [non-C99-based standards] (acoshf): Likewise.
19066 [non-C99-based standards] (asinhf): Likewise.
19067 [non-C99-based standards] (atanhf): Likewise.
19068 [non-C99-based standards] (cbrtf): Likewise.
19069 [non-C99-based standards] (expm1f): Likewise.
19070 [non-C99-based standards] (ilogbf): Likewise.
19071 [non-C99-based standards] (log1pf): Likewise.
19072 [non-C99-based standards] (logbf): Likewise.
19073 [non-C99-based standards] (nextafterf): Likewise.
19074 [non-C99-based standards] (remainderf): Likewise.
19075 [non-C99-based standards] (rintf): Likewise.
19076 [non-C99-based standards] (scalbf): Likewise.
19077 [non-C99-based standards] (copysignl): Likewise.
19078 [non-C99-based standards] (exp2l): Likewise.
19079 [non-C99-based standards] (log2l): Likewise.
19080 [non-C99-based standards] (modfl): Allow.
19081 [non-C99-based standards] (erfl): Do not allow.
19082 [non-C99-based standards] (erfcl): Likewise.
19083 [non-C99-based standards] (gammal): Likewise.
19084 [non-C99-based standards] (hypotl): Likewise.
19085 [non-C99-based standards] (j0l): Likewise.
19086 [non-C99-based standards] (j1l): Likewise.
19087 [non-C99-based standards] (jnl): Likewise.
19088 [non-C99-based standards] (lgammal): Likewise.
19089 [non-C99-based standards] (tgammal): Likewise.
19090 [non-C99-based standards] (y0l): Likewise.
19091 [non-C99-based standards] (y1l): Likewise.
19092 [non-C99-based standards] (ynl): Likewise.
19093 [non-C99-based standards] (isnanl): Likewise.
19094 [non-C99-based standards] (acoshl): Likewise.
19095 [non-C99-based standards] (asinhl): Likewise.
19096 [non-C99-based standards] (atanhl): Likewise.
19097 [non-C99-based standards] (cbrtl): Likewise.
19098 [non-C99-based standards] (expm1l): Likewise.
19099 [non-C99-based standards] (ilogbl): Likewise.
19100 [non-C99-based standards] (log1pl): Likewise.
19101 [non-C99-based standards] (logbl): Likewise.
19102 [non-C99-based standards] (nextafterl): Likewise.
19103 [non-C99-based standards] (remainderl): Likewise.
19104 [non-C99-based standards] (rintl): Likewise.
19105 [non-C99-based standards] (scalbl): Likewise.
19106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19107 [non-C99-based standards] (FP_*): Do not allow.
19108 [C99-based standards] (FP_*): Change to
19109 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19110 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19111 allow.
19112 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19113 (SIG_ERR): Likewise.
19114 [X/Open-based standards] (SIG_HOLD): Likewise.
19115 (SIG_IGN): Likewise.
19116 (SIGABRT): Use macro-int-constant. Specify type. Require
19117 positive value.
19118 (SIGFPE): Likewise.
19119 (SIGILL): Likewise.
19120 (SIGINT): Likewise.
19121 (SIGSEGV): Likewise.
19122 (SIGTER): Likewise.
19123 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19124 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19125 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19126 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19127 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19128 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19129 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19130 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19131 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19132 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19133 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19134 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19135 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19136 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19137 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19138 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19139 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19140 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19141 [X/Open-based standards] (SIGTRAP): Likewise.
19142 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19143 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19144 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19145 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19146 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19147 allow.
19148
19149 2012-05-08 Ian Wienand <ianw@vmware.com>
19150
19151 [BZ #14080]
19152 * time/tzset.c (__tzset_parse_tz): Update default rules for
19153 daylight time changes in the Energy Policy Act of 2005.
19154
19155 2012-05-09 Andreas Jaeger <aj@suse.de>
19156
19157 [BZ #13983]
19158 * elf/ldconfig.c (parse_conf): Change string to make clear that
19159 ldconfig only issued a warning if ld.so.conf does not exist.
19160
19161 2012-05-08 David S. Miller <davem@davemloft.net>
19162
19163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19164 movxtod instead of popping the value on the stack.
19165
19166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19167
19168 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19169
19170 * config.h.in: Add HAVE_ARM_PCS_VFP.
19171
19172 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19173
19174 [BZ #13979]
19175 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19176 checking but the checks are disabled for any reason.
19177
19178 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19179
19180 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19181 and ELF64_R_TYPE with ELFW(R_TYPE).
19182
19183 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19184
19185 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19186 (ulimit): Likewise.
19187
19188 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19189 (settimeofday): Likewise.
19190
19191 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19192
19193 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19194 a struct th_u2 inside the union, and move tu_block/tu_code into
19195 a new th_u3 union of tu_block/tu_code inside of that. Move
19196 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19197 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19198 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19199 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19200 (th_stuff): Change to th_u1.tu_stuff.
19201 (th_data): Define.
19202 (th_msg): Change to th_u1.th_u2.tu_data.
19203
19204 2012-05-07 David S. Miller <davem@davemloft.net>
19205
19206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19207
19208 [BZ #14074]
19209 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19210 (SETUP_PIC_REG): Use it.
19211 (SETUP_PIC_REG_LEAF): Use it.
19212
19213 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19214
19215 [BZ #13885]
19216 [BZ #13923]
19217 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19218 USE_AS_EXPM1L.
19219 (EXPL_FINITE): Likewise.
19220 (FLDLOG): Likewise.
19221 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19222 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19223 e_expl.S.
19224 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19225 USE_AS_EXPM1L.
19226 (EXPL_FINITE): Likewise.
19227 (FLDLOG): Likewise.
19228 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19229 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19230 e_expl.S.
19231 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19232 test of -max_value argument for long double.
19233 * sysdeps/i386/fpu/libm-test-ulps: Update.
19234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19235
19236 2012-05-06 David S. Miller <davem@davemloft.net>
19237
19238 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19239 quad soft-float symbols whose references which are compiler
19240 generated.
19241 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19242
19243 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19244
19245 [BZ #13884]
19246 [BZ #13914]
19247 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19248 USE_AS_EXP10L.
19249 (EXPL_FINITE): Likewise.
19250 (FLDLOG): Likewise.
19251 (c0): Likewise.
19252 (c1): Likewise.
19253 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19254 Adjust comments for base varying.
19255 (__expl_finite): Change alias to EXPL_FINITE.
19256 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19257 e_expl.S.
19258 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19259 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19261 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19262 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19263 USE_AS_EXP10L.
19264 (EXPL_FINITE): Likewise.
19265 (FLDLOG): Likewise.
19266 (c0): Likewise.
19267 (c1): Likewise.
19268 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19269 Adjust comments for base varying.
19270 (__expl_finite): Change alias to EXPL_FINITE.
19271 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19272 tests for bugs.
19273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19274
19275 [BZ #14064]
19276 * math/libm-test.inc (check_float_internal): Correct ulp
19277 calculation for subnormal expected results.
19278
19279 2012-05-06 Andreas Jaeger <aj@suse.de>
19280
19281 * Makeconfig (+math-flags): New, set to -frounding-math.
19282 (+cflags): Add +math-flags so that all of glibc gets compiled with
19283 it.
19284
19285 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19286
19287 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19288
19289 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19290 Disable one test.
19291
19292 [BZ #13787]
19293 [BZ #13922]
19294 [BZ #14036]
19295 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19296 (__ieee754_expl): Allow for and saturate large arguments.
19297 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19298 (u_threshold): Likewise.
19299 (__exp): Call __ieee754_exp before checking for overflow and
19300 underflow.
19301 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19302 (u_threshold): Likewise.
19303 (__expf): Call __ieee754_expf before checking for overflow and
19304 underflow.
19305 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19306 (u_threshold): Likewise.
19307 (__expl): Call __ieee754_expl before checking for overflow and
19308 underflow.
19309 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19310 (__ieee754_expl): Allow for and saturate large arguments.
19311 * math/libm-test.inc (exp_test): Add another test. Do not allow
19312 missing overflow exception on overflow.
19313 (expm1_test): Do not allow missing overflow exception on overflow.
19314
19315 * sysdeps/i386/fpu/e_expl.c: Move to ...
19316 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19317 rather than using inline asm.
19318 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19319 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19320 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19321
19322 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19323 (nice): Likewise.
19324 (poll): Likewise.
19325 (signal): Likewise.
19326 (time): Likewise.
19327 (times): Likewise.
19328
19329 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19330
19331 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19332 sysdeps/unix/common/syscalls.list.
19333 (fchmod): Likewise.
19334 (fchown): Likewise.
19335 (ftruncate): Likewise.
19336 (getrusage): Likewise.
19337 (gettimeofday): Likewise.
19338 (setpgid): Likewise.
19339 (setregid): Likewise.
19340 (setreuid): Likewise.
19341 (sigaction): Likewise.
19342 (truncate): Likewise.
19343 (vhangup): Likewise.
19344 * sysdeps/unix/common/syscalls.list: Remove file.
19345 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19346 * sysdeps/unix/sysv/linux/Implies: Likewise.
19347
19348 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19349
19350 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19352 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19353 Moved to ...
19354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19355 Here.
19356 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19357 to ...
19358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19359 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19360 to ...
19361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19362 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19363 to ...
19364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19365 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19366 to ...
19367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19368 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19369 to ...
19370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19371 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19372 to ...
19373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19374 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19375 to ...
19376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19377 Here.
19378 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19379 to ...
19380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19381 Here.
19382 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19383 to ...
19384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19385 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19386 Moved to ...
19387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19388 Here.
19389 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19390 to ...
19391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19392
19393 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19394
19395 * sysdeps/unix/common/bits/dirent.h: Remove file.
19396 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19397
19398 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19399 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19400 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19401 * sysdeps/unix/bsd/isatty.c: Likewise.
19402 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19403 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19404 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19405
19406 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19407
19408 [BZ #13563]
19409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19410 long double comparison inaccuracies.
19411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19413
19414 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19415
19416 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19418
19419 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19420
19421 [BZ #14049]
19422 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19423 nonzero digits before rounding a hex value.
19424 * stdlib/tst-strtod.c (tests): Add another test.
19425
19426 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19427
19428 * sysdeps/s390/fpu/libm-test-ulps: Update.
19429
19430 2012-05-03 Andreas Jaeger <aj@suse.de>
19431
19432 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19433 does not get optimized out.
19434 (malloc_opt_barrier): New.
19435
19436 2012-05-03 Andreas Jaeger <aj@suse.de>
19437 Roland McGrath <roland@hack.frob.com>
19438
19439 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19440 intermediate file deletion.
19441 (generated): Add .symlist files.
19442
19443 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19444
19445 [BZ #13775]
19446 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19447 Redirect under this condition.
19448 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19449 [__USE_GNU] (__dprintf_chk): Not under this condition.
19450 [__USE_GNU] (__vdprintf_chk): Likewise.
19451 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19452 under this condition.
19453 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19454 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19455 [__USE_XOPEN2K8] (vdprintf): Likewise.
19456 [__USE_GNU] (__dprintf_chk): Not under this condition.
19457 [__USE_GNU] (__vdprintf_chk): Likewise.
19458 [__USE_GNU] (dprintf): Likewise.
19459 [__USE_GNU] (vdprintf): Likewise.
19460
19461 2012-05-03 Roland McGrath <roland@hack.frob.com>
19462
19463 * elf/Makefile (common-generated): Set this instead of generated for
19464 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19465 $(all-built-dso)-derived lists.
19466
19467 2012-05-03 Andreas Jaeger <aj@suse.de>
19468
19469 * sysdeps/i386/fpu/libm-test-ulps: Update.
19470
19471 * FAQ: Removed.
19472 * FAQ.in: Likewise.
19473 * scripts/gen-FAQ.pl: Likewise.
19474 * manual/install.texi (Installation): Point to online location of
19475 FAQ.
19476 * Makefile (files-for-dist): Remove FAQ.
19477 (FAQ): Remove.
19478
19479 2012-05-02 Allan McRae <allan@archlinux.org>
19480
19481 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19482 (LDFLAGS-reldepmod5.so): Likewise.
19483 (LDFLAGS-reldep6mod1.so): Likewise.
19484 (LDFLAGS-reldep6mod4.so): Likewise.
19485 (LDFLAGS-reldep8mod3.so): Likewise.
19486 (LDFLAGS-unload4mod1.so): Likewise.
19487 (LDFLAGS-unload4mod2.so): Likewise.
19488 (LDFLAGS-tst-initorder): Likewise.
19489 (LDFLAGS-tst-initordera2.so): Likewise.
19490 (LDFLAGS-tst-initordera3.so): Likewise.
19491 (LDFLAGS-tst-initordera4.so): Likewise.
19492 (LDFLAGS-tst-initorderb2.so): Likewise.
19493 (LDFLAGS-noload): Likewise.
19494 (LDFLAGS-next): Likewise.
19495 (LDFLAGS-order2mod1.so): Likewise.
19496 (LDFLAGS-order2mod2.so): Likewise.
19497 (LDFLAGS-tst-initorder2): Likewise.
19498 (LDFLAGS-tst-initorder2a.so): Likewise.
19499 (LDFLAGS-tst-initorder2b.so): Likewise.
19500 (LDFLAGS-tst-initorder2c.so): Likewise.
19501 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19502
19503 2012-05-02 David S. Miller <davem@davemloft.net>
19504
19505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19506
19507 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19508
19509 [BZ #14055]
19510 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19511
19512 2012-05-02 Andreas Jaeger <aj@suse.de>
19513
19514 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19515 since we manipulate rounding mode.
19516 (CPPFLAGS-test-idouble.c): Likewise.
19517 (CPPFLAGS-test-ifloat.c): Likewise.
19518 (CFLAGS-test-ldouble.c): Likewise.
19519 (CFLAGS-test-double.c): Likewise.
19520 (CFLAGS-test-float.c): Likewise.
19521 (CFLAGS-test-misc.c): Likewise.
19522 (CFLAGS-test-test-fenv.c): Likewise.
19523
19524 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19525
19526 [BZ #2550]
19527 [BZ #2570]
19528 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19529 comparisons to determine direction to adjust input.
19530
19531 2012-05-01 Roland McGrath <roland@hack.frob.com>
19532
19533 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19534 output to the target.
19535
19536 * scripts/localplt.awk: New file.
19537 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19538 (check-localplt-CFLAGS): Variable removed.
19539 ($(all-built-dso:=.jmprel)): New static pattern rule.
19540 (generated): Add those targets.
19541 (localplt-built-dso): New variable.
19542 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19543
19544 * elf/check-localplt.c: File removed.
19545
19546 * scripts/check-execstack.awk: New file.
19547 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19548 (check-execstack-CFLAGS): Variable removed.
19549 ($(objpfx)check-execstack.h): Target removed.
19550 ($(objpfx)execstack-default): New target.
19551 (generated): Add that instead of check-execstack.h.
19552 ($(all-built-dso:=.phdr)): New static pattern rule.
19553 (generated): Add those targets.
19554 * elf/check-execstack.c: File removed.
19555
19556 * scripts/check-textrel.awk: New file.
19557 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19558 (check-textrel-CFLAGS): Variable removed.
19559 (all-built-dso): Use := to define.o
19560 ($(all-built-dso:=.dyn)): New static pattern rule.
19561 (generated): Add those targets.
19562 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19563 * config.make.in (READELF): New substituted variable.
19564 * elf/check-textrel.c: File removed.
19565
19566 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19567
19568 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19569 allow.
19570 * conform/data/ctype.h-data [C99-based standards] (isblank):
19571 Expect function.
19572 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19573 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19575 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19576 Specify type. Require positive value.
19577 (EILSEQ): Likewise.
19578 (ERANGE): Likewise.
19579 [ISO || POSIX] (EILSEQ): Do not expect.
19580 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19581 Specify type. Require positive value.
19582 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19598 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19599 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19601 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19602 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19603 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19604 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19605 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19606 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19607 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19608 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19609 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19610 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19611 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19612 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19613 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19614 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19615 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19616 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19617 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19618 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19619 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19620 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19621 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19622 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19623 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19624 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19625 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19626 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19627 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19628 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19629 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19630 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19631 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19632 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19633 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19634 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19635 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19636 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19637 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19638 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19639 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19640 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19641 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19642 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19643 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19644 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19645 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19646 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19647 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19648 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19649 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19650 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19651 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19652 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19653 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19654 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19655 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19656 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19657 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19658 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19659 Require >= 2.
19660 (FLT_ROUNDS): Expect as macro, not constant.
19661 (FLT_MANT_DIG): Use macro-int-constant.
19662 (DBL_MANT_DIG): Likewise.
19663 (LDBL_MANT_DIG): Likewise.
19664 (FLT_DIG): Likewise.
19665 (DBL_DIG): Likewise.
19666 (LDBL_DIG): Likewise.
19667 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19668 (DBL_MIN_EXP): Likewise.
19669 (LDBL_MIN_EXP): Likewise.
19670 (FLT_MAX_EXP): Use macro-int-constant.
19671 (DBL_MAX_EXP): Likewise.
19672 (LDBL_MAX_EXP): Likewise.
19673 (FLT_MAX_10_EXP): Likewise.
19674 (DBL_MAX_10_EXP): Likewise.
19675 (LDBL_MAX_10_EXP): Likewise.
19676 (FLT_MAX): Use macro-constant.
19677 (DBL_MAX): Likewise.
19678 (LDBL_MAX): Likewise.
19679 (FLT_EPSILON): Use macro-constant. Give upper bound.
19680 (DBL_EPSILON): Likewise.
19681 (LDBL_EPSILON): Likewise.
19682 (FLT_MIN): Likewise.
19683 (DBL_MIN): Likewise.
19684 (LDBL_MIN): Likewise.
19685 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19686 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19687 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19688 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19689 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19690 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19691 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19692 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19693 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19694 [ISO11] (FLT_TRUE_MIN): Likewise.
19695 [ISO11] (LDBL_TRUE_MIN): Likewise.
19696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19697 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19698 (SCHAR_MIN): Use macro-int-constant. Specify type.
19699 (SCHAR_MAX): Likewise.
19700 (UCHAR_MAX): Likewise.
19701 (CHAR_MIN): Likewise.
19702 (CHAR_MAX): Likewise.
19703 (MB_LEN_MAX): Use macro-int-constant.
19704 (SHRT_MIN): Use macro-int-constant. Specify type.
19705 (SHRT_MAX): Likewise.
19706 (USHRT_MAX): Likewise.
19707 (INT_MAX): Likewise.
19708 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19709 bound negative.
19710 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19711 bound with "U".
19712 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19713 bound with "L".
19714 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19715 bound negative. Suffix upper bound with "L".
19716 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19717 bound with "UL".
19718 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19719 Specify type.
19720 [C99-based standards] (LLONG_MAX): Likewise.
19721 [C99-based standards] (ULLONG_MAX): Likewise.
19722 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19723 == 0.
19724 [ISO11] (max_align_t): Require type.
19725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19726
19727 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19728 from $CFLAGS, without defining away __attribute__ calls.
19729 (checknamespace): Use $CFLAGS_namespace.
19730
19731 * conform/conformtest.pl (@keywords): Only include C99 keywords
19732 for standards based on C99 or C11.
19733
19734 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19735 Disable tests.
19736 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19737 UNIX98]: Likewise.
19738
19739 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19740 usability of symbols in #if.
19741
19742 * conform/conformtest.pl: If macro or constant types start
19743 "promoted:", expect the symbol to be of the following type
19744 promoted by the integer promotions.
19745
19746 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19747 in one place. Also handle "macro-constant".
19748
19749 * conform/conformtest.pl: Only accept expected macro values with
19750 "==". Parse all "macro" lines in one place.
19751 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19752
19753 * conform/conformtest.pl: Handle braced types on "constant" lines
19754 instead of handling "typed-constant".
19755 * conform/data/signal.h-data: Use "constant" instead of
19756 "typed-constant".
19757
19758 * conform/conformtest.pl: Handle "optional-" at start of lines in
19759 one place rather than duplicating several cases. Handle each
19760 format of "macro" line with initial "optional-".
19761
19762 * conform/conformtest.pl: Only accept expected constant or
19763 optional-constant values with "==". Parse all "constant" lines in
19764 one place. Parse all "optional-constant" lines in one place.
19765 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19766 * conform/data/fmtmsg.h-data: Likewise.
19767 * conform/data/netinet/in.h-data: Likewise.
19768 * conform/data/tar.h-data: Likewise.
19769 * conform/data/limits.h-data: Use "==" form on "constant" and
19770 "optional-constant" lines.
19771
19772 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19773 Use -std=c99 for XOPEN2K.
19774 (@knownproblems): Remove.
19775 (newtoken): Don't check %isknown.
19776
19777 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19778 Do not expect macro.
19779 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19791 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19792 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19809 [XPG3] (acosh): Likewise.
19810 [XPG3] (asinh): Likewise.
19811 [XPG3] (atanh): Likewise.
19812 [XPG3] (cbrt): Likewise.
19813 [XPG3] (expm1): Likewise.
19814 [XPG3] (ilogb): Likewise.
19815 [XPG3] (log1p): Likewise.
19816 [XPG3] (logb): Likewise.
19817 [XPG3] (nextafter): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19820 [XPG3] (remainder): Likewise.
19821 [XPG3] (rint): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19829 [UNIX98 || XOPEN2K] (scalb): Expect.
19830 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19831 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19886 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19898 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19899 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19902 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19907 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19908 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19909 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19910 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19911 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19912 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19913 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19914 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19915 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19916 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19917 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19918 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19919 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19920 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19921 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19922 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19923 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19924 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19925 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19926 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19927 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19928 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19929 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19930 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19931 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19932 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19933 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19934 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19935 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19936 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19937 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19938 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19939 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19940 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19941 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19942 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19943 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19944 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19945 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19946 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19947 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19948 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19949 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19950 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19951 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19952 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19953 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19954 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19955 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19956 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19957 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19958 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19959 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19960 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19961 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19962 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19963 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19964 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19965 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19966 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19967
19968 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19969 _XOPEN_SOURCE_EXTENDED for XPG4.
19970
19971 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19972
19973 * Makeconfig (localtime): Remove variable.
19974 (inst_localtime-file): Likewise.
19975
19976 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19977
19978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19979 Update.
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19981 Update.
19982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19983 Update.
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19985 Update.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19987 Update.
19988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19989 Update.
19990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19991 Update.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19993 Update.
19994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19995 Update.
19996
19997 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19998
19999 [BZ #2550]
20000 [BZ #2570]
20001 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20002 comparisons to determine direction to adjust input.
20003 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20004 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20006 Likewise.
20007 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20008 Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20010 Likewise.
20011 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20013 Likewise.
20014 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20015 Likewise.
20016 * math/libm-test.inc (nexttoward_test): Add more tests.
20017
20018 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20019
20020 [BZ #14040]
20021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20022 in version GLIBC_2.1, not GLIBC_2.0.
20023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20024 Likewise.
20025
20026 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20027
20028 [BZ #13942]
20029 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20030 (1 - x) * (1 + x).
20031 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20032 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20033 * math/libm-test.inc (acos_test): Add more tests.
20034 (asin_test): Likewise.
20035 * sysdeps/i386/fpu/libm-test-ulps: Update.
20036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20037
20038 [BZ #14034]
20039 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20040 of square root.
20041 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20042 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20043 * math/libm-test.inc (acos_test_tonearest): New function.
20044 (acos_test_towardzero): Likewise.
20045 (acos_test_downward): Likewise.
20046 (acos_test_upward): Likewise.
20047 (asin_test_tonearest): Likewise.
20048 (asin_test_towardzero): Likewise.
20049 (asin_test_downward): Likewise.
20050 (asin_test_upward): Likewise.
20051 (main): Call the new functions.
20052 * sysdeps/i386/fpu/libm-test-ulps: Update.
20053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20054
20055 [BZ #13884]
20056 [BZ #13924]
20057 * math/e_exp10.c: Include <float.h>.
20058 (__ieee754_exp10): Handle underflow here rather than multiplying
20059 large negative argument by M_LN10.
20060 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20061 of __ieee754_expf.
20062 * math/e_exp10l.c: Include <float.h>.
20063 (__ieee754_exp10l): Handle underflow here rather than multiplying
20064 large negative argument by M_LN10l.
20065 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20066 spurious overflow exception on underflow.
20067
20068 2012-04-29 Marek Polacek <polacek@redhat.com>
20069
20070 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20071 (__fortify_function): New macro.
20072 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20073 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20074 __extern_always_inline.
20075 * libio/bits/stdio2.h: Likewise.
20076 * libio/bits/stdio.h: Likewise.
20077 * string/string.h: Likewise.
20078 * string/bits/string3.h: Likewise.
20079 * include/stdio.h: Likewise.
20080 * stdlib/bits/stdlib.h: Likewise.
20081 * stdlib/stdlib.h: Likewise.
20082 * rt/bits/mqueue2.h: Likewise.
20083 * rt/mqueue.h: Likewise.
20084 * posix/bits/unistd.h: Likewise.
20085 * posix/unistd.h: Likewise.
20086 * io/bits/poll2.h: Likewise.
20087 * io/bits/fcntl2.h: Likewise.
20088 * io/fcntl.h: Likewise.
20089 * io/sys/poll.h: Likewise.
20090 * misc/bits/syslog.h: Likewise.
20091 * misc/bits/syslog-ldbl.h: Likewise.
20092 * misc/sys/syslog.h: Likewise.
20093 * socket/bits/socket2.h: Likewise.
20094 * socket/sys/socket.h: Likewise.
20095 * debug/tst-chk1.c: Likewise.
20096 * wcsmbs/bits/wchar2.h: Likewise.
20097 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20098 * wcsmbs/wchar.h: Likewise.
20099
20100 2012-04-29 Andreas Jaeger <aj@suse.de>
20101
20102 * Makerules (tests): Remove enable-check-abi protection.
20103 (check-abi-warn): Remove.
20104 (check-abi-%): Remove check-abi-warn usage.
20105
20106 * configure.in: Remove check-abi configure option.
20107 * configure: Regenerated.
20108 * config.make.in (enable-check-abi): Remove.
20109
20110 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20111
20112 [BZ #14033]
20113 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20114 double functions to double *_finite functions.
20115
20116 [BZ #13941]
20117 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20118 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20119 LDBL_MIN_EXP.
20120 * stdio-common/Makefile (tests): Add tst-sprintf3.
20121 * stdio-common/tst-sprintf3.c: New file.
20122
20123 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20124 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20125
20126 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20127
20128 * conform/conformtest.pl: Remove duplicate typed-constant
20129 handling.
20130
20131 2012-04-28 David S. Miller <davem@davemloft.net>
20132
20133 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20134 (check-abi-%): Remove AWK script prerequisite and explicit
20135 abilist directory.
20136 (check-abi): Rewrite to just diff the symlist with the abilist.
20137 (config-tls, config-abi-config): Delete, no longer used.
20138 (update-abi-%): Remove AWK script and explicit abilist directory.
20139 (update-abi): Rewrite to simply compare and conditionally copy the
20140 symlist and the sysdep abilist file. Remove update-abi-config
20141 checks.
20142 * abilist/ld.abilist: Remove.
20143 * abilist/libBrokenLocale.abilist: Remove.
20144 * abilist/libanl.abilist: Remove.
20145 * abilist/libcrypt.abilist: Remove.
20146 * abilist/libdl.abilist: Remove.
20147 * abilist/librt.abilist: Remove.
20148 * abilist/libthread_db.abilist: Remove.
20149 * abilist/libutil.abilist: Remove.
20150 * scripts/extract-abilist.awk: Remove.
20151 * scripts/merge-abilist.awk: Remove.
20152 * sysdeps/generic/libcidn.abilist: New file.
20153 * sysdeps/generic/libnss_compat.abilist: New file.
20154 * sysdeps/generic/libnss_db.abilist: New file.
20155 * sysdeps/generic/libnss_dns.abilist: New file.
20156 * sysdeps/generic/libnss_files.abilist: New file.
20157 * sysdeps/generic/libnss_hesiod.abilist: New file.
20158 * sysdeps/generic/libnss_nis.abilist: New file.
20159 * sysdeps/generic/libnss_nisplus.abilist: New file.
20160 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20161 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20162 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20163 file.
20164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20165 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20166 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20167 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20168 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20169 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20170 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20171 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20172 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20173 file.
20174 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20175 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20176 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20177 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20178 file.
20179 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20180 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20181 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20182 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20183 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20184 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20185 file.
20186 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20187 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20188 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20189 file.
20190 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20192 New file.
20193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20194 New file.
20195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20196 New file.
20197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20198 New file.
20199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20200 New file.
20201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20202 New file.
20203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20204 New file.
20205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20206 New file.
20207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20208 New file.
20209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20210 New file.
20211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20212 New file.
20213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20214 New file.
20215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20216 New file.
20217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20218 file.
20219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20220 New file.
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20222 New file.
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20224 file.
20225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20226 New file.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20228 New file.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20230 file.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20232 New file.
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20234 New file.
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20236 New file.
20237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20238 New file.
20239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20240 New file.
20241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20242 New file.
20243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20245 file.
20246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20247 New file.
20248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20249 file.
20250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20251 file.
20252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20253 file.
20254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20255 file.
20256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20257 file.
20258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20259 New file.
20260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20261 file.
20262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20263 file.
20264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20265 New file.
20266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20267 file.
20268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20270 file.
20271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20272 New file.
20273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20274 file.
20275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20276 file.
20277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20278 file.
20279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20280 file.
20281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20282 file.
20283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20284 New file.
20285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20286 file.
20287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20288 file.
20289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20290 New file.
20291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20292 file.
20293 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20294 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20295 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20296 file.
20297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20298 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20299 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20300 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20301 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20302 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20303 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20304 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20305 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20306 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20309 file.
20310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20311 New file.
20312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20313 file.
20314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20315 file.
20316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20317 file.
20318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20319 file.
20320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20321 file.
20322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20323 New file.
20324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20325 New file.
20326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20327 file.
20328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20329 New file.
20330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20331 file.
20332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20334 file.
20335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20336 New file.
20337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20338 file.
20339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20340 file.
20341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20342 file.
20343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20344 file.
20345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20346 file.
20347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20348 New file.
20349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20350 New file.
20351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20352 file.
20353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20354 New file.
20355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20356 file.
20357
20358 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20359
20360 * conform/conformtest.pl: Fix typo in handling typed-constant from
20361 allow-header.
20362
20363 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20364
20365 * README: Cut down references to pre-2.6 Linux kernels and
20366 Linuxthreads. Update lists of configurations in libc and ports
20367 and sort alphabetically. Say "or newer" with Linux kernel version
20368 requirements.
20369
20370 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20371
20372 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20373
20374 [BZ #887]
20375 * math/libm-test.inc (logb_test_downward): New test to expose
20376 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20377 rounding mode.
20378
20379 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20380
20381 [BZ #14027]
20382 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20383 to be done.
20384 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20385 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20386
20387 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20388
20389 * sysdeps/unix/i386/brk.S: Remove file.
20390 * sysdeps/unix/i386/dl-brk.S: Likewise.
20391 * sysdeps/unix/i386/pipe.S: Likewise.
20392 * sysdeps/unix/i386/sigreturn.S: Likewise.
20393 * sysdeps/unix/i386/syscall.S: Likewise.
20394 * sysdeps/unix/i386/vfork.S: Likewise.
20395 * sysdeps/unix/i386/wait.S: Likewise.
20396
20397 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20398 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20399
20400 * configure.in (arm*-none*): Do not allow without
20401 --enable-hacker-mode.
20402 (netbsd*): Remove case setting base_os.
20403 (386bsd*): Likewise.
20404 (freebsd*): Likewise.
20405 (bsdi*): Likewise.
20406 (osf*): Likewise.
20407 (sunos*): Likewise.
20408 (ultrix*): Likewise.
20409 (newsos*): Likewise.
20410 (dynix*): Likewise.
20411 (*bsd*): Likewise.
20412 (sysv*): Likewise.
20413 (isc*): Likewise.
20414 (esix*): Likewise.
20415 (sco*): Likewise.
20416 (minix*): Likewise.
20417 (irix4*): Likewise.
20418 (irix6*): Likewise.
20419 (solaris[2-9]*): Likewise.
20420 (none): Likewise.
20421 * configure: Regenerated.
20422
20423 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20424
20425 [BZ #11521]
20426 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20427 overflow or cancellation in calculating denominator.
20428 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20430 down expression to avoid unexpected rounding in newer GCCs.
20431 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20432
20433 2012-04-26 David S. Miller <davem@davemloft.net>
20434
20435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20436 long-double compat symbols.
20437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20450
20451 2012-04-25 David S. Miller <davem@davemloft.net>
20452
20453 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20454 HWCAP_* values only after the memory barriers have been defined.
20455 (atomic_full_barrier): Define.
20456 (atomic_read_barrier): Define.
20457 (atomic_write_barrier): Define.
20458
20459 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20460
20461 * shlib-versions: Add libgcc_s version information.
20462 * sysdeps/generic/libgcc_s.h: Remove.
20463 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20464 libgcc_s.h.
20465 * sysdeps/gnu/unwind-resume.c: Likewise.
20466 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20467
20468 2012-04-25 David S. Miller <davem@davemloft.net>
20469
20470 * sysdeps/unix/sparc/brk.S: Delete.
20471 * sysdeps/unix/sparc/dl-brk.S: Delete.
20472 * sysdeps/unix/sparc/pipe.S: Delete.
20473 * sysdeps/unix/sparc/sysdep.S: Delete.
20474 * sysdeps/unix/sparc/sysdep.h: Delete.
20475 * sysdeps/unix/sparc/vfork.S: Delete.
20476 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20477 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20478 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20479 ret_ERRVAL, r0, r1, MOVE): Define.
20480 (JUMPTARGET): Remove.
20481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20482 sysdeps/unix/sparc/sysdep.h
20483 (ENTRY, END): Remove.
20484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20485
20486 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20487
20488 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20489 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20490 -DIS_IN_build.
20491
20492 * timezone/README: Update upstream location and email address for
20493 tzcode and tzdata.
20494 * timezone/zdump.c: Update from tzcode 2012b.
20495 * timezone/zic.c: Likewise.
20496
20497 * configure.in (libc_cv_as_needed): Remove test.
20498 * configure: Regenerated.
20499 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20500 conditional definition.
20501 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20502 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20503 * config.make.in (have-as-needed): Remove variable.
20504
20505 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20506 Paul Pluzhnikov <ppluzhnikov@google.com>
20507
20508 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20509 strings correctly.
20510
20511 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20512
20513 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20514 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20515 * sysdeps/sh/strlen.S: Likewise.
20516
20517 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20518
20519 * sysdeps/unix/fork.S: Remove file.
20520 * sysdeps/unix/i386/fork.S: Likewise.
20521 * sysdeps/unix/sparc/fork.S: Likewise.
20522
20523 * sysdeps/unix/system.c: Remove file.
20524 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20525
20526 * sysdeps/unix/getegid.S: Remove file.
20527 * sysdeps/unix/geteuid.S: Likewise.
20528
20529 2012-04-24 Roland McGrath <roland@hack.frob.com>
20530
20531 * scripts/check-localplt.awk: New file.
20532 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20533 of diff.
20534 * scripts/data/localplt-generic.data: Add a comment.
20535
20536 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20537 NODE when __dir_mkfile failed.
20538 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20539 Reported by Ludovic Courtès <ludo@gnu.org>.
20540
20541 2012-04-24 Andreas Jaeger <aj@suse.de>
20542
20543 * Makerules (common-clean): Also remove gen-as-const-headers
20544 files.
20545
20546 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20547
20548 * Makerules (native-compile): Do not change working directory for
20549 build. Use $(OUTPUT_OPTION) in command.
20550 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20551
20552 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20553
20554 [BZ #13886]
20555 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20556 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20557 * math/libm-test.inc (floor_test): Add more tests.
20558 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20559
20560 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20561
20562 * sysdeps/unix/getdents.c: Remove file.
20563 * sysdeps/unix/sysv/getdents.c: Likewise.
20564 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20565
20566 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20567 sysdeps/unix/mman/syscalls.list.
20568 (mmap): Likewise.
20569 (mprotect): Likewise.
20570 (msync): Likewise.
20571 (munmap): Likewise.
20572 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20573 * sysdeps/unix/mman/syscalls.list: Remove.
20574 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20575
20576 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20577 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20578 * configure: Regenerated.
20579 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20580 $(libgcc_s_suffix).
20581 * config.make.in (libgcc_s_suffix): Remove variable.
20582
20583 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20584
20585 * sysdeps/unix/sysv/gethostname.c: Move to ...
20586 * sysdeps/posix/gethostname.c: ... here.
20587
20588 * sysdeps/unix/execve.S: Remove file.
20589
20590 * sysdeps/unix/_exit.S: Remove file.
20591
20592 2012-04-23 Andreas Jaeger <aj@suse.de>
20593
20594 [BZ #13739]
20595 * manual/Makefile: Remove make dist support, there's no
20596 need for a stand-alone documentation tar ball.
20597 (TEXI2DVI): Define always, it's not in Makeconfig.
20598 (dist): Removed.
20599 (tar-it): Removed.
20600 (edition): Removed.
20601 (glibc-doc-$(edition).tar): Removed
20602 (%.Z): Removed.
20603 (%.gz): Removed.
20604 (%.uu): Removed.
20605 (ETAGS): Remove, it's in Makeconfig.
20606 (move-if-change): Remove, it's in Makeconfig.
20607
20608 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20609
20610 [BZ #13970]
20611 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20612 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20613 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20614 (strtod_l, strtof_l, strtold_l): Remove __wur.
20615 It is not necessarily an error to ignore strtol's return value.
20616 One can reliably look at the stored endptr to decide whether
20617 the number had valid syntax.
20618
20619 2012-04-21 Andreas Jaeger <aj@suse.de>
20620
20621 [BZ #13739]
20622 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20623
20624 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20625
20626 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20627 * sysdeps/unix/sysv/Versions: Remove file.
20628
20629 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20630
20631 [BZ #13927]
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20633
20634 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20635
20636 [BZ #7064]
20637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20638 version from __vm86.
20639
20640 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20641
20642 * sysdeps/unix/common/lxstat.c: Remove file.
20643 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20644
20645 * sysdeps/unix/sysv/Makefile: Remove file.
20646
20647 * sysdeps/unix/sysv/direct.h: Remove file.
20648
20649 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20650 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20651 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20652 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20653 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20654 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20655 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20656
20657 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20658
20659 * sysdeps/unix/xmknod.c: Remove file.
20660 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20661
20662 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20663
20664 * sysdeps/unix/sysv/i386/time.S: Remove file.
20665
20666 * sysdeps/unix/fxstat.c: Remove file.
20667 * sysdeps/unix/xstat.c: Likewise.
20668 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20669
20670 * sysdeps/unix/sysv/sigaction.c: Remove file.
20671
20672 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20673 (sysdep_headers): Remove variable.
20674 [termio.h not in sysdep_headers] (generated): Likewise.
20675 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20676 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20677 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20678 * sysdeps/unix/sysv/tcflow.c: Likewise.
20679 * sysdeps/unix/sysv/tcflush.c: Likewise.
20680 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20681 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20682 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20683 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20684 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20685
20686 * sysdeps/unix/siglist.c: Remove file.
20687
20688 * sysdeps/unix/getppid.S: Remove file.
20689
20690 * sysdeps/unix/mkdir.c: Remove file.
20691 * sysdeps/unix/rmdir.c: Likewise.
20692
20693 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20694
20695 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20696 ERR_MAX value.
20697 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20698 errlist-compat value.
20699
20700 2012-04-18 David S. Miller <davem@davemloft.net>
20701
20702 * sysdeps/generic/memcopy.h (reg_char): Delete.
20703 * debug/strcat_chk.c: Use char, not reg_char.
20704 * debug/strcpy_chk.c: Likewise.
20705 * debug/strncat_chk.c: Likewise.
20706 * debug/strncpy_chk.c: Likewise.
20707 * string/memchr.c: Likewise.
20708 * string/memrchr.c: Likewise.
20709 * string/rawmemchr.c: Likewise.
20710 * string/strcat.c: Likewise.
20711 * string/strchr.c: Likewise.
20712 * string/strchrnul.c: Likewise.
20713 * string/strcmp.c: Likewise.
20714 * string/strcpy.c: Likewise.
20715 * string/strncat.c: Likewise.
20716 * string/strncmp.c: Likewise.
20717 * string/strncpy.c: Likewise.
20718
20719 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20720
20721 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20722 __builtin_memcopy is called when src and dest ranges are known to not
20723 overlap.
20724
20725 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20726
20727 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20728 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20729 fwd_align_merge macro call.
20730 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20731 bwd_align_merge macro call.
20732 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20733
20734 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20735
20736 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20737 bwd_align_merge macros.
20738 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20739 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20740 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20741
20742 2012-04-18 David S. Miller <davem@davemloft.net>
20743
20744 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20745
20746 2012-04-18 Andreas Jaeger <aj@suse.de>
20747
20748 [BZ# 6794]
20749 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20750 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20751 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20752
20753 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20754 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20756
20757 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20758 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20759 Adjust for changed ldbl-128 files.
20760
20761 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20762 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20763 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20764
20765 2012-04-17 David S. Miller <davem@davemloft.net>
20766
20767 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20768
20769 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20770
20771 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20772 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20773 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20774 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20775 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20776 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20777
20778 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20779
20780 [BZ #6794]
20781 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20782 * math/libm-test.inc: Add ilogb errno and exception tests.
20783 * math/w_ilogb.c: New file: ilogb wrapper.
20784 * math/w_ilogbf.c: New file: ilogbf wrapper.
20785 * math/w_ilogbl.c: New file: ilogbl wrapper.
20786 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20787 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20788 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20789 exception being thrown with 0.0 as argument.
20790 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20791 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20792 exception being thrown with 0.0 as argument.
20793 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20794 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20795 exception being thrown with 0.0 as argument.
20796 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20797 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20798 exception being thrown with 0.0 as argument.
20799 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20800 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20801 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20802 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20803 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20804 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20805 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20806 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20807 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20808
20809 2012-04-17 Petr Baudis <pasky@ucw.cz>
20810
20811 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20812 with altivec.
20813
20814 2012-04-16 Marek Polacek <polacek@redhat.com>
20815
20816 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20817
20818 2012-04-16 Marek Polacek <polacek@redhat.com>
20819
20820 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20821 operands of fdivp instruction.
20822
20823 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20824
20825 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20826 * elf/tst-auditmod3b.c: Likewise.
20827 * elf/tst-auditmod4b.c: Likewise.
20828 * elf/tst-auditmod5b.c: Likewise.
20829 * elf/tst-auditmod6b.c: Likewise.
20830 * elf/tst-auditmod6c.c: Likewise.
20831 * elf/tst-auditmod7b.c: Likewise.
20832 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20833 * sysdeps/x86_64/preconfigure.in: Likewise.
20834 * sysdeps/x86_64/preconfigure: Regenerated.
20835
20836 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20837
20838 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20839 __ILP32__.
20840
20841 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20842
20843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20844 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20845
20846 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20847
20848 [BZ #13973]
20849 * locale/iso-639.def: Fix gl language name. Spotted by
20850 Yaron Shahrabani.
20851
20852 2012-04-12 Roland McGrath <roland@hack.frob.com>
20853
20854 [BZ #2074]
20855 * libio/libio.h (__io_write_fn): Update comment.
20856
20857 2012-04-12 Petr Baudis <pasky@ucw.cz>
20858
20859 [BZ #2074]
20860 * stdio.texi (Hook Functions): The user provided writer function
20861 is not allowed to return -1.
20862
20863 2012-04-11 David S. Miller <davem@davemloft.net>
20864
20865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20866
20867 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20868
20869 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20870 Add a leading slash to rtkaio.
20871
20872 2012-04-11 Jim Meyering <meyering@redhat.com>
20873
20874 [BZ #11959]
20875 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20876 It is not necessarily an error to ignore fwrite's return
20877 value. One can reliably use ferror to test for errors after
20878 the fact.
20879
20880 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20881
20882 * bits/types.h (__snseconds_t): New type.
20883 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20884
20885 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20887 (__SNSECONDS_T_TYPE): Likewise.
20888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20889 (__SNSECONDS_T_TYPE): Likewise.
20890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20891 (__SNSECONDS_T_TYPE): Likewise.
20892
20893 2012-04-10 Andreas Jaeger <aj@suse.de>
20894
20895 [BZ #2636]
20896 * manual/time.texi (Processor Time): Return type of times is
20897 elapsed real time since an arbitrary point in the past.
20898 (CPU Time): Move CLK_TCK from here...
20899 (Processor Time): ...to here. Correct description.
20900 * manual/conf.texi (Constants for Sysconf): Correct description of
20901 _SC_CLK_TCK.
20902
20903 2012-04-10 David S. Miller <davem@davemloft.net>
20904
20905 [BZ #13967]
20906 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20907 where the is a gap between DT_REL(A) and DT_JMPREL.
20908
20909 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20910
20911 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20912 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20913 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20914
20915 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20916
20917 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20918 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20919 (dl_main): Handle --inhibit-cache.
20920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20921 _dl_inhibit_cache.
20922 * elf/dl-load.c (_dl_map_object): Use it.
20923 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20924
20925 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20926
20927 [BZ #13872]
20928 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20929 (__ieee754_powl): Saturate large exponents rather than testing for
20930 overflow of y*log2(x).
20931 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20932 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20933 exceptions.
20934
20935 [BZ #11521]
20936 * math/s_ctan.c: Include <float.h>.
20937 (__ctan): Avoid internal overflow or cancellation in calculating
20938 denominator.
20939 * math/s_ctanf.c: Likewise.
20940 * math/s_ctanl.c: Likewise.
20941 * math/s_ctanh.c: Likewise.
20942 * math/s_ctanhf.c: Likewise.
20943 * math/s_ctanhl.c: Likewise.
20944 * math/libm-test.inc (ctan_test): Add more tests.
20945 (ctanh_test): Likewise.
20946 * sysdeps/i386/fpu/libm-test-ulps: Update.
20947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20948
20949 2012-04-09 Andreas Jaeger <aj@suse.de>
20950
20951 [BZ #6894]
20952 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20953 is an optional BSD extension.
20954
20955 [BZ #10254]
20956 * manual/stdio.texi (Opening Streams): Document additional fopen
20957 parameters.
20958
20959 2012-04-09 Roland McGrath <roland@hack.frob.com>
20960
20961 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20962 %eax without telling the compiler.
20963
20964 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20965
20966 [BZ # 13963]
20967 * manual/install.texi: Use sourceware.org.
20968
20969 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20970
20971 [BZ #13873]
20972 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20973 (__ieee754_pow): Generate overflow and underflow using huge*huge
20974 and tiny*tiny rather than just returning constant infinity or zero
20975 for large exponents.
20976 * math/libm-test.inc (pow_test): Require overflow exceptions for
20977 applicable cases of large exponents.
20978
20979 [BZ #706]
20980 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20981 (__ieee754_pow): Use iterative multiplication algorithm only for
20982 integer exponents with absolute value below 1024. Check for odd
20983 integer exponents when using algorithm for real exponents.
20984 * math/libm-test.inc (pow_test): Add more tests.
20985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20986
20987 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20988
20989 [BZ #13705]
20990 * math/libm-test.inc (exp_test): Do not allow overflow exception
20991 on underflow test.
20992
20993 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20994
20995 [BZ #13705]
20996 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20997 instead of __kernel_standard_f.
20998
20999 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21000
21001 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21002 * sysdeps/x86_64/memset_chk.S: Likewise.
21003
21004 2012-04-08 Andreas Jaeger <aj@suse.de>
21005
21006 [BZ #10153]
21007 * manual/startup.texi (Environment Access): Describe return value
21008 for putenv and setenv.
21009
21010 [BZ #6895]
21011 * manual/filesys.texi (Directory Entries): Add description for
21012 DT_LNK.
21013
21014 [BZ #6890]
21015 * manual/filesys.texi (Directory Entries): Clarify that it's file
21016 system not operating system in the description of DT_UNKNOWN.
21017
21018 [BZ #6578]
21019 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21020
21021 2012-04-08 Stephen Compall <s11@member.fsf.org>
21022
21023 [BZ #6649]
21024 * manual/llio.texi (Opening and Closing Files): Add cross
21025 reference to explain mode argument.
21026
21027 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21028
21029 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21030 * sysdeps/x86_64/memset_chk.S: Likewise.
21031
21032 2012-04-07 David S. Miller <davem@davemloft.net>
21033
21034 * elf/elf.h (R_SPARC_WDISP10): Define.
21035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21036 R_SPARC_SIZE32.
21037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21038 R_SPARC_SIZE64 and R_SPARC_H34.
21039
21040 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21041
21042 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21043 conditions and remove no longer applicable assertion.
21044
21045 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21046
21047 * bits/byteswap.h: Include <features.h>.
21048 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21049 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21050
21051 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21052
21053 * bits/byteswap.h (__bswap_16): Removed.
21054 Include <bits/byteswap-16.h> to get __bswap_16.
21055 * sysdeps/i386/bits/byteswap.h: Likewise.
21056 * sysdeps/s390/bits/byteswap.h: Likewise.
21057 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21058 * bits/byteswap-16.h: New file.
21059 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21060 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21061 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21062 * string/Makefile (headers): Add bits/byteswap-16.h.
21063
21064 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21065
21066 [BZ #13895]
21067 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21068 extra indirection.
21069 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21070 * nss/tst-nss-static.c: New.
21071
21072 2012-04-06 Robert Millan <rmh@gnu.org>
21073
21074 [BZ #6486]
21075 * manual/llio.texi (File Position Primitive): lseek
21076 refers to WHENCE when it really means OFFSET.
21077
21078 2012-04-06 Andreas Jaeger <aj@suse.de>
21079
21080 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21081 strncmp declarations.
21082
21083 * abilist/libc.abilist: Add __poll and __ppoll.
21084
21085 2012-04-05 David S. Miller <davem@davemloft.net>
21086
21087 * scripts/check-local-headers.sh: Accept a host triplet in the
21088 path matched by the exclude regexp.
21089
21090 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21091 definition.
21092 * sysdeps/powerpc/powerpc32/dl-machine.h
21093 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21094 * sysdeps/s390/s390-32/dl-machine.h
21095 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21096 * sysdeps/sparc/sparc32/dl-machine.h
21097 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21098 * sysdeps/sparc/sparc64/dl-machine.h
21099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21100
21101 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21102 lazy binding.
21103 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21104 undefined symbol errors.
21105
21106 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21107 DT_NEEDED entries.
21108
21109 2012-04-05 Michael Matz <matz@suse.de>
21110
21111 [BZ #13592]
21112 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21113
21114 2012-04-05 Andreas Jaeger <aj@suse.de>
21115
21116 [BZ #13908]
21117 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21118 comment.
21119
21120 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21121
21122 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21123 which ROUND is no valid rounding mode.
21124
21125 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21126
21127 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21128 read again.
21129 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21130
21131 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21132
21133 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21134 an exception using FPU order intentionally.
21135
21136 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21137
21138 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21139 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21140 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21141 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21142
21143 2012-04-05 Simon Josefsson <simon@josefsson.org>
21144
21145 [BZ #12340]
21146 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21147 EINVAL when BUFLEN is too smal.
21148
21149 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21150
21151 [BZ #13553]
21152 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21153 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21154
21155 2012-04-03 Andreas Jaeger <aj@suse.de>
21156
21157 [BZ #13938]
21158 * manual/setjmp.texi (System V contexts): Fix sentence.
21159
21160 [BZ #13926]
21161 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21162 New macro for this case.
21163 [!__GNUC__] (__bswap_64): New inline function for this case.
21164 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21165 * bits/byteswap.h: Likewise.
21166 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21167 ull, guard with __GLIBC_HAVE_LONG_LONG.
21168
21169 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21170 __GLIBC_HAVE_LONG_LONG.
21171
21172 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21173 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21174
21175 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21176
21177 [BZ #13691]
21178 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21179 inptr and inend, rather than using last_ch.
21180
21181 2012-04-02 David S. Miller <davem@davemloft.net>
21182
21183 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21184 * stdio-common/printf-parse.h (read_int): Change return type to
21185 'int', return -1 on INT_MAX overflow.
21186 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21187 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21188 overflows INT_MAX. Check for overflow of in-format-string precision
21189 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21190 SIZE_MAX not INT_MAX for integer overflow test.
21191 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21192 skip the construct in the format string but do not record anything.
21193 * stdio-common/bug22.c: Adjust to test both width/prevision
21194 INT_MAX overflow as well as total length INT_MAX overflow. Check
21195 explicitly for proper errno values.
21196
21197 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21198
21199 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21200 CHAR_MAX.
21201 * string/test-strcmp.c [! WIDE]: Likewise.
21202 * time/tst-mktime2.c: Likewise for INT_MAX.
21203 * string/test-string.h: #include <sys/param.h> for MIN.
21204
21205 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21206 * sysdeps/i386/init-first.c (init): Likewise.
21207 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21208 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21209 * sysdeps/sh/init-first.c (init): Likewise.
21210
21211 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21212
21213 * po/ru.po: Update from translation team.
21214 * po/vi.po: Likewise.
21215
21216 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21217
21218 * resolv/nss_dns/dns-host.c: Merge copyright years.
21219
21220 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21221
21222 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21223 Optimize memcpy with prefetch if
21224 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21225 src, dst pointers have unequal 16 byte alignments.
21226
21227 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21228
21229 [BZ #13928]
21230 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21231 from a CNAME entry and return the minimum ttl for the query.
21232 (gaih_getanswer_slice): Likewise.
21233
21234 2012-03-30 Jeff Law <law@redhat.com>
21235
21236 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21237 due to long keys.
21238 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21239 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21240
21241 * resolv/nss_dns/dns-host.c: Update copyright year.
21242
21243 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21244
21245 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21246 requests to save a system call. Fix check that all bytes are sent.
21247
21248 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21249 comments for sendmmsg.
21250
21251 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21252
21253 [BZ #13691]
21254 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21255 with only 1 character between 0x0041 and 0x01b0.
21256 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21257 * wcsmbs/tst-mbsnrtowcs.c: New file.
21258
21259 2012-03-29 David S. Miller <davem@davemloft.net>
21260
21261 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21262 small copies by hand.
21263
21264 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21265
21266 [BZ #13761]
21267 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21268 _nss_compat_initgroups_dyn): Fall back to malloc/free
21269 for large group memberships.
21270
21271 2012-03-28 David S. Miller <davem@davemloft.net>
21272
21273 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21274 that branches into memcpy.
21275 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21278 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21280 bits.
21281 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21282 implementation too.
21283 * sysdeps/sparc/mempcpy.S: New file.
21284
21285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21286 the IFUNC routine in the libc case.
21287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21288
21289 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21290 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21291 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21292 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21293 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21294 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21295 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21296 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21297
21298 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21299 loop to 256 bytes instead of 64 bytes and fix test signedness.
21300
21301 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21302 * sysdeps/sparc/sparc32/Makefile: rather than here...
21303 * sysdeps/sparc/sparc64/Makefile: and here.
21304
21305 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21306
21307 * malloc/mallocbug.c: Avoid warnings about unused variables.
21308
21309 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21310
21311 [BZ #13760]
21312 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21313 in the right place. Discard and retry query if response is
21314 larger than input buffer size.
21315
21316 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21317
21318 [BZ #369]
21319 [BZ #2678]
21320 [BZ #3866]
21321 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21322 x for large integer exponent.
21323 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21324 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21325 sign of result as needed afterwards.
21326 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21327 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21328 result for underflowing pow the same as for overflow.
21329 (__kernel_standard_l): Handle powl overflow and underflow here
21330 rather than calling __kernel_standard.
21331 * math/libm-test.inc (pow_test): Add more tests.
21332
21333 [BZ #3868]
21334 [BZ #13879]
21335 [BZ #13910]
21336 [BZ #13911]
21337 [BZ #13912]
21338 [BZ #13913]
21339 [BZ #13915]
21340 [BZ #13916]
21341 [BZ #13917]
21342 [BZ #13918]
21343 [BZ #13919]
21344 [BZ #13920]
21345 [BZ #13921]
21346 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21347 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21348 (__kernel_standard_l): New function.
21349 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21350 __kernel_standard.
21351 * math/w_acosl.c (__acosl): Likewise.
21352 * math/w_asinl.c (__asinl): Likewise.
21353 * math/w_atan2l.c (__atan2l): Likewise.
21354 * math/w_atanhl.c (__atanhl): Likewise.
21355 * math/w_coshl.c (__coshl): Likewise.
21356 * math/w_exp10l.c (__exp10l): Likewise.
21357 * math/w_exp2l.c (__exp2l): Likewise.
21358 * math/w_fmodl.c (__fmodl): Likewise.
21359 * math/w_hypotl.c (__hypotl): Likewise.
21360 * math/w_j0l.c (__j0l, __y0l): Likewise.
21361 * math/w_j1l.c (__j1l, __y1l): Likewise.
21362 * math/w_jnl.c (__jnl, __ynl): Likewise.
21363 * math/w_lgammal.c (__lgammal): Likewise.
21364 * math/w_log10l.c (__log10l): Likewise.
21365 * math/w_log2l.c (__log2l): Likewise.
21366 * math/w_logl.c (__logl): Likewise.
21367 * math/w_powl.c (__powl): Likewise.
21368 * math/w_remainderl.c (__remainderl): Likewise.
21369 * math/w_scalbl.c (sysv_scalbl): Likewise.
21370 * math/w_sinhl.c (__sinhl): Likewise.
21371 * math/w_sqrtl.c (__sqrtl): Likewise.
21372 * math/w_tgammal.c (__tgammal): Likewise.
21373 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21374 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21375 * math/libm-test.inc (acos_test): Add more tests.
21376 (acosh_test): Likewise.
21377 (asin_test): Likewise.
21378 (atanh_test): Likewise.
21379 (exp_test): Likewise.
21380 (exp10_test): Likewise.
21381 (exp2_test): Likewise.
21382 (expm1_test): Likewise.
21383 (lgamma_test): Likewise.
21384 (log_test): Likewise.
21385 (log10_test): Likewise.
21386 (log1p_test): Likewise.
21387 (log2_test): Likewise.
21388 (pow_test): Do not allow some spurious overflow exceptions.
21389 (sqrt_test): Add more tests.
21390 (tgamma_test): Likewise.
21391 (y0_test): Likewise.
21392 (y1_test): Likewise.
21393 (yn_test): Likewise.
21394
21395 2012-03-27 Anton Blanchard <anton@samba.org>
21396
21397 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21398 MAP_HUGETLB.
21399 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21400 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21402
21403 2012-03-27 David S. Miller <davem@davemloft.net>
21404
21405 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21406
21407 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21408 have-as-vis3 check.
21409
21410 2012-03-27 Andreas Jaeger <aj@suse.de>
21411
21412 * sysdeps/x86_64/elf/configure.in: Moved to ...
21413 * sysdeps/x86_64/configure.in: ... here.
21414 * sysdeps/x86_64/elf/start.S: Moved to ...
21415 * sysdeps/x86_64/start.S: ... here.
21416 * sysdeps/x86_64/elf/configure: Delete.
21417
21418 * sysdeps/x86_64/configure.in: Merge contents from
21419 sysdeps/i386/configure.in (without i686 check).
21420
21421 * sysdeps/i386/elf/Versions: Merge into ...
21422 * sysdeps/i386/Versions: ... this.
21423 * sysdeps/i386/elf/Versions: Delete file.
21424 * sysdeps/i386/elf/start.S: Moved to ...
21425 * sysdeps/i386/start.S: ...here.
21426 * sysdeps/i386/elf/configure.in: Merge into...
21427 * sysdeps/i386/configure.in: ...here.
21428 * sysdeps/i386/elf/configure.in: Delete file.
21429 * sysdeps/i386/elf/configure: Delete file.
21430
21431 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21432 * debug/backtracesyms.c: ... here.
21433 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21434 * debug/backtracesymsfd.c: ... here.
21435 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21436 * sysdeps/generic/ifunc-sel.h: ... here.
21437
21438 * sysdeps/unix/i386/start.c: Delete file.
21439 * sysdeps/unix/sparc/start.c: Delete file.
21440 * sysdeps/unix/start.c: Delete file.
21441
21442 * sysdeps/sh/elf/configure.in: Moved to ...
21443 * sysdeps/sh/configure.in: ... here.
21444 * sysdeps/sh/elf/start.S: Moved to ...
21445 * sysdeps/sh/start.S: ... here.
21446 * sysdeps/sh/elf/configure: Delete file.
21447
21448 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21449 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21450 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21451 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21452 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21453 * sysdeps/powerpc/powerpc64/start.S: here.
21454 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21455 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21456 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21457 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21458 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21459
21460 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21461 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21462 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21463 * sysdeps/powerpc/powerpc32/start.S: ... here.
21464 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21465 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21466 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21467
21468 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21469 * sysdeps/powerpc/ifunc-sel.h: ... here.
21470 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21471 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21472
21473 * sysdeps/sparc/elf/configure.in: Moved to ...
21474 * sysdeps/sparc/configure.in: ... here.
21475 * sysdeps/sparc/elf/configure: Delete file.
21476 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21477 * sysdeps/sparc/sparc32/start.S: ... here.
21478 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21479 * sysdeps/sparc/sparc64/start.S: ... here.
21480 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21481 * sysdeps/sparc/sparc32/Makefile: ... this.
21482 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21483 * sysdeps/sparc/sparc64/Makefile: ... this.
21484
21485 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21486 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21487 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21488 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21489 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21490 * sysdeps/s390/s390-32/setjmp.S: ... here.
21491 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21492 * sysdeps/s390/s390-32/configure.in: ... here.
21493 * sysdeps/s390/s390-32/elf/configure: Delete file.
21494 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21495 * sysdeps/s390/s390-32/start.S: ... here.
21496
21497 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21498 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21499 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21500 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21501 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21502 * sysdeps/s390/s390-64/setjmp.S: ... here.
21503 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21504 * sysdeps/s390/s390-64/configure.in: ... here
21505 * sysdeps/s390/s390-64/elf/configure: Delete file.
21506 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21507 * sysdeps/s390/s390-64/start.S: ... here.
21508 * sysdeps/s390/s390-64/elf/configure: Delete.
21509
21510 * configure.in: Remove support for elf directories in sysdeps.
21511
21512 * configure: Regenerated.
21513 * sysdeps/i386/configure: Regenerated.
21514 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21515 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21516 * sysdeps/s390/s390-32/configure: Regenerated.
21517 * sysdeps/s390/s390-64/configure: Regenerated.
21518 * sysdeps/sh/configure: Regenerated.
21519 * sysdeps/sparc/configure: Regenerated.
21520 * sysdeps/x86_64/configure: Regenerated.
21521
21522 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21523
21524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21525
21526 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21527 denormal result into account.
21528
21529 2012-03-25 Roland McGrath <roland@hack.frob.com>
21530
21531 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21532 Reported by Allan McRae <allan@archlinux.org>.
21533
21534 2012-03-23 Jeff Law <law@redhat.com>
21535
21536 * nss/getnssent.c (__nss_getent): Fix typo.
21537
21538 2012-03-23 David S. Miller <davem@davemloft.net>
21539
21540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21541
21542 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21543
21544 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21545 to pad to uint64_t for each field.
21546 (dl_tls_index): Replace unsigned long with uint64_t.
21547
21548 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21549 Paul Pluzhnikov <ppluzhnikov@google.com>
21550
21551 [BZ #6528]
21552 * grp/Makefile (otherlibs): Don't set it.
21553 * inet/Makefile (otherlibs): Likewise.
21554 * login/Makefile (otherlibs): Likewise.
21555 * nscd/Makefile (otherlibs): Likewise.
21556 * posix/Makefile (otherlibs): Likewise.
21557 * pwd/Makefile (otherlibs): Likewise.
21558 * rt/Makefile (otherlibs): Likewise.
21559 * sunrpc/Makefile (otherlibs): Likewise.
21560 * nss/Makefile (otherlibs): Likewise.
21561 Add libnss_files to routines and static-only-routines.
21562 ($(objpfx)getent): Remove rule.
21563 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21564 static-only-routines.
21565
21566 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21567
21568 [BZ #13892]
21569 * math/s_cexp.c: Include <float.h>.
21570 (__cexp): Handle exp result overflowing not necessarily
21571 overflowing both real and imaginary parts of result.
21572 * math/s_cexpf.c: Likewise.
21573 * math/s_cexpl.c: Likewise.
21574 * math/libm-test.inc (cexp_test): Add more tests.
21575 * sysdeps/i386/fpu/libm-test-ulps: Update.
21576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21577
21578 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * include/link.h (ELFW): New macro.
21581 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21582 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21583
21584 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21585
21586 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21587 with uint64_t.
21588
21589 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21590
21591 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21592 declaration.
21593 (struct La_x32_retval): Likewise.
21594
21595 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21596
21597 * sysdeps/x86_64/preconfigure.in: New file.
21598 * sysdeps/x86_64/preconfigure: New generated file.
21599
21600 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21601
21602 [BZ #13824]
21603 * math/e_exp2l.c: Include <float.h>.
21604 (__ieee754_exp2l): Handle overflow and underflow cases
21605 separately. Only pass fractional part of argument to
21606 __ieee754_expl.
21607 * math/libm-test.inc (exp2_test): Add more tests.
21608
21609 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21610 negating x to take absolute value.
21611 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21612 Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21615 Likewise.
21616 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21617 computing low part if x was negated.
21618 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21619
21620 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21621
21622 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21623 la_x32_gnu_pltexit.
21624 (pltexit): Cast int_retval to ptrdiff_t.
21625 * elf/tst-auditmod3b.c: Likewise.
21626 * elf/tst-auditmod4b.c: Likewise.
21627 * elf/tst-auditmod5b.c: Likewise.
21628 * elf/tst-auditmod6b.c: Likewise.
21629 * elf/tst-auditmod6c.c: Likewise.
21630 * elf/tst-auditmod7b.c: Likewise.
21631
21632 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21633 and x32_gnu_pltexit.
21634
21635 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21636 __ELF_NATIVE_CLASS.
21637 (La_x32_regs): New macro.
21638 (La_x32_retval): Likewise.
21639 (la_x32_gnu_pltenter): New function prototype.
21640 (la_x32_gnu_pltexit): Likewise.
21641
21642 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21643
21644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21645 exponent.
21646
21647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21648
21649 * configure.in (libc_cv_cc_nofma): Check for option to disable
21650 generation of FMA instructions.
21651 * configure: Regenerate.
21652 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21653 * sysdeps/ieee754/dbl-64/Makefile: New file.
21654 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21655 Remove brandred-fma4.
21656 (CFLAGS-brandred-fma4.c): Remove.
21657 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21659 define.
21660 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21661 define.
21662
21663 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21664
21665 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21666 LLONG_MAX != LONG_MAX.
21667 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21668 (_fitoa_word): Likewise.
21669 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21670 LLONG_MAX != LONG_MAX.
21671 * stdio-common/_itowa.h: Include <_itoa.h>.
21672 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21673 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21674 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21675 only if not defined.
21676 (_ITOA_WORD_TYPE): Likewise.
21677 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21678 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21679
21680 2012-03-21 David S. Miller <davem@davemloft.net>
21681
21682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21683
21684 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21685
21686 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21687 of x86_64 when setting libc_cv_slibdir, libdir and
21688 libc_cv_localedir.
21689 * sysdeps/unix/sysv/linux/configure: Regenerated.
21690
21691 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21692
21693 * manual/lang.texi (Old Varargs): Remove section.
21694 (How Variadic): Update menu.
21695 (va_start): Do not mention varargs.h.
21696
21697 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21698 Joseph Myers <joseph@codesourcery.com>
21699
21700 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21701 link test.
21702 * configure: Regenerated.
21703
21704 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21705
21706 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21707 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21708 conformtest.pl
21709
21710 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21711
21712 * NOTES: Remove.
21713 * Makefile (files-for-dist): Remove NOTES.
21714 (NOTES): Remove rule.
21715 * README: Don't refer to NOTES.
21716 * manual/creature.texi: Don't include macros.texi.
21717 * manual/intro.texi (creature.texi): Remove comment referring to
21718 NOTES.
21719
21720 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21721 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21722 * configure: Regenerated.
21723 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21724 LIBC_TRY_CC_OPTION.
21725 (libc_cv_as_i686): Likewise.
21726 (libc_cv_cc_avx): Likewise.
21727 (libc_cv_cc_sse2avx): Likewise.
21728 (libc_cv_cc_fma4): Likewise.
21729 (libc_cv_cc_novzeroupper): Likewise.
21730 * sysdeps/i386/configure: Regenerated.
21731
21732 [BZ #13883]
21733 * sysdeps/i386/fpu/s_cexp.S: Remove.
21734 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21735 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21736 * math/libm-test.inc (cexp_test): Add more tests.
21737 * sysdeps/i386/fpu/libm-test-ulps: Update.
21738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21739
21740 2012-03-21 Allan McRae <allan@archlinux.org>
21741
21742 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21743
21744 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21745
21746 [BZ #13871]
21747 * math/w_exp2.c: Do not include <float.h>.
21748 (o_threshold, u_threshold): Remove.
21749 (__exp2): Calculate result before checking finiteness and calling
21750 __kernel_standard.
21751 * math/w_exp2f.c: Likewise.
21752 * math/w_exp2l.c: Likewise.
21753 * math/libm-test.inc (exp2_test): Require overflow exception for
21754 1e6 input.
21755
21756 [BZ #3866]
21757 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21758 range of signed 64-bit integers before using fistpll. Remove
21759 checks for whether integers fit in mantissa bits.
21760 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21761 the range of signed 32-bit integers before using fistpl. Remove
21762 checks for whether integers fit in mantissa bits.
21763 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21764 (__ieee754_powl): Test for y outside the range of signed 64-bit
21765 integers before using fistpll. Reduce 64-bit values to 63-bit
21766 ones as needed.
21767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21768 divide-by-zero is raised for zero to large negative powers.
21769 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21770 (__ieee754_powl): Test for y outside the range of signed 64-bit
21771 integers before using fistpll. Reduce 64-bit values to 63-bit
21772 ones as needed.
21773 * math/libm-test.inc (pow_test): Add more tests.
21774
21775 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21776
21777 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21778 <stdio-common/_itoa.h>.
21779 * debug/segfault.c: Likewise.
21780 * elf/dl-cache.c: Likewise.
21781 * elf/dl-minimal.c: Likewise.
21782 * elf/dl-misc.c: Likewise.
21783 * elf/dl-sysdep.c: Likewise.
21784 * elf/dl-version.c: Likewise.
21785 * elf/rtld.c: Likewise.
21786 * hurd/hurdsock.c: Likewise.
21787 * hurd/lookup-retry.c: Likewise.
21788 * malloc/malloc.c: Likewise.
21789 * malloc/mtrace.c: Likewise.
21790 * nscd/nscd_getgr_r.c: Likewise.
21791 * nscd/nscd_getpw_r.c: Likewise.
21792 * nscd/nscd_getserv_r.c: Likewise.
21793 * posix/getopt_init.c: Likewise.
21794 * posix/wordexp.c: Likewise.
21795 * stdio-common/_itoa.c: Likewise.
21796 * stdio-common/printf_fphex.c: Likewise.
21797 * stdio-common/vfprintf.c: Likewise.
21798 * string/_strerror.c: Likewise.
21799 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21800 * sysdeps/i386/i686/hp-timing.h: Likewise.
21801 * sysdeps/mach/_strerror.c: Likewise.
21802 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21803 * sysdeps/mach/hurd/sethostid.c: Likewise.
21804 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21805 * sysdeps/mach/xpg-strerror.c: Likewise.
21806 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21807 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21808 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21809 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21810 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21811 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21812 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21813 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21814 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21815 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21816 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21817 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21818 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21819 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21820 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21821 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21822 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21823 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21824 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21825 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21826 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21827
21828 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21829
21830 * stdio-common/_itoa.h: Moved to ...
21831 * sysdeps/generic/_itoa.h: Here.
21832
21833 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21834
21835 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21836 instead of "_itoa.h" and "_itowa.h".
21837 * stdio-common/vfprintf.: Likewise.
21838
21839 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21842 <bits/wordsize.h>.
21843 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21844 (__signbit): Likwise.
21845 (llrintf): Likwise.
21846 (llrint): Likwise.
21847
21848 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21849
21850 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21851 __WORDSIZE != 64.
21852
21853 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21854
21855 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21856 OVERFLOW_EXCEPTION_OK.
21857 * math/libm-test.inc ("Philosophy"): Update comment about
21858 exception testing.
21859 (OVERFLOW_EXCEPTION): Define.
21860 (OVERFLOW_EXCEPTION_OK): Likewise.
21861 (INVALID_EXCEPTION_OK): Renumber.
21862 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21863 (IGNORE_ZERO_INF_SIGN): Likewise.
21864 (test_exceptions): Handle FE_OVERFLOW.
21865 (exp10_test): Expect overflow exceptions.
21866 (exp2_test): Likewise.
21867 (expm1_test): Likewise.
21868 (nextafter_test): Likewise.
21869 (pow_test): Likewise.
21870 (scalbn_test): Likewise.
21871 (scalbln_test): Likewise.
21872
21873 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 * sysdeps/x86_64/bits/atomic.h
21876 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21877 64bit integer.
21878 (atomic_exchange_acq): Likewise.
21879 (__arch_exchange_and_add_body): Likewise.
21880 (__arch_add_body): Likewise.
21881 (atomic_add_negative): Likewise.
21882 (atomic_add_zero): Likewise.
21883
21884 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21885
21886 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21887 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21888
21889 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21890
21891 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21892 Check __x86_64__ instead of __WORDSIZE.
21893
21894 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21895
21896 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21897
21898 2012-03-19 David S. Miller <davem@davemloft.net>
21899
21900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21901
21902 * sysdeps/sparc/fpu/fenv_private.h: New file.
21903 * sysdeps/sparc/fpu/math_private.h: Use it.
21904 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21905 Remove.
21906 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21907 (libc_feholdexcept_setroundl): Remove.
21908 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21909 Remove.
21910 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21911 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21912
21913 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21914
21915 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21916 int64_t instead of long int.
21917 (INSERT_WORDS64): Likwise.
21918
21919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21920
21921 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21922 _Unwind_GetCFA return to _Unwind_Ptr first.
21923
21924 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21925
21926 [BZ #13629]
21927 * math/s_clog.c: Include <float.h>.
21928 (__clog): Scale large or subnormal inputs.
21929 * math/s_clogf.c: Likewise.
21930 * math/s_clogl.c: Likewise.
21931 * math/s_clog10.c: Include <float.h>.
21932 (M_LOG10_2): Define.
21933 (__clog10): Scale large or subnormal inputs.
21934 * math/s_clog10f.c: Likewise.
21935 * math/s_clog10l.c: Likewise.
21936 * math/libm-test.inc (clog_test): Add more tests.
21937 (clog10_test): Likewise.
21938 * sysdeps/i386/fpu/libm-test-ulps: Update.
21939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21940
21941 [BZ #11451]
21942 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21943 x and y.
21944 * math/libm-test.inc (atan2_test): Add another test.
21945
21946 * Makerules (common-objdir-compile): Remove.
21947 * sysdeps/unix/Makefile (config-generated): Do not add
21948 $(unix-generated) to variable.
21949 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21950 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21951 Remove rule.
21952 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21953 Likewise.
21954 [generic bits/local_lim.h] (before-compile): Do not append to
21955 variable.
21956 [generic bits/local_lim.h] (common-generated): Likewise.
21957 [generic sys/param.h] (before-compile): Do not append to variable.
21958 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21959 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21960 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21961 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21962 include.
21963 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21964 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21965 [generic sys/param.h] ($(addprefix
21966 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21967 [generic sys/param.h] (common-generated): Do not append to
21968 variable.
21969 [generic sys/param.h] (sysdep_headers): Likewise.
21970 [generic bits/errno.h] (before-compile): Do not append to
21971 variable.
21972 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21973 rule.
21974 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21975 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21976 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21977 [generic bits/errno.h] (common-generated): Do not append to
21978 variable.
21979 [generic bits/ioctls.h] (before-compile): Do not append to
21980 variable.
21981 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21982 rule.
21983 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21984 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21985 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21986 rule.
21987 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21988 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21989 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21990 [generic bits/ioctls.h] (common-generated): Do not append to
21991 variable.
21992 [generic sys/syscall.h] (syscall.h): Remove variable.
21993 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21994 rule.
21995 [generic sys/syscall.h] (before-compile): Do not append to
21996 variable.
21997 [generic sys/syscall.h] (common-generated): Likewise.
21998 * sysdeps/unix/errnos-tmpl.c: Remove file.
21999 * sysdeps/unix/errnos.awk: Likewise.
22000 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22001 * sysdeps/unix/ioctls.awk: Likewise.
22002 * sysdeps/unix/mk-local_lim.c: Likewise.
22003 * sysdeps/unix/snarf-ioctls: Likewise.
22004
22005 2012-03-19 Richard Henderson <rth@twiddle.net>
22006
22007 * sysdeps/i386/fpu/fenv_private.h: New file.
22008 * sysdeps/i386/fpu/math_private.h: Use it.
22009 (math_opt_barrier, math_force_eval): Remove.
22010 (libc_feholdexcept_setround_53bit): Remove.
22011 (libc_feupdateenv_53bit): Remove.
22012 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22013 (math_opt_barrier, math_force_eval): Remove.
22014 (libc_feholdexcept): Remove.
22015 (libc_feholdexcept_setround): Remove.
22016 (libc_fetestexcept, libc_fesetenv): Remove.
22017 (libc_feupdateenv_test): Remove.
22018 (libc_feupdateenv, libc_feholdsetround): Remove.
22019 (libc_feresetround): Remove.
22020
22021 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22022 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22023
22024 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22025 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22026 (libc_feupdateenv_testl): New.
22027 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22028 (libc_feupdateenv_testf): New.
22029 (libc_feupdateenv): Use libc_feupdateenv_test.
22030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22031 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22032
22033 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22034 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22035 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22036 (libc_feresetround_noex): New.
22037 (libc_feresetround_noexf): New.
22038 (libc_feresetround_noexl): New.
22039 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22040 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22041 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22042 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22043 SET_RESTORE_ROUND.
22044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22045 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22046 (__cos): Likewise.
22047 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22048 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22049 SET_RESTORE_ROUND_NOEX.
22050 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22051 SET_RESTORE_ROUND_NOEXF.
22052 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22053 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22054 (libc_feholdsetroundf): New.
22055 (libc_feresetround, libc_feresetroundf): New.
22056
22057 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22058 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22059 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22060
22061 * sysdeps/generic/math_private.h: Include <fenv.h>.
22062 (default_libc_feholdexcept): New.
22063 (default_libc_feholdexcept_setround): New.
22064 (default_libc_fesetenv, default_libc_feupdateenv): New.
22065 (libc_feholdexcept): Only define if undefined.
22066 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22067 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22068 (libc_feholdexcept_setroundl): Likewise.
22069 (libc_feholdexcept_setround_53bit): Likewise.
22070 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22071 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22072 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22073 (libc_feupdateenv_53bit): Likewise.
22074 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22075 (libc_feholdexcept): Convert from macro to inline function.
22076 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22077 (libc_fesetenv, libc_feupdateenv): Likewise.
22078
22079 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22080 not previously defined.
22081 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22082 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22083 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22084 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22085 * sysdeps/ieee754/flt-32/math_private.h: New file.
22086 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22087 math_private.h below SET_FLOAT_WORD.
22088 (__isnan, __isinf_ns, __finite): Remove.
22089 (__isnanf, __isinf_nsf, __finitef): Remove.
22090
22091 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22092
22093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22094
22095 2012-03-17 David S. Miller <davem@davemloft.net>
22096
22097 [BZ #6471]
22098 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22099 for 2.16.
22100
22101 2012-03-16 David S. Miller <davem@davemloft.net>
22102
22103 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22104 warnings.
22105
22106 [BZ #6471]
22107 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22108 properly.
22109 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22110 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22111 sysdep_routines when subdir is sysvipc.
22112 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22113 __getshmlba helper.
22114
22115 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22116
22117 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22120 [__LP64__].
22121
22122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22123
22124 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22125 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22126 (__lround): Renamed to ...
22127 (__llround): This. Replace long int with long long int.
22128 Define lround functions as aliases of llround functions.
22129 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22130
22131 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22132
22133 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22134 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22135 adresses to uintptr_t. Replace "long int" and "unsigned long
22136 int" with "greg_t" on va_arg.
22137
22138 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22139
22140 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22141 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22142
22143 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22144 Move e_machine check before EI_CLASS check. Handle x32
22145 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22146 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22147 SKIP_EM_IA_64 and include
22148 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22149
22150 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22151 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22152 (add_system_dir): New macro.
22153
22154 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22155 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22156
22157 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22158
22159 [BZ #2551]
22160 [BZ #2552]
22161 [BZ #2553]
22162 [BZ #2554]
22163 [BZ #2562]
22164 [BZ #2563]
22165 [BZ #2565]
22166 [BZ #2566]
22167 [BZ #2576]
22168 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22169 (y0): Likewise.
22170 * math/w_j0f.c (j0f): Likewise.
22171 (y0f): Likewise.
22172 * math/w_j0l.c (__j0l): Likewise.
22173 (__y0l): Likewise.
22174 * math/w_j1.c (j1): Likewise.
22175 (y1): Likewise.
22176 * math/w_j1f.c (j1f): Likewise.
22177 (y1f): Likewise.
22178 * math/w_j1l.c (__j1l): Likewise.
22179 (__y1l): Likewise.
22180 * math/w_jn.c (jn): Likewise.
22181 (yn): Likewise.
22182 * math/w_jnf.c (jnf): Likewise.
22183 (ynf): Likewise.
22184 * math/w_jnl.c (__jnl): Likewise.
22185 (__ynl): Likewise.
22186 * math/libm-test.inc (j0_test): Add more tests.
22187 (j1_test): Likewise.
22188 (jn_test): Likewise. Add trailing semicolon to existing test.
22189 (y0_test): Likewise.
22190 (y1_test): Likewise.
22191 * sysdeps/i386/fpu/libm-test-ulps: Update.
22192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22193
22194 [BZ #13851]
22195 [BZ #13854]
22196 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22197 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22198 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22199 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22200 (__tanl): Set errno for infinite argument.
22201 * sysdeps/i386/fpu/mptan.c: Remove.
22202 * sysdeps/i386/fpu/s_tan.S: Likewise.
22203 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22204 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22205 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22206 * math/libm-test.inc (tan_test): Add more tests and enable more
22207 tests for double and long double.
22208 * sysdeps/i386/fpu/libm-test-ulps: Update.
22209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22210
22211 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22212
22213 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22214 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22215
22216 2012-03-16 Roland McGrath <roland@hack.frob.com>
22217
22218 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22219 * configure.in: Use it for both main tree and add-ons.
22220 * configure: Regenerated.
22221
22222 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22223
22224 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22225
22226 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22227
22228 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22229 in comment.
22230
22231 [BZ #13851]
22232 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22233 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22237 infinite argument.
22238 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22239 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22240 != 0 for prec == 2.
22241 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22242 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22243 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22244 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22245 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22246 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22247 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22248 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22249 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22250 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22251 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22252 * math/libm-test.inc (cos_test): Add more tests and enable more
22253 tests for long double.
22254 (sin_test): Likewise.
22255 (sincos_test): Likewise.
22256 * sysdeps/i386/fpu/libm-test-ulps: Update.
22257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22258
22259 2012-03-16 David S. Miller <davem@davemloft.net>
22260
22261 * sysdeps/sparc/fpu/math_private.h: New file.
22262
22263 2012-03-15 David S. Miller <davem@davemloft.net>
22264
22265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22266 file.
22267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22269 file.
22270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22276 sysdep routines.
22277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22278
22279 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22280 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22281
22282 * sysdeps/sparc/sparc-ifunc.h: New file.
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22284 sparc-ifunc.h
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22287 Likewise.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22289 Likewise.
22290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22294 Likewise.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22300 Likewise.
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22302 Likewise.
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22327
22328 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22329
22330 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22331 scaling.
22332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22333
22334 2012-03-15 Andreas Jaeger <aj@suse.de>
22335
22336 [BZ #13852]
22337 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22338 ieee754/flt-32 implementation for sin, cos and sincos.
22339 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22340 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22341 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22342 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22343 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22344 ieee754/flt-32 implementation for tan.
22345
22346 * math/libm-test.inc (cos_test): Enable some large input tests for
22347 float as well
22348 (sin_test): Likewise.
22349 (sincos_test): Likewise.
22350 (tan_test): Add tests for large input.
22351
22352 * sysdeps/i386/fpu/libm-test-ulps: Update.
22353
22354 2012-03-15 Andreas Jaeger <aj@suse.de>
22355
22356 [BZ #13658]
22357 * math/libm-test.inc (cos_test): Add more test cases.
22358 (sin_test): Likewise.
22359 (sincos_test): Likewise.
22360
22361 2012-03-15 Andreas Jaeger <aj@suse.de>
22362
22363 [BZ #13837]
22364 * math/libm-test.inc (cos_test): Add a test case for large input
22365 value.
22366 (sin_test): Likewise.
22367 (sincos_test): Likewise.
22368
22369 2012-03-15 Andreas Jaeger <aj@suse.de>,
22370 Joseph Myers <joseph@codesourcery.com>
22371
22372 [BZ #13658]
22373 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22374 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22375 * sysdeps/i386/fpu/branred.c: Likewise.
22376 * sysdeps/i386/fpu/dosincos.c: Likewise.
22377 * sysdeps/i386/fpu/mpa.c: Likewise.
22378 * sysdeps/i386/fpu/s_cos.S: Likewise.
22379 * sysdeps/i386/fpu/s_sin.S: Likewise.
22380 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22381 * sysdeps/i386/fpu/sincos32.c: Likewise.
22382
22383 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22384 Define.
22385 (libc_feupdateenv_53bit): Define.
22386 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22387 Define.
22388 (libc_feupdateenv_53bit): Define.
22389
22390 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22391 53 bit (without extend i386 double precision).
22392
22393 * math/libm-test.inc (sincos_test): Add tests for large input.
22394 (sin): Likewise.
22395 (cos): Likewise.
22396
22397 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22398
22399 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22400
22401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22402
22403 2012-03-15 David S. Miller <davem@davemloft.net>
22404
22405 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22406 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22407 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22408 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22421 file.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22424 file.
22425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22427 file.
22428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22430 file.
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22433 fmin/fmax sysdep routines.
22434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22435
22436 2012-03-14 David S. Miller <davem@davemloft.net>
22437
22438 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22442 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22467 routines.
22468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22469 file.
22470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22472 file.
22473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22475 file.
22476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22478 file.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22481 file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22484 file.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22486 file.
22487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22488 file.
22489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22490 file.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22492 New file.
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22494 file.
22495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22496 file.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22499 file.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22502 file.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22505 file.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22508 VIS3 routines.
22509
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22511 New file.
22512
22513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22514
22515 * sysdeps/sparc/configure.in: New file.
22516 * sysdeps/sparc/configure: Generate.
22517 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22518 * configure: Regenerate.
22519 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22520 * config.make.in (have-as-vis3): New.
22521 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22522 available use -Av9d instead of -Av9a.
22523 * sysdeps/sparc/sparc64/Makefile: Likewise.
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22526 New file.
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22528 file.
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22530 New file.
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22532 file.
22533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22534 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22538
22539 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22540 fzeros/fnegs to load 0x80000000 into a float register instead of
22541 using the stack.
22542 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22543
22544 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22545
22546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22547 bits/syscall.h.
22548 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22549 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22550 ($(inst_includedir)/bits/syscall.h): Remove rule.
22551 ($(objpfx)bits/syscall.d): Include instead of
22552 $(objpfx)syscall-list.d.
22553 (generated): Change syscall-list.h and syscall-list.d to
22554 bits/syscall.h and bits/syscall.d.
22555
22556 2012-03-14 Roland McGrath <roland@hack.frob.com>
22557
22558 [BZ #13846]
22559 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22560
22561 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22562
22563 [BZ #13841]
22564 * math/s_csqrt.c: Include <float.h>.
22565 (__csqrt): Scale large or subnormal inputs.
22566 * math/s_csqrtf.c: Likewise.
22567 * math/s_csqrtl.c: Likewise.
22568 * math/libm-test.inc (csqrt_test): Add more tests.
22569 * sysdeps/i386/fpu/libm-test-ulps: Update.
22570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22571
22572 [BZ #13840]
22573 * math/libm-test.inc (hypot_test): Add more tests.
22574
22575 2012-03-13 David S. Miller <davem@davemloft.net>
22576
22577 [BZ #13840]
22578 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22579 double-precision for the calculation instead of scaling.
22580
22581 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22582
22583 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22584 manipulate bits before adding and subtracting TWO52[sx].
22585 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22587 Likewise.
22588 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22589
22590 2012-03-13 David S. Miller <davem@davemloft.net>
22591
22592 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22593 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22595 rtld-global-offsets.h
22596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22597
22598 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22599 large parameters.
22600
22601 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22602
22603 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22604 'err' in the ifdef scope in which it is actually used.
22605
22606 * nss/nss_db/db-init.c: Include string.h
22607
22608 2012-03-12 David S. Miller <davem@davemloft.net>
22609
22610 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22611 masking out of the most significant byte of random value used.
22612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22613 Fix coding style in previous change.
22614
22615 * sysdeps/unix/sysv/linux/kernel-features.h
22616 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22617 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22618 expression.
22619 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22620 later.
22621
22622 2012-03-11 David S. Miller <davem@davemloft.net>
22623
22624 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22625 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22626 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22627 for 'resultvar' otherwise things get truncated on 64-bit.
22628
22629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22630 Fix masking out of the most significant byte of random value used.
22631
22632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22633
22634 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22635
22636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22637
22638 2012-03-09 David S. Miller <davem@davemloft.net>
22639
22640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22641 variables with appropriate CPP guards.
22642 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22643 frame pointer, not the stack pointer. Correct layout comments. Fix test
22644 on resulting framesize and the management of the outregs buffer for pltexit.
22645 Preserve floating point return values across _dl_call_pltexit call.
22646 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22647 framesize and the management of the outregs buffer for pltexit.
22648 Preserve floating point return values across _dl_call_pltexit
22649 call.
22650 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22651 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22652 (print_exit): Fix format string for return register value.
22653
22654 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22655
22656 * sunrpc/Makefile (others): Add rpcgen.
22657 ($(objpfx)rpcgen): Remove special build rule and dependency on
22658 libc.
22659 * sunrpc/rpcgen.c: New file.
22660
22661 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22662
22663 [BZ #13673]
22664 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22665 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22666 * sysdeps/i386/crti.S: Likewise.
22667 * sysdeps/i386/crtn.S: Likewise.
22668 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22669 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22670 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22671 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22672 * sysdeps/sh/crti.S: Likewise.
22673 * sysdeps/sh/crtn.S: Likewise.
22674 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22675
22676 [BZ #13673]
22677 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22678 with URL.
22679 * locale/programs/locfile-kw.gperf: Likewise.
22680 * locale/programs/charmap-kw.h: Regenerated.
22681 * locale/programs/locfile-kw.h: Likewise.
22682
22683 [BZ #13673]
22684 * intl/plural.y: Replace FSF snail mail address with URL.
22685 * intl/plural.c: Regenerated.
22686
22687 2012-03-09 Richard Henderson <rth@twiddle.net>
22688
22689 * include/math_private.h: Remove file.
22690 * math/math_private.h: Move file ...
22691 * sysdeps/generic/math_private.h: ... here.
22692
22693 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22694 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22695 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22696
22697 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22698 and <math_private.h>.
22699 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22700 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22701 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22702 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22703 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22782 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22787 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22788 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22789 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22790 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22792 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22793 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22794 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22796 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22799 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22800 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22801 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22802 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22804 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22805 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22806 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22807 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22809 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22810 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22811 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22812 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22813 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22816 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22817 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22818 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22819 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22820 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22821 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22822 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22823 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22824 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22825 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22826 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22827 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22828 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22829 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22830 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22831 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22832 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22833 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22835 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22836 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22837 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22838 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22840 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22841 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22842 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22843 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22844 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22845 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22846 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22847 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22848 * sysdeps/ieee754/k_standard.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22853 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22858 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22859 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22861 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22862 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22906 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22911 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22916 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22921 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22922 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22923 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22926 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22932 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22933 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22940 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22942 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22950 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22951 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22952 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22953 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22954 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22955 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22956 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22957 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22958 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22960 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22962 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22964 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22965 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22966 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22968 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22970 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22971 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22973 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22976 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22998 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22999 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23009 * sysdeps/ieee754/s_lib_version.c: Likewise.
23010 * sysdeps/ieee754/s_matherr.c: Likewise.
23011 * sysdeps/ieee754/s_signgam.c: Likewise.
23012 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23013 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23014 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23015 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23016 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23017 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23018 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23019 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23020 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23021 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23023 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23024 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23025 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23026 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23027 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23028 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23029 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23030 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23033
23034 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23035
23036 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23037 * sunrpc/rpc_main.c: Likewise.
23038 * sunrpc/rpc_svcout.c: Likewise.
23039
23040 2012-03-09 David S. Miller <davem@davemloft.net>
23041
23042 * include/math_private.h: New file.
23043
23044 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23045
23046 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23047 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23048 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23049 from <bits/socket_type.h>.
23050 (enum __socket_type): Don't define here.
23051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23053 bits/socket_type.h.
23054
23055 [BZ #13566]
23056 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23057 checking __USE_GNU.
23058
23059 * Makerules ($(inst_includedir)/%.h): New rule.
23060 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23061 (install-others): Remove variable setting.
23062 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23063
23064 2012-03-08 Richard Henderson <rth@twiddle.net>
23065
23066 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23067 from macro to inline function; merge with the
23068 !__LIBC_INTERNAL_MATH_INLINES version.
23069 (__ieee754_sqrtf): Likewise.
23070
23071 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23072 to inline function.
23073 (__rintf, __floor, __floorf): Likewise.
23074
23075 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23076 macro to inline function.
23077 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23078
23079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23080 not <math/math_private.h>.
23081
23082 2012-03-08 David S. Miller <davem@davemloft.net>
23083
23084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23085 copyright year.
23086 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23087
23088 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23089
23090 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23091 normalization.
23092 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23093 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23094
23095 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23096
23097 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23098 be defined individually, they must be defined as a block. Define
23099 S for printing a string instead of hidint the different by using a
23100 macro for adding the 'l'.
23101 * stdio-common/tst-fphex-wide.c: Adjust.
23102
23103 2012-03-07 Marek Polacek <polacek@redhat.com>
23104
23105 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23106
23107 2012-03-08 Marek Polacek <polacek@redhat.com>
23108
23109 [BZ #13806]
23110 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23111 * stdio-common/tst-fphex.c: Define a few macros to make the
23112 test reusable. Use them.
23113 * stdio-common/tst-fphex-wide.c: New file.
23114
23115 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23116
23117 [BZ #6911]
23118 * manual/macros.texi (gnusystems): New macro.
23119 (nongnusystems): Likewise.
23120 (gnulinuxhurdsystems): Likewise.
23121 (gnuhurdsystems): Likewise..
23122 (gnulinuxsystems): Likewise.
23123 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23124 variants of the GNU system, not "GNU system".
23125 * manual/conf.texi: Likewise.
23126 * manual/errno.texi: Likewise. Update example of errno macro
23127 expansion.
23128 * manual/filesys.texi: Likewise.
23129 (getumask): Document as specific to GNU/Hurd.
23130 * manual/install.texi: Likewise. Reword some references to
23131 GNU/Linux.
23132 * manual/intro.texi: Likewise.
23133 * manual/io.texi: Likewise.
23134 (File Name Portability): Detail which constraints are inapplicable
23135 to all GNU systems and which are only inapplicable to GNU/Hurd.
23136 * manual/job.texi: Likewise.
23137 * manual/llio.texi: Likewise.
23138 (O_NOCTTY): Document as present on GNU/Linux.
23139 * manual/maint.texi: Likewise.
23140 * manual/memory.texi: Likewise.
23141 * manual/pattern.texi: Likewise.
23142 * manual/pipe.texi: Likewise.
23143 * manual/process.texi: Likewise.
23144 * manual/resource.texi: Likewise.
23145 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23146 child on GNU/Hurd.
23147 * manual/setjmp.texi: Likewise.
23148 * manual/signal.texi: Likewise.
23149 * manual/startup.texi: Likewise.
23150 * manual/stdio.texi: Likewise.
23151 * manual/terminal.texi: Likewise.
23152 (ONLCR): Document as POSIX.
23153 (OXTABS): Document availability on GNU/Linux as XTABS.
23154 (ONOEOT): Document availability separately from other bits.
23155 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23156 * manual/time.texi: Likewise.
23157 * manual/users.texi: Likewise.
23158 * INSTALL: Regenerated.
23159 * sysdeps/gnu/errlist.c: Regenerated.
23160
23161 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23162 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23163 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23164 puts.
23165 * configure: Regenerated.
23166
23167 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23168
23169 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23170 default includes instead of AC_HEADER_CHECK.
23171 * sysdeps/i386/configure: Regenerated.
23172
23173 [BZ #10716]
23174 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23175 * math/s_cacoshf.c (__cacoshf): Likewise.
23176 * math/s_cacoshl.c (__cacoshl): Likewise.
23177 * math/s_casinh.c (__casinh): Set signs of result from argument.
23178 * math/s_casinhf.c (__casinhf): Likewise.
23179 * math/s_casinhl.c (__casinhl): Likewise.
23180 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23181 (casinh_test): Add more tests.
23182 * sysdeps/i386/fpu/libm-test-ulps: Update.
23183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23184
23185 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23186
23187 * po/zh_TW.po: Update from translation team.
23188
23189 * login/Makefile (distribute): Remove variable.
23190 * catgets/Makefile: Likewise.
23191 * mach/Makefile: Likewise.
23192 * malloc/Makefile: Likewise.
23193 * misc/Makefile: Likewise.
23194 * iconv/Makefile: Likewise.
23195 * nscd/Makefile: Likewise.
23196 * hurd/Makefile: Likewise.
23197 * manual/Makefile: Likewise.
23198 * locale/Makefile: Likewise.
23199 * intl/Makefile: Likewise.
23200 * conform/Makefile: Likewise.
23201 * nss/Makefile: Likewise.
23202 * time/Makefile: Likewise.
23203 * soft-fp/Makefile: Likewise.
23204 * dirent/Makefile: Likewise.
23205 * gmon/Makefile: Likewise.
23206 * po/Makefile: Likewise.
23207 * rt/Makefile: Likewise.
23208 * socket/Makefile: Likewise.
23209 * math/Makefile: Likewise.
23210 * signal/Makefile: Likewise.
23211 * debug/Makefile: Likewise.
23212 * elf/Makefile: Likewise.
23213 * timezone/Makefile: Likewise.
23214 * stdlib/Makefile: Likewise.
23215 * iconvdata/Makefile: Likewise.
23216 * sunrpc/Makefile: Likewise.
23217 * io/Makefile: Likewise.
23218 * argp/Makefile: Likewise.
23219 * inet/Makefile: Likewise.
23220 * hesiod/Makefile: Likewise.
23221 * grp/Makefile: Likewise.
23222 * csu/Makefile: Likewise.
23223 * wctype/Makefile: Likewise.
23224 * crypt/Makefile: Likewise.
23225 * libio/Makefile: Likewise.
23226 * string/Makefile: Likewise.
23227 * nis/Makefile: Likewise.
23228 * resolv/Makefile: Likewise.
23229 * stdio-common/Makefile: Likewise.
23230 * wcsmbs/Makefile: Likewise.
23231 * dlfcn/Makefile: Likewise.
23232 * posix/Makefile: Likewise.
23233
23234 [BZ #6959]
23235 * timezone/Makefile: Don't install timezone files, just the programs
23236 and scripts.
23237
23238 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23239
23240 * nss/databases.def: Add missing gshadow entry.
23241
23242 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23243
23244 2012-03-06 Marek Polacek <polacek@redhat.com>
23245
23246 [BZ #13726]
23247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23249 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23250 * stdio-common/tst-long-dbl-fphex.c: New file.
23251
23252 2012-03-06 David S. Miller <davem@davemloft.net>
23253
23254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23255 (set_obp_int): New function.
23256 (get_obp_int): New function.
23257 (__get_clockfreq_via_dev_openprom): Likewise.
23258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23259 Avoid unused variable warnings on 'val' and use builtin_expect.
23260 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23261 __builtin_expect.
23262 (INLINE_CLONE_SYSCALL): Likewise.
23263
23264 2012-03-05 David S. Miller <davem@davemloft.net>
23265
23266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23267
23268 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23269
23270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23271
23272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23273 only for |x| >= 40.
23274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23275
23276 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23277
23278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23279 Replace gettimeofday with __vdso_gettimeofday.
23280
23281 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23282 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23283 __vdso_clock_gettime and __vdso_getcpu.
23284
23285 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23286 time with __vdso_time.
23287
23288 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23289
23290 * manual/lang.texi (size_t): Note types to which size_t may be
23291 equivalent with the GNU C Library, but do not describe when
23292 differences between them are significant.
23293
23294 2012-03-05 Andreas Jaeger <aj@suse.de>
23295
23296 * sysdeps/i386/fpu/libm-test-ulps: Update.
23297
23298 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23299
23300 [BZ #3976]
23301 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23302 (__ieee754_pow): Save and restore rounding mode and use
23303 round-to-nearest for main computations.
23304 * math/libm-test.inc (pow_test_tonearest): New function.
23305 (pow_test_towardzero): Likewise.
23306 (pow_test_downward): Likewise.
23307 (pow_test_upward): Likewise.
23308 (main): Call the new functions.
23309 * sysdeps/i386/fpu/libm-test-ulps: Update.
23310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23311
23312 [BZ #3976]
23313 * math/libm-test.inc (cosh_test_tonearest): New function.
23314 (cosh_test_towardzero): Likewise.
23315 (cosh_test_downward): Likewise.
23316 (cosh_test_upward): Likewise.
23317 (sinh_test_tonearest): Likewise.
23318 (sinh_test_towardzero): Likewise.
23319 (sinh_test_downward): Likewise.
23320 (sinh_test_upward): Likewise.
23321 (main): Call the new functions.
23322 * sysdeps/i386/fpu/libm-test-ulps: Update.
23323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23324
23325 2012-03-05 Tom de Vries <tom@codesourcery.com>
23326
23327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23328 default stack guard is set in last bytes.
23329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23330
23331 2012-03-05 Kees Cook <keescook@chromium.org>
23332
23333 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23334
23335 [BZ #13656]
23336 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23337 possibly allocate from heap instead of stack.
23338 * stdio-common/bug-vfprintf-nargs.c: New file.
23339 * stdio-common/Makefile (tests): Add nargs overflow test.
23340
23341 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23342
23343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23344
23345 2012-03-03 Marek Polacek <polacek@redhat.com>
23346
23347 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23348 * math/math_private.h: Likewise.
23349 * stdlib/tst-strtod.c: Likewise.
23350 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23351 * sysdeps/x86_64/bits/atomic.h: Likewise.
23352
23353 2012-03-02 David S. Miller <davem@davemloft.net>
23354
23355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23359 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23360 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23361 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23362 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23363
23364 2012-03-02 Roland McGrath <roland@hack.frob.com>
23365
23366 [BZ #13792]
23367 * manual/examples/README: New file, says the example source files
23368 can be used under GPL>=2.
23369 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23370 line containing just "*/".
23371 * manual/examples/add.c: Add copyright header (GPL>=2).
23372 * manual/examples/argp-ex1.c: Likewise.
23373 * manual/examples/argp-ex2.c: Likewise.
23374 * manual/examples/argp-ex3.c: Likewise.
23375 * manual/examples/argp-ex4.c: Likewise.
23376 * manual/examples/atexit.c: Likewise.
23377 * manual/examples/db.c: Likewise.
23378 * manual/examples/dir.c: Likewise.
23379 * manual/examples/dir2.c: Likewise.
23380 * manual/examples/execinfo.c: Likewise.
23381 * manual/examples/filecli.c: Likewise.
23382 * manual/examples/filesrv.c: Likewise.
23383 * manual/examples/fmtmsgexpl.c: Likewise.
23384 * manual/examples/genpass.c: Likewise.
23385 * manual/examples/inetcli.c: Likewise.
23386 * manual/examples/inetsrv.c: Likewise.
23387 * manual/examples/isockad.c: Likewise.
23388 * manual/examples/longopt.c: Likewise.
23389 * manual/examples/memopen.c: Likewise.
23390 * manual/examples/memstrm.c: Likewise.
23391 * manual/examples/mkfsock.c: Likewise.
23392 * manual/examples/mkisock.c: Likewise.
23393 * manual/examples/mygetpass.c: Likewise.
23394 * manual/examples/pipe.c: Likewise.
23395 * manual/examples/popen.c: Likewise.
23396 * manual/examples/rprintf.c: Likewise.
23397 * manual/examples/search.c: Likewise.
23398 * manual/examples/select.c: Likewise.
23399 * manual/examples/setjmp.c: Likewise.
23400 * manual/examples/sigh1.c: Likewise.
23401 * manual/examples/sigusr.c: Likewise.
23402 * manual/examples/stpcpy.c: Likewise.
23403 * manual/examples/strdupa.c: Likewise.
23404 * manual/examples/strftim.c: Likewise.
23405 * manual/examples/strncat.c: Likewise.
23406 * manual/examples/subopt.c: Likewise.
23407 * manual/examples/swapcontext.c: Likewise.
23408 * manual/examples/termios.c: Likewise.
23409 * manual/examples/testopt.c: Likewise.
23410 * manual/examples/testpass.c: Likewise.
23411 * manual/examples/timeval_subtract.c: Likewise.
23412
23413 [BZ #13792]
23414 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23415 function to ...
23416 * manual/timeval_subtract.c.texi: ... here, new file.
23417
23418 2012-03-02 David S. Miller <davem@davemloft.net>
23419
23420 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23421
23422 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23423
23424 [BZ #3976]
23425 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23426 (__sin): Save and restore rounding mode and use round-to-nearest
23427 for all computations.
23428 (__cos): Save and restore rounding mode and use round-to-nearest
23429 for all computations.
23430 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23431 <fenv.h>.
23432 (tan): Save and restore rounding mode and use round-to-nearest for
23433 all computations.
23434 * math/libm-test.inc (cos_test_tonearest): New function.
23435 (cos_test_towardzero): Likewise.
23436 (cos_test_downward): Likewise.
23437 (cos_test_upward): Likewise.
23438 (sin_test_tonearest): Likewise.
23439 (sin_test_towardzero): Likewise.
23440 (sin_test_downward): Likewise.
23441 (sin_test_upward): Likewise.
23442 (tan_test_tonearest): Likewise.
23443 (tan_test_towardzero): Likewise.
23444 (tan_test_downward): Likewise.
23445 (tan_test_upward): Likewise.
23446 (main): Call the new functions.
23447 * sysdeps/i386/fpu/libm-test-ulps: Update.
23448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23449
23450 [BZ #10135]
23451 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23452 small n, then large n, before computing and testing k+n.
23453 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23455 Likewise.
23456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23457 Likewise.
23458 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23459 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23462 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23466 * math/libm-test.inc (scalbn_test): Add more tests.
23467 (scalbln_test): Likewise.
23468
23469 * manual/filesys.texi (mode_t): Describe constraints on size and
23470 signedness, not exact equivalence to a particular type.
23471 (ino_t): Likewise.
23472 (ino64_t): Likewise.
23473 (dev_t): Likewise.
23474 (nlink_t): Likewise.
23475 (blkcnt_t): Likewise.
23476 (blkcnt64_t): Likewise.
23477 * manual/llio.texi (off_t): Likewise.
23478
23479 [BZ #3976]
23480 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23481 (__ieee754_exp): Save and restore rounding mode and use
23482 round-to-nearest for all computations.
23483 * math/libm-test.inc (exp_test_tonearest): New function.
23484 (exp_test_towardzero): Likewise.
23485 (exp_test_downward): Likewise.
23486 (exp_test_upward): Likewise.
23487 (main): Call the new functions.
23488 * sysdeps/i386/fpu/libm-test-ulps: Update.
23489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23490
23491 2012-03-01 Chris Demetriou <cgd@google.com>
23492
23493 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23494 have predictable order.
23495
23496 2012-03-01 David S. Miller <davem@davemloft.net>
23497
23498 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23499
23500 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23501 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23502 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23503 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23504
23505 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23506 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23507 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23509 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23510 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23511 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23512 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23513 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23514
23515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23516
23517 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23518 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23519 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23520
23521 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23522 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23523 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23524 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23525 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23528 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23529 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23530 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23531 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23532 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23534 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23535 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23537 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23538 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23539 * sysdeps/sparc/elf/configure: Regenerated.
23540
23541 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23542
23543 * configure.in (AS, LD): Require binutils 2.20 or later.
23544 * configure: Regenerated.
23545 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23546 as required minimum version.
23547 * INSTALL: Regenerated.
23548
23549 [BZ #2541]
23550 [BZ #4108]
23551 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23552 before squaring exponent.
23553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23554 bottom long double and 27 bits of top long double before squaring
23555 exponent.
23556 * math/libm-test.inc (erfc_test): Add more tests.
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23560
23561 2012-03-01 Kai Tietz <ktietz@redhat.com>
23562
23563 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23564 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23565 containing bit-fields.
23566 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23567 * soft-fp/single.h (_FP_UNION_S): Likewise.
23568 * soft-fp/double.h (_FP_UNION_D): Likewise.
23569
23570 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23571
23572 [BZ #13786]
23573 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23574 not include ../strcmp.S.
23575 [USE_AS_STRNCASECMP_L]: Likewise.
23576 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23577 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23578 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23579 (__strncasecmp_l_ia32): Define as alias to
23580 __strncasecmp_l_nonascii.
23581
23582 [BZ #5794]
23583 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23584 * sysdeps/i386/fpu/libm-test-ulps: Update.
23585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23586
23587 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23589
23590 2012-02-29 Jeff Law <law@redhat.com>
23591
23592 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23593 out of bounds read.
23594
23595 2012-02-29 Marek Polacek <polacek@redhat.com>
23596
23597 [BZ #13706]
23598 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23599 * elf/Makefile: Add rules to run tst-unused-dep.out.
23600
23601 2012-02-28 David S. Miller <davem@davemloft.net>
23602
23603 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23604 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23605 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23606 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23607 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23608 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23609
23610 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23611
23612 * math/libm-test.inc (llround_test): Move one test from
23613 lround_test. Use TEST_f_L in moved test.
23614 (lround_test): Move misplaced test to llround_test. Add testcase
23615 from bug 2561.
23616
23617 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23618
23619 * sysdeps/x86_64/fpu/e_expf.S: New file.
23620 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23621
23622 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23623
23624 [BZ #13637]
23625 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23626 of remain_len that may cause incomplete multi-byte character and
23627 false match.
23628 * posix/bug-regex33.c: New file.
23629 * posix/Makefile (tests): Add bug-regex33.
23630
23631 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23632
23633 * manual/macros.texi: New file.
23634 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23635 * manual/libc.texinfo: Include macros.texi.
23636 * manual/creatute.texi: Likewise.
23637 * manual/install.texi: Likewise.
23638 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23639 @glibcadj{} in references to the GNU C Library.
23640 * manual/charset.texi: Likewise.
23641 * manual/conf.texi: Likewise.
23642 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23643 when not using those macros.
23644 * manual/creature.texi: Likewise.
23645 * manual/crypt.texi: Likewise.
23646 * manual/errno.texi: Likewise.
23647 * manual/filesys.texi: Likewise.
23648 * manual/header.texi: Likewise.
23649 * manual/install.texi: Likewise.
23650 * manual/intro.texi: Likewise.
23651 * manual/io.texi: Likewise.
23652 * manual/job.texi: Likewise.
23653 * manual/lang.texi: Likewise.
23654 * manual/libc.texiinfo: Likewise.
23655 * manual/llio.texi: Likewise.
23656 * manual/locale.texi: Likewise.
23657 * manual/maint.texi: Likewise.
23658 * manual/math.texi: Likewise.
23659 * manual/memory.texi: Likewise.
23660 * manual/message.texi: Likewise.
23661 * manual/nss.texi: Likewise.
23662 * manual/pattern.texi: Likewise.
23663 * manual/process.texi: Likewise.
23664 * manual/resource.texi: Likewise.
23665 * manual/search.texi: Likewise.
23666 * manual/setjmp.texi: Likewise.
23667 * manual/signal.texi: Likewise.
23668 * manual/socket.texi: Likewise.
23669 * manual/startup.texi: Likewise.
23670 * manual/stdio.texi: Likewise.
23671 * manual/string.texi: Likewise.
23672 * manual/sysinfo.texi: Likewise.
23673 * manual/syslog.texi: Likewise.
23674 * manual/terminal.texi: Likewise.
23675 * manual/time.texi: Likewise.
23676 * manual/users.texi: Likewise.
23677 * INSTALL: Regenerated.
23678 * NOTES: Regenerated.
23679 * sysdeps/gnu/errlist.c: Regenerated.
23680
23681 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23682
23683 * include/dirent.h: Include <dirstream.h> before
23684 <dirent/dirent.h>.
23685
23686 2012-02-28 David S. Miller <davem@davemloft.net>
23687
23688 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23689 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23690 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23691 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23692
23693 2012-02-27 David S. Miller <davem@davemloft.net>
23694
23695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23697 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23698 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23699
23700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23701 frame pointer instead of stack pointer relative arg slot.
23702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23705
23706 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23707
23708 [BZ #3992]
23709 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23710
23711 2012-02-27 David S. Miller <davem@davemloft.net>
23712
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23717 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23718 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23719 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23720 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23721
23722 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23723
23724 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23725 later. Allow versions 5-9.
23726 * configure: Regenerated.
23727 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23728 required minimum version and 4.6 as recommended version. Do not
23729 mention bugs in GCC 2.7 and 2.8.
23730 * INSTALL: Regenerated.
23731
23732 2012-02-27 David S. Miller <davem@davemloft.net>
23733
23734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23740 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23741 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23742
23743 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23744 manipulate bits before adding and subtracting TWO112[sx].
23745 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23746
23747 2012-02-27 Roland McGrath <roland@hack.frob.com>
23748
23749 [BZ #13775]
23750 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23751 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23752 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23753 being in POSIX, because they are in 1003.1-2008.
23754
23755 * rt/tst-aio.c: Include <fcntl.h>.
23756 * rt/tst-aio7.c: Likewise.
23757 * rt/tst-aio64.c: Likewise.
23758
23759 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23760
23761 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23762
23763 * manual/install.texi (--with-headers): Describe headers as
23764 interface headers, not private headers.
23765 (Specific advice for GNU/Linux systems): Describe use of headers
23766 from "make headers_install", not private headers from older
23767 kernels.
23768 * INSTALL: Regenerated.
23769 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23770 Change to 2.6.19.
23771 * sysdeps/unix/sysv/linux/configure: Regenerated.
23772
23773 * manual/llio.texi (fclean): Remove documentation.
23774
23775 * manual/Makefile (libc-texi-generated): New variable. Include
23776 version.texi.
23777 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23778 $(libc-texi-generated), not duplicated list of files.
23779 (version.texi, stamp-version): New rules.
23780 (realclean): Remove $(libc-texi-generated), not individual files
23781 from that list. Do not remove dir-add.texinfo.
23782 * manual/libc.texinfo: Comment out uses of edition numbers and
23783 references to printed manual. Remove last-updated dates.
23784 (EDITION): Comment out.
23785 (ISBN): Likewise.
23786 (VERSION, UPDATED): Remove.
23787 (version.texi): Include.
23788
23789 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23790
23791 * sysdeps/posix/spawni.c: Include <signal.h>.
23792 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23793 * sysdeps/pthread/aio_fsync.c: Likewise.
23794
23795 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23796
23797 * conform/Makefile (tests): Run only when not cross-compiling and
23798 when fast-check is not defined.
23799
23800 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23801 * conform/data/limits.h-data: Fixes for POSIX2008.
23802 * conform/run-conformtest.sh: Run all tests.
23803 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23804 headers.
23805 * include/bits/dlfcn.h: Likewise.
23806 * include/langinfo.h: Likewise.
23807 * include/monetary.h: Likewise.
23808 * include/sys/poll.h: Likewise.
23809
23810 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23811 for __USE_GNU.
23812 * posix/spawn.h: Define __need_sigset_t.
23813 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23814 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23815 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23816 to get sigevent_t only.
23817 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23818 only for __USE_GNU.
23819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23820 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23821 process_vm_writev only for __USE_GNU.
23822 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23823
23824 * conform/Makefile: For now ignore errors from run-conformtest.
23825 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23826 POSIX to avoid namespace pollution. Don't prepend headers.
23827 * conform/data/aio.h-data: Fixes for POSIX testing.
23828 * conform/data/fcntl.h-data: Likewise.
23829 * conform/data/glob.h-data: Likewise.
23830 * conform/data/grp.h-data: Likewise.
23831 * conform/data/pthread.h-data: Likewise.
23832 * conform/data/pwd.h-data: Likewise.
23833 * conform/data/signal.h-data: Likewise.
23834 * conform/data/spawn.h-data: Likewise.
23835 * conform/data/stdio.h-data: Likewise.
23836 * conform/data/stdlib.h-data: Likewise.
23837 * conform/data/stropts.h-data: Likewise.
23838 * conform/data/sys/mman.h-data: Likewise.
23839 * conform/data/sys/stat.h-data: Likewise.
23840 * conform/data/sys/types.h-data: Likewise.
23841 * conform/data/sys/wait.h-data: Likewise.
23842 * conform/data/time.h-data: Likewise.
23843 * conform/data/unistd.h-data: Likewise.
23844 * conform/data/utime.h-data: Likewise.
23845
23846 * io/sys/stat.h: fchmod was always in POSIX.
23847 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23848 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23849 * rt/aio.h: Define __need_timespec before including <time.h>.
23850 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23851 struct. Add forward declaration of pthread_attr_t and use it in
23852 sigevent.
23853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23855 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23856 always remove CLK_TCK definition.
23857
23858 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23859
23860 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23861
23862 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23863
23864 * conform/run-conformtest.sh: New file.
23865 * conform/Makefile: Run run-conformtest for tests.
23866 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23867 support.
23868
23869 * conform/data/uchar.h-data: New file.
23870 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23871 * conform/data/arpa/inet.h-data: Likewise.
23872 * conform/data/assert.h-data: Likewise.
23873 * conform/data/complex.h-data: Likewise.
23874 * conform/data/cpio.h-data: Likewise.
23875 * conform/data/ctype.h-data: Likewise.
23876 * conform/data/dirent.h-data: Likewise.
23877 * conform/data/dlfcn.h-data: Likewise.
23878 * conform/data/errno.h-data: Likewise.
23879 * conform/data/fcntl.h-data: Likewise.
23880 * conform/data/float.h-data: Likewise.
23881 * conform/data/fmtmsg.h-data: Likewise.
23882 * conform/data/fnmatch.h-data: Likewise.
23883 * conform/data/ftw.h-data: Likewise.
23884 * conform/data/glob.h-data: Likewise.
23885 * conform/data/grp.h-data: Likewise.
23886 * conform/data/iconv.h-data: Likewise.
23887 * conform/data/inttypes.h-data: Likewise.
23888 * conform/data/langinfo.h-data: Likewise.
23889 * conform/data/libgen.h-data: Likewise.
23890 * conform/data/limits.h-data: Likewise.
23891 * conform/data/locale.h-data: Likewise.
23892 * conform/data/math.h-data: Likewise.
23893 * conform/data/monetary.h-data: Likewise.
23894 * conform/data/mqueue.h-data: Likewise.
23895 * conform/data/ndbm.h-data: Likewise.
23896 * conform/data/net/if.h-data: Likewise.
23897 * conform/data/netdb.h-data: Likewise.
23898 * conform/data/netinet/in.h-data: Likewise.
23899 * conform/data/nl_types.h-data: Likewise.
23900 * conform/data/poll.h-data: Likewise.
23901 * conform/data/pthread.h-data: Likewise.
23902 * conform/data/pwd.h-data: Likewise.
23903 * conform/data/regex.h-data: Likewise.
23904 * conform/data/sched.h-data: Likewise.
23905 * conform/data/search.h-data: Likewise.
23906 * conform/data/semaphore.h-data: Likewise.
23907 * conform/data/setjmp.h-data: Likewise.
23908 * conform/data/signal.h-data: Likewise.
23909 * conform/data/spawn.h-data: Likewise.
23910 * conform/data/stdarg.h-data: Likewise.
23911 * conform/data/stdio.h-data: Likewise.
23912 * conform/data/stdlib.h-data: Likewise.
23913 * conform/data/string.h-data: Likewise.
23914 * conform/data/strings.h-data: Likewise.
23915 * conform/data/stropts.h-data: Likewise.
23916 * conform/data/sys/ipc.h-data: Likewise.
23917 * conform/data/sys/mman.h-data: Likewise.
23918 * conform/data/sys/msg.h-data: Likewise.
23919 * conform/data/sys/resource.h-data: Likewise.
23920 * conform/data/sys/select.h-data: Likewise.
23921 * conform/data/sys/sem.h-data: Likewise.
23922 * conform/data/sys/shm.h-data: Likewise.
23923 * conform/data/sys/socket.h-data: Likewise.
23924 * conform/data/sys/stat.h-data: Likewise.
23925 * conform/data/sys/statvfs.h-data: Likewise.
23926 * conform/data/sys/time.h-data: Likewise.
23927 * conform/data/sys/timeb.h-data: Likewise.
23928 * conform/data/sys/times.h-data: Likewise.
23929 * conform/data/sys/types.h-data: Likewise.
23930 * conform/data/sys/uio.h-data: Likewise.
23931 * conform/data/sys/un.h-data: Likewise.
23932 * conform/data/sys/utsname.h-data: Likewise.
23933 * conform/data/sys/wait.h-data: Likewise.
23934 * conform/data/syslog.h-data: Likewise.
23935 * conform/data/tar.h-data: Likewise.
23936 * conform/data/termios.h-data: Likewise.
23937 * conform/data/utime.h-data: Likewise.
23938 * conform/data/utmpx.h-data: Likewise.
23939 * conform/data/varargs.h-data: Likewise.
23940 * conform/data/wchar.h-data: Likewise.
23941 * conform/data/wctype.h-data: Likewise.
23942 * conform/data/wordexp.h-data: Likewise.
23943
23944 * include/stropts.h: New file.
23945 * include/uchar.h: New file.
23946 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23947 * include/assert.h: Likewise.
23948 * include/ctype.h: Likewise.
23949 * include/dirent.h: Likewise.
23950 * include/dlfcn.h: Likewise.
23951 * include/fcntl.h: Likewise.
23952 * include/fnmatch.h: Likewise.
23953 * include/glob.h: Likewise.
23954 * include/grp.h: Likewise.
23955 * include/libio.h: Likewise.
23956 * include/locale.h: Likewise.
23957 * include/math.h: Likewise.
23958 * include/net/if.h: Likewise.
23959 * include/netdb.h: Likewise.
23960 * include/netinet/in.h: Likewise.
23961 * include/pthread.h: Likewise.
23962 * include/pwd.h: Likewise.
23963 * include/regex.h: Likewise.
23964 * include/sched.h: Likewise.
23965 * include/search.h: Likewise.
23966 * include/setjmp.h: Likewise.
23967 * include/signal.h: Likewise.
23968 * include/stdio.h: Likewise.
23969 * include/stdlib.h: Likewise.
23970 * include/string.h: Likewise.
23971 * include/sys/cdefs.h: Likewise.
23972 * include/sys/mman.h: Likewise.
23973 * include/sys/msg.h: Likewise.
23974 * include/sys/resource.h: Likewise.
23975 * include/sys/select.h: Likewise.
23976 * include/sys/socket.h: Likewise.
23977 * include/sys/stat.h: Likewise.
23978 * include/sys/statvfs.h: Likewise.
23979 * include/sys/time.h: Likewise.
23980 * include/sys/times.h: Likewise.
23981 * include/sys/uio.h: Likewise.
23982 * include/sys/utsname.h: Likewise.
23983 * include/sys/wait.h: Likewise.
23984 * include/termios.h: Likewise.
23985 * include/time.h: Likewise.
23986 * include/ulimit.h: Likewise.
23987 * include/unistd.h: Likewise.
23988 * include/utime.h: Likewise.
23989 * include/wchar.h: Likewise.
23990 * include/wctype.h: Likewise.
23991 * include/wordexp.h: Likewise.
23992
23993 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23994
23995 * time/time.h: TIME_UTC must be a macro.
23996 Make timespec_get available for ISO C11 only as well.
23997
23998 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23999
24000 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24001 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24002
24003 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24004
24005 * configure.in: Use -o not -a in test for unsupported multi-arch.
24006
24007 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24008
24009 * manual/texinfo.tex: Update to version 2012-01-19.16.
24010
24011 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24012
24013 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24014
24015 2012-02-24 Roland McGrath <roland@hack.frob.com>
24016
24017 [BZ #13738]
24018 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24019 * manual/fdl-1.3.texi: New file.
24020 * manual/fdl-1.1.texi: File removed.
24021
24022 [BZ #13738]
24023 * manual/libc.texinfo (FDL_VERSION): New @set.
24024 Use it for mention of FDL in cover text.
24025 (Documentation License): Use it in @include file name.
24026
24027 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24028 Roland McGrath <roland@hack.frob.com>
24029
24030 [BZ #5461]
24031 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24032 not LONG_LONG_MAX and LONG_LONG_MIN.
24033 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24034 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24035 name.
24036 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24037
24038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24039
24040 [BZ #2547]
24041 [BZ #11365]
24042 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24043 manipulate bits before adding and subtracting TWO23[sx].
24044 * math/libm-test.inc (nearbyint_test): Add more tests.
24045
24046 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24047
24048 [BZ #2548]
24049 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24050 bits before adding and subtracting TWO23[sx].
24051 * math/libm-test.inc (rint_test): Add more tests.
24052 (rint_test_tonearest): Likewise.
24053 (rint_test_towardzero): Likewise.
24054 (rint_test_downward): Likewise.
24055 (rint_test_upward: Likewise.
24056
24057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24058
24059 [BZ #10110]
24060 * include/stdc-predef.h: New file. Extracted from features.h.
24061 * include/features.h: Include stdc-predef.h.
24062 * Makefile (headers): Add stdc-predef.h.
24063 * CONFORMANCE (Compiler limitations): Update.
24064
24065 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24066
24067 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24068
24069 2012-02-21 David S. Miller <davem@davemloft.net>
24070
24071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24072 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24073
24074 2012-02-20 David S. Miller <davem@davemloft.net>
24075
24076 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24077 using a normal save/restore sequence, rather than allocating a
24078 dummy stack frame just to store a frame pointer and restore.
24079 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24080
24081 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24082
24083 * manual/install.texi: Fix stray word in line-wrapped comment.
24084
24085 2012-02-20 David S. Miller <davem@davemloft.net>
24086
24087 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24088 both binutils and gcc support GOTDATA.
24089
24090 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24091 "rd %pc" in the PIC register setup sequences.
24092
24093 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24094 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24095 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24096 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24097 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24100 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24102 (SYSCALL_ERROR_HANDLER): Likewise.
24103 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24104 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24106 (SYSCALL_ERROR_HANDLER): Likewise.
24107
24108 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24109 (HAVE_GCC_GOTDATA): New.
24110 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24111 relocation support in both binutils and gcc.
24112 * sysdeps/sparc/elf/configure: Regenerate.
24113
24114 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24115 * sysdeps/sparc/sparc32/elf/configure: Delete.
24116 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24117 * sysdeps/sparc/sparc64/elf/configure: Delete.
24118 * sysdeps/sparc/elf/configure.in: New file.
24119 * sysdeps/sparc/elf/configure: Generate.
24120
24121 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24122 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24123 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24124 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24125 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24126
24127 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24128
24129 * manual/install.texi: Do not mention specific glibc version
24130 numbers.
24131 * manual/libc.texinfo (VERSION, UPDATED): Update.
24132 (@copying): Use @copyright{} and range of years.
24133
24134 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24135
24136 [BZ #13695]
24137 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24138 [crti.S not in sysdirs] (generated): Do not append.
24139 [crti.S not in sysdirs] (omit-deps): Likewise.
24140 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24141 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24142 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24143 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24144 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24145 Likewise.
24146 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24147 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24148 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24149 * csu/defs.awk: Remove file.
24150 * sysdeps/generic/initfini.c: Likewise.
24151 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24152 variable.
24153 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24154 Likewise.
24155
24156 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24157
24158 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24159 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24160 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24161 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24162 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24163 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24164 <bits/epoll.h>.
24165 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24166 (__EPOLL_PACKED): Define to empty if not defined by
24167 <bits/epoll.h>.
24168 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24170 bits/epoll.h.
24171
24172 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24173
24174 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24175 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24176 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24177 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24178 <bits/timerfd.h>.
24179 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24181 bits/timerfd.h.
24182
24183 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24184
24185 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24186 in C locale.
24187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24188 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24189 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24191
24192 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24193
24194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24195 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24196
24197 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24198
24199 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24200 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24201 defined.
24202 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24203 Likewise.
24204 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24205 entry for 2.16.
24206
24207 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24208
24209 * math/w_acos.c: Use non-signaling floating-point comparisons.
24210 * math/w_acosf.c: Likewise.
24211 * math/w_acosh.c: Likewise.
24212 * math/w_acoshf.c: Likewise.
24213 * math/w_acoshl.c: Likewise.
24214 * math/w_acosl.c: Likewise.
24215 * math/w_asin.c: Likewise.
24216 * math/w_asinf.c: Likewise.
24217 * math/w_asinl.c: Likewise.
24218 * math/w_atanh.c: Likewise.
24219 * math/w_atanhf.c: Likewise.
24220 * math/w_atanhl.c: Likewise.
24221 * math/w_exp2.c: Likewise.
24222 * math/w_exp2f.c: Likewise.
24223 * math/w_exp2l.c: Likewise.
24224 * math/w_j0.c: Likewise.
24225 * math/w_j0f.c: Likewise.
24226 * math/w_j0l.c: Likewise.
24227 * math/w_j1.c: Likewise.
24228 * math/w_j1f.c: Likewise.
24229 * math/w_j1l.c: Likewise.
24230 * math/w_jn.c: Likewise.
24231 * math/w_jnf.c: Likewise.
24232 * math/w_log.c: Likewise.
24233 * math/w_log10.c: Likewise.
24234 * math/w_log10f.c: Likewise.
24235 * math/w_log10l.c: Likewise.
24236 * math/w_log2.c: Likewise.
24237 * math/w_log2f.c: Likewise.
24238 * math/w_log2l.c: Likewise.
24239 * math/w_logf.c: Likewise.
24240 * math/w_logl.c: Likewise.
24241 * math/w_sqrt.c: Likewise.
24242 * math/w_sqrtf.c: Likewise.
24243 * math/w_sqrtl.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24245 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24247 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24248 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24249
24250 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24251
24252 [BZ #9739]
24253 * manual/string.texi (strnlen): Use correct parameter name in
24254 equivalent expression.
24255
24256 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24257
24258 [BZ #11174]
24259 * manual/users.texi (seteuid): Consistently use neweuid for
24260 argument name.
24261
24262 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24263
24264 [BZ #13704]
24265 * manual/nss.texi (Services in the NSS configuration): Correct
24266 list of services in example configuration file.
24267
24268 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24269
24270 [BZ #11322]
24271 * manual/arith.texi: Remove statements about negative zero
24272 behaving identically to zero.
24273
24274 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #5993]
24277 * manual/install.texi: Do not document upgrading from libc5.
24278
24279 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24280
24281 [BZ #4596]
24282 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24283
24284 2012-02-18 David S. Miller <davem@davemloft.net>
24285
24286 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24287 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24288 %o7 across the call.
24289 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24290 instead.
24291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24292 SETUP_PIC_REG_LEAF.
24293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24294 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24295 * sysdeps/sparc/crtn.S: Likewise.
24296
24297 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24298
24299 * aout/Makefile: Remove.
24300
24301 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24302
24303 [BZ #13058]
24304 * manual/examples/argp-ex1.c (main): Format definition in GNU
24305 style.
24306 * manual/examples/argp-ex2.c (main): Likewise.
24307 * manual/examples/argp-ex3.c (main): Likewise.
24308 * manual/examples/argp-ex4.c (main): Likewise.
24309 * manual/examples/longopt.c (main): Use new-style prototype
24310 definition.
24311 * manual/examples/strncat.c (main): Specify return type and use
24312 (void) for arguments.
24313 * manual/examples/subopt.c (main): Use char **argv argument.
24314
24315 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24316
24317 [BZ #5077]
24318 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24319 rounding modes.
24320
24321 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24322
24323 [BZ #6907]
24324 * manual/string.texi (strchr): Change when strchrnul is
24325 recommended.
24326
24327 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24328
24329 [BZ #174]
24330 * manual/locale.texi (setlocale): Document LOCPATH.
24331
24332 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24333
24334 [BZ #10210]
24335 * manual/process.texi (execle): Move @dots{} before last argument.
24336
24337 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24338
24339 [BZ #12047]
24340 * manual/charset.texi (Generic Charset Conversion): Fix typo
24341 (LC_TYPE -> LC_CTYPE).
24342
24343 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24344
24345 [BZ #5805]
24346 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24347 (scalbnf): Likewise.
24348 (scalbnl): Likewise.
24349 (scalbln): Likewise.
24350 (scalblnf): Likewise.
24351 (scalblnl): Likewise.
24352 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24353 (vwarnx): Likewise.
24354 (verr): Likewise.
24355 (verrx): Likewise.
24356 * manual/filesys.texi (telldir): Use braces around return type.
24357 * manual/llio.texi (mmap): Add space after comma.
24358 (mmap64): Likewise.
24359 * manual/math.texi (jn): Use @var{} on parameter names.
24360 (jnf): Likewise.
24361 (jnl): Likewise.
24362 (yn): Likewise.
24363 (ynf): Likewise.
24364 (ynl): Likewise.
24365 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24366 line.
24367 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24368 "...".
24369 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24370 (sched_get_priority_max): Likewise.
24371 * manual/signal.texi (sigvec): Add space after comma.
24372 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24373 names.
24374 (if_indextoname): Likewise.
24375 (if_freenameindex): Likewise.
24376 (sendto): Use ',' instead of '.' in prototype.
24377 * manual/startup.texi (syscall): Use @dots{} instead of literal
24378 "...".
24379 * manual/stdio.texi (__fpending): Separate initial words of
24380 paragraph from @deftypefun line.
24381 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24382 "...".
24383 (vsyslog): Use @var{} on parameter names.
24384 * manual/terminal.texi (stty): Use @var{} on parameter names.
24385 * manual/users.texi (getutmp): Use @var{} on parameter names.
24386 (getutmpx): Likewise.
24387
24388 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24389
24390 [BZ #6884]
24391 * manual/stdio.texi (fopen): Fix typos in description of
24392 ",ccs=STRING".
24393
24394 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24395
24396 [BZ #4026]
24397 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24398 get clock_id definition.
24399
24400 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24401
24402 [BZ #4822]
24403 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24404 (madvise): Cast every argument to void on its own.
24405
24406 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24407
24408 [BZ #9902]
24409 * manual/startup.texi (Exit Status): Fix typo.
24410
24411 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24412
24413 [BZ #10140]
24414 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24415 * manual/examples/argp-ex2.c: Likewise.
24416 * manual/examples/argp-ex3.c: Likewise.
24417
24418 2012-02-16 Richard Henderson <rth@redhat.com>
24419
24420 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24421 * sysdeps/s390/s390-32/initfini.c: Remove.
24422 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24423 * sysdeps/s390/s390-64/initfini.c: Remove.
24424
24425 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24426
24427 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24428 compiler output for sysdeps/generic/initfini.c.
24429 * sysdeps/sh/elf/initfini.c: Remove file.
24430
24431 2012-02-16 David S. Miller <davem@davemloft.net>
24432
24433 [BZ #11494]
24434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24435
24436 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24437 * sysdeps/sparc/crti.S: New file.
24438 * sysdeps/sparc/crtn.S: New file.
24439 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24440 * sysdeps/sparc/sparc64/Makefile: Likewise.
24441
24442 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24443
24444 [BZ #3335]
24445 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24446
24447 2012-02-15 Roland McGrath <roland@hack.frob.com>
24448
24449 [BZ #4822]
24450 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24451
24452 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24453 (write, read, close): Likewise.
24454 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24455
24456 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24457
24458 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24459 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24460 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24461 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24462 <bits/signalfd.h>.
24463 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24465 bits/signalfd.h.
24466
24467 2012-02-14 Marek Polacek <polacek@redhat.com>
24468
24469 * sysdeps/x86_64/crti.S: New file.
24470 * sysdeps/x86_64/crtn.S: New file.
24471 * sysdeps/x86_64/elf/initfini.c: Remove file.
24472
24473 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24474
24475 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24476 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24477 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24478 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24479 <bits/inotify.h>.
24480 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24482 bits/inotify.h.
24483
24484 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24485
24486 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24487 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24488 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24489 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24490 <bits/eventfd.h>.
24491 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24493 bits/eventfd.h.
24494
24495 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24496
24497 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24498 __feraiseexcept instead of feraiseexcept.
24499
24500 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24501 nanosleep invocations.
24502 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24503 strings, and add error checking for a nanosleep invocations.
24504
24505 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24506
24507 Replace FSF snail mail address with URLs, as per GNU coding standards.
24508 Most of the snail mail addresses were wrong anyway, and omitting
24509 them makes the source code easier to maintain. Almost all of the
24510 changes are to license notices and to locale LC_IDENTIFICATION
24511 addresses, except for this one:
24512 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24513 not its snail mail address.
24514
24515 2012-02-09 Richard Henderson <rth@twiddle.net>
24516
24517 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24518 of kernel-features.h.
24519
24520 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24521
24522 2012-02-08 Marek Polacek <polacek@redhat.com>
24523
24524 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24525 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24526 * sysdeps/gnu/_G_config.h: Likewise.
24527 * sysdeps/generic/_G_config.h: Likewise.
24528
24529 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24530
24531 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24532 tests.
24533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24534
24535 * sysdeps/powerpc/powerpc32/crti.S: New file.
24536 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24537 * sysdeps/powerpc/powerpc64/crti.S: New file.
24538 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24539
24540 * Makeconfig (have-initfini): Don't set.
24541 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24542 * configure.in (nopic_initfini): Don't substitute.
24543 * config.h.in (HAVE_INITFINI): Don't #undef.
24544 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24545 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24546
24547 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24548
24549 Support crti.S and crtn.S provided directly by architectures.
24550 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24551 [crti.S in sysdirs] (omit-deps): Likewise.
24552 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24553 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24554 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24555 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24556 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24557 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24558 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24559 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24560 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24561 compiler output for sysdeps/generic/initfini.c.
24562 * sysdeps/i386/elf/Makefile: Remove file.
24563 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24564
24565 2012-02-07 Marek Polacek <polacek@redhat.com>
24566
24567 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24568 * sysdeps/gnu/_G_config.h: Likewise.
24569 * sysdeps/mach/hurd/_G_config.h: Likewise.
24570
24571 2012-02-07 Marek Polacek <polacek@redhat.com>
24572
24573 * math/Makefile (tests): Add tst-CMPLX2.
24574 * math/tst-CMPLX2.c: New file.
24575
24576 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24577
24578 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24579
24580 * math/libm-test.inc (jn_test): Add missing L suffix.
24581
24582 2012-02-06 Marek Polacek <polacek@redhat.com>
24583
24584 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24585 * sysdeps/i386/fpu/e_powf.S: Likewise.
24586 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24587 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24588 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24589 * sysdeps/i386/fpu/e_pow.S: Likewise.
24590 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24591 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24592 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24593 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24594 * sysdeps/i386/fpu/e_log2.S: Likewise.
24595 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24596 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24597 * sysdeps/i386/fpu/e_powl.S: Likewise.
24598 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24599 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24600 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24601 * sysdeps/i386/fpu/e_logl.S: Likewise.
24602 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24603 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24604 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24605 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24607 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24608 * sysdeps/i386/fpu/e_log.S: Likewise.
24609 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24610 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24611 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24612 * sysdeps/i386/fpu/e_logf.S: Likewise.
24613 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24614 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24615 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24616 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24617 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24618 * sysdeps/i386/fpu/e_log10.S: Likewise.
24619 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24620 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24621 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24622 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24623 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24624 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24625 * sysdeps/i386/asm-syntax.h: Likewise.
24626 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24629 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24630 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24631 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24632 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24633 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24634 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24635 * sysdeps/powerpc/sysdep.h: Likewise.
24636 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24637 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24638
24639 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24640
24641 [BZ #411]
24642 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24643
24644 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24645
24646 * sysdeps/i386/sysdep.h: Include <features.h>.
24647 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24648 version.
24649
24650 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24651
24652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24653 Define.
24654 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24655 LOAD_PIC_REG_STR.
24656
24657 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24658
24659 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24660 (SETUP_PIC_REG): Use GET_PC_THUNK.
24661 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24662 macro.
24663
24664 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24665
24666 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24667 for non-PIC compilation.
24668 (SETUP_PIC_REG): Add .p2align directive.
24669 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24670 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24671 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24672 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24674 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24676 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24677 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24678 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24679 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24680 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24681 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24686 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24688 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24689 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24690 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24691 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24692 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24695 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24697 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24698 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24700 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24701 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24702 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24703 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24704 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24705 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24706 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24707 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24708 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24709 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24710
24711 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24712
24713 * math/tst-CMPLX.c: Include <stdio.h>.
24714
24715 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24716
24717 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24718 float.
24719 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24720 * sysdeps/sparc/bits/mathdef.h: Likewise.
24721
24722 2012-01-31 Marek Polacek <polacek@redhat.com>
24723
24724 * libio/libio.h: Don't define _PARAMS.
24725 * locale/programs/config.h: Don't define PARAMS.
24726 * stdlib/strtol_l.c: Likewise.
24727 (__strtol_l): Remove PARAMS from the prototype.
24728
24729 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24730
24731 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24732 names. Just use the correct names. Remove unnecessary wrapper
24733 functions.
24734 * malloc/arena.c: Likewise.
24735 * malloc/hooks.c: Likewise.
24736
24737 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24738 ARENA_TEST says not to. Simplify test for creation of a new arena.
24739 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24740
24741 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24742
24743 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24744 into tail calls.
24745 (update_get_addr): New function.
24746 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24747 GET_ADDR_MODULE parameter.
24748
24749 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24750
24751 * crypt/cert.c: Remove __STDC__ conditionals.
24752 * crypt/crypt-entry.c: Likewise.
24753 * crypt/crypt_util.c: Likewise.
24754 * libio/filedoalloc.c: Likewise.
24755 * libio/fileops.c: Likewise.
24756 * libio/genops.c: Likewise.
24757 * libio/iofclose.c: Likewise.
24758 * libio/iofdopen.c: Likewise.
24759 * libio/iofopen.c: Likewise.
24760 * libio/iofopen64.c: Likewise.
24761 * libio/iogetdelim.c: Likewise.
24762 * libio/iopopen.c: Likewise.
24763 * libio/obprintf.c: Likewise.
24764 * libio/oldfileops.c: Likewise.
24765 * libio/oldiofclose.c: Likewise.
24766 * libio/oldiofdopen.c: Likewise.
24767 * libio/oldiofopen.c: Likewise.
24768 * libio/oldiopopen.c: Likewise.
24769 * libio/wfiledoalloc.c: Likewise.
24770 * libio/wgenops.c: Likewise.
24771 * locale/programs/xmalloc.c: Likewise.
24772 * misc/syslog.c: Likewise.
24773 * stdio-common/xbug.c: Likewise.
24774 * string/memchr.c: Likewise.
24775 * string/memcmp.c: Likewise.
24776 * string/memrchr.c: Likewise.
24777 * string/rawmemchr.c: Likewise.
24778 * sysdeps/posix/getcwd.c: Likewise.
24779 * time/strftime_l.c: Likewise.
24780
24781 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24782
24783 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24784 * config.make.in (config-cflags-sse2avx): Define.
24785 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24786 Fix typo.
24787
24788 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24789
24790 * scripts/config.guess: Update from upstream config git repository.
24791 * scripts/config.sub: Likewise.
24792
24793 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24794
24795 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24796 (EM_NUM): Update.
24797 (R_TILEPRO_*, R_TILEGX_*): New macros.
24798
24799 * scripts/firstversions.awk: Fix bug in version range handling.
24800
24801 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24802
24803 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24804
24805 * include/sys/epoll.h: New file.
24806 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24807 libc_hidden_def.
24808
24809 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24810
24811 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24812 Avoid unnecessary __WORDSIZE == 64 test.
24813 (fmaxf): Use VEX format if possible.
24814 (fmax): Likewise.
24815 (fminf): Likewise.
24816 (fmin): Likewise.
24817
24818 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24819 * math/math_private.h: Remove libc_fegetround* and
24820 libc_fesetround*.
24821 * sysdeps/i386/configure.in: Check for -msse2avx.
24822 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24823 also if SSE2AVX is defined.
24824 Remove libc_fegetround* and libc_fesetround*.
24825 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24826 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24827 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24828 of HAS_YMM_USABLE.
24829 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24830 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24832 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24833 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24834
24835 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24836
24837 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24838
24839 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24840 size is not set.
24841 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24842
24843 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24844
24845 [BZ #13618]
24846 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24847 relocation.
24848 * Makeconfig (libm): Define.
24849 * elf/Makefile: Add rules to build and run tst-relsort1.
24850 * elf/tst-relsort1.c: New file.
24851 * elf/tst-relsort1mod1.c: New file.
24852 * elf/tst-relsort1mod2.c: New file.
24853
24854 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24855
24856 * math/s_ldexp.c: Remove __STDC__ conditionals.
24857 * math/s_ldexpf.c: Likewise.
24858 * math/s_ldexpl.c: Likewise.
24859 * math/s_nextafter.c: Likewise.
24860 * math/s_nexttowardf.c: Likewise.
24861 * math/s_significand.c: Likewise.
24862 * math/s_significandf.c: Likewise.
24863 * math/s_significandl.c: Likewise.
24864 * math/w_jnl.c: Likewise.
24865 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24866 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24867 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24868 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24869 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24874 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24877 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24878 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24879 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24880 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24884 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24885 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24886 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24887 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24888 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24889 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24890 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24891 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24893 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24895 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24896 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24897 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24898 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24899 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24900 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24901 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24902 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24903 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24904 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24905 * sysdeps/ieee754/k_standard.c: Likewise.
24906 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24907 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24908 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24910 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24911 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24915 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24920 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24922 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24924 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24925 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24926 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24927 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24928 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24931 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24934 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24941 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24942 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24944 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24945 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24946 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24948 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24949 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24950 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24951 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24952 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24954 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24955 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24956 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24959 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24961 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24962 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24963 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24964 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24966 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24967 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24968 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24969 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24972 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24973 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24974 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24975 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24976 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24977 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24978 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24979 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24980 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24981 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24982 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24983 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24984 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24985 * sysdeps/ieee754/s_matherr.c: Likewise.
24986 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24987 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24990
24991 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24992
24993 * crypt/md5.h: Remove __STDC__ conditionals.
24994 * libio/libioP.h: Likewise.
24995 * locale/programs/config.h: Likewise.
24996 * sysdeps/generic/sysdep.h: Likewise.
24997 * sysdeps/i386/asm-syntax.h: Likewise.
24998 * sysdeps/s390/asm-syntax.h: Likewise.
24999 * sysdeps/unix/sysdep.h: Likewise.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25002
25003 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25004
25005 * libio/libio.h: Remove __STDC__ conditionals.
25006 * malloc/obstack.h: Likewise.
25007 * math/complex.h: Likewise.
25008 * math/math.h: Likewise.
25009 * sysdeps/generic/_G_config.h: Likewise.
25010 * sysdeps/gnu/_G_config.h: Likewise.
25011 * sysdeps/mach/hurd/_G_config.h: Likewise.
25012 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25013 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25014 * sysdeps/sparc/bits/mathdef.h: Likewise.
25015
25016 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25017
25018 [BZ #13583]
25019 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25020 Clean up HAS_* macros.
25021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25022 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25023 possible.
25024 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25025 HAS_AVX.
25026 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25027 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25028 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25029 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25030 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25031
25032 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25033
25034 * elf/tst-unique3.cc (gets): Remove declaration.
25035 * elf/tst-unique3lib.cc (gets): Likewise.
25036 * elf/tst-unique3lib2.cc (gets): Likewise.
25037 * elf/tst-unique4.cc (gets): Likewise.
25038
25039 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25040
25041 * include/stdio.h: Add C++ protection. Add gets declarations and
25042 definitions.
25043 * debug/tst-chk1.c: Don't declare gets here.
25044 * stdio-common/tst-gets.c: Likewise.
25045
25046 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25047
25048 * posix/glob: Remove directory.
25049
25050 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25051
25052 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25053
25054 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25055
25056 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25057 of the non-standard EPFNOSUPPORT.
25058
25059 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25060
25061 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25062 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25063 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25064
25065 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25066
25067 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25068
25069 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25070
25071 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25072 transient errors.
25073 * nscd/grpcache.c (cache_addgr): Likewise.
25074 * nscd/hstcache.c (cache_addhst): Likewise.
25075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25076 * nscd/pwdcache.c (cache_addpw): Likewise.
25077 * nscd/servicescache.c (cache_addserv): Likewise.
25078
25079 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25080
25081 * malloc/malloc.c: Various cleanups.
25082 * malloc/hooks.c: Likewise.
25083
25084 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25085 * stdlib/bug-fmtmsg1.c: New file.
25086
25087 * stdlib/fmtmsg.c (init): Add missing unlock.
25088 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25089
25090 2012-01-12 Marek Polacek <polacek@redhat.com>
25091
25092 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25093 and _GNU_SOURCE.
25094
25095 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25096
25097 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25098 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25099 macro to ensure uniqueness of label name.
25100 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25101 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25102
25103 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25104
25105 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25106
25107 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25108 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25109 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25111
25112 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25113
25114 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25115
25116 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25117 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25118 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25119
25120 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25121
25122 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25123 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25126
25127 * math/bits/math-finite.h: Add ldexp support.
25128
25129 2012-01-10 Marek Polacek <polacek@redhat.com>
25130
25131 * locale/programs/localedef.h (show_archive_content): Add noreturn
25132 attribute.
25133
25134 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25135
25136 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25137
25138 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25139
25140 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25141
25142 * io/Makefile (headers): Add bits/poll2.h.
25143
25144 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25145
25146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25147 typo #include statement.
25148
25149 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25150
25151 * include/sys/cdefs.h: Define __attribute_alloc_size.
25152 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25153 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25154 * elf/pldd.c: Likewise.
25155 * iconv/iconv_charmap.c: Likewise.
25156 * iconv/iconvconfig.c: Likewise.
25157 * iconv/strtab.c: Likewise.
25158 * locale/programs/locale.c: Likewise.
25159 * locale/programs/localedef.h: Likewise.
25160 * locale/programs/simple-hash.c: Likewise.
25161 * nscd/nscd.h: Likewise.
25162 * nss/makedb.c: Likewise.
25163 * sysdeps/generic/ldconfig.h: Likewise.
25164 * locale/programs/localedef.c: Remove xmalloc prototype.
25165 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25166
25167 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25168
25169 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25170 appropriate.
25171
25172 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25173
25174 * math/Makefile (tests): Add tst-CMPLX.
25175 * math/tst-CMPLX.c: New file.
25176
25177 * math/complex.h (CMPLXL): Fix typo.
25178
25179 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25180 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25181 GLIBC_2.16.
25182 * debug/tst-chk1.c: Add poll and ppoll tests.
25183 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25184 * include/sys/poll.h: Add hidden proto for ppoll.
25185 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25186 * sysdeps/mach/hurd/ppoll.c: Likewise.
25187 * io/ppoll.c: Likewise.
25188 * debug/poll_chk.c: New file.
25189 * debug/ppoll_chk.c: New file.
25190 * include/bits/poll2.h: New file.
25191 * io/bits/poll2.h: New file.
25192
25193 [BZ #1350]
25194 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25195
25196 * configure.in: static is always set to yes. Remove.
25197 * config.make.in: Don't set build-static.
25198 * Makeconfig: Remove use of build-static.
25199 * dlfcn/Makefile: Likewise.
25200 * elf/Makefile: Likewise.
25201 * math/Makefile: Likewise.
25202 * misc/Makefile: Likewise.
25203 * nptl/Makefile: Likewise.
25204 * sysdeps/mach/hurd/Makefile: Likewise.
25205
25206 * configure.in: PWD_P is not used anymore.
25207 * config.make.in: Remove PWD_P entry.
25208
25209 * configure.in: Remove last remnants of RANLIB.
25210 No need to check for signed size_t anymore.
25211 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25212 and IA-64.
25213 Remove __builtin_expect test because we require at least gcc 3.4.
25214 * aclocal.m4: Likewise.
25215
25216 * wcsmbs/mbrtoc16.c: Implement using towc function.
25217 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25218 * wcsmbs/wcsmbsload.c: Likewise.
25219 * iconv/gconv_simple.c: Likewise.
25220 * iconv/gconv_int.h: Likewise.
25221 * iconv/gconv_builtin.h: Likewise.
25222 * iconv/iconv_prog.c: Remove CHAR16 handling.
25223
25224 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25225
25226 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25227
25228 * configure.in: Remove --with-elf and --enable-bounded options.
25229 Dont set base_machine for ia64. More non-ELF conditions removed.
25230 Remove testing and setting of leading underscore information.
25231 * config.make.in (build-bounded): Set to no.
25232 * config.h.in: Remove NO_UNDERSCORES entry.
25233 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25234 them.
25235 * csu/start.c: Remove !NO_UNDERSCORE code.
25236 * locale/localeinfo.h: Likewise.
25237 * sysdeps/generic/machine-gmon.h: Likewise.
25238 * sysdeps/generic/sysdep.h: Likewise.
25239 * sysdeps/i386/sysdep.h: Likewise.
25240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25241 * sysdeps/mach/sysdep.h: Likewise.
25242 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25244 * sysdeps/sh/sysdep.h: Likewise.
25245 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25246 * sysdeps/unix/i386/sysdep.S: Likewise.
25247 * sysdeps/unix/sparc/start.c: Likewise.
25248 * sysdeps/unix/sparc/sysdep.S: Likewise.
25249 * sysdeps/unix/sparc/sysdep.h: Likewise.
25250 * sysdeps/unix/start.c: Likewise.
25251 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25252 * sysdeps/x86_64/sysdep.h: Likewise.
25253
25254 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25255
25256 [BZ #13553]
25257 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25258 for non-gcc.
25259 * argp/argp-fmtstream.h: Use const instead __const.
25260 * argp/argp.h: Likewise.
25261 * assert/assert.h: Likewise.
25262 * bits/fenv.h: Likewise.
25263 * bits/sched.h: Likewise.
25264 * bits/sigset.h: Likewise.
25265 * bits/sigthread.h: Likewise.
25266 * catgets/nl_types.h: Likewise.
25267 * conform/data/pthread.h-data: Likewise.
25268 * crypt/crypt-private.h: Likewise.
25269 * crypt/crypt.h: Likewise.
25270 * crypt/crypt_util.c: Likewise.
25271 * ctype/ctype.h: Likewise.
25272 * debug/execinfo.h: Likewise.
25273 * debug/mbsnrtowcs_chk.c: Likewise.
25274 * debug/mbsrtowcs_chk.c: Likewise.
25275 * debug/wcsnrtombs_chk.c: Likewise.
25276 * debug/wcsrtombs_chk.c: Likewise.
25277 * debug/wcstombs_chk.c: Likewise.
25278 * dirent/dirent.h: Likewise.
25279 * dlfcn/dlfcn.h: Likewise.
25280 * elf/neededtest4.c: Likewise.
25281 * grp/grp.h: Likewise.
25282 * gshadow/gshadow.h: Likewise.
25283 * iconv/gconv.h: Likewise.
25284 * iconv/gconv_int.h: Likewise.
25285 * iconv/gconv_simple.c: Likewise.
25286 * iconv/iconv.h: Likewise.
25287 * iconv/loop.c: Likewise.
25288 * iconv/skeleton.c: Likewise.
25289 * include/aio.h: Likewise.
25290 * include/aliases.h: Likewise.
25291 * include/argz.h: Likewise.
25292 * include/arpa/inet.h: Likewise.
25293 * include/assert.h: Likewise.
25294 * include/dirent.h: Likewise.
25295 * include/dlfcn.h: Likewise.
25296 * include/execinfo.h: Likewise.
25297 * include/fcntl.h: Likewise.
25298 * include/fenv.h: Likewise.
25299 * include/glob.h: Likewise.
25300 * include/grp.h: Likewise.
25301 * include/libintl.h: Likewise.
25302 * include/mntent.h: Likewise.
25303 * include/netdb.h: Likewise.
25304 * include/pwd.h: Likewise.
25305 * include/rpc/netdb.h: Likewise.
25306 * include/sched.h: Likewise.
25307 * include/search.h: Likewise.
25308 * include/shadow.h: Likewise.
25309 * include/signal.h: Likewise.
25310 * include/stdio.h: Likewise.
25311 * include/stdlib.h: Likewise.
25312 * include/string.h: Likewise.
25313 * include/sys/socket.h: Likewise.
25314 * include/sys/stat.h: Likewise.
25315 * include/sys/statfs.h: Likewise.
25316 * include/sys/statvfs.h: Likewise.
25317 * include/sys/syslog.h: Likewise.
25318 * include/sys/time.h: Likewise.
25319 * include/sys/uio.h: Likewise.
25320 * include/time.h: Likewise.
25321 * include/unistd.h: Likewise.
25322 * include/utmp.h: Likewise.
25323 * include/wchar.h: Likewise.
25324 * include/wctype.h: Likewise.
25325 * inet/aliases.h: Likewise.
25326 * inet/arpa/inet.h: Likewise.
25327 * inet/netinet/ether.h: Likewise.
25328 * inet/netinet/in.h: Likewise.
25329 * intl/libintl.h: Likewise.
25330 * io/bits/fcntl2.h: Likewise.
25331 * io/fcntl.h: Likewise.
25332 * io/ftw.h: Likewise.
25333 * io/sys/poll.h: Likewise.
25334 * io/sys/stat.h: Likewise.
25335 * io/sys/statfs.h: Likewise.
25336 * io/sys/statvfs.h: Likewise.
25337 * io/utime.h: Likewise.
25338 * libio/bits/stdio.h: Likewise.
25339 * libio/bits/stdio2.h: Likewise.
25340 * libio/libio.h: Likewise.
25341 * libio/libioP.h: Likewise.
25342 * libio/stdio.h: Likewise.
25343 * locale/lc-ctype.c: Likewise.
25344 * locale/locale.h: Likewise.
25345 * login/utmp.h: Likewise.
25346 * malloc/arena.c: Likewise.
25347 * malloc/malloc.c: Likewise.
25348 * malloc/malloc.h: Likewise.
25349 * malloc/mcheck.c: Likewise.
25350 * malloc/mtrace.c: Likewise.
25351 * math/bits/mathcalls.h: Likewise.
25352 * math/fenv.h: Likewise.
25353 * math/math_private.h: Likewise.
25354 * misc/bits/error.h: Likewise.
25355 * misc/bits/syslog.h: Likewise.
25356 * misc/err.h: Likewise.
25357 * misc/error.h: Likewise.
25358 * misc/fstab.h: Likewise.
25359 * misc/mntent.h: Likewise.
25360 * misc/regexp.h: Likewise.
25361 * misc/search.h: Likewise.
25362 * misc/sgtty.h: Likewise.
25363 * misc/sys/mman.h: Likewise.
25364 * misc/sys/syslog.h: Likewise.
25365 * misc/sys/uio.h: Likewise.
25366 * misc/sys/xattr.h: Likewise.
25367 * misc/ttyent.h: Likewise.
25368 * nis/rpcsvc/ypclnt.h: Likewise.
25369 * nss/nss.h: Likewise.
25370 * posix/bits/unistd.h: Likewise.
25371 * posix/fnmatch.h: Likewise.
25372 * posix/glob.h: Likewise.
25373 * posix/sched.h: Likewise.
25374 * posix/spawn.h: Likewise.
25375 * posix/sys/wait.h: Likewise.
25376 * posix/unistd.h: Likewise.
25377 * posix/wordexp.h: Likewise.
25378 * pwd/pwd.h: Likewise.
25379 * resolv/netdb.h: Likewise.
25380 * resource/sys/resource.h: Likewise.
25381 * rt/aio.h: Likewise.
25382 * rt/bits/mqueue2.h: Likewise.
25383 * rt/mqueue.h: Likewise.
25384 * shadow/shadow.h: Likewise.
25385 * signal/signal.h: Likewise.
25386 * socket/send.c: Likewise.
25387 * socket/sendto.c: Likewise.
25388 * socket/sys/socket.h: Likewise.
25389 * stdio-common/printf.h: Likewise.
25390 * stdlib/bits/stdlib.h: Likewise.
25391 * stdlib/fmtmsg.h: Likewise.
25392 * stdlib/monetary.h: Likewise.
25393 * stdlib/stdlib.h: Likewise.
25394 * stdlib/ucontext.h: Likewise.
25395 * streams/stropts.h: Likewise.
25396 * string/argz.h: Likewise.
25397 * string/bits/string2.h: Likewise.
25398 * string/string.h: Likewise.
25399 * string/strings.h: Likewise.
25400 * sunrpc/rpc/auth.h: Likewise.
25401 * sunrpc/rpc/auth_des.h: Likewise.
25402 * sunrpc/rpc/clnt.h: Likewise.
25403 * sunrpc/rpc/netdb.h: Likewise.
25404 * sunrpc/rpc/pmap_clnt.h: Likewise.
25405 * sunrpc/rpc/xdr.h: Likewise.
25406 * sysdeps/generic/inttypes.h: Likewise.
25407 * sysdeps/generic/net/if.h: Likewise.
25408 * sysdeps/generic/sys/swap.h: Likewise.
25409 * sysdeps/gnu/net/if.h: Likewise.
25410 * sysdeps/gnu/utmpx.h: Likewise.
25411 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25412 * sysdeps/i386/i486/bits/string.h: Likewise.
25413 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25414 * sysdeps/s390/bits/string.h: Likewise.
25415 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25416 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25417 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25418 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25419 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25420 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25421 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25422 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25423 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25424 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25425 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25426 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25427 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25428 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25429 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25430 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25431 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25435 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25436 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25437 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25438 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25439 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25440 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25441 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25442 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25443 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25444 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25445 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25446 * sysvipc/sys/ipc.h: Likewise.
25447 * sysvipc/sys/msg.h: Likewise.
25448 * sysvipc/sys/sem.h: Likewise.
25449 * sysvipc/sys/shm.h: Likewise.
25450 * termios/termios.h: Likewise.
25451 * time/sys/time.h: Likewise.
25452 * time/time.h: Likewise.
25453 * wcsmbs/bits/wchar2.h: Likewise.
25454 * wcsmbs/uchar.h: Likewise.
25455 * wcsmbs/wchar.h: Likewise.
25456 * wctype/wctype.h: Likewise.
25457
25458 [BZ #13551]
25459 * Makeconfig: Remove all but ELF support including AIX support.
25460 * Makerules: Likewise.
25461 * config.h.in: Likewise.
25462 * config.make.in: Likewise.
25463 * configure: Likewise.
25464 * configure.in: Likewise.
25465 * csu/Makefile: Likewise.
25466 * csu/version.c: Likewise.
25467 * debug/Makefile: Likewise.
25468 * dlfcn/Makefile: Likewise.
25469 * elf/Makefile: Likewise.
25470 * extra-lib.mk: Likewise.
25471 * iconv/Makefile: Likewise.
25472 * include/libc-symbols.h: Likewise.
25473 * include/shlib-compat.h: Likewise.
25474 * resolv/Makefile: Likewise.
25475 * resolv/res_libc.c: Likewise.
25476 * rt/Makefile: Likewise.
25477 * sysdeps/i386/asm-syntax.h: Likewise.
25478 * sysdeps/i386/sysdep.h: Likewise.
25479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25480 * sysdeps/mach/sysdep.h: Likewise.
25481 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25482 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25483 * sysdeps/s390/asm-syntax.h: Likewise.
25484 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25486 * sysdeps/sh/sysdep.h: Likewise.
25487 * sysdeps/unix/sparc/sysdep.h: Likewise.
25488 * sysdeps/wordsize-32/divdi3.c: Likewise.
25489 * sysdeps/x86_64/sysdep.h: Likewise.
25490
25491 * argp/Versions: Remove _argp_unlock_xxx.
25492
25493 [BZ #13559]
25494 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25495 * abilist/libBrokenLocale.abilist: Likewise.
25496 * abilist/libanl.abilist: Likewise.
25497 * abilist/libc.abilist: Likewise.
25498 * abilist/libcrypt.abilist: Likewise.
25499 * abilist/libdl.abilist: Likewise.
25500 * abilist/libm.abilist: Likewise.
25501 * abilist/libnsl.abilist: Likewise.
25502 * abilist/libpthread.abilist: Likewise.
25503 * abilist/libresolv.abilist: Likewise.
25504 * abilist/librt.abilist: Likewise.
25505 * abilist/libthread_db.abilist: Likewise.
25506 * abilist/libutil.abilist: Likewise.
25507 * abilist/libnss_db.abilist: New file.
25508
25509 * scripts/abilist.awk: Add support for indirect functions.
25510
25511 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25512
25513 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25514
25515 * shlib-versions: Remove entries for ports architectures.
25516
25517 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25518 files in ports.
25519 * elf/stackguard-macros.h: Remove support for IA-64.
25520 * elf/tst-auditmod1.c: Likewise.
25521 * sysdeps/generic/ldsodefs.h: Likewise.
25522
25523 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25524 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25525 configure files.
25526
25527 [BZ #13552]
25528 * configure.in: Remove --enable-omitfp support.
25529 * FAQ.in: Adjust.
25530 * config.make.in: Likewise.
25531 * Makeconfig: Likewise.
25532 * manual/install.texi: Likewise.
25533
25534 In case anyone cares, the IA-64 architecture could move to ports.
25535 * sysdeps/ia64/*: Removed.
25536 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25537 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25538
25539 [BZ #13555]
25540 * configure.in: Remove entries for unsupported architectures.
25541
25542 [BZ #13533]
25543 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25544 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25545 routines.
25546 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25547 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25548 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25549 fall back to using wcrtomb.
25550 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25551 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25552 renaming.
25553 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25554 * wcsmbs/tst-c16c32-1.c: New file.
25555
25556 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25557 local variable.
25558
25559 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25560
25561 * elf/tst-unique3.cc: Add explicit declaration of gets.
25562 * elf/tst-unique3lib.cc: Likewise.
25563 * elf/tst-unique3lib2.cc: Likewise.
25564 * elf/tst-unique4.cc: Likewise.
25565
25566 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25567
25568 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25569
25570 [BZ #13566]
25571 * assert/assert.h (static_assert): Don't define for C++.
25572 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25573 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25574
25575 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25576
25577 * iconv/loop.c (single loop): Fix assertion in storing of
25578 remaining bytes.
25579
25580 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25581
25582 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25583
25584 * posix/getconf.c: Update copyright year.
25585 * nss/getent.c: Likewise.
25586 * nss/makedb.c: Likewise.
25587 * iconv/iconvconfig.c: Likewise.
25588 * iconv/iconv_prog.c: Likewise.
25589 * elf/ldconfig.c: Likewise.
25590 * elf/pldd.c: Likewise.
25591 * elf/sotruss.ksh: Likewise.
25592 * catgets/gencat.c: Likewise.
25593 * csu/version.c: Likewise.
25594 * elf/ldd.bash.in: Likewise.
25595 * elf/sprof.c (print_version): Likewise.
25596 * locale/programs/locale.c: Likewise.
25597 * locale/programs/localedef.c: Likewise.
25598 * login/programs/pt_chown.c: Likewise.
25599 * nscd/nscd.c (print_version): Likewise.
25600 * debug/xtrace.sh: Likewise.
25601 * malloc/memusage.sh: Likewise.
25602 * malloc/mtrace.pl: Likewise.
25603 * debug/catchsegv.sh: Likewise.
25604
25605 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25606
25607 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25608 pure attribute.
25609
25610 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25611
25612 [BZ #13533]
25613 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25614 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25615 transformations.
25616 * iconv/gconv_int.h: Likewise.
25617 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25618 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25619 from libc for GLIBC_2.16.
25620 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25621 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25622 * wcsmbs/uchar.h: Really define mbstate_t.
25623 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25624 * wcsmbs/c16rtomb.c: New file.
25625 * wcsmbs/mbrtoc16.c: New file.
25626 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25627 for C/POSIX locale.
25628 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25629 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25630
25631 * wcsmbs/wchar.h: Add missing __restrict.
25632
25633 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25634
25635 [BZ #13532]
25636 * time/Makefile (routines): Add timespec_get.
25637 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25638 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25639 timespec for ISO C11.
25640 * time/timespec_get.c: New file.
25641 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25642 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25643
25644 [BZ #13531]
25645 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25646 * stdlib/stdlib.h: Declare aligned_alloc.
25647 * Versions.def: Add GLIBC_2.16 for libc.
25648 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25649
25650 [BZ 13527]
25651 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25652 ISO C11.
25653
25654 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25655 code.
25656
25657 [BZ #13528]
25658 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25659
25660 [BZ #13529]
25661 * assert/assert.h (static_assert): Define.
25662
25663 * version.h: Update for 2.16 development version.
25664
25665 [BZ #13526]
25666 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25667 _ISOC11_SOURCE.
25668
25669 * version.h (RELEASE): Bump for 2.15 release.
25670 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25671
25672 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25673 Patch by Marek Polacek <mpolacek@redhat.com>.
25674
25675 * bits/byteswap.h: Protect long long constants with __extension__.
25676 * sysdeps/i386/bits/byteswap.h: Likewise.
25677 * sysdeps/ia64/bits/byteswap.h: Likewise.
25678 * sysdeps/s390/bits/byteswap.h: Likewise.
25679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25680
25681 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25682
25683 [BZ #13540]
25684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25685 destination buffer.
25686 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25687
25688 2011-12-23 Marek Polacek <polacek@redhat.com>
25689
25690 * elf/dl-addr.c (determine_info): Add inline keyword.
25691 * elf/tst-auditmod4b.c (check_avx): Likewise.
25692 * elf/tst-auditmod6b.c (check_avx): Likewise.
25693 * elf/tst-auditmod6c.c (check_avx): Likewise.
25694 * elf/tst-auditmod7b.c (check_avx): Likewise.
25695
25696 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25697
25698 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25699 !__SSE_MATH__.
25700
25701 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25702
25703 [BZ #13540]
25704 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25705 processing for last bytes.
25706
25707 2011-08-06 Bruno Haible <bruno@clisp.org>
25708
25709 [BZ #13061]
25710 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25711 U+0385, not to U+1FEE.
25712
25713 [BZ #13062]
25714 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25715 entry for U+00A5 U+0301.
25716
25717 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25718
25719 [BZ #13166]
25720 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25721 buffer for the output is too small.
25722
25723 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25724 optimization.
25725
25726 [BZ #13185]
25727 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25728 SSE flags if possible.
25729
25730 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25731
25732 [BZ #13540]
25733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25734 processing for last bytes.
25735
25736 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25737
25738 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25739 (syscall-list-default-options, syscall-list-default-condition)
25740 (syscall-list-includes): Define.
25741 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25742 list of ABIs and options and #if conditions for each ABI. Do not
25743 handle common syscalls between ABIs specially.
25744 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25745 Remove.
25746 (syscall-list-variants, syscall-list-32bit-options)
25747 (syscall-list-32bit-condition, syscall-list-64bit-options)
25748 (syscall-list-64bit-condition): Define.
25749 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25750 (syscall-list-variants, syscall-list-32bit-options)
25751 (syscall-list-32bit-condition, syscall-list-64bit-options)
25752 (syscall-list-64bit-condition): Define.
25753 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25754 Remove.
25755 (syscall-list-variants, syscall-list-32bit-options)
25756 (syscall-list-32bit-condition, syscall-list-64bit-options)
25757 (syscall-list-64bit-condition): Define.
25758 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25759 Remove.
25760 (syscall-list-variants, syscall-list-32bit-options)
25761 (syscall-list-32bit-condition, syscall-list-64bit-options)
25762 (syscall-list-64bit-condition): Define.
25763
25764 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25765
25766 * locale/iso-639.def: Add brx entry.
25767
25768 [BZ #13328]
25769 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25770 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25771
25772 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25773 __feraiseexcept_renamed.
25774
25775 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25776
25777 [BZ #13538]
25778 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25779 EPOLLET with unsigned values.
25780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25782
25783 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25784 to large cancellation.
25785 * math/s_cacoshf.c: Likewise.
25786 * math/s_cacoshl.c: Likewise.
25787
25788 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25789
25790 [BZ #13305]
25791 [BZ #12786]
25792 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25793 * math/s_cacoshf.c: Likewise.
25794 * math/s_cacoshl.c: Likewise.
25795
25796 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25797
25798 [BZ #13439]
25799 * iconv/gconv.h: Define __GCONV_SWAP.
25800 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25801 * iconvdata/utf-16.c: Likewise.
25802 * iconvdata/utf-32.c: Likewise.
25803
25804 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25805
25806 [BZ #13524]
25807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25808 numerator after shifting it by one limb.
25809
25810 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25811
25812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25813 under [__USE_EXTERN_INLINES].
25814
25815 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25816
25817 [BZ #13446]
25818 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25819
25820 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25821
25822 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25823 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25824 optimized code.
25825 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25826 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25827 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25828 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25829 for strncasecmp/strncasecmp_l compilation.
25830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25831 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25832
25833 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25834
25835 [BZ #13484]
25836 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25837 of __asm__.
25838
25839 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25840
25841 [BZ #13506]
25842 * time/tzfile.c (__tzfile_read): Check values from file header.
25843
25844 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25845
25846 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25847 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25848 * powerpc/powerpc32/dl-start.S: Likewise.
25849 * powerpc/powerpc32/elf/start.S: Likewise.
25850 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25851 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25852 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25853 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25854 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25855 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25856 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25857 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25858 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25859 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25860 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25861 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25862 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25863 * powerpc/powerpc32/memset.S: Likewise.
25864 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25865 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25866 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25867 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25868 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25869 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25870 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25871 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25872 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25873 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25875 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25876 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25877
25878 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25879
25880 * math/libm-test.inc: Added more nearbyint tests.
25881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25882 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25885
25886 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25887
25888 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25889 FD_CLOEXEC.
25890
25891 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25892
25893 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25894 Add wcscpy-ssse3 wcscpy-c.
25895 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25896 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25897 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25898 * sysdeps/x86_64/wcschr.S: New file.
25899 * sysdeps/x86_64/wcsrchr.S: New file.
25900 * string/test-strcmp.c: Remove checking of wcscmp function for
25901 wrong alignments.
25902 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25903 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25904 wcsrchr-sse2 wcsrchr-c.
25905 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25906 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25907 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25908 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25909 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25910 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25911 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25912 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25913 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25914 * wcsmbc/wcschr.c (WCSCHR): New macro.
25915
25916 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25917
25918 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25919 * wcsmbs/test-wcsrchr.c: New file.
25920 * string/test-strrchr.c: Add wcsrchr support.
25921 (WIDE): New macro.
25922 * wcsmbs/test-wcscpy.c: New file.
25923 * string/test-strcpy.c: Add wcscpy support.
25924 (WIDE): New macro.
25925
25926 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25927
25928 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25929 the inner loop.
25930
25931 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25932
25933 [BZ #13472]
25934 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25935
25936 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25937
25938 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25939 Minor optimizations.
25940
25941 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25942 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25943 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25944
25945 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25946
25947 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25948 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25949 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25950 for gcc to avoid warnings.
25951 * inet/Makefile (tests): Add tst-checks.
25952 * inet/tst-checks.c: New file.
25953
25954 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25955 warning.
25956
25957 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25958 __wmemcmp_sse2.
25959
25960 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25961 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25962
25963 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25964
25965 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25966
25967 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25968 problem.
25969
25970 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25971
25972 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25973
25974 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25975 conditional on GCC version.
25976 (__arch_compare_and_exchange_val_8_acq)
25977 (__arch_compare_and_exchange_val_16_acq)
25978 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25979 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25980 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25981
25982 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25983
25984 * sysdeps/sh/backtrace.c: New file.
25985
25986 2011-12-02 Andreas Schwab <schwab@redhat.com>
25987
25988 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25989 parenthesis.
25990
25991 2011-12-01 Andreas Schwab <schwab@redhat.com>
25992
25993 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25994 falling back to utime.
25995
25996 2011-11-30 Andreas Schwab <schwab@redhat.com>
25997
25998 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25999 expectations for float.
26000
26001 2011-11-29 Andreas Schwab <schwab@redhat.com>
26002
26003 * locale/weight.h (findidx): Add parameter len.
26004 * locale/weightwc.h (findidx): Likewise.
26005 * posix/fnmatch_loop.c (FCT): Adjust caller.
26006 * posix/regcomp.c (build_equiv_class): Likewise.
26007 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26008 * posix/regexec.c (check_node_accept_bytes): Likewise.
26009 * string/strcoll_l.c (STRCOLL): Likewise.
26010 * string/strxfrm_l.c (STRXFRM): Likewise.
26011
26012 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26013
26014 * Makefile.in: Remove CVSOPT handling.
26015 * configure.in: Remove use of AC_REVISION.
26016 * iconvdata/Makefile (distribute): No need to filter out CVS.
26017 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26018 handling.
26019
26020 2011-11-16 Andreas Schwab <schwab@redhat.com>
26021
26022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26023 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26024 [USE_AS_STRNCASECMP_L]: Likewise.
26025 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26026 NO_TLS_DIRECT_SEG_REFS.
26027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26028 Fix argument offsets for non-PIC.
26029 [USE_AS_STRNCASECMP_L]: Likewise.
26030 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26031 NO_TLS_DIRECT_SEG_REFS.
26032
26033 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26034
26035 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26036 O_CLOEXEC.
26037 * locale/loadlocale.c (_nl_load_locale): Likewise.
26038
26039 2011-11-15 Andreas Schwab <schwab@redhat.com>
26040
26041 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26042 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26043 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26044 (SYSCALL_GETTIME): Set errno on error.
26045
26046 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26047 count references to noai6ai_cached.
26048
26049 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26050
26051 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26052
26053 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26054 FD_CLOEXEC for /proc/self/maps.
26055
26056 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26057 FD_CLOEXEC for /proc/meminfo.
26058
26059 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26060 gai.conf.
26061
26062 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26063 FD_CLOEXEC for given file.
26064
26065 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26066
26067 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26068 FD_CLOEXEC for /etc/hosts.
26069 (_gethtent): Likewise.
26070
26071 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26072
26073 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26074 cancellation and set FD_CLOEXEC for /etc/netgroup.
26075
26076 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26077 reading /etc/publickey.
26078
26079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26080 allow cancellation when reading /etc/group.
26081
26082 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26083 cancellation.
26084 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26085
26086 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26087 when using data file.
26088
26089 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26090
26091 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26092 (write_nis_obj): Use "c" and "e" in fopen.
26093
26094 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26095
26096 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26097
26098 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26099
26100 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26101
26102 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26103 locale.alias.
26104
26105 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26106
26107 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26108
26109 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26110
26111 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26112 file parsing and set FD_CLOEXEC.
26113
26114 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26115
26116 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26117
26118 2011-11-14 Andreas Schwab <schwab@redhat.com>
26119
26120 * malloc/arena.c (arena_get2): Don't call reused_arena when
26121 _int_new_arena failed.
26122
26123 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26124
26125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26126 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26127 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26129 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26131 to compile strcasecmp and strncasecmp.
26132 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26133 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26134
26135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26136
26137 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26138
26139 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26140 locale-defines.sym to gen-as-const-headers.
26141 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26142 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26144 to compile strcasecmp and strncasecmp.
26145 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26146 strcasecmp_l and strncasecmp_l.
26147 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26148 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26149 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26150 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26151 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26152 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26153 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26154 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26155 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26156 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26157 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26158
26159 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26160
26161 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26162 result of SYSDEP_GETTIME_CPU to retval.
26163 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26164 parameter list to macro. Remove trailing semicolon. Adjust users.
26165
26166 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26167 variable.
26168
26169 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26170 mantissa words.
26171 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26172
26173 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26174 from unused variable.
26175
26176 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26177 DWARF definitions.
26178 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26179 for assembling.
26180
26181 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26182 over namespaces.
26183
26184 * sunrpc/rpc_prot.c (rejected): Fix case value.
26185
26186 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26187 unsigned long long int to avoid warnings in shift.
26188
26189 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26190 of use of trans.
26191 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26192 variable tmp.
26193
26194 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26195 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26196 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26197
26198 * nis/nis_table.c (nis_list): Use variable of correct type for
26199 result of __follow_path call.
26200
26201 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26202
26203 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26204 of math functions ceil, trunc, floor, round, and sqrt, when
26205 avaliable on the platform.
26206 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26207 name clash.
26208 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26209 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26210 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26211
26212 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26213
26214 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26215 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26216
26217 2011-11-11 Roland McGrath <roland@hack.frob.com>
26218
26219 * include/unistd.h: Fix __readlink return type.
26220 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26221
26222 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26223
26224 * stdlib/ucontext.h: Undo last change for makecontext.
26225
26226 2011-11-11 Andreas Schwab <schwab@redhat.com>
26227
26228 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26229
26230 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26231 * setjmp/setjmp.h: Mark functions as non-leaf.
26232 * setjmp/bits/setjmp2.h: Likewise.
26233 * stdlib/ucontext.h: Likewise.
26234
26235 2011-11-10 Andreas Schwab <schwab@redhat.com>
26236
26237 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26238 (reused_arena): Don't check arena limit.
26239 (arena_get2): Atomically check arena limit.
26240
26241 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26242
26243 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26244 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26245
26246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26247 instructions.
26248
26249 2011-11-07 Andreas Schwab <schwab@redhat.com>
26250
26251 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26252 handler when locking.
26253
26254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26255 Fix size of allocated buffer.
26256
26257 2011-11-04 Andreas Schwab <schwab@redhat.com>
26258
26259 [BZ #10103]
26260 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26261 declarations for long double functions.
26262 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26263
26264 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26265
26266 2011-11-03 Andreas Schwab <schwab@redhat.com>
26267
26268 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26269 installed.
26270
26271 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26272 is disabled.
26273
26274 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26275
26276 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26277
26278 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26279
26280 * include/alloca.h (stackinfo_alloca_round): Define.
26281 (extend_alloca): Use it.
26282 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26283 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26284 here.
26285
26286 * scripts/check-local-headers.sh: Ignore libaudit.h.
26287
26288 * nscd/Makefile (extra-objs): Make recursively expanded.
26289
26290 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26291
26292 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26294
26295 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26296 * posix/tst-rfc3484-2.c: Likewise.
26297 * posix/tst-rfc3484-3.c: Likewise.
26298
26299 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26300 process_vm_writev.
26301 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26302 process_vm_writev.
26303 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26304 process_vm_writev from libc using GLIBC_2.15 version.
26305
26306 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26307
26308 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26309
26310 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26311 stack usage.
26312
26313 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26314
26315 [BZ #13367]
26316 * nss/getent.c (initgroups_keys): Show error message in case no group
26317 names are given.
26318
26319 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26320 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26321 __bump_nl_timestamp.
26322 * nscd/connections (nscd_init): When host database is served open
26323 netlink socket and request notification about configuration changes.
26324 (main_loop_poll): Track netlink file descriptor and bump timestamp
26325 in case data becomes available.
26326 (main_loop_epoll): Likewise.
26327 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26328 (database_pers_head): Add extra_data fileds.
26329 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26330 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26331 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26332 Adjust caller.
26333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26334 in6ai data, call __free_in6ai.
26335 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26336 Add -DHAVE_NETLINK.
26337 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26338 interface information. Reuse previous data if netlink timestamp
26339 is not changed.
26340 (__bump_nl_timestamp): New function.
26341 (__free_in6ai): New function.
26342
26343 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26344
26345 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26346 close_not_cancel_no_status here.
26347 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26348
26349 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26350
26351 [BZ #13276]
26352 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26353 return value.
26354
26355 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26356 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26357 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26358
26359 2011-07-03 Andreas Jaeger <aj@suse.de>
26360
26361 [BZ #10709]
26362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26363 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26364 * math/libm-test.inc (sin_test): Add test case.
26365
26366 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26367
26368 [BZ #13337]
26369 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26370 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26371
26372 * elf/chroot_canon.c (chroot_canon): Cleanups.
26373
26374 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26375
26376 [BZ #13335]
26377 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26378 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26379
26380 * string/test-strchr.c: Make usable for strchrnul testing.
26381 * string/test-strchrnul.c: New file.
26382 * string/Makefile (strop-tests): Add strchrnul.
26383
26384 * po/it.po: Update from translation team.
26385 * po/es.po: Likewise.
26386
26387 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26388
26389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26390 the three constants needed as parameters. Drop the others.
26391 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26392 __m128i_strloadu_tolower.
26393 Create and initialize variable zero and use it in all the places
26394 where _mm_setzero_si128 was used.
26395
26396 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26397 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26398 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26399 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26400 anymore.
26401 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26402 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26403 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26404 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26405 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26406 __mpranred, __mptan.
26407 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26408 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26409 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26410 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26411 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26412 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26414 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26415 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26416
26417 2011-10-28 Andreas Schwab <schwab@redhat.com>
26418
26419 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26420 redefine if SHARED.
26421 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26422
26423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26424 wide char related routines to wcsmbs subdir.
26425
26426 2011-10-27 Andreas Schwab <schwab@redhat.com>
26427
26428 [BZ #13344]
26429 * misc/sys/cdefs.h (__THROWNL): Define.
26430 * posix/unistd.h: Use __THREADNL instead of __THREAD
26431 for memory synchronization functions.
26432
26433 2011-10-26 Roland McGrath <roland@hack.frob.com>
26434
26435 [BZ #13349]
26436 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26437 doesn't exist.
26438 * manual/stdio.texi (Obstack Streams): Node removed.
26439
26440 2011-10-26 Andreas Schwab <schwab@redhat.com>
26441
26442 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26443 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26444 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26445
26446 * math/math_private.h (math_force_eval): Allow non-addressable
26447 arguments.
26448 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26449
26450 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26451
26452 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26453 file is not needed.
26454
26455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26458 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26460 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26462 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26463 Add AVX variants.
26464 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26465 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26466 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26467 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26468 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26469 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26470 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26471 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26472 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26473 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26474 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26475 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26477 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26478 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26479 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26480 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26481 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26482 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26483
26484 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26485 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26486
26487 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26488 place. Use VEX encoding when compiling for AVX.
26489
26490 2011-10-25 Andreas Schwab <schwab@redhat.com>
26491
26492 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26493 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26494
26495 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26496
26497 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26498
26499 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26500 useless if() expression.
26501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26502 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26503 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26506 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26509 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26511 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26512 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26514 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26515 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26517 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26518 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26519 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26520
26521 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26522
26523 2011-10-25 Andreas Schwab <schwab@redhat.com>
26524
26525 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26526 condition.
26527 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26528
26529 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26530
26531 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26532 .text section. Avoid duplicate constants.
26533 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26543 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26545 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26550 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26556 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26557 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26558 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26559 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26560 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26561 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26562 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26563 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26564 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26565 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26566 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26567 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26568 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26569 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26571 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26572 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26573 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26574 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26575 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26576 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26577 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26578
26579 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26580
26581 * sysdeps/x86_64/dla.h: Move to ...
26582 * sysdeps/x86_64/fpu/dla.h: ...here.
26583 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26584 situations. Use __builtin_fma only for gcc 4.6 and up.
26585
26586 * config.make.in: Add have-mfma4 entry.
26587 * configure.in: Substitute libc_cv_cc_fma4.
26588 * math/Makefile (dbl-only-routines): Add sincostab.
26589 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26590 Use __sincostab not sincos.
26591 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26592 name is a macro.
26593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26597 using __copysign.
26598 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26599 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26600 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26601 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26602 and __inv.
26603 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26604 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26605 __copysign.
26606 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26607 define aliases when function name is a macro.
26608 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26609 sysdeps/ieee754/dbl-64/sincos.tbl.
26610 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26611 fma4-enabled routines.
26612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26613 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26614 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26615 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26617 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26620 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26621 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26622 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26623 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26624 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26625 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26626 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26627 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26628 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26629 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26630 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26632 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26633 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26635 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26637 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26639 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26640 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26641 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26642
26643 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26644 rename.
26645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26653
26654 2011-10-24 Andreas Schwab <schwab@redhat.com>
26655
26656 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26657
26658 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26659
26660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26661
26662 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26663 prediction.
26664 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26665
26666 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26667 Remove unused variable magic_bits.
26668 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26669
26670 * string/strnlen.c: Define and use STRNLEN macro.
26671 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26672 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26674 * wcsmbs/wcslen.c: Define and use WCSLEN.
26675 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26676 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26677 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26678 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26679 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26680 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26681 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26682
26683 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26684
26685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26686 strnlen-sse2-no-bsf.
26687 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26689 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26690 Add strnlen support.
26691 (USE_AS_STRNLEN): New macro.
26692 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26693 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26694 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26695 * sysdeps/x86_64/wcslen.S: New file.
26696
26697 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26698
26699 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26700 XMM-moves are used for copying on small sizes.
26701
26702 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26703
26704 * wcsmbs/Makefile (strop-tests): Add wcschr.
26705 * wcsmbs/test-wcschr.c: New file.
26706 * string/test-strchr.c: Update.
26707 Add wcschr support.
26708 (WIDE): New macro.
26709
26710 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26711
26712 * wcsmbs/Makefile (strop-tests): Add wcslen.
26713 * wcsmbs/test-wcslen.c: New file.
26714 * string/test-strlen.c: Update.
26715 Add wcslen support.
26716 (WIDE): New macro.
26717
26718 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26719
26720 * po/it.po: Update from translation team.
26721
26722 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26723
26724 * sysdeps/x86_64/wcscmp.S: Update.
26725 Fix wrong comparison semantics.
26726 wcscmp shall use signed comparison not unsigned.
26727 Don't use substraction to avoid overflow bug.
26728 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26729 * wcsmbc/wcscmp.c: Likewise.
26730 * string/test-strcmp.c: Likewise.
26731 Add new tests to check cases with negative values.
26732
26733 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26734
26735 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26736 * sysdeps/x86_64/dla.h: ...here. New file.
26737 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26744 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26746
26747 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26748
26749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26750 __ynl_finite aliases.
26751
26752 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26753
26754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26755
26756 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26757 define DLA_FMA.
26758 [DLA_FMA] (EMULV): Use DLA_FMA.
26759 [DLA_FMA] (MUL12): Use EMULV.
26760 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26761 that are not needed.
26762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26769
26770 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26771
26772 * math/s_nan.c: Undef __nan.
26773 * math/s_nanf.c: Undef __nanf.
26774 * math/s_nanl.c: Undef __nanl.
26775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26776 "math_private.h".
26777
26778 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26779
26780 * math/s_catan.c: Add branch predictions.
26781 * math/s_catanf.c: Likewise.
26782 * math/s_catanh.c: Likewise.
26783 * math/s_catanhf.c: Likewise.
26784 * math/s_catanhl.c: Likewise.
26785 * math/s_catanl.c: Likewise.
26786 * math/s_cexp.c: Likewise.
26787 * math/s_cexpf.c: Likewise.
26788 * math/s_cexpl.c: Likewise.
26789 * math/s_clog.c: Likewise.
26790 * math/s_clog10.c: Likewise.
26791 * math/s_clog10f.c: Likewise.
26792 * math/s_clog10l.c: Likewise.
26793 * math/s_clogf.c: Likewise.
26794 * math/s_clogl.c: Likewise.
26795 * math/s_csqrt.c: Likewise.
26796 * math/s_csqrtf.c: Likewise.
26797 * math/s_csqrtl.c: Likewise.
26798 * math/s_ctanf.c: Likewise.
26799 * math/s_ctanh.c: Likewise.
26800 * math/s_ctanhf.c: Likewise.
26801 * math/s_ctanhl.c: Likewise.
26802 * math/s_ctanl.c: Likewise.
26803
26804 * math/math_private.h: Define __nan, __nanf, __nanl.
26805 * math/s_cacosh.c: Include <math_private.h>.
26806 * math/s_cacoshl.c: Likewise.
26807 * math/s_casinh.c: Likewise.
26808 * math/s_casinhf.c: Likewise.
26809 * math/s_casinhl.c: Likewise.
26810 * math/s_ccos.c: Rely entire on ccosh.
26811 * math/s_ccosf.c: Rely entire on ccoshf.
26812 * math/s_ccosl.c: Rely entirely on ccoshl.
26813 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26814 Remove tests for FE_INVALID.
26815 * math/s_ccoshf.c: Likewise.
26816 * math/s_ccoshl.c: Likewise.
26817 * math/s_csin.c: Likewise.
26818 * math/s_csinf.c: Likewise.
26819 * math/s_csinh.c Likewise.
26820 * math/s_csinhf.c: Likewise.
26821 * math/s_csinhl.c: Likewise.
26822 * math/s_csinl.c: Likewise.
26823 * math/s_ctan.c: Likewise.
26824 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26825 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26827
26828 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26829
26830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26831 compilation problems.
26832
26833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26834 __builtin_expect.
26835
26836 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26837
26838 * sysdeps/i386/configure.in: Test for -mfma4 option.
26839 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26840 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26841 COMMON_CPUID_INDEX_80000001.
26842 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26843 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26844 use it if FMA3 is not supported.
26845 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26846
26847 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26848 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26849
26850 2011-10-20 Andreas Schwab <schwab@redhat.com>
26851
26852 [BZ #12892]
26853 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26854 it would create a cycle with a link time dependency.
26855
26856 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26857
26858 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26859 instruction.
26860 * string/Makefile (strop-tests): Add rawmemchr.
26861 * string/test-rawmemchr.c: New file.
26862
26863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26865 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26866 when compiling str{,n}casecmp and when AVX is available. Hook up
26867 new optimized code in initializers.
26868
26869 2011-10-19 Andreas Schwab <schwab@redhat.com>
26870
26871 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26872 __feraiseexcept instead of feraiseexcept.
26873
26874 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26875
26876 * math/math_private.h: Define defaults for libc_fetestexcept and
26877 libc_feupdateenv.
26878 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26879 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26880 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26882 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26883 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26884 libc_fetestexcept and libc_feupdateenv.
26885
26886 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26887 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26888 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26889 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26890 libc_feholdexcept_setround.
26891
26892 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26893 Add s_nearbyint-c and s_nearbyintf-c.
26894 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26895 nearbyintf inlines.
26896 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26897 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26898 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26899 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26900
26901 * math/math_private.h: Define defaults for libc_fegetround,
26902 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26903 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26904 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26906 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26907 standard functions.
26908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26909 Remove comments and hacks for old compiler versions.
26910 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26911 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26912 libc_feholdexceptl.
26913
26914 2011-10-18 Andreas Schwab <schwab@redhat.com>
26915
26916 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26917 (__feraiseexcept_renamed): Add __NTH.
26918 (feraiseexcept): Add __NTH. Rename local variables to fix
26919 namespace violations.
26920
26921 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26922
26923 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26924
26925 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26926
26927 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26928 recently added interfaces.
26929 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26930
26931 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26932 about macro parameter expansion.
26933
26934 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26935 __NO_MATH_INLINES is defined. Cleanups.
26936
26937 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26938 and __floorf is target has SSE4.1.
26939 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26940 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26941 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26942 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26943
26944 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26945 name.
26946 (floorf): Likewise.
26947
26948 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26949
26950 2011-10-17 Andreas Schwab <schwab@redhat.com>
26951
26952 * misc/sys/cdefs.h: Fix last change.
26953
26954 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26955 database lookup.
26956
26957 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26958
26959 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26960
26961 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26968 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26969 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26970 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26971 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26972 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26973 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26974 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26975 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26976 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26977 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26978 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26979 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26980 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26981 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26982 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26983
26984 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26985 ceil, ceilf, floor, floorf.
26986
26987 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26988 Perform IRELATIVE relocations last.
26989
26990 * elf/do-rel.h: Add another parameter nrelative, replacing the
26991 local variable with the same name. Change name of the function
26992 to end in Rel or Rela (uppercase).
26993 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26994 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26995 elf_dynamic_do_##reloc function.
26996
26997 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26998
26999 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27000 is sufficient, at least on modern CPUs.
27001
27002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27003
27004 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27005 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27006
27007 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27008 __expl_finite.
27009 * math/bits/math-finite.h: Add entries for exp.
27010 * math/e_expl.c: Add __*_finite alias.
27011 * sysdeps/i386/fpu/e_exp.S: Likewise.
27012 * sysdeps/i386/fpu/e_expf.S: Likewise.
27013 * sysdeps/i386/fpu/e_expl.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27015 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27019 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27020 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27021
27022 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27023 is sufficient, at least on modern CPUs.
27024
27025 * ctype/ctype-info.c (__ctype_init): Define.
27026 * include/ctype.h (__ctype_init): Declare.
27027 (__ctype_b_loc): The variable is always initialized.
27028 (__ctype_toupper_loc): Likewise.
27029 (__ctype_tolower_loc): Likewise.
27030 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27031 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27032
27033 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27034
27035 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27036
27037 * configure.in: Also look in $cxxmachine/include for C++ system
27038 headers.
27039
27040 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27041
27042 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27043 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27044 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27045 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27047 (USE_AS_WMEMCMP): New macro.
27048 Fixing indents.
27049 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27050 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27051 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27052 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27054 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27055 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27056 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27057 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27058 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27059 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27060 (USE_AS_WMEMCMP): New macro.
27061 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27062 * sysdeps/string/test-memcmp.c: Update.
27063 Fix simple_wmemcmp.
27064 Add new tests.
27065 * wcsmbs/wmemcmp.c: Update.
27066 (WMEMCMP): New macro.
27067 Fix overflow bug.
27068
27069 2011-10-12 Andreas Jaeger <aj@suse.de>
27070
27071 [BZ #13268]
27072 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27073
27074 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27075
27076 * libio/iofwide.c (do_length): Avoid warning.
27077
27078 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27079
27080 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27081
27082 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27083
27084 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27085 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27086 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27087 * sysdeps/i386/i686/fpu/e_log.S: New file.
27088 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27089 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27090
27091 * ctype/ctype.h: Add support for inlined isXXX functions when
27092 compiling C++ code.
27093
27094 2011-10-14 Andreas Schwab <schwab@redhat.com>
27095
27096 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27097
27098 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27099
27100 2011-10-13 Roland McGrath <roland@hack.frob.com>
27101
27102 [BZ #13291]
27103 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27104
27105 2011-10-13 Andreas Schwab <schwab@redhat.com>
27106
27107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27108 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27109 feraiseexcept.
27110
27111 * sysdeps/x86_64/memrchr.S: Check for zero size.
27112
27113 * string/stratcliff.c: Add memrchr tests.
27114
27115 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27116
27117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27118 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27119 rawmemchr-sse2 rawmemchr-sse2-bsf.
27120 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27121 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27122 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27123 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27124 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27125 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27126 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27127 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27128 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27129 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27130 * string/memrchr.c (MEMRCHR): New macro.
27131
27132 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27133
27134 Add integration with gcc's -ffinite-math-only and optimize wrapper
27135 functions in libm.
27136 * Versions.def: Define GLIBC_2.15 version for libm.
27137 * math/Makefile (headers): Add bits/math-finite.h.
27138 * math/bits/math-finite.h: New file.
27139 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27140 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27141 * math/e_acoshl.c: Add __*_finite alias.
27142 * math/e_acosl.c: Likewise.
27143 * math/e_asinl.c: Likewise.
27144 * math/e_atan2l.c: Likewise.
27145 * math/e_atanhl.c: Likewise.
27146 * math/e_coshl.c: Likewise.
27147 * math/e_exp10.c: Likewise.
27148 * math/e_exp10f.c: Likewise.
27149 * math/e_exp10l.c: Likewise.
27150 * math/e_exp2l.c: Likewise.
27151 * math/e_fmodl.c: Likewise.
27152 * math/e_gammal_r.c: Likewise.
27153 * math/e_hypotl.c: Likewise.
27154 * math/e_j0l.c: Likewise.
27155 * math/e_j1l.c: Likewise.
27156 * math/e_jnl.c: Likewise.
27157 * math/e_lgammal_r.c: Likewise.
27158 * math/e_log10l.c: Likewise.
27159 * math/e_log2l.c: Likewise.
27160 * math/e_logl.c: Likewise.
27161 * math/e_powl.c: Likewise.
27162 * math/e_sinhl.c: Likewise.
27163 * math/e_sqrtl.c: Likewise.
27164 * math/e_scalb.c: Completely rewritten and optimized.
27165 * math/e_scalbf.c: Likewise.
27166 * math/e_scalbl.c: Likewise.
27167 * math/w_acos.c: Likewise.
27168 * math/w_acosf.c: Likewise.
27169 * math/w_acosl.c: Likewise.
27170 * math/w_acosh.c: Likewise.
27171 * math/w_acoshf.c: Likewise.
27172 * math/w_acoshl.c: Likewise.
27173 * math/w_asin.c: Likewise.
27174 * math/w_asinf.c: Likewise.
27175 * math/w_asinl.c: Likewise.
27176 * math/w_atan2.c: Likewise.
27177 * math/w_atan2f.c: Likewise.
27178 * math/w_atan2l.c: Likewise.
27179 * math/w_atanh.c: Likewise.
27180 * math/w_atanhf.c: Likewise.
27181 * math/w_atanhl.c: Likewise.
27182 * math/w_exp10.c: Likewise.
27183 * math/w_exp10f.c: Likewise.
27184 * math/w_exp10l.c: Likewise.
27185 * math/w_fmod.c: Likewise.
27186 * math/w_fmodf.c: Likewise.
27187 * math/w_fmodl.c: Likewise.
27188 * math/w_j0.c: Likewise.
27189 * math/w_j0f.c: Likewise.
27190 * math/w_j0l.c: Likewise.
27191 * math/w_j1.c: Likewise.
27192 * math/w_j1f.c: Likewise.
27193 * math/w_j1l.c: Likewise.
27194 * math/w_jn.c: Likewise.
27195 * math/w_jnf.c: Likewise.
27196 * math/w_log.c: Likewise.
27197 * math/w_logf.c: Likewise.
27198 * math/w_logl.c: Likewise.
27199 * math/w_log10.c: Likewise.
27200 * math/w_log10f.c: Likewise.
27201 * math/w_log10l.c: Likewise.
27202 * math/w_log2.c: Likewise.
27203 * math/w_log2f.c: Likewise.
27204 * math/w_log2l.c: Likewise.
27205 * math/w_pow.c: Likewise.
27206 * math/w_powf.c: Likewise.
27207 * math/w_powl.c: Likewise.
27208 * math/w_remainder.c: Likewise.
27209 * math/w_remainderf.c: Likewise.
27210 * math/w_remainderl.c: Likewise.
27211 * math/w_scalb.c: Likewise.
27212 * math/w_scalbf.c: Likewise.
27213 * math/w_scalbl.c: Likewise.
27214 * math/w_sqrt.c: Likewise.
27215 * math/w_sqrtf.c: Likewise.
27216 * math/w_sqrtl.c: Likewise.
27217 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27218 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27219 used.
27220 * math/math_private.h: Declare __kernel_standard_f.
27221 * math/w_cosh.c: Remove cruft and optimize a bit.
27222 * math/w_coshf.c: Likewise.
27223 * math/w_coshl.c: Likewise.
27224 * math/w_exp2.c: Likewise.
27225 * math/w_exp2f.c: Likewise.
27226 * math/w_exp2l.c: Likewise.
27227 * math/w_hypot.c: Likewise.
27228 * math/w_hypotf.c: Likewise.
27229 * math/w_hypotl.c: Likewise.
27230 * math/w_lgamma.c: Likewise.
27231 * math/w_lgamma_r.c: Likewise.
27232 * math/w_lgammaf.c: Likewise.
27233 * math/w_lgammaf_r.c: Likewise.
27234 * math/w_lgammal.c: Likewise.
27235 * math/w_lgammal_r.c: Likewise.
27236 * math/w_sinh.c: Likewise.
27237 * math/w_sinhf.c: Likewise.
27238 * math/w_sinhl.c: Likewise.
27239 * math/w_tgamma.c: Likewise.
27240 * math/w_tgammaf.c: Likewise.
27241 * math/w_tgammal.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27243 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27244 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27245 Minor optimizations. Pretty printing. Remove cruft.
27246 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27247 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27248 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27249 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27250 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27251 * sysdeps/i386/fpu/e_asin.S: Likewise.
27252 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27253 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27254 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27255 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27256 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27257 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27259 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27260 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27261 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27262 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27263 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27264 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27265 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27266 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27267 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27268 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27269 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27270 * sysdeps/i386/fpu/e_log.S: Likewise.
27271 * sysdeps/i386/fpu/e_log10.S: Likewise.
27272 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27273 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27274 * sysdeps/i386/fpu/e_log2.S: Likewise.
27275 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27276 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27277 * sysdeps/i386/fpu/e_logf.S: Likewise.
27278 * sysdeps/i386/fpu/e_logl.S: Likewise.
27279 * sysdeps/i386/fpu/e_pow.S: Likewise.
27280 * sysdeps/i386/fpu/e_powf.S: Likewise.
27281 * sysdeps/i386/fpu/e_powl.S: Likewise.
27282 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27283 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27284 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27285 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27286 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27287 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27288 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27289 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27290 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27296 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27297 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27298 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27301 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27302 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27304 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27305 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27307 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27308 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27309 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27311 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27312 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27313 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27314 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27315 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27316 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27317 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27318 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27319 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27320 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27321 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27322 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27323 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27324 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27325 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27326 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27327 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27328 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27329 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27330 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27331 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27332 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27333 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27343 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27347 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27348 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27350 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27351 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27352 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27355 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27356 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27369 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27373 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27374 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27376 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27377 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27379 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27384 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27388 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27389 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27390 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27391 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27392 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27393 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27394 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27395 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27396 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27397 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27399 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27401 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27402 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27403 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27404 (__isnanf): Likewise.
27405 (__isinf_ns): Likewise.
27406 (__isinf_nsf): Likewise.
27407 (__finite): Likewise.
27408 (__finitef): Likewise.
27409 (__ieee754_sqrt): Define as macro.
27410 (__ieee754_sqrtf): Define as macro.
27411 (__ieee754_sqrtl): Define as macro.
27412 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27413 inlined copy.
27414 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27415 __FINITE_MATH_ONLY__ consistent.
27416 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27417
27418 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27419
27420 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27421 of rawmemchr.
27422
27423 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27424
27425 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27426
27427 * po/ja.po: Update from translation team.
27428
27429 2011-10-08 Roland McGrath <roland@hack.frob.com>
27430
27431 * locale/programs/locarchive.c (prepare_address_space): New function.
27432 (create_archive, enlarge_archive, open_archive): Use it.
27433
27434 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27435 inside [SHARED], where it is used.
27436
27437 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27438
27439 * nss/getent.c (netgroup_keys): Remove unused variable.
27440 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27441
27442 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27443
27444 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27445 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27447 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27448 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27449 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27450 * math/Makefile (libm-calls): Add s_isinf_ns.
27451 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27452 * math/multc3.c: Likewise.
27453 * math/s_casin.c: Likewise.
27454 * math/s_casinf.c: Likewise.
27455 * math/s_casinl.c: Likewise.
27456 * math/s_ccos.c: Likewise.
27457 * math/s_ccosf.c: Likewise.
27458 * math/s_ccosl.c: Likewise.
27459 * math/s_ctan.c: Likewise.
27460 * math/s_ctanf.c: Likewise.
27461 * math/s_ctanh.c: Likewise.
27462 * math/s_ctanhf.c: Likewise.
27463 * math/s_ctanhl.c: Likewise.
27464 * math/s_ctanl.c: Likewise.
27465 * math/w_fmod.c: Likewise.
27466 * math/w_fmodf.c: Likewise.
27467 * math/w_fmodl.c: Likewise.
27468 * math/w_remainder.c: Likewise.
27469 * math/w_remainderf.c: Likewise.
27470 * math/w_remainderl.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27472 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27473 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27475 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27476 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27477 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27478 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27479
27480 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27481 of the number.
27482 * stdio-common/printf_fphex.c: Likewise.
27483 * stdio-common/printf_size.c: Likewise.
27484
27485 * math/e_exp10.c: Include math_private.h using <...> not "...".
27486 * math/e_exp10f.c: Likewise.
27487 * math/e_exp10l.c: Likewise.
27488 * math/e_exp2l.c: Likewise.
27489 * math/e_j0l.c: Likewise.
27490 * math/e_j1l.c: Likewise.
27491 * math/e_jnl.c: Likewise.
27492 * math/e_lgammal_r.c: Likewise.
27493 * math/e_rem_pio2l.c: Likewise.
27494 * math/e_scalb.c: Likewise.
27495 * math/e_scalbf.c: Likewise.
27496 * math/e_scalbl.c: Likewise.
27497 * math/k_cosl.c: Likewise.
27498 * math/k_sinl.c: Likewise.
27499 * math/k_tanl.c: Likewise.
27500 * math/s_cacoshf.c: Likewise.
27501 * math/s_catan.c: Likewise.
27502 * math/s_catanf.c: Likewise.
27503 * math/s_catanh.c: Likewise.
27504 * math/s_catanhf.c: Likewise.
27505 * math/s_catanhl.c: Likewise.
27506 * math/s_catanl.c: Likewise.
27507 * math/s_ccosh.c: Likewise.
27508 * math/s_ccoshf.c: Likewise.
27509 * math/s_ccoshl.c: Likewise.
27510 * math/s_cexp.c: Likewise.
27511 * math/s_cexpf.c: Likewise.
27512 * math/s_cexpl.c: Likewise.
27513 * math/s_clog.c: Likewise.
27514 * math/s_clog10.c: Likewise.
27515 * math/s_clog10f.c: Likewise.
27516 * math/s_clog10l.c: Likewise.
27517 * math/s_clogf.c: Likewise.
27518 * math/s_clogl.c: Likewise.
27519 * math/s_csin.c: Likewise.
27520 * math/s_csinf.c: Likewise.
27521 * math/s_csinh.c: Likewise.
27522 * math/s_csinhf.c: Likewise.
27523 * math/s_csinhl.c: Likewise.
27524 * math/s_csinl.c: Likewise.
27525 * math/s_csqrt.c: Likewise.
27526 * math/s_csqrtf.c: Likewise.
27527 * math/s_csqrtl.c: Likewise.
27528 * math/s_ctan.c: Likewise.
27529 * math/s_ctanf.c: Likewise.
27530 * math/s_ctanh.c: Likewise.
27531 * math/s_ctanhf.c: Likewise.
27532 * math/s_ctanhl.c: Likewise.
27533 * math/s_ctanl.c: Likewise.
27534 * math/s_ldexp.c: Likewise.
27535 * math/s_ldexpf.c: Likewise.
27536 * math/s_ldexpl.c: Likewise.
27537 * math/s_significand.c: Likewise.
27538 * math/s_significandf.c: Likewise.
27539 * math/s_significandl.c: Likewise.
27540 * math/w_acos.c: Likewise.
27541 * math/w_acosf.c: Likewise.
27542 * math/w_acosh.c: Likewise.
27543 * math/w_acoshf.c: Likewise.
27544 * math/w_acoshl.c: Likewise.
27545 * math/w_acosl.c: Likewise.
27546 * math/w_asin.c: Likewise.
27547 * math/w_asinf.c: Likewise.
27548 * math/w_asinl.c: Likewise.
27549 * math/w_atan2.c: Likewise.
27550 * math/w_atan2f.c: Likewise.
27551 * math/w_atan2l.c: Likewise.
27552 * math/w_atanh.c: Likewise.
27553 * math/w_atanhf.c: Likewise.
27554 * math/w_atanhl.c: Likewise.
27555 * math/w_cosh.c: Likewise.
27556 * math/w_coshf.c: Likewise.
27557 * math/w_coshl.c: Likewise.
27558 * math/w_dremf.c: Likewise.
27559 * math/w_exp10.c: Likewise.
27560 * math/w_exp10f.c: Likewise.
27561 * math/w_exp10l.c: Likewise.
27562 * math/w_exp2.c: Likewise.
27563 * math/w_exp2f.c: Likewise.
27564 * math/w_fmod.c: Likewise.
27565 * math/w_fmodf.c: Likewise.
27566 * math/w_fmodl.c: Likewise.
27567 * math/w_hypot.c: Likewise.
27568 * math/w_hypotf.c: Likewise.
27569 * math/w_hypotl.c: Likewise.
27570 * math/w_j0.c: Likewise.
27571 * math/w_j0f.c: Likewise.
27572 * math/w_j0l.c: Likewise.
27573 * math/w_j1.c: Likewise.
27574 * math/w_j1f.c: Likewise.
27575 * math/w_j1l.c: Likewise.
27576 * math/w_jn.c: Likewise.
27577 * math/w_jnf.c: Likewise.
27578 * math/w_jnl.c: Likewise.
27579 * math/w_lgamma.c: Likewise.
27580 * math/w_lgamma_r.c: Likewise.
27581 * math/w_lgammaf.c: Likewise.
27582 * math/w_lgammaf_r.c: Likewise.
27583 * math/w_lgammal.c: Likewise.
27584 * math/w_lgammal_r.c: Likewise.
27585 * math/w_log.c: Likewise.
27586 * math/w_log10.c: Likewise.
27587 * math/w_log10f.c: Likewise.
27588 * math/w_log10l.c: Likewise.
27589 * math/w_log2.c: Likewise.
27590 * math/w_log2f.c: Likewise.
27591 * math/w_log2l.c: Likewise.
27592 * math/w_logf.c: Likewise.
27593 * math/w_logl.c: Likewise.
27594 * math/w_pow.c: Likewise.
27595 * math/w_powf.c: Likewise.
27596 * math/w_powl.c: Likewise.
27597 * math/w_remainder.c: Likewise.
27598 * math/w_remainderf.c: Likewise.
27599 * math/w_remainderl.c: Likewise.
27600 * math/w_scalb.c: Likewise.
27601 * math/w_scalbf.c: Likewise.
27602 * math/w_scalbl.c: Likewise.
27603 * math/w_sinh.c: Likewise.
27604 * math/w_sinhf.c: Likewise.
27605 * math/w_sinhl.c: Likewise.
27606 * math/w_sqrt.c: Likewise.
27607 * math/w_sqrtf.c: Likewise.
27608 * math/w_sqrtl.c: Likewise.
27609 * math/w_tgamma.c: Likewise.
27610 * math/w_tgammaf.c: Likewise.
27611 * math/w_tgammal.c: Likewise.
27612
27613 * po/ja.po: Update from translation team.
27614
27615 2011-09-29 Andreas Jaeger <aj@suse.de>
27616
27617 [BZ #13179]
27618 * sunrpc/netname.c (netname2host): Fix logic.
27619
27620 [BZ #6779]
27621 [BZ #6783]
27622 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27623 correctly.
27624 * math/w_remainder.c (__remainder): Likewise.
27625 * math/w_remainderf.c (__remainderf): Likewise.
27626 * math/libm-test.inc (remainder_test): Add test cases.
27627
27628 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27629
27630 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27631 sdiv_qrnnd.
27632
27633 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27634
27635 * string/test-memcmp.c: Avoid unncessary #defines.
27636 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27637
27638 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27639
27640 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27641 Use new sse2 version for core i3 - i7 as it's faster
27642 than sse42 version.
27643 (bit_Prefer_PMINUB_for_stringop): New.
27644 * sysdeps/x86_64/rawmemchr.S: Update.
27645 Replace with faster SSE2 version.
27646 * sysdeps/x86_64/memrchr.S: New file.
27647 * sysdeps/x86_64/memchr.S: Update.
27648 Replace with faster SSE2 version.
27649
27650 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27651
27652 * elf/dl-load.c (lose): Add cast to avoid warning.
27653
27654 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27655
27656 * po/ca.po: Update from translation team.
27657
27658 * inet/getnetgrent_r.c: Hook up nscd.
27659 * nscd/Makefile (routines): Add nscd_netgroup.
27660 (nscd-modules): Add netgroupcache.
27661 (CFLAGS-netgroupcache.c): Define.
27662 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27663 (cache_search): Add const to second parameter.
27664 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27665 INNETGR.
27666 (dbs): Add netgrdb entry.
27667 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27668 (verify_persistent_db): Handle netgrdb.
27669 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27670 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27671 GETFDNETGR.
27672 (netgroup_response_header): Define.
27673 (innetgroup_response_header): Define.
27674 (datahead): Add netgroup_response_header and innetgroup_response_header
27675 elements.
27676 * nscd/nscd.conf: Add entries for netgroup cache.
27677 * nscd/nscd.h (dbtype): Add netgrdb.
27678 (_PATH_NSCD_NETGROUP_DB): Define.
27679 (netgroup_iov_disabled): Declare.
27680 (xmalloc, xcalloc, xrealloc): Move declarations here.
27681 (cache_search): Adjust prototype.
27682 Add netgroup-related prototypes.
27683 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27684 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27685 (__nscd_innetgr): Declare.
27686 * nscd/selinux.c (perms): Use access_vector_t as element type and
27687 add netgroup-related initializers.
27688 * nscd/netgroupcache.c: New file.
27689 * nscd/nscd_netgroup.c: New file.
27690 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27691 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27692 For four parameters use innetgr.
27693 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27694 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27695 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27696 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27697
27698 * nscd/connections.c (register_traced_file): Don't register file
27699 for disabled databases.
27700
27701 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27702
27703 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27704
27705 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27706 from tree and freeing node.
27707
27708 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27709
27710 * nss/nsswitch.c (__nss_database_lookup): Handle
27711 nss_parse_service_list out of memory case.
27712
27713 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27714
27715 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27716 out of memory case.
27717
27718 2011-10-04 Andreas Schwab <schwab@redhat.com>
27719
27720 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27721 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27722 pass it down.
27723 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27724 elf_machine_rela, elf_machine_lazy_rel.
27725 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27726 (ELF_DYNAMIC_DO_REL): Likewise.
27727 (ELF_DYNAMIC_DO_RELA): Likewise.
27728 (ELF_DYNAMIC_RELOCATE): Likewise.
27729 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27730 to ELF_DYNAMIC_DO_REL.
27731 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27732 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27733 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27734 elf_machine_rela.
27735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27736 skip_ifunc, don't call ifunc function if non-zero.
27737 (elf_machine_rela): Likewise.
27738 (elf_machine_lazy_rel): Likewise.
27739 (elf_machine_lazy_rela): Likewise.
27740 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27741 (elf_machine_lazy_rel): Likewise.
27742 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27743 Likewise.
27744 (elf_machine_lazy_rel): Likewise.
27745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27746 Likewise.
27747 (elf_machine_lazy_rel): Likewise.
27748 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27749 (elf_machine_lazy_rel): Likewise.
27750 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27751 (elf_machine_lazy_rel): Likewise.
27752 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27753 (elf_machine_lazy_rel): Likewise.
27754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27755 (elf_machine_lazy_rel): Likewise.
27756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27757 (elf_machine_lazy_rel): Likewise.
27758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27759 (elf_machine_lazy_rel): Likewise.
27760
27761 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27762
27763 * nss/nss_files/files-init.c (_nss_files_init): Use static
27764 initialization for all the *_traced_file variables.
27765
27766 2011-09-28 Andreas Schwab <schwab@redhat.com>
27767
27768 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27769
27770 2011-09-27 Roland McGrath <roland@hack.frob.com>
27771
27772 [BZ #13226]
27773 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27774
27775 2011-09-27 Andreas Schwab <schwab@redhat.com>
27776
27777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27778 Reread the line before reparsing it.
27779
27780 2011-09-26 Andreas Schwab <schwab@redhat.com>
27781
27782 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27783
27784 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27785 Maxim Kuvyrkov <maxim@codesourcery.com>
27786 Joseph Myers <joseph@codesourcery.com>
27787
27788 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27789 if needed for __stack_chk_guard.
27790
27791 2011-09-19 Roland McGrath <roland@hack.frob.com>
27792
27793 * sysdeps/posix/spawni.c (script_execute): Always define it.
27794 It will be optimized away if unused.
27795 (maybe_script_execute): New function.
27796 (__spawni): Call it.
27797
27798 * Makerules: Don't include tls.make.
27799 (config-tls): Always set to thread.
27800 * tls.make.c: File removed.
27801
27802 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27803
27804 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27805 * config.make.in (CPPFLAGS-config): New substituted variable.
27806
27807 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27808
27809 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27810
27811 [BZ #13192]
27812 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27813 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27814
27815 2011-09-15 Roland McGrath <roland@hack.frob.com>
27816
27817 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27818 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27820 (CALL_FAIL): Likewise.
27821 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27822 (CALL_FAIL): Macro removed.
27823 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27824
27825 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27826
27827 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27828 for __FINITE_MATH_ONLY__ == 1.
27829
27830 2011-09-15 Andreas Schwab <schwab@redhat.com>
27831
27832 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27833 __ieee754_sqrt instead of sqrt.
27834 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27835 __ieee754_sqrtf instead of sqrtf.
27836 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27837 __floorf instead of floorf.
27838 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27839 __floorf, __truncf instead of floorf, truncf.
27840
27841 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27842
27843 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27844
27845 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27846 __extern_always_inline.
27847 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27848 32-bit.
27849
27850 2011-09-14 Andreas Schwab <schwab@redhat.com>
27851
27852 * elf/rtld.c (dl_main): Also relocate in dependency order when
27853 doing symbol dependency testing.
27854
27855 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27856
27857 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27858 Always define `refsym'.
27859
27860 2011-09-13 Andreas Schwab <schwab@redhat.com>
27861
27862 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27863 (__FD_ELT): Renamed from __FDELT.
27864 * misc/bits/select2.h (__FD_ELT): Likewise.
27865 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27866 __FD_MASK instead of __FDELT, __FDMASK.
27867 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27868 Likewise.
27869 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27870 Likewise.
27871
27872 * elf/Makefile (gen-ldd): Fix pattern.
27873
27874 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27875 (init_tls): Likewise.
27876
27877 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27878
27879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27880
27881 2011-09-12 Andreas Schwab <schwab@redhat.com>
27882
27883 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27884 `struct cmsghdr *' instead of `void *'.
27885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27886 Likewise.
27887
27888 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27889
27890 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27891 if non-absolute.
27892 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27893 ldd_rewrite_script.
27894
27895 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27896
27897 * configure.in: Remove --with-tls option.
27898 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27899 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27900 out in case it is missing.
27901 * sysdeps/ia64/elf/configure.in: Likewise.
27902 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27903 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27904 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27905 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27906 * sysdeps/sh/elf/configure.in: Likewise.
27907 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27908 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27909 * sysdeps/x86_64/elf/configure.in: Likewise.
27910 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27911 * sysdeps/mach/hurd/tls.h: Likewise.
27912
27913 [BZ #13067]
27914 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27915
27916 [BZ #13090]
27917 * configure.in: Fix use of AC_INIT.
27918
27919 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27920
27921 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27922
27923 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27924 __set_errno.
27925 * malloc/hooks.c: Likewise.
27926
27927 [BZ #11929]
27928 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27929 variables statically.
27930 (narenas): Initialize.
27931 (list_lock): Initialize.
27932 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27933 initializtion of main_arena and list_lock. Small cleanups.
27934 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27935 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27936 Add initializers to main_arena and mp_.
27937 (malloc_state): Remove pagesize member. Change all users to use
27938 GLRO(dl_pagesize).
27939
27940 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27941 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27942 is always initialized.
27943
27944 * malloc/malloc.c: Removed unused configurations and dead code.
27945 * malloc/arena.c: Likewise.
27946 * malloc/hooks.c: Likewise.
27947 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27948
27949 * include/tls.h: Removed. USE___THREAD must always be defined.
27950 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27951 * elf/dl-libc.c: Likewise.
27952 * elf/dl-tsd.c: Likewise.
27953 * include/errno.h: Likewise.
27954 * include/netdb.h: Likewise.
27955 * include/resolv.h: Likewise.
27956 * inet/herrno-loc.c: Likewise.
27957 * inet/herrno.c: Likewise.
27958 * malloc/arena.c: Likewise.
27959 * malloc/hooks.c: Likewise.
27960 * malloc/malloc.c: Likewise.
27961 * resolv/res-state.c: Likewise.
27962 * resolv/res_libc.c: Likewise.
27963 * sysdeps/i386/dl-machine.h: Likewise.
27964 * sysdeps/ia64/dl-machine.h: Likewise.
27965 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27966 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27967 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27968 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27969 * sysdeps/sh/dl-machine.h: Likewise.
27970 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27971 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27972 * sysdeps/unix/i386/sysdep.S: Likewise.
27973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27974 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27977 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27979 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27983 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27984 * sysdeps/x86_64/dl-machine.h: Likewise.
27985 * tls.make.c: Likewise.
27986
27987 * configure.in: Remove --with-__thread option. Make tests for
27988 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27989 tls_model attribute fail if no support is available. Remove
27990 USE_IN_LIBIO.
27991 * Makeconfig: Adjust for dropped configure option. All features are
27992 now mandatory.
27993 * Makerules: Likewise.
27994 * Versions.def: Likewise.
27995 * argp/argp-fmtstream.c: Likewise.
27996 * argp/argp-fmtstream.h: Likewise.
27997 * argp/argp-help.c: Likewise.
27998 * assert/assert.c: Likewise.
27999 * config.h.in: Likewise.
28000 * config.make.in: Likewise.
28001 * configure: Likewise.
28002 * configure.in: Likewise.
28003 * csu/Versions: Likewise.
28004 * csu/init.c: Likewise.
28005 * elf/tst-audit2.c: Likewise.
28006 * elf/tst-tls10.c: Likewise.
28007 * elf/tst-tls10.h: Likewise.
28008 * elf/tst-tls11.c: Likewise.
28009 * elf/tst-tls12.c: Likewise.
28010 * elf/tst-tls14.c: Likewise.
28011 * elf/tst-tlsmod11.c: Likewise.
28012 * elf/tst-tlsmod12.c: Likewise.
28013 * elf/tst-tlsmod13.c: Likewise.
28014 * elf/tst-tlsmod13a.c: Likewise.
28015 * elf/tst-tlsmod14a.c: Likewise.
28016 * elf/tst-tlsmod15b.c: Likewise.
28017 * elf/tst-tlsmod16a.c: Likewise.
28018 * elf/tst-tlsmod16b.c: Likewise.
28019 * elf/tst-tlsmod7.c: Likewise.
28020 * elf/tst-tlsmod8.c: Likewise.
28021 * elf/tst-tlsmod9.c: Likewise.
28022 * gmon/gmon.c: Likewise.
28023 * grp/fgetgrent_r.c: Likewise.
28024 * grp/putgrent.c: Likewise.
28025 * hurd/fopenport.c: Likewise.
28026 * include/libc-symbols.h: Likewise.
28027 * include/tls.h: Likewise.
28028 * intl/gettextP.h: Likewise.
28029 * intl/loadinfo.h: Likewise.
28030 * locale/global-locale.c: Likewise.
28031 * locale/localeinfo.h: Likewise.
28032 * mach/devstream.c: Likewise.
28033 * malloc/arena.c: Likewise.
28034 * malloc/set-freeres.c: Likewise.
28035 * misc/err.c: Likewise.
28036 * misc/getttyent.c: Likewise.
28037 * misc/mntent_r.c: Likewise.
28038 * posix/getopt.c: Likewise.
28039 * posix/wordexp.c: Likewise.
28040 * pwd/fgetpwent_r.c: Likewise.
28041 * resolv/Versions: Likewise.
28042 * resolv/res_hconf.c: Likewise.
28043 * shadow/fgetspent_r.c: Likewise.
28044 * shadow/putspent.c: Likewise.
28045 * stdio-common/printf_fphex.c: Likewise.
28046 * stdio-common/tmpfile.c: Likewise.
28047 * stdlib/abort.c: Likewise.
28048 * stdlib/fmtmsg.c: Likewise.
28049 * sunrpc/auth_unix.c: Likewise.
28050 * sunrpc/clnt_perr.c: Likewise.
28051 * sunrpc/clnt_tcp.c: Likewise.
28052 * sunrpc/clnt_udp.c: Likewise.
28053 * sunrpc/clnt_unix.c: Likewise.
28054 * sunrpc/openchild.c: Likewise.
28055 * sunrpc/svc_simple.c: Likewise.
28056 * sunrpc/svc_tcp.c: Likewise.
28057 * sunrpc/svc_udp.c: Likewise.
28058 * sunrpc/svc_unix.c: Likewise.
28059 * sunrpc/xdr.c: Likewise.
28060 * sunrpc/xdr_array.c: Likewise.
28061 * sunrpc/xdr_rec.c: Likewise.
28062 * sunrpc/xdr_ref.c: Likewise.
28063 * sunrpc/xdr_stdio.c: Likewise.
28064
28065 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28066
28067 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28068
28069 2011-07-03 Andreas Jaeger <aj@suse.de>
28070
28071 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28072 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28073 regenerate with gen-libm-tests.pl.
28074
28075 2010-05-12 Petr Baudis <pasky@suse.cz>
28076
28077 [BZ #11589]
28078 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28079 around j0() zero points by switching to j1().
28080 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28084
28085 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28086
28087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28088 instead of 0.
28089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28090 instead of 0.
28091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28092 Patch in part by Pavel Roskin <proski@gnu.org>.
28093
28094 [BZ #13138]
28095 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28096 realloc.
28097 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28098 Free memory block if necessary.
28099
28100 [BZ #12847]
28101 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28102 be NULL. Don't lock in this case.
28103
28104 2011-09-09 Roland McGrath <roland@hack.frob.com>
28105
28106 * elf/elf.h (ELFOSABI_GNU): New macro.
28107 (ELFOSABI_LINUX): Define to that.
28108
28109 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28110
28111 * string/strncat.c (strncat): Undef the symbol in case it has been
28112 defined in bits/string.h.
28113
28114 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28115
28116 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28117
28118 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28119 link map.
28120
28121 2011-08-17 Andreas Jaeger <aj@suse.de>
28122
28123 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28124
28125 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28126 Ian Lance Taylor <iant@google.com>
28127
28128 * math/libm-test.inc (lround_test): New testcase.
28129 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28130
28131 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28132
28133 * Makefile: Remove support for automatic cvs check-ins.
28134 * Makerules: Likewise.
28135 * config.make.in: Likewise.
28136 * configure.in: Likewise.
28137 * intl/Makefile: Likewise.
28138 * locale/Makefile: Likewise.
28139 * po/Makefile: Likewise.
28140 * posix/Makefile: Likewise.
28141 * sysdeps/gnu/Makefile: Likewise.
28142 * sysdeps/mach/hurd/Makefile: Likewise.
28143 * sysdeps/sparc/sparc32/Makefile: Likewise.
28144
28145 [BZ #13118]
28146 * posix/Makefile (bug-regex32-ENV): Define.
28147 Patch by John Stanley <jpsinthemix@verizon.net>.
28148
28149 * misc/Makefile (headers): Add bits/select2.h.
28150 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28151 * misc/bits/select2.h: New file.
28152 * include/bits/select2.h: New file.
28153 * debug/Makefile (routines): Add fdelt_chk.
28154 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28155 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28156 FD_ISSET.
28157 * debug/fdelt_chk.c: New file.
28158
28159 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28160 * wcsmbs/test-wmemcmp.c: Likewise.
28161 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28162 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28163
28164 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28165
28166 * string/Makefile (strop-tests): Add memcmp.
28167 * string/test-wmemcmp.c: New file.
28168 * string/test-memcmp.c: Add wmemcmp support.
28169
28170 2011-09-08 Roland McGrath <roland@hack.frob.com>
28171
28172 [BZ #13153]
28173 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28174 2011-07-19 change.
28175
28176 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28177 garbage value in a __mach_port_mod_refs call in the cases of the
28178 task-self and thread-self ports.
28179
28180 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28181
28182 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28183
28184 2011-09-08 Andreas Schwab <schwab@redhat.com>
28185
28186 * elf/dl-load.c (lose): Check for non-null L.
28187
28188 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28189
28190 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28191
28192 * elf/dl-libc.c (dlerror_run): Pass back error code from
28193 dl_catch_error.
28194
28195 [BZ #13123]
28196 * elf/dl-load.c (lose): Free l_origin if it is valid.
28197
28198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28199 names.
28200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28201 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28202 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28205 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28206
28207 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28208
28209 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28210 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28211 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28212 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28213 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28214 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28215 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28216 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28217 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28218 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28219
28220 2011-08-15 Alan Modra <amodra@gmail.com>
28221
28222 [BZ #13092]
28223 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28224 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28225 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28226 ppc_mcount to static-only-routines.
28227 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28228 __mcount_internal.
28229 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28230 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28231
28232 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28233
28234 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28235 for finite and infinity parameters.
28236
28237 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28238
28239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28240 and add nop instructions for throughput optimization.
28241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28242
28243 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28244
28245 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28246 aligned copy for power7 with vector-scalar instructions.
28247 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28248
28249 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28250
28251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28252 AVX check.
28253
28254 2011-09-07 Andreas Schwab <schwab@redhat.com>
28255
28256 [BZ #13144]
28257 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28258 last change.
28259
28260 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28261
28262 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28263 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28264 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28265 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28266 clock_gettime.
28267
28268 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28269
28270 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28271 Forgot to demangle the pointer.
28272
28273 * sysdeps/i386/sysdep.h: Define atom_text_section.
28274 * sysdeps/x86_64/sysdep.h: Likewise.
28275 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28276 section with atom_text_section.
28277 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28278 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28279 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28280 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28281 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28282
28283 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28284 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28285 already be defined. Change to take two parameters and don't assign
28286 result to variable. Adjust all users.
28287 Define INTERNAL_GETTIME if not already defined.
28288 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28289 call.
28290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28291 HAVE_CLOCK_GETTIME_VSYSCALL.
28292 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28293
28294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28295 gettimeofday vsyscall, just use time.
28296
28297 2011-09-06 Andreas Schwab <schwab@redhat.com>
28298
28299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28300 <errno.h>.
28301
28302 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28303
28304 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28305 syscall on x86-64.
28306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28307 syscall.
28308 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28309 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28310 syscall if possible.
28311
28312 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28313
28314 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28315 e_ident. Don't pass to find_mapsXX.
28316 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28317
28318 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28319
28320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28321 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28322 * sysdeps/x86_64/multiarch/strchr.S: Update.
28323 Check bit_slow_BSF bit.
28324 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28325 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28326 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28327
28328 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28329
28330 [BZ #13134]
28331 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28332 before glibc 2.15.
28333 (tryshell): Define.
28334 (__spawni): Change last parameter to be flag. Test
28335 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28336 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28337 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28338 * posix/spawni.c: Likewise.
28339 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28340 * posix/spawnp.c: Likewise. Change normal version to use
28341 SPAWN_XFLAGS_USE_PATH.
28342 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28343 SPAWN_XFLAGS_TRY_SHELL.
28344
28345 [BZ #13150]
28346 * posix/glob.h: Remove gcc 1.x support.
28347
28348 [BZ #13068]
28349 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28350
28351 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28352
28353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28354 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28355 strrchr-sse2-bsf
28356 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28357 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28358 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28360 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28361 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28362
28363 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28364
28365 * sysdeps/x86_64/wcscmp.S: New file.
28366
28367 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28368 wcscmp-c wcscmp-sse2
28369 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28370 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28371 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28372 * wcsmbs/wcscmp.c: Allow renaming.
28373
28374 2011-09-05 David S. Miller <davem@davemloft.net>
28375
28376 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28377 stack slot, rather than the struct return pointer slot.
28378 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28379 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28381 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28382
28383 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28384
28385 * po/ja.po: Update from translation team.
28386
28387 [BZ #13144]
28388 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28389 kernel in 64-bit binaries.
28390
28391 2011-09-01 David S. Miller <davem@davemloft.net>
28392
28393 * elf/elf.h (HWCAP_SPARC_*): Move to..
28394 * sysdeps/sparc/sysdep.h: this new file and add new values.
28395 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28396 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28397 _DL_HWCAP_COUNT to 24.
28398 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28399 entries.
28400 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28401 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28402 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28404 instead of magic constants.
28405 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28406
28407 2011-08-31 David S. Miller <davem@davemloft.net>
28408
28409 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28411 Reimplement to do errno handling inline.
28412 (SYSCALL_ERROR_HANDLER): New macro.
28413 (__SYSCALL_STRING): Do not do errno handling in asm.
28414 (__CLONE_SYSCALL_STRING): Delete.
28415 (__INTERNAL_SYSCALL_STRING): Delete.
28416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28417 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28418 (PSEUDO): Reimplement to do errno handling inline.
28419 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28420 (SYSCALL_ERROR_HANDLER): New macro.
28421 (__SYSCALL_STRING): Do not do errno handling in asm.
28422 (__CLONE_SYSCALL_STRING): Delete.
28423 (__INTERNAL_SYSCALL_STRING): Delete.
28424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28425 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28426 i386.
28427 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28428 (inline_syscall*): Add 'err' argument.
28429 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28430 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28431 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28432 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28433
28434 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28435 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28436
28437 2011-08-30 Andreas Schwab <schwab@redhat.com>
28438
28439 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28440
28441 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28442
28443 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28444 directive.
28445
28446 2011-08-24 David S. Miller <davem@davemloft.net>
28447
28448 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28449
28450 2011-08-24 Andreas Schwab <schwab@redhat.com>
28451
28452 * elf/Makefile: Add rules to build and run unload8 test.
28453 * elf/unload8.c: New file.
28454 * elf/unload8mod1.c: New file.
28455 * elf/unload8mod1x.c: New file.
28456 * elf/unload8mod2.c: New file.
28457 * elf/unload8mod3.c: New file.
28458
28459 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28460 it wasn't used.
28461
28462 2011-08-23 David S. Miller <davem@davemloft.net>
28463
28464 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28465 subtract stack bias.
28466 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28467 %sp not %fp in calculations.
28468 (_JMPBUF_UNWINDS_ADJ): Likewise.
28469
28470 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28471 (aio_suspend): Call it to force an exception region around the
28472 AIO_MISC_WAIT() invocation.
28473
28474 2011-08-23 Andreas Schwab <schwab@redhat.com>
28475
28476 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28477 backslash.
28478
28479 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28480
28481 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28482 protection macro.
28483 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28484 and <dl-machine.h>.
28485 (Elf64_FuncDesc): Remove.
28486
28487 2011-08-22 David S. Miller <davem@davemloft.net>
28488
28489 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28490 sigaltstack check, add missing cfi directives.
28491 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28492 missing cfi directives, and sigaltstack handling.
28493
28494 2011-08-16 Andreas Schwab <schwab@redhat.com>
28495
28496 [BZ #11724]
28497 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28498 object is seen twice.
28499 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28500
28501 * elf/Makefile (distribute): Add tst-initorder2.c.
28502 (tests): Add tst-initorder2.
28503 (modules-names): Add tst-initorder2a tst-initorder2b
28504 tst-initorder2c tst-initorder2d. Add rules to build them.
28505 ($(objpfx)tst-initorder2.out): New rule.
28506 * elf/tst-initorder2.c: New file.
28507 * elf/tst-initorder2.exp: New file.
28508
28509 2011-08-22 Andreas Schwab <schwab@redhat.com>
28510
28511 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28512
28513 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28514 dependencies back to end of function.
28515
28516 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28517 $(elfobjdir)/ld.so.
28518
28519 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28520
28521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28522 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28524 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28525 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28526 of __vdso_gettimeofday.
28527 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28528 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28529 attribute_hidden.
28530 (_libc_vdso_platform_setup): Remove initialization of
28531 __vdso_gettimeofday and __vdso_time.
28532
28533 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28534
28535 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28536 and fgetc_unlocked.
28537 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28538 getc_unlocked.
28539
28540 * elf/dl-open.c (add_to_global): Report additions to the global scope
28541 for LD_DEBUG=scopes.
28542 (dl_open_worker): Also print scope of newly loaded dependencies.
28543 (_dl_show_scope): Indicate if there is no scope.
28544
28545 [BZ #13114]
28546 * stdio-common/Makefile (tests): Add bug24.
28547 * stdio-common/bug24.c: New file.
28548
28549 2011-08-19 Andreas Jaeger <aj@suse.de>
28550
28551 [BZ #13114]
28552 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28553 non-existant file when using close-on-exec mode.
28554
28555 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28556
28557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28558 the very first instruction.
28559
28560 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28561 the CFI state in the end.
28562 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28563 inclusion of dl-trampoline.h.
28564 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28565
28566 2011-08-19 Andreas Schwab <schwab@redhat.com>
28567
28568 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28569 expectations for long double.
28570
28571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28572 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28573
28574 2011-08-14 David S. Miller <davem@davemloft.net>
28575
28576 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28577 artificual limit depends upon the system page size.
28578
28579 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28580
28581 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28582 * resolv/Makefile: Define CFLAGS-libresolv.
28583
28584 2011-08-17 Andreas Schwab <schwab@redhat.com>
28585
28586 * nss/makedb.c (compute_tables): Make variables used in nested
28587 function static.
28588
28589 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28590
28591 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28592 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28593 if buffer was too small.
28594
28595 * elf/pldd.c (main): Attach to all threads in the process.
28596 Rewrite /proc handling to use *at functions.
28597
28598 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28599
28600 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28601 specifies first scope to show.
28602 (dl_open_worker): Update callers. Move printing scope of new
28603 object to before the relocation.
28604 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28605 * sysdeps/generic/ldsodefs.h: Update declaration.
28606
28607 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28608 string for the scope number.
28609
28610 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28611
28612 * nscd/servicescache.c (cache_addserv): Make sure written is always
28613 initialized.
28614
28615 2011-08-14 Roland McGrath <roland@hack.frob.com>
28616
28617 * sysdeps/i386/i486/bits/atomic.h
28618 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28619 statement expression, so as to suppress "set but not used" warning.
28620 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28621
28622 * string/strncat.c (STRNCAT): Use prototype definition.
28623
28624 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28625 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28626 -Iprograms here.
28627 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28628 (localedef-modules): Add localedef.
28629 (locale-modules): Add locale.
28630
28631 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28632 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28633 to avoid a warning.
28634
28635 2011-08-14 David S. Miller <davem@davemloft.net>
28636
28637 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28638 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28639
28640 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28641
28642 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28643 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28644 * elf/rtld.c (dl_main): Set l_name of vDSO.
28645 Call _dl_show_scope when DL_DEBUG_SCOPES.
28646 (process_dl_debug): Recognize scopes flag and also set it for all.
28647 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28648 Declare _dl_show_scope.
28649
28650 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28651 (do_dlopen): Pass caller_dlopen to dl_open.
28652 (__libc_dlopen_mode): Initialize caller_dlopen.
28653
28654 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28655 of libc. Make tolower call locale-independent. Optimize a bit by
28656 using isdigit instead of isalnum.
28657 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28658
28659 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28660
28661 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28662 was a dependency or dynamically loaded.
28663
28664 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28665
28666 * intl/l10nflist.c: Allow architecture-specific pop function.
28667 * sysdeps/x86_64/l10nflist.c: New file.
28668
28669 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28670 classification.
28671
28672 2011-08-10 Andreas Schwab <schwab@redhat.com>
28673
28674 * include/dirent.h: Add libc_hidden_proto for scandirat and
28675 scandirat64. Don't declare __scandirat64.
28676 * dirent/scandirat.c: Add libc_hidden_def.
28677 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28678 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28679
28680 2011-08-10 David S. Miller <davem@davemloft.net>
28681
28682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28683 enum.
28684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28687
28688 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28689
28690 * Versions.def [libc]: Add GLIBC_2.15.
28691 * dirent/Makefile (routines): Add scandirat and scandirat64.
28692 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28693 GLIBC_2.15.
28694 * dirent/dirent.h: Declare scandirat and scandirat64.
28695 * dirent/scandirat.c: New file.
28696 * dirent/scandirat64.c: New file.
28697 * sysdeps/wordsize-64/scandirat.c: New file.
28698 * sysdeps/wordsize-64/scandirat64.c: New file.
28699 * dirent/opendir.c: Define opendirat.
28700 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28701 using scandirat.
28702 * dirent/scandir64.c: Adjust for scandir.c change.
28703 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28704 __scandirat64, and __scandir_cancel_handler.
28705 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28706 additional parameter and use openat instead of open (outside of ld.so).
28707 Add new __opendir as wrapper around __opendirat.
28708 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28709 here without requiring old scandirat implementation.
28710
28711 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28712
28713 * dirent/scandir.c (cancel_handler): Renamed to
28714 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28715 defined. Adjust users.
28716 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28718
28719 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28720
28721 * string/test-string.h (IMPL): Use __STRING to expand name and then
28722 stringify it.
28723
28724 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28725 of cleanups.
28726
28727 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28728
28729 * string/Makefile: Update.
28730 (strop-tests): Append strncat.
28731 * string/test-wcscmp.c: New file.
28732 New comprehensive test for wcscmp.
28733 * string/test-strcmp.c: Update.
28734 (WIDE): New define.
28735
28736 2011-07-22 Andreas Schwab <schwab@redhat.com>
28737
28738 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28739 line.
28740
28741 2011-07-26 Andreas Schwab <schwab@redhat.com>
28742
28743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28744 encoding to ACE if AI_IDN.
28745
28746 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28747
28748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28749 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28750
28751 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28752
28753 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28754 Fix overflow bug in strncat.
28755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28756
28757 * string/test-strncat.c: Update.
28758 Add new tests for checking overflow bugs.
28759
28760 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28761
28762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28763 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28764 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28765 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28766 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28767 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28768 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28769 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28770 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28771
28772 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28773 (USE_AS_STRCAT): Define.
28774 Add strcat and strncat support.
28775 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28776
28777 2011-07-25 Andreas Schwab <schwab@redhat.com>
28778
28779 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28780 __n bigger than INT_MAX+1.
28781 (__strncmp_g): Likewise.
28782
28783 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28784
28785 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28786 * libio/stido.h: Likewise.
28787
28788 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28789 (AF_NFC): Define.
28790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28791 (AF_NFC): Define.
28792
28793 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28794 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28795 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28796 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28798
28799 [BZ #13021]
28800 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28801 installed.
28802
28803 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28804 typo.
28805 (_dl_x86_64_save_sse): Likewise.
28806
28807 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28808
28809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28810 OSXSAVE.
28811 (_dl_x86_64_save_sse): Likewise.
28812
28813 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28814
28815 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28816
28817 2011-07-21 Andreas Schwab <schwab@redhat.com>
28818
28819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28820 change.
28821 (_dl_x86_64_save_sse): Use correct AVX check.
28822
28823 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28824
28825 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28826 bug in strncpy/strncat.
28827 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28828
28829 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28830
28831 * string/tester.c (test_strcat): Add tests for different alignments
28832 of source and destination.
28833 (test_strncat): Likewise.
28834
28835 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28836
28837 [BZ #12852]
28838 * posix/glob.c (glob): Check passed in values before using them in
28839 expressions to avoid some overflows.
28840 (glob_in_dir): Likewise.
28841
28842 [BZ #13007]
28843 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28844 check for AVX enablement so that we don't crash with old kernels and
28845 new hardware.
28846 * elf/tst-audit4.c: Add same checks here.
28847 * elf/tst-audit6.c: Likewise.
28848
28849 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28850
28851 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28852
28853 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28854
28855 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28856
28857 * po/cs.po: Update from translation team.
28858 * po/bg.po: Likewise.
28859
28860 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28861
28862 * misc/sys/cdefs.h: Add support for const attribute.
28863 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28864 to gnu_dev_{major,minor,makedev} functions.
28865
28866 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28867
28868 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28869
28870 2011-07-20 Andreas Schwab <schwab@redhat.com>
28871
28872 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28873 strlen results.
28874
28875 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28876
28877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28878 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28879 register in order to avoid conflicts with the soft frame pointer
28880 being held in r11 when necessary.
28881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28882 (INTERNAL_VSYSCALL_NCS): Likewise.
28883
28884 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28885
28886 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28887 * elf/dl-fini.c (_dl_fini): Adjust caller.
28888 * elf/dl-close.c (_dl_close_worker): Likewise.
28889 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28890
28891 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28892
28893 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28894 "aux_cache->nlibs < 0".
28895
28896 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28897 in the reload-count case.
28898
28899 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28900
28901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28902 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28903 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28904 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28905 * sysdeps/x86_64/multiarch/strcat.S: New file.
28906 * sysdeps/x86_64/multiarch/strncat.S: New file.
28907 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28908 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28909 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28910 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28912 (USE_AS_STRCAT): Define.
28913 Add strcat and strncat support.
28914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28915 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28916 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28917 * string/strncat.c: Update.
28918 (USE_AS_STRNCAT): Define.
28919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28920 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28921 and i7.
28922 * sysdeps/x86_64/multiarch/init-arch.h
28923 (bit_Prefer_PMINUB_for_stringop): New.
28924 (index_Prefer_PMINUB_for_stringop): Likewise.
28925 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28926 bit_Prefer_PMINUB_for_stringop.
28927
28928 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28929
28930 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28931 buffer64.
28932 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28933 of casting of buffer.
28934 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28935 buffer32 and buffer64.
28936 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28937 writes instead of casting of buffer.
28938 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28939 buffer32.
28940 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28941 casting of buffer.
28942
28943 2011-07-19 Andreas Schwab <schwab@redhat.com>
28944
28945 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28946
28947 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28948
28949 * nscd/nscd.c (termination_handler): Don't do anything for a database
28950 if it has not yet been initialized.
28951
28952 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28953
28954 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28955
28956 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28957
28958 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28959
28960 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28961
28962 * po/nl.po: Update from translation team.
28963 * po/sv.po: Likewise.
28964
28965 2011-07-16 Roland McGrath <roland@hack.frob.com>
28966
28967 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28968 now disallowed by GCC.
28969
28970 * configure.in (use-default-link): Default to yes if a test -shared
28971 link meets our qualifications.
28972 * configure: Regenerated.
28973
28974 * config.make.in (output-format): New variable.
28975 * configure.in: Check for ld --print-output-format support.
28976 * configure: Regenerated.
28977 * Makerules ($(common-objpfx)format.lds)
28978 [$(output-format) != unknown]: Just use $(output-format),
28979 instead of the linker-script munging.
28980
28981 2011-07-14 Roland McGrath <roland@hack.frob.com>
28982
28983 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28984 of $(common-objpfx)shlib.lds.
28985 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28986
28987 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28988 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28989
28990 * configure.in (-z relro check): Adjust test code to add a large
28991 writable data section after it.
28992 * configure: Regenerated.
28993
28994 2011-07-11 Roland McGrath <roland@hack.frob.com>
28995
28996 * configure.in (-z relro check): Fix test code to make the variable
28997 truly const.
28998 * configure: Regenerated.
28999
29000 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29001
29002 * nscd/nscd.h (struct traced_file): Define.
29003 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29004 elements. Add traced_files.
29005 (inotify_fd): Declare.
29006 (register_traced_file): Declare.
29007 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29008 (inotify_fd): Export.
29009 (resolv_conf_descr): Remove.
29010 (nscd_init): Move inotify descriptor creation to main.
29011 Don't register files for notification here.
29012 (register_traced_file): New function.
29013 (invalidate_cache): Don't use reset_res to determine whether to call
29014 res_init, go through the list of registered files.
29015 (main_loop_poll): The inotify descriptors are now stored in the
29016 structures for the traced files.
29017 (main_loop_epoll): Likewise
29018 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29019 to __nss_disable_nscd.
29020 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29021 for a database anymore. Check the records for all the registered
29022 files instead.
29023 * nss/Makefile (libnss_files-routines): Add files-init.
29024 (libnss_db-routines): Add db-init.
29025 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29026 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29027 * nss/nss_db/db-init.c: New file.
29028 * nss/nss_files/files-init.c: New file.
29029 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29030 __nss_lookup_function.
29031 (__nss_lookup_function): Call nss_load_library.
29032 (nss_load_all_libraries): New function.
29033 (__nss_disable_nscd): Take parameter with callback function for files
29034 to register. Set is_nscd. Load all the DSOs for the NSS modules
29035 used for the cached services.
29036 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29037 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29038 options for features to all the files in nscd.
29039
29040 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29041
29042 2011-07-10 Roland McGrath <roland@hack.frob.com>
29043
29044 * csu/elf-init.c (__libc_csu_init): Comment typo.
29045
29046 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29047
29048 * po/pl.po: Update from translation team.
29049 * po/ja.po: Likewise.
29050 * po/ru.po: Likewise.
29051 * po/ko.po: Likewise.
29052 * po/fr.po: Likewise.
29053
29054 2011-07-09 Roland McGrath <roland@hack.frob.com>
29055
29056 * configure.in (.ctors/.dtors header and trailer check):
29057 Use an empirical test on a built program.
29058 * configure: Regenerated.
29059
29060 * configure.in (-z relro check): Use an empirical test on a built DSO.
29061 Detect, but do not require, on ia64.
29062 * configure: Regenerated.
29063
29064 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29065 Update tests that use readelf to use $READELF instead.
29066 * configure: Regenerated.
29067
29068 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29069
29070 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29071 if the result is not used.
29072
29073 2011-07-05 Andreas Jaeger <aj@suse.de>
29074
29075 [BZ#9696]
29076 * stdlib/tst-strtod.c: Add testcase.
29077
29078 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29079
29080 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29081 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29082 The latter has a higher limit. Take additional parameter to pass to
29083 the new function.
29084 (__pathconf): Pass file to __statfs_link_max.
29085 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29086 __statfs_link_max.
29087 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29088 __statfs_link_max.
29089
29090 [BZ #12868]
29091 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29093 Handle Lustre.
29094 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29095 (__statfs_filesize_max): Likewise.
29096 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29097
29098 2011-07-05 Andreas Jaeger <aj@suse.de>
29099
29100 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29101
29102 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29103
29104 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29105 `status' variable.
29106 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29107 Likewise.
29108
29109 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29110
29111 * Makefile (strop-tests): Add strncat.
29112 * string/test-strncat.c: New file.
29113
29114 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29115
29116 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29117
29118 2011-06-21 Andreas Jaeger <aj@suse.de>
29119
29120 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29121 Copy rule from iconvdata/Makefile.
29122
29123 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29124
29125 [BZ #12922]
29126 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29127 but no long options are defined, just return 'W'.
29128
29129 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29130
29131 [BZ #9696]
29132 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29133
29134 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29135
29136 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29137 netgroups to read.
29138 (innetgr): Likewise.
29139
29140 2011-07-05 Roland McGrath <roland@hack.frob.com>
29141
29142 * config.make.in (install_root): Default to $(DESTDIR).
29143
29144 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29145
29146 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29147
29148 2011-07-02 Roland McGrath <roland@hack.frob.com>
29149
29150 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29151
29152 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29153 containing directory rather than embedding absolute directory names.
29154
29155 * scripts/check-local-headers.sh: Rewritten using awk.
29156 Match by word, not by line. Print error messages for matches.
29157 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29158
29159 * Makerules [shlib-lds-flags empty]:
29160 ($(common-objpfx)libc_pic.opts): New target.
29161 ($(common-objpfx)libc_pic.os.clean): New target.
29162 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29163
29164 * config.make.in (OBJCOPY): New variable.
29165 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29166 * configure: Regenerated.
29167
29168 * config.make.in (use-default-link): New variable.
29169 * configure.in (use_default_link): Grok --with-default-link to set it.
29170 * configure: Regenerated.
29171 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29172 (shlib-lds, shlib-lds-flags): Define to empty.
29173
29174 * Makerules (shlib-lds): New variable.
29175 (shlib-lds-flags): New variable.
29176 (build-shlib, build-moduile, build-module-asneeded): Use it.
29177 ($(common-objpfx)libc.so): Use $(shlib-lds).
29178 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29179 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29180
29181 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29182 DT_FLAGS/DT_FLAGS_1 with zero flags.
29183
29184 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29185 linker script munging.
29186
29187 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29188
29189 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29190 as 128-bit value.
29191 * crypt/sha512.c (sha512_process_block): Perform total addition using
29192 128-bit if possible.
29193 (__sha512_finish_ctx): Likewise.
29194 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29195 as 64-bit value.
29196 * crypt/sha256.c (SWAP64): Define.
29197 (sha256_process_block): Perform total addition using 64-bit if
29198 possible.
29199 (__sha256_finish_ctx): Likewise.
29200
29201 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29202
29203 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29204 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29205 * nscd/hstcache.c (cache_addhst): Likewise.
29206 * nscd/grpcache.c (cache_addgr): Likewise.
29207 * nscd/aicache.c (addhstaiX): Likewise
29208 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29209
29210 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29211
29212 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29214 * nscd/hstcache.c (cache_addhst): Likewise.
29215 * nscd/grpcache.c (cache_addgr): Likewise.
29216 * nscd/aicache.c (addhstaiX): Likewise
29217
29218 2011-07-01 Andreas Schwab <schwab@redhat.com>
29219
29220 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29221 domain only when needed.
29222
29223 2011-06-30 Andreas Schwab <schwab@redhat.com>
29224
29225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29226 is always restored.
29227
29228 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29229
29230 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29231 are re-adding the entry.
29232 * nscd/servicescache.c (cache_addserv): Likewise.
29233
29234 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29235
29236 * sysdeps/generic/dl-irel.h: fix protection against multiple
29237 inclusions.
29238 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29239
29240 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29241
29242 [BZ #12935]
29243 * malloc/memusage.sh: Fix quoting in message.
29244 * debug/xtrace.sh: Likewise.
29245
29246 * configure.in: Remove support for --experimental-malloc option, make
29247 it the default.
29248 * config.make.in: Likewise.
29249 * malloc/Makefile: Likewise.
29250
29251 2011-06-27 Andreas Schwab <schwab@redhat.com>
29252
29253 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29254 two-byte characters.
29255
29256 2011-06-27 Roland McGrath <roland@hack.frob.com>
29257
29258 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29259 AC_CACHE_CHECK invocation.
29260 * configure: Regenerated.
29261
29262 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29263
29264 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29265
29266 [BZ #12350]
29267 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29268 bit from old_res_options.
29269
29270 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29271
29272 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29273 value type for setfct.
29274
29275 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29276
29277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29278 __gettimeofday instead of gettimeofday.
29279
29280 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29281
29282 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29283
29284 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29285
29286 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29287
29288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29289 info.
29290
29291 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29292
29293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29294 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29295 strcpy-sse2-unaligned strncpy-sse2-unaligned
29296 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29297 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29298 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29299 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29300 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29303 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29304 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29305 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29306 (STRCPY): Support SSE2 and SSSE3 versions.
29307
29308 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29309
29310 [BZ #12874]
29311 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29312 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29313 kernels which artificially limit size of requests.
29314
29315 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29316
29317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29318 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29319 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29320 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29321 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29322 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29323 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29324 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29325 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29327 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29328 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29329 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29330 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29331 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29333 Enable unaligned load optimization for Intel Core i3, i5 and i7
29334 processors.
29335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29336 Define.
29337 (index_Fast_Unaligned_Load): Define.
29338 (HAS_FAST_UNALIGNED_LOAD): Define.
29339
29340 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29341
29342 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29343
29344 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29345
29346 [BZ #12907]
29347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29348 until it is clear that the information is realy needed.
29349 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29350
29351 2011-06-22 Andreas Schwab <schwab@redhat.com>
29352
29353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29354
29355 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29356
29357 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29358 /sys/devices/system/cpu/online if it is usable.
29359
29360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29361 reading the information from the /proc filesystem to once a second.
29362
29363 2011-06-21 Andreas Jaeger <aj@suse.de>
29364
29365 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29366 NULL after inclusion of kernel headers.
29367
29368 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29369
29370 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29371 calls to internal_setent.
29372
29373 [BZ #12885]
29374 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29375 addresses using gethostbyname4_r ignore IPv4 addresses.
29376
29377 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29378 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29379
29380 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29381
29382 2011-06-20 David S. Miller <davem@davemloft.net>
29383
29384 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29385 inclusions.
29386 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29387
29388 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29389 (elf_irel): Use it.
29390 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29391 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29392 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29393 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29394 * sysdeps/x86_64/dl-irel.h: Likewise.
29395
29396 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29397 * elf/dl-sym.c: Likewise.
29398
29399 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29400
29401 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29402 need to dereference resplen2.
29403
29404 2011-06-14 Andreas Schwab <schwab@redhat.com>
29405
29406 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29407
29408 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29409
29410 * Makeconfig: Define vardbdir and inst_vardbdir.
29411 * nss/Makefile: Add rules to install db-Makefile.
29412
29413 * nss/nss_db/db-XXX.c: Cleanup.
29414
29415 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29416 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29417 GLIBC_PRIVATE.
29418 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29419 * nss/makedb.c: Implement -g option to specify that value strings
29420 are generated and should not be added to table iterated over for
29421 get*ent calls.
29422 * nss/nss_db/db-initgroups.c: New file.
29423
29424 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29425 interface.
29426
29427 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29428 (internal_getgrouplist): Adjust to name change.
29429 Update use_initgroups_entry if this is not the first call.
29430 * nss/databases.def: Add initgroups entry.
29431
29432 * nss/makedb.c (compute_tables): Check result of multiple hash table
29433 sizes to minimize maximum chain length.
29434
29435 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29436
29437 * Versions.def: Add entry for libnss_db.
29438 * shlib-versions: Likewise.
29439 * nss/Makefile: Add rules to build libnss_db.
29440 * nss/Versions: Add libnss_db information. Organize libnss_files
29441 entries better.
29442 * nss/db-Makefile: Add gshadow support. Change rules for the new
29443 makedb progra. Some minor improvements to generate smaller files.
29444 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29445 here from...
29446 * nss/makedb.c: ...here.
29447 Improve database format to be smaller and require less memory at
29448 runtime.
29449 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29450 db anymore.
29451 * nss/nss_db/db-netgrp.c: Likewise.
29452 * nss/nss_db/db-open.c: Likewise.
29453 * nss/nss_files/flies-XXX.x: Adjust comments.
29454 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29455 * nss/nss_files/files-grp.c: Likewise.
29456 * nss/nss_files/files-hosts.c: Likewise.
29457 * nss/nss_files/files-network.c: Likewise.
29458 * nss/nss_files/files-proto.c: Likewise.
29459 * nss/nss_files/files-pwd.c: Likewise.
29460 * nss/nss_files/files-rpc.c: Likewise.
29461 * nss/nss_files/files-service.c: Likewise.
29462 * nss/nss_files/files-sgrp.c: Likewise.
29463 * nss/nss_files/files-spwd.c: Likewise.
29464 * nss/nss_db/db-alias.c: Removed.
29465 * nss/nss_db/dummy-db.h: Removed.
29466
29467 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29468
29469 * nss/makedb.c: Rewritten to not use database library.
29470 * nss/Makefile: Update to build new makedb program.
29471
29472 2011-06-14 Andreas Jaeger <aj@suse.de>
29473
29474 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29475 memset declaration.
29476
29477 2011-06-10 Andreas Schwab <schwab@redhat.com>
29478
29479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29480 tmpbuf.
29481
29482 2011-06-10 Roland McGrath <roland@hack.frob.com>
29483
29484 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29485 * elf/Makefile ($(objpfx)ld.so): Likewise.
29486
29487 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29488 Don't list ld.so twice in dependencies.
29489
29490 * posix/bug-regex31.c: Include <stdlib.h>.
29491
29492 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29493
29494 * nis/nss_compat/compat-spwd.c
29495 (getspent_next_nss_netgr): Remove unused variable.
29496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29497
29498 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29499 nonmembers" output to use the right array.
29500
29501 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29502
29503 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29504
29505 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29506 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29507 * catgets/gencat.c (read_input_file): Likewise.
29508 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29509
29510 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29511 variable definition inside #if's controlling its use.
29512
29513 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29514
29515 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29516
29517 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29518
29519 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29520 unreachable code.
29521
29522 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29523
29524 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29525 * configure: Regenerated.
29526
29527 * Makerules: Revert last change.
29528 * elf/Makefile: Likewise.
29529
29530 2011-06-09 Roland McGrath <roland@hack.frob.com>
29531
29532 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29533 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29534 (reloc-link): Likewise.
29535
29536 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29537
29538 * elf/Makefile: Add rules to build pldd.
29539 * elf/pldd.c: New file.
29540 * elf/pldd-xx.c: New file.
29541
29542 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29543
29544 * version.h: Update for 2.15 development version.
29545
29546 2011-06-07 David S. Miller <davem@davemloft.net>
29547
29548 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29549 ifuncs.
29550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29551 elf_machine_lazy_rel): Likewise.
29552 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29554 elf_machine_lazy_rel): Likewise.
29555 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29556 dl_hwcap via passed in argument.
29557 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29558 Likewise.
29559
29560 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29561
29562 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29563
29564 2011-06-06 Roland McGrath <roland@hack.frob.com>
29565
29566 [BZ #12849]
29567 * manual/fdl-1.1.texi: New file, verbatim from:
29568 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29569 * manual/lgpl-2.1.texi: New file, verbatim from:
29570 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29571 * manual/Makefile (licenses): New variable, list those new file names.
29572 (texis): Use it.
29573 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29574
29575 * manual/fdl.texi: File removed.
29576 * manual/lesser.texi: File removed.
29577 * manual/libc.texinfo (Copying, Documentation License):
29578 Use new @include file names, put @appendix directive before @include.
29579
29580 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29581
29582 [BZ #12841]
29583 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29584 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29585 (mq_open): Add __NTH.
29586
29587 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29588
29589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29590 Assume Intel Core i3/i5/i7 processor if AVX is available.
29591
29592 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29593
29594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29595 typo.
29596
29597 2011-05-31 Andreas Schwab <schwab@redhat.com>
29598
29599 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29600 memory. Use alloca_account. Fix memory leak when retrying.
29601
29602 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29603
29604 * version.h (RELEASE): Bump for 2.14 release.
29605 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29606
29607 * config.make.in (RANLIB): Remove entry.
29608
29609 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29610
29611 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29612 (libc.pot): Work around missing support for .ksh extension in xgettext.
29613
29614 [BZ #12684]
29615 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29616 if both request failed.
29617 (send_dg): In case of server errors clear resplen or *resplen2.
29618
29619 [BZ #12454]
29620 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29621 when there are multiple maps.
29622 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29623 (_dl_fini): Remove test here.
29624
29625 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29626
29627 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29628
29629 [BZ #12350]
29630 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29631 bit from old_res_options.
29632 (gaih_inet): Likewise.
29633
29634 [BZ #11099]
29635 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29636 as signed.
29637
29638 * resolv/res_init.c (res_setoptions): Make the code more compact.
29639
29640 [BZ #11558]
29641 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29642 set RES_USEVC.
29643
29644 [BZ #11634]
29645 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29646
29647 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29648
29649 [BZ #11781]
29650 * malloc/malloc.h: Declare malloc hook variables as volatile.
29651
29652 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29653 in last patch.
29654
29655 [BZ #11799]
29656 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29657 raise in the comment.
29658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29660 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29661
29662 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29663
29664 [BZ #12811]
29665 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29666 grow the buffers more if it already has to be sufficient.
29667 (build_wcs_upper_buffer): Likewise.
29668 * posix/regexec.c (check_matching): Likewise.
29669 (clean_state_log_if_needed): Likewise.
29670 (extend_buffers): Don't enlarge buffers beyond size of the input
29671 buffer.
29672 Patches mostly by Emil Wojak <emil@wojak.eu>.
29673 * posix/bug-regex32.c: New file.
29674 * posix/Makefile (tests): Add bug-regex32.
29675
29676 * locale/findlocale.c (_nl_find_locale): Return right away if
29677 _nl_explode_name failed.
29678 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29679
29680 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29681
29682 * debug/xtrace.sh: Unify messages.
29683 * malloc/memusage.sh: Likewise.
29684
29685 [BZ #12813]
29686 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29687 time symbol from vDSO. Substitute with vsyscall if not available.
29688 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29689 __vdso_time.
29690
29691 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29692 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29693 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29694 Add sendmmsg and internal_sendmmsg.
29695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29696 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29697 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29698
29699 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29700 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29702
29703 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29704
29705 [BZ #12813]
29706 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29707 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29708 available.
29709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29710 __vdso_getcpu.
29711
29712 [BZ #12814]
29713 * iconvdata/Makefile (tests): Add bug-iconv9.
29714 * iconvdata/bug-iconv9.c: New file.
29715
29716 2011-05-27 Andreas Schwab <schwab@redhat.com>
29717
29718 [BZ #12814]
29719 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29720
29721 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29722
29723 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29724 (struct user_regs_struct): Change intcs field back to cs.
29725
29726 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29727
29728 * po/ja.po: Update from translation team.
29729
29730 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29731
29732 [BZ #12795]
29733 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29734 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29735
29736 2011-05-20 Andreas Schwab <schwab@redhat.com>
29737
29738 * stdlib/longlong.h: Update from GCC.
29739
29740 2011-05-23 Andreas Schwab <schwab@redhat.com>
29741
29742 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29743 parameter name.
29744 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29745 Add parameter name.
29746 (__sysconf): Pass it down.
29747
29748 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29749
29750 [BZ #12671]
29751 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29752 some situations.
29753 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29754 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29755 add in in __libc_use_alloca calls. Adjust callers.
29756 (glob): Use malloc in some situations.
29757
29758 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29759 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29760 pltexit.
29761
29762 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29763
29764 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29765 and CLOCK_BOOTTIME_ALARM.
29766
29767 [BZ #12782]
29768 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29769 is returned.
29770
29771 * string/_strerror.c (__strerror_r): Print negative errors as signed
29772 numbers.
29773
29774 [BZ #12777]
29775 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29776 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29777 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29778
29779 * configure.in: Fix typo in redirection and correct removal of test
29780 files in two cases.
29781
29782 [BZ #12788]
29783 * locale/setlocale.c (new_composite_name): Fix test to check for
29784 identical name of all categories.
29785
29786 [BZ #12792]
29787 * libio/filedoalloc.c (local_isatty): New function.
29788 (_IO_file_doallocate): Use local_isatty.
29789 * stdio-common/perror.c (perror): In case a new stream is used
29790 forward the stream error.
29791 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29792 error flag.
29793
29794 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29795
29796 [BZ #11869]
29797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29798 alloca.
29799 * include/alloca.h (extend_alloca_account): Define.
29800
29801 [BZ #11857]
29802 * posix/regex.h: Fix comments with documentation of user-accessible
29803 fields after compilation and describe correct free'ing of pattern
29804 after re_compile_pattern.
29805 Patch by Reuben Thomas <rrt@sc3d.org>.
29806
29807 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29808
29809 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29810 and -mno-altivec to prevent the compiler from using Altivec and/or
29811 VSX instructions when the corresponding registers are not available.
29812
29813 2011-05-19 Andreas Schwab <schwab@redhat.com>
29814
29815 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29816
29817 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29818
29819 * libio/freopen.c (freopen): Use __dup2, not dup2.
29820 * libio/freopen64.c (freopen64): Likewise.
29821
29822 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29823
29824 [BZ #12775]
29825 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29826 * math/Makefile (tests): Add test-powl.
29827 (CFLAGS-test-powl.c): Define.
29828 * math/test-powl.c: New file.
29829
29830 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29831
29832 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29833
29834 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29835
29836 [BZ #11837]
29837 * iconvdata/gb18030.c: Update to GB18020-2005.
29838
29839 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29840
29841 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29842 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29843 Patch by Aharon Robbins <arnold@skeeve.com>.
29844
29845 [BZ #11892]
29846 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29847 on the stack.
29848
29849 [BZ #11895]
29850 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29851 through underflows.
29852
29853 [BZ #12766]
29854 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29855 point to strings before performing equality test for error_one_per_line
29856 mode.
29857
29858 [BZ #11697]
29859 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29860
29861 [BZ #11820]
29862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29863 (struct user_fpregs_struct): Avoid __uint*_t types.
29864
29865 [BZ #6420]
29866 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29867 symbol info. Use it instead of calling _dl_addr locally.
29868 (lock_and_info): New function.
29869 (tr_freehook): Call lock_and_info and pass symbol info as additional
29870 parameter to tr_where.
29871 (tr_mallochook): Likewise.
29872 (tr_reallochook): Likewise.
29873 (tr_memalignhook): Likewise.
29874
29875 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29876 used and couldn't be at all thread-safe.
29877
29878 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29879
29880 * libio/freopen.c (freopen): Don't close old file descriptor
29881 before the new one is opened. Instead dup the new file descriptor
29882 to the old one after the new stream is created.
29883 * libio/freopen64.c (freopen64): Likewise.
29884 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29885 * libio/fileops.c (_IO_new_file_close_it): Handle new
29886 _IO_FLAGS2_NOCLOSE flag.
29887 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29888 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29889 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29890 _IO_FLAGS2_NOCLOSE flag.
29891 * include/unistd.h: Add hidden_proto for dup3.
29892 Define __have_dup3.
29893 * io/dup3.c: Define hidden symbol.
29894 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29895
29896 [BZ #7101]
29897 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29898 when an incomplete long option is used.
29899 * posix/tst-getopt_long1.c: New file.
29900 * posix/Makefile (tests): Add tst-getopt_long1.
29901
29902 [BZ #10138]
29903 * scripts/config.guess: Update from autoconf-2.68.
29904 * scripts/config.sub: Likewise.
29905
29906 [BZ #10157]
29907 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29908 tests into ...
29909 (has_cpuclock): ...this. New function.
29910 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29911 macro here based on has_cpuclock code.
29912
29913 [BZ #10149]
29914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29915 First byte (not low byte) is now always NUL.
29916 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29917
29918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29919 Use non-cancelable interfaces.
29920
29921 [BZ #9809]
29922 * locale/iso-639.def: Add entry for Sorani.
29923
29924 [BZ #11901]
29925 * include/stdlib.h: Move include protection to the right place.
29926 Define abort_msg_s. Declare __abort_msg with it.
29927 * stdlib/abort.c (__abort_msg): Adjust type.
29928 * assert/assert.c (__assert_fail_base): New function. Majority
29929 of code from __assert_fail. Allocate memory for __abort_msg with
29930 mmap.
29931 (__assert_fail): Now call __assert_fail_base.
29932 * assert/assert-perr.c: Remove bulk of implementation. Use
29933 __assert_fail_base.
29934 * include/assert.hL Declare __assert_fail_base.
29935 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29936 mmap.
29937 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29938
29939 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29940
29941 [BZ #11952]
29942 [BZ #12453]
29943 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29944 until all modules are registered in the DTV.
29945 * elf/Makefile: Add rules to build and run tst-tls19.
29946 * elf/tst-tls19.c: New file.
29947 * elf/tst-tls19mod1.c: New file.
29948 * elf/tst-tls19mod2.c: New file.
29949 * elf/tst-tls19mod3.c: New file.
29950 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29951
29952 [BZ #12083]
29953 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29954 correctly.
29955
29956 [BZ #12601]
29957 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29958 two-byte sequence errors.
29959 * iconvdata/Makefile (tests): Add bug-iconv8.
29960 * iconvdata/bug-iconv8.c: New file.
29961
29962 [BZ #12626]
29963 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29964 buf2 definition.
29965
29966 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29967
29968 [BZ #12432]
29969 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29970 (dummy_getcfa): New function.
29971 (init): Get _Unwind_GetCFA address, use dummy if not found.
29972 (backtrace_helper): In recursion check, also check whether CFA changes.
29973 (__backtrace): Completely initialize arg.
29974
29975 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29976 storing incomplete byte sequence in state object. Avoid testing for
29977 guaranteed too small input if we know there is enough data available.
29978
29979 2011-05-11 Andreas Schwab <schwab@redhat.com>
29980
29981 * Makeconfig (+link-pie): Indent.
29982 * Rules (binaries-pie): Define if $(have-fpie) and
29983 $(build-shared).
29984 (binaries-shared): Also filter out $(binaries-pie).
29985 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29986 * nscd/Makefile (others-pie): Add nscd.
29987 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29988 ($(objpfx)nscd): Remove command override.
29989 * login/Makefile (others-pie): Add pt_chown.
29990 ($(objpfx)pt_chown): Remove command override.
29991 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29992 remove command overrides.
29993
29994 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29995
29996 * libio/tst_putwc.c: Fix error messages.
29997
29998 [BZ #12724]
29999 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30000 currently writing and seek to current position when not.
30001 * libio/Makefile (tests): Add bug-fclose1.
30002 * libio/bug-fclose1.c: New file.
30003
30004 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30005
30006 [BZ #12511]
30007 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30008 don't set DF_1_NODELETE here.
30009 (do_lookup_x): When entering new entry test for copy relocation
30010 and if necessary set DF_1_NODELETE flag.
30011 * elf/tst-unique4.cc: New file.
30012 * elf/tst-unique4.h: New file.
30013 * elf/tst-unique4lib.cc: New file.
30014 * elf/Makefile: Add rules to build and run tst-unique4.
30015 Patch by Piotr Bury <pbury@goahead.com>.
30016
30017 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30018
30019 [BZ #12052]
30020 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30021
30022 [BZ #12625]
30023 * misc/mntent_r.c (addmntent): Flush the stream after the output
30024
30025 [BZ #12393]
30026 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30027 (is_trusted_path_normalize): Skip initial colon. Append slash
30028 to empty buffer. Duplicate is_trusted_path code but allow
30029 constructed patch to be prefix.
30030 (is_dst): Allow $ORIGIN followed by /.
30031 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30032 Correct testing of result of is_trusted_path_normalize
30033 (decompose_rpath): Fix warning.
30034
30035 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30036
30037 [BZ #11257]
30038 * grp/initgroups.c (internal_getgrouplist): When we found the service
30039 list through the initgroups entry in nsswitch.conf do not always
30040 continue on a successful lookup. Don't always use the
30041 __nss_group_database value if it is set.
30042 * nss/nsswitch.conf (initgroups): Change action for successful db
30043 lookup to continue for compatibility.
30044
30045 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30046
30047 [BZ #11532]
30048 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30049 and CP774 modules.
30050 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30051 and CP774 modules.
30052 * iconvdata/tst-tables.sh: Likewise.
30053 * iconvdata/cp770.c: New file.
30054 * iconvdata/cp771.c: New file.
30055 * iconvdata/cp772.c: New file.
30056 * iconvdata/cp773.c: New file.
30057 * iconvdata/cp774.c: New file.
30058 * iconvdata/testdata/CP770: New file.
30059 * iconvdata/testdata/CP770..UTF8: New file.
30060 * iconvdata/testdata/CP771: New file.
30061 * iconvdata/testdata/CP771..UTF8: New file.
30062 * iconvdata/testdata/CP772: New file.
30063 * iconvdata/testdata/CP772..UTF8: New file.
30064 * iconvdata/testdata/CP773: New file.
30065 * iconvdata/testdata/CP773..UTF8: New file.
30066 * iconvdata/testdata/CP774: New file.
30067 * iconvdata/testdata/CP774..UTF8: New file.
30068
30069 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30070 END CHARMAP line.
30071 * iconvdata/gen-8bit-gap.sh: Likewise.
30072 * iconvdata/gen-8bit.sh: Likewise.
30073
30074 * locale/iso-639.def: Add ary entry.
30075
30076 [BZ #11258]
30077 * locale/C-translit.h.in: Add U20A1 transliteration.
30078
30079 [BZ #12178]
30080 * locale/iso-639.def: Add wae entry.
30081 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30082
30083 [BZ #12545]
30084 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30085 for n.
30086
30087 [BZ #12711]
30088 * locale/C-translit.h.in: Add entry for U20B9.
30089 Patch by pravin.d.s@gmail.com.
30090
30091 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30092
30093 [BZ #12713]
30094 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30095 ENAMETOOLONG use generic getcwd.
30096 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30097 in rtld. Use *stat64.
30098 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30099 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30100 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30101 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30102 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30103 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30104 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30105 __fstatat64 macros.
30106 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30107 * dirent/rewinddir.c: Add libc_hidden_def.
30108 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30109 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30110
30111 * include/dirent.h (__alloc_dir): Add flags parameter.
30112 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30113 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30114 __alloc_dir.
30115 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30116 from fdopendir if O_CLOEXEC is already set.
30117
30118 2011-03-15 Alan Modra <amodra@gmail.com>
30119
30120 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30121 l_tls_firstbyte_offset non-zero. Save padding offset in
30122 l_tls_firstbyte_offset for later use.
30123 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30124 freeing static tls block.
30125
30126 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30127
30128 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30129 where #ifdef was intended. The intent is to prevent ARG_MAX from
30130 being defined by the kernel headers.
30131
30132 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30133
30134 [BZ #12734]
30135 * resolv/resolv.h: Define RES_NOTLDQUERY.
30136 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30137 no-tld-query and set RES_NOTLDQUERY.
30138 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30139 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30140 modern BIND to search name as TLD unless forbidden.
30141
30142 2011-05-07 Petr Baudis <pasky@suse.cz>
30143 Ulrich Drepper <drepper@gmail.com>
30144
30145 [BZ #12393]
30146 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30147 (is_trusted_path): ...to here.
30148 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30149 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30150 using is_trusted_path_normalize() in setuid scripts.
30151
30152 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30153
30154 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30155 __BEGIN/__END_DECLS.
30156
30157 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30158
30159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30160 NSS_STATUS_NOTFOUND if no record was found.
30161
30162 2011-05-05 Andreas Schwab <schwab@redhat.com>
30163
30164 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30165 (headers-not-in-tirpc): Remove rpc/netdb.h
30166 * resolv/netdb.h: Revert last change.
30167
30168 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30169
30170 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30171 circular dependency between libgcc.a and libc.a.
30172
30173 2011-05-05 Andreas Schwab <schwab@redhat.com>
30174
30175 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30176 * nis/Makefile: Don't install rpcsvc/*.
30177 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30178 instead of <rpc/types.h>.
30179 (MAXHOSTNAMELEN): Define.
30180
30181 2011-05-03 Andreas Schwab <schwab@redhat.com>
30182
30183 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30184
30185 2011-04-28 Maciej Babinski <mbabinski@google.com>
30186
30187 [BZ #12714]
30188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30189 gethostbyname4_r when IPv6 results are possible.
30190
30191 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30192
30193 [BZ #12723]
30194 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30195 _PC_PIPE_BUF handling.
30196
30197 2011-04-30 Bruno Haible <bruno@clisp.org>
30198
30199 [BZ #12717]
30200 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30201 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30202 to 'int'.
30203 * inet/getnameinfo.c (getnameinfo): Likewise.
30204
30205 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30206
30207 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30208 to groups setting in database lookup.
30209 * nss/nsswitch.conf: Add initgroups entry.
30210
30211 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30212
30213 [BZ #12685]
30214 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30215 mode string.
30216 Patch by Eric Blake <eblake@redhat.com>.
30217
30218 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30219
30220 * sunrpc/Makefile (need-export-routines): Add svc_run.
30221 (routines): Remove svc_run.
30222 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30223 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30224 * sunrpc/svc_run.c (svc_run): Likewise.
30225 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30226
30227 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30228
30229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30230 problem in reallocation in last patch.
30231
30232 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30233
30234 * sunrpc/Makefile: Move inclusion of Rules.
30235
30236 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30237
30238 * nss/nss_files/files-initgroups.c: New file.
30239 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30240 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30241 _nss_files_initgroups_dyn.
30242
30243 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30244
30245 * elf/elf.h (R_ARM_IRELATIVE): Define.
30246
30247 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30248
30249 * po/ru.po: Update from translation team.
30250
30251 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30252
30253 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30254 dependencies.
30255
30256 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30257
30258 [BZ #12653]
30259 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30260 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30261 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30264
30265 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30266
30267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30268 differing bytes.
30269 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30270 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30271 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30272
30273 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30274
30275 [BZ #12420]
30276 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30277 storing it.
30278 * stdlib/bug-getcontext.c: New file.
30279 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30280
30281 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30282
30283 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30284 instructions into .machine "z9-109".
30285 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30286 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30287
30288 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30289
30290 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30291 between environment variables and auxiliary vector.
30292
30293 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30294
30295 * Makefile: Add rules to build linkobj/libc.so.
30296 * include/libc-symbols.h: Define libc_hidden_nolink.
30297 * include/rpc/auth.h: Mark functions which are to be hidden.
30298 * include/rpc/auth_des.h: Likewise.
30299 * include/rpc/auth_unix.h: Likewise.
30300 * include/rpc/clnt.h: Likewise.
30301 * include/rpc/des_crypt.h: Likewise.
30302 * include/rpc/key_prot.h: Likewise.
30303 * include/rpc/pmap_clnt.h: Likewise.
30304 * include/rpc/pmap_prot.h: Likewise.
30305 * include/rpc/pmap_rmt.h: Likewise.
30306 * include/rpc/rpc_msg.h: Likewise.
30307 * include/rpc/svc.h: Likewise.
30308 * include/rpc/svc_auth.h: Likewise.
30309 * include/rpc/xdr.h: Likewise.
30310 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30311 * nss/Makefile: Likewise.
30312 * sunrpc/Makefile: Don't install headers. Build library with normal
30313 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30314 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30315 for the compat linking library. Remove use of INTDEF/INTUSE.
30316 * sunrpc/auth_none.c: Likewise.
30317 * sunrpc/auth_unix.c: Likewise.
30318 * sunrpc/authdes_prot.c: Likewise.
30319 * sunrpc/authuxprot.c: Likewise.
30320 * sunrpc/clnt_gen.c: Likewise.
30321 * sunrpc/clnt_perr.c: Likewise.
30322 * sunrpc/clnt_raw.c: Likewise.
30323 * sunrpc/clnt_simp.c: Likewise.
30324 * sunrpc/clnt_tcp.c: Likewise.
30325 * sunrpc/clnt_udp.c: Likewise.
30326 * sunrpc/clnt_unix.c: Likewise.
30327 * sunrpc/des_crypt.c: Likewise.
30328 * sunrpc/des_soft.c: Likewise.
30329 * sunrpc/get_myaddr.c: Likewise.
30330 * sunrpc/key_call.c: Likewise.
30331 * sunrpc/key_prot.c: Likewise.
30332 * sunrpc/netname.c: Likewise.
30333 * sunrpc/pm_getmaps.c: Likewise.
30334 * sunrpc/pm_getport.c: Likewise.
30335 * sunrpc/pmap_clnt.c: Likewise.
30336 * sunrpc/pmap_prot.c: Likewise.
30337 * sunrpc/pmap_prot2.c: Likewise.
30338 * sunrpc/pmap_rmt.c: Likewise.
30339 * sunrpc/publickey.c: Likewise.
30340 * sunrpc/rpc_cmsg.c: Likewise.
30341 * sunrpc/rpc_common.c: Likewise.
30342 * sunrpc/rpc_dtable.c: Likewise.
30343 * sunrpc/rpc_prot.c: Likewise.
30344 * sunrpc/rpc_thread.c: Likewise.
30345 * sunrpc/rtime.c: Likewise.
30346 * sunrpc/svc.c: Likewise.
30347 * sunrpc/svc_auth.c: Likewise.
30348 * sunrpc/svc_authux.c: Likewise.
30349 * sunrpc/svc_raw.c: Likewise.
30350 * sunrpc/svc_run.c: Likewise.
30351 * sunrpc/svc_simple.c: Likewise.
30352 * sunrpc/svc_tcp.c: Likewise.
30353 * sunrpc/svc_udp.c: Likewise.
30354 * sunrpc/svc_unix.c: Likewise.
30355 * sunrpc/svcauth_des.c: Likewise.
30356 * sunrpc/xcrypt.c: Likewise.
30357 * sunrpc/xdr.c: Likewise.
30358 * sunrpc/xdr_array.c: Likewise.
30359 * sunrpc/xdr_float.c: Likewise.
30360 * sunrpc/xdr_intXX_t.c: Likewise.
30361 * sunrpc/xdr_mem.c: Likewise.
30362 * sunrpc/xdr_rec.c: Likewise.
30363 * sunrpc/xdr_ref.c: Likewise.
30364 * sunrpc/xdr_sizeof.c: Likewise.
30365 * sunrpc/xdr_stdio.c: Likewise.
30366
30367 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30368
30369 [BZ #12650]
30370 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30371 * sysdeps/ia64/dl-tls.h: Likewise.
30372 * sysdeps/powerpc/dl-tls.h: Likewise.
30373 * sysdeps/s390/dl-tls.h: Likewise.
30374 * sysdeps/sh/dl-tls.h: Likewise.
30375 * sysdeps/sparc/dl-tls.h: Likewise.
30376 * sysdeps/x86_64/dl-tls.h: Likewise.
30377 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30378
30379 2011-03-14 Andreas Schwab <schwab@redhat.com>
30380
30381 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30382 rpath element also skip the following colon.
30383 (expand_dynamic_string_token): Add is_path parameter and pass
30384 down to DL_DST_REQUIRED and _dl_dst_substitute.
30385 (decompose_rpath): Call expand_dynamic_string_token with
30386 non-zero is_path. Ignore empty rpaths.
30387 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30388 with zero is_path.
30389
30390 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30391
30392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30393 Make cancelable.
30394
30395 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30396
30397 [BZ #12655]
30398 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30399 Patch by Filipe David Manana <fdmanana@apache.org>.
30400
30401 2011-04-07 Andreas Schwab <schwab@redhat.com>
30402
30403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30404 Maintain aligned stack.
30405 (CHECK_RSP): Remove unused macro.
30406
30407 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30408
30409 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30411
30412 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30413
30414 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30415
30416 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30417
30418 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30419
30420 [BZ #12518]
30421 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30422 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30423 * sysdeps/x86_64/memmove.c: New file.
30424 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30425 (memcpy): Renamed to ...
30426 (__new_memcpy): This.
30427 (memcpy): Provide GLIBC_2_14 memcpy.
30428 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30429 (memcpy): Provide GLIBC_2_2_5 memcpy.
30430
30431 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30432
30433 [BZ #12631]
30434 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30435
30436 2011-03-30 Andreas Schwab <schwab@redhat.com>
30437
30438 * misc/syncfs.c: New file.
30439 * misc/Makefile (routines): Add syncfs.
30440 * posix/unistd.h: Declare syncfs.
30441 * sysdeps/unix/syscalls.list: Add syncfs.
30442
30443 2011-04-01 Andreas Schwab <schwab@redhat.com>
30444
30445 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30446 open_by_handle_at.
30447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30450 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30452 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30454
30455 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30456
30457 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30458 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30459 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30464
30465 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30466 sync_file_range.c with -fexceptions.
30467 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30468 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30469 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30470 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30471 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30472 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30474 sync_file_range as cancellation point
30475 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30476 now a wrapper around __call_sync_file_range with cancellation handling.
30477 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30478 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30479 function name to __call_sync_file_range.
30480 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30481 Add call_sync_file_range.
30482
30483 2011-04-01 Andreas Schwab <schwab@redhat.com>
30484
30485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30486 bits/timex.h.
30487
30488 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30489
30490 * iconv/iconv.h: Fix typo in comment.
30491 * io/fcntl.h: Likewise.
30492 * libio/stdio.h: Likewise.
30493 * posix/spawn.h: Likewise.
30494 * posix/unistd.h: Likewise.
30495 * stdlib/stdlib.h: Likewise.
30496 * time/time.h: Likewise.
30497 * wcsmbs/wchar.h: Likewise.
30498
30499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30500 open_by_handle): Add.
30501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30502 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30503 Augment a few comments.
30504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30508 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30509 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30510 open_by_handle.
30511
30512 * io/fcntl.h (AT_EMPTY_PATH): Define.
30513
30514 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30515
30516 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30517 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30518 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30519 to...
30520 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30521 * Versions.def: Add GLIBC_2.14.
30522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30523 Export.
30524
30525 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30526
30527 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30528 round counter.
30529 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30530
30531 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30532
30533 [BZ #12597]
30534 * string/test-strncmp.c (do_page_test): New function.
30535 (check2): Likewise.
30536 (test_main): Call check2.
30537 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30538
30539 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30540
30541 [BZ #12587]
30542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30543 Handle cache information in CPU leaf 4.
30544 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30545
30546 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30547
30548 [BZ #12583]
30549 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30550 character representation.
30551 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30552
30553 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30554
30555 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30556 END(__isnan) to END(__isnanf) to match function entry point/label
30557 EALIGN(__isnanf,...).
30558
30559 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30560
30561 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30562
30563 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30564
30565 [BZ #12510]
30566 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30567 copy from the symbol referenced in the relocation to initialize the
30568 used variable.
30569 Patch by Piotr Bury <pbury@goahead.com>.
30570 * elf/Makefile: Add rules to build and tst-unique3.
30571 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30572 * elf/tst-unique3.cc: New file.
30573 * elf/tst-unique3.h: New file.
30574 * elf/tst-unique3lib.cc: New file.
30575 * elf/tst-unique3lib2.cc: New file.
30576
30577 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30578
30579 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30580
30581 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30582 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30583 to _start.
30584
30585 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30586
30587 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30588 to-be-loaded object along a path to loader is ld.so.
30589
30590 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30591 Ulrich Drepper <drepper@gmail.com>
30592
30593 * sysdeps/x86_64/memset.S: After aligning destination, code
30594 branches to different locations depending on the value of
30595 misalignment, when multiarch is enabled. Fix this.
30596
30597 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30598
30599 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30600 Set _x86_64_preferred_memory_instruction for AMD processsors.
30601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30602 Set bit_Prefer_SSE_for_memop for AMD processors.
30603
30604 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30605
30606 * libio/fmemopen.c (fmemopen): Optimize a bit.
30607
30608 2011-03-03 Andreas Schwab <schwab@redhat.com>
30609
30610 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30611
30612 2011-03-03 Roland McGrath <roland@redhat.com>
30613
30614 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30615
30616 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30617
30618 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30619 __bzero_ultra1 instead of __memset_ultra1.
30620
30621 2011-02-23 Andreas Schwab <schwab@redhat.com>
30622 Ulrich Drepper <drepper@gmail.com>
30623
30624 [BZ #12509]
30625 * include/link.h (struct link_map): Add l_orig_initfini.
30626 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30627 returning unsuccessfully.
30628 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30629 close of a file loaded at startup, restore the original l_initfini
30630 list.
30631 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30632 list, store the pointer.
30633 * elf/Makefile ($(objpfx)noload-mem): New rule.
30634 (noload-ENV): Define.
30635 (tests): Add $(objpfx)noload-mem.
30636 * elf/noload.c: Include <memcheck.h>.
30637 (main): Call mtrace. Close all opened handles.
30638
30639 2011-02-17 Andreas Schwab <schwab@redhat.com>
30640
30641 [BZ #12454]
30642 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30643 dependencies are missing.
30644
30645 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30646
30647 Fix __if_freereq crash: Unlike the generic version which uses free,
30648 Hurd needs munmap.
30649 * sysdeps/mach/hurd/ifreq.h: New file.
30650
30651 2011-01-27 Petr Baudis <pasky@suse.cz>
30652 Ulrich Drepper <drepper@gmail.com>
30653
30654 [BZ 12445]#
30655 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30656 to extend_alloca().
30657 * stdio-common/bug23.c: New file.
30658 * stdio-common/Makefile (tests): Add bug23.
30659
30660 2010-09-28 Andreas Schwab <schwab@redhat.com>
30661 Ulrich Drepper <drepper@gmail.com>
30662
30663 [BZ #12489]
30664 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30665 before performing relro protection. At old place add assertion
30666 to make sure nothing changed.
30667
30668 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30669 Glauber de Oliveira Costa <glommer@gmail.com>
30670
30671 * elf/elf.h: Add new ARM TLS relocs.
30672
30673 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30674
30675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30676 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30677 cast from r3.
30678 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30679 'tests' variable.
30680 * sysdeps/wordsize-64/tst-writev.c: New file.
30681
30682 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30683
30684 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30685 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30686 insns in _dl_start to prevent a TOC reference before relocs are
30687 resolved.
30688
30689 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30690
30691 [BZ #12469]
30692 * Makeconfig: Remove RANLIB definition.
30693 * Makerules: Don't use RANLIB.
30694 * aclocal.m4: Remove ranlib test.
30695 * configure.in: No need to check for ranlib.
30696 * elf/rtld-Rules: Don't use RANLIB.
30697
30698 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30699
30700 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30701 protection macro.
30702 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30703 inclusion protection macro.
30704
30705 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30706 SIGRTMIN and SIGRTMAX and print information in that case only when
30707 SIGRTMIN is defined.
30708
30709 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30710
30711 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30712 arginfo fn returning -1.
30713
30714 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30715 and thousands string is zero terminated.
30716
30717 2011-02-03 Andreas Schwab <schwab@redhat.com>
30718
30719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30720 sysdeps/unix/sysv/linux/bits/socket.h.
30721
30722 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30723
30724 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30725 (__CPU_COUNT): Remove old macros.
30726 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30727 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30728 (__CPU_ALLOC, __CPU_FREE): Add macros.
30729 (__sched_cpualloc, __sched_cpufree): Add declarations.
30730
30731 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30732
30733 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30734 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30735 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30736 (readdhstai): Return value of addhstaiX call.
30737 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30738 (addgrbyX): Return value returned by cache_addgr.
30739 (readdgrbyname): Return value returned by addgrbyX.
30740 (readdgrbygid): Likewise.
30741 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30742 (addpwbyX): Return value returned by cache_addpw.
30743 (readdpwbyname): Return value returned by addhstbyX.
30744 (readdpwbyuid): Likewise.
30745 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30746 (addservbyX): Return value returned by cache_addserv.
30747 (readdservbyname): Return value returned by addservbyX:
30748 (readdservbyport): Likewise.
30749 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30750 (addhstbyX): Return value returned by cache_addhst.
30751 (readdhstbyname): Return value returned by addhstbyX.
30752 (readdhstbyaddr): Likewise.
30753 (readdhstbynamev6): Likewise.
30754 (readdhstbyaddrv6): Likewise.
30755 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30756 (readdinitgroups): Return value returned by addinitgroupsX.
30757 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30758 (prune_cache): Keep track of timeout value of re-added entries.
30759 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30760 * nscd/nscd.h: Adjust prototypes of readd* functions.
30761
30762 2011-02-04 Roland McGrath <roland@redhat.com>
30763
30764 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30765 (nis_stats): Likewise.
30766 * nis/nis_modify.c (nis_modify): Likewise.
30767 * nis/nis_remove.c (nis_remove): Likewise.
30768 * nis/nis_add.c (nis_add): Likewise.
30769
30770 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30771
30772 * posix/fnmatch_loop.c: Add some consts.
30773
30774 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30775
30776 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30777
30778 [BZ #12460]
30779 * config.make.in (config-cflags-novzeroupper): Define.
30780 * configure.in: Substitute libc_cv_cc_novzeroupper.
30781 * elf/Makefile (AVX-CFLAGS): Define.
30782 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30783 (CFLAGS-tst-auditmod4a.c): Likewise.
30784 (CFLAGS-tst-auditmod4b.c): Likewise.
30785 (CFLAGS-tst-auditmod6b.c): Likewise.
30786 (CFLAGS-tst-auditmod6c.c): Likewise.
30787 (CFLAGS-tst-auditmod7b.c): Likewise.
30788 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30789
30790 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30791
30792 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30793 function to the callback.
30794 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30795
30796 2011-02-02 Andreas Schwab <schwab@redhat.com>
30797
30798 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30799 of errno.
30800
30801 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30802
30803 [BZ #11724]
30804 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30805 of constructors.
30806 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30807 of destructors.
30808 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30809
30810 [BZ #11724]
30811 * elf/Makefile: Add rules to build and run new test.
30812 * elf/tst-initorder.c: New file.
30813 * elf/tst-initorder.exp: New file.
30814 * elf/tst-initordera1.c: New file.
30815 * elf/tst-initordera2.c: New file.
30816 * elf/tst-initordera3.c: New file.
30817 * elf/tst-initordera4.c: New file.
30818 * elf/tst-initorderb1.c: New file.
30819 * elf/tst-initorderb2.c: New file.
30820 * elf/tst-order-a1.c: New file.
30821 * elf/tst-order-a2.c: New file.
30822 * elf/tst-order-a3.c: New file.
30823 * elf/tst-order-a4.c: New file.
30824 * elf/tst-order-b1.c: New file.
30825 * elf/tst-order-b2.c: New file.
30826 * elf/tst-order-main.c: New file.
30827 New test case by George Gensure <werkt0@gmail.com>.
30828
30829 2010-10-01 Andreas Schwab <schwab@redhat.com>
30830
30831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30832 decoding ACE if AI_CANONIDN.
30833
30834 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30835
30836 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30837
30838 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30839
30840 * version.h (RELEASE): Bump for 2.13 release.
30841 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30842
30843 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30844
30845 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30846 MADV_NOHUGEPAGE.
30847 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30849 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30850 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30851 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30853
30854 * posix/getconf.c: Update copyright year.
30855 * catgets/gencat.c: Likewise.
30856 * csu/version.c: Likewise.
30857 * debug/catchsegv.sh: Likewise.
30858 * debug/xtrace.sh: Likewise.
30859 * elf/ldconfig.c: Likewise.
30860 * elf/ldd.bash.in: Likewise.
30861 * elf/sprof.c (print_version): Likewise.
30862 * iconv/iconv_prog.c: Likewise.
30863 * iconv/iconvconfig.c: Likewise.
30864 * locale/programs/locale.c: Likewise.
30865 * locale/programs/localedef.c: Likewise.
30866 * malloc/memusage.sh: Likewise.
30867 * malloc/mtrace.pl: Likewise.
30868 * nscd/nscd.c (print_version): Likewise.
30869 * nss/getent.c: Likewise.
30870
30871 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30872 PF_CAIF, and PF_ALG.
30873 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30874
30875 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30876
30877 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30878 (modules-names): Use them.
30879 (ifunc-test-modules, ifunc-pie-tests): Define.
30880 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30881 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30882 (test-extras): Likewise.
30883 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30884 $(compile-command.c).
30885 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30886 (all-built-dso): Define.
30887 (check-textrel.out, check-execstack.out): Depend on it.
30888
30889 * configure.in: Don't override --enable-multi-arch.
30890
30891 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30892
30893 [BZ #6812]
30894 * nscd/hstcache.c (tryagain): Define.
30895 (cache_addhst): Return tryagain not notfound for temporary errors.
30896 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30897 failed.
30898
30899 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30900
30901 [BZ #10563]
30902 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30903 to make the syscall.
30904 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30905
30906 [BZ #12378]
30907 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30908 and fall back to matching as normal character if the string ends before
30909 the matching ']' is found. This is what POSIX requires.
30910 * posix/testfnm.c: Adjust test result.
30911 * posix/globtest.sh: Adjust test result. Add new test.
30912 * posix/tst-fnmatch.input: Likewise.
30913 * posix/tst-fnmatch2.c: Add new test.
30914
30915 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30916
30917 * elf/Makefile (check-execstack): Revert last change. Depend on
30918 check-execstack.h.
30919 (check-execstack.h): New target.
30920 (generated): Add check-execstack.h.
30921 * elf/check-execstack.c: Include "check-execstack.h".
30922 (main): Revert last change.
30923 (handle_file): Return zero if GNU_STACK is absent and
30924 DEFAULT_STACK_PERMS doesn't include PF_X.
30925
30926 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30927
30928 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30929 in child fails because the descriptor is already closed.
30930 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30931 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30932 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30933
30934 [BZ #12397]
30935 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30936 syscall.
30937
30938 [BZ #10484]
30939 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30940 temporary buffer used to handle multi lookups locally.
30941 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30942
30943 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30944
30945 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30946 loader is ld.so.
30947
30948 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30949
30950 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30951 alignment for SSE2.
30952
30953 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30954
30955 [BZ #12394]
30956 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30957 characters. When rounding increased number of integer digits recompute
30958 number of groups.
30959 * stdio-common/tst-grouping.c: New file.
30960 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30961
30962 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30963
30964 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30965 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30966
30967 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30968 void.
30969 * bits/select.h: Likewise.
30970
30971 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30972
30973 * po/ja.po: Update from translation team.
30974
30975 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30976
30977 [BZ #11155]
30978 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30979 implementation just like for lxstat, fxstatat, et al.
30980
30981 2010-12-27 Jim Meyering <meyering@redhat.com>
30982
30983 [BZ #12348]
30984 * posix/regexec.c (build_trtable): Return failure indication upon
30985 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30986
30987 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30988
30989 [BZ #12201]
30990 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30991 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30992 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30993 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30994
30995 [BZ #12207]
30996 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30997
30998 [BZ #12204]
30999 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31000 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31001
31002 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31003
31004 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31005 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31006 script has SORT_BY_INIT_PRIORITY.
31007 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31008 NO_CTORS_DTORS_SECTIONS is defined.
31009 * elf/soinit.c: Likewise.
31010 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31011 NO_CTORS_DTORS_SECTIONS is defined.
31012 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31013 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31014 * sysdeps/sh/init-first.c: Likewise.
31015 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31016
31017 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31018
31019 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31020 always use the slow path.
31021
31022 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31023
31024 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31025 similar rule which adds the sysdep directories to the header search in
31026 order to pick up the correct platform stackinfo.h.
31027 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31028 perform test if it is, otherwise return successfully without testing.
31029 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31030 DEFAULT_STACK_PERMS define in stackinfo.h.
31031 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31032 defined in stackinfo.h.
31033 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31034 DEFAULT_STACK_PERMS defined in stackinfo.h.
31035 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31036 * sysdeps/ia64/stackinfo.h: Likewise.
31037 * sysdeps/s390/stackinfo.h: Likewise.
31038 * sysdeps/sh/stackinfo.h: Likewise.
31039 * sysdeps/sparc/stackinfo.h: Likewise.
31040 * sysdeps/x86_64/stackinfo.h: Likewise.
31041 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31042 PF_X for powerpc64. Retain PF_X for powerpc32.
31043
31044 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31045
31046 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31047 accurately.
31048 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31049 GETDENTS_64BIT_ALIGNED.
31050
31051 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31052
31053 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31054
31055 2010-12-10 Andreas Schwab <schwab@redhat.com>
31056
31057 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31058 _GNU_SOURCE.
31059
31060 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31061 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31062 Remove __restrict.
31063 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31064 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31065
31066 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31067
31068 [BZ #11655]
31069 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31070 are initialized.
31071
31072 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31073
31074 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31075
31076 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31077
31078 * po/it.po: Update from translation team.
31079
31080 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31081
31082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31083 unused codes.
31084
31085 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31086
31087 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31088
31089 2010-11-24 Andreas Schwab <schwab@redhat.com>
31090
31091 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31092 specially.
31093 (gaih_getanswer_slice): Likewise.
31094
31095 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31096
31097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31098
31099 2010-05-31 Petr Baudis <pasky@suse.cz>
31100
31101 [BZ #11149]
31102 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31103 silently even in the chroot mode.
31104
31105 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31106
31107 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31108 last patch a bit. Pretty printing
31109
31110 2010-05-31 Petr Baudis <pasky@suse.cz>
31111
31112 [BZ #10085]
31113 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31114 initialization of skip_initgroups_dyn.
31115
31116 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31117
31118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31120
31121 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31122
31123 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31124
31125 2010-11-11 Andreas Schwab <schwab@redhat.com>
31126
31127 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31128 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31129 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31130 ($(objpfx)tst-fnmatch-mem): New rule.
31131 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31132 * posix/tst-fnmatch.c (main): Call mtrace.
31133
31134 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31135
31136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31137 Support Intel processor model 6 and model 0x2c.
31138
31139 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31140
31141 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31142 signed comparison.
31143
31144 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31145
31146 [BZ #12205]
31147 * string/test-strncasecmp.c (check_result): New function.
31148 (do_one_test): Use it.
31149 (check1): New function.
31150 (test_main): Use it.
31151 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31152 Support strcasecmp and strncasecmp.
31153
31154 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31155
31156 [BZ #12194]
31157 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31158 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31159
31160 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31161
31162 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31163 IFUNC support.
31164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31165 memset-x86-64.
31166 * sysdeps/x86_64/multiarch/bzero.S: New file.
31167 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31168 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31169 * sysdeps/x86_64/multiarch/memset.S: New file.
31170 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31172 Set bit_Prefer_SSE_for_memop for Intel processors.
31173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31174 Define.
31175 (index_Prefer_SSE_for_memop): Define.
31176 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31177
31178 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31179
31180 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31181 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31182
31183 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31184
31185 [BZ #12191]
31186 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31187 (__x86_64_raw_data_cache_size_half): Likewise.
31188 (__x86_64_raw_shared_cache_size): Likewise.
31189 (__x86_64_raw_shared_cache_size_half): Likewise.
31190
31191 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31192 (__x86_64_raw_data_cache_size_half): Likewise.
31193 (__x86_64_raw_shared_cache_size): Likewise.
31194 (__x86_64_raw_shared_cache_size_half): Likewise.
31195 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31196 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31197 and __x86_64_raw_shared_cache_size_half. Round
31198 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31199 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31200 to multiple of 256 bytes.
31201
31202 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31203
31204 [BZ #12167]
31205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31206 of inacessible symlinks. Verify result of symlink before returning it.
31207 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31208 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31209
31210 2010-10-28 Erich Ritz <erichritz@gmail.com>
31211
31212 * math/math.h (isinf): Fix typo in comment.
31213
31214 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31215
31216 * po/da.po: Update from translation team.
31217
31218 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31219
31220 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31221 is added to the list.
31222
31223 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31224 Ulrich Drepper <drepper@gmail.com>
31225
31226 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31227 the global list here. Move code to...
31228 (_dl_add_to_namespace_list): ...here. New function.
31229 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31230 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31231 * elf/dl-load.c (lose): Don't remove the element from the list.
31232 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31233 (_dl_map_object): Likewise.
31234
31235 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31236
31237 [BZ #12159]
31238 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31239 into all bytes of SSE register.
31240 Patch by Richard Li <richardpku@gmail.com>.
31241
31242 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31243
31244 [BZ #12140]
31245 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31246 perturbing.
31247
31248 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31249
31250 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31251 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31252 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31253 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31255 submachine.
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31257
31258 2010-10-22 Andreas Schwab <schwab@redhat.com>
31259
31260 * include/dlfcn.h (__RTLD_SECURE): Define.
31261 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31262 mode & __RTLD_SECURE instead.
31263 (open_path): Rename preloaded parameter to secure.
31264 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31265 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31266 * elf/dl-deps.c (openaux): Likewise.
31267 * elf/rtld.c (struct map_args): Remove is_preloaded.
31268 (map_doit): Don't use it.
31269 (dl_main): Likewise.
31270 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31271 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31272
31273 2010-09-09 Andreas Schwab <schwab@redhat.com>
31274
31275 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31276 (sysd-rules-targets): Remove duplicates.
31277 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31278 rtld-%.$o dependency.
31279
31280 2010-10-18 Andreas Schwab <schwab@redhat.com>
31281
31282 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31283 _dl_map_object do it.
31284
31285 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31286
31287 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31288 fast fma builtins, define the macros in the C99 standard.
31289 (FP_FAST_FMAF): Likewise.
31290 (FP_FAST_FMAL): Likewise.
31291 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31292
31293 * bits/mathdef.h: Update copyright year.
31294 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31295
31296 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31297
31298 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31299 builtins, define the macros in the C99 standard.
31300 (FP_FAST_FMAF): Likewise.
31301 (FP_FAST_FMAL): Likewise.
31302 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31303 multiply/add.
31304 (FP_FAST_FMAF): Likewise.
31305
31306 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31307
31308 [BZ #3268]
31309 * math/libm-test.inc (fma_test): Some new testcases.
31310 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31312 y and infinite z. Do multiplication by C already in long double.
31313 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31315 y and infinite z. Do bitwise or of inexact bit into u.d.
31316 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31317 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31318 * sysdeps/i386/fpu/s_fma.S: Removed.
31319 * sysdeps/i386/fpu/s_fmal.S: Removed.
31320
31321 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31322
31323 [BZ #3268]
31324 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31326 computation is not scheduled after fetestexcept. Fix value
31327 of minimum denormal long double.
31328
31329 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31330
31331 [BZ #3268]
31332 * math/libm-test.inc (fma_test): Add some more tests.
31333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31334 correctly.
31335
31336 2010-10-15 Andreas Schwab <schwab@redhat.com>
31337
31338 * scripts/data/localplt-s390-linux-gnu.data: New file.
31339 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31340
31341 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31342
31343 [BZ #3268]
31344 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31345 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31346 instead of dbl-64.
31347 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31348 inlines.
31349 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31351 if one of x and y is very large and the other is subnormal.
31352 * sysdeps/s390/fpu/s_fmaf.c: New file.
31353 * sysdeps/s390/fpu/s_fma.c: New file.
31354 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31355 * sysdeps/powerpc/fpu/s_fma.S: New file.
31356 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31357 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31358 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31359
31360 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31361
31362 [BZ #3268]
31363 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31364 fma tests.
31365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31366 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31367 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31368 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31369 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31370 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31371 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31372
31373 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31374
31375 [BZ #12078]
31376 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31377 * posix/bug-regex31.input: Add test case.
31378
31379 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31380
31381 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31382 * posix/bug-regex31.input: New file.
31383
31384 [BZ #12078]
31385 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31386 (parse_sub_exp): Fix last change, use postorder.
31387
31388 * posix/bug-regex31.c: New file.
31389 * posix/Makefile: Add rules to build and run bug-regex31.
31390
31391 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31392
31393 [BZ #12078]
31394 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31395
31396 [BZ #12108]
31397 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31398 to have entries in sys_siglist.
31399
31400 [BZ #12093]
31401 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31402 be NULL.
31403
31404 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31405
31406 [BZ #3268]
31407 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31408 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31409 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31410 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31411 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31412 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31413 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31414 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31415 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31416 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31417 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31418 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31419 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31420 * math/ftestexcept.c (fetestexcept): Likewise.
31421 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31422 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31423 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31424 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31425 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31426 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31427 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31428
31429 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31430
31431 [BZ #12107]
31432 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31433 newline.
31434
31435 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31436
31437 * string/bug-strstr1.c: New file.
31438 * string/Makefile: Add rules to build and run bug-strstr1.
31439
31440 2010-10-05 Eric Blake <eblake@redhat.com>
31441
31442 [BZ #12092]
31443 * string/str-two-way.h (two_way_long_needle): Always clear memory
31444 when skipping input due to the shift table.
31445
31446 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31447
31448 [BZ #12005]
31449 * malloc/mcheck.c: Handle large requests.
31450
31451 [BZ #12077]
31452 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31453 for strncmp and strncasecmp.
31454 * string/stratcliff.c: Add tests for strcmp and strncmp.
31455 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31456
31457 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31458
31459 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31460 __set_fpscr.
31461
31462 2010-09-30 Andreas Jaeger <aj@suse.de>
31463
31464 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31465 (CGROUP_SUPER_MAGIC): Define.
31466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31467 Handle btrfs and cgroup file systems.
31468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31469 Likewise.
31470
31471 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31472
31473 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31474 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31475
31476 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31477
31478 [BZ #12067]
31479 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31480 trying to locate the ELF header.
31481
31482 2010-09-27 Andreas Schwab <schwab@redhat.com>
31483
31484 [BZ #11611]
31485 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31486 Mask out sign-bit copies when constructing f_fsid.
31487
31488 2010-09-24 Petr Baudis <pasky@suse.cz>
31489
31490 * debug/stack_chk_fail_local.c: Add missing licence exception.
31491 * debug/warning-nop.c: Likewise.
31492
31493 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31494
31495 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31496 implementing getdents64 using getdents syscall, set d_type if
31497 __ASSUME_GETDENTS32_D_TYPE.
31498
31499 2010-09-16 Andreas Schwab <schwab@redhat.com>
31500
31501 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31502 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31503
31504 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31505
31506 [BZ #12037]
31507 * posix/unistd.h: Undo change of feature selection for ftruncate from
31508 2010-01-11.
31509
31510 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31511
31512 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31513 detection.
31514
31515 2010-09-20 Andreas Schwab <schwab@redhat.com>
31516
31517 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31518 fanotify_mark.
31519 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31520
31521 2010-09-14 Andreas Schwab <schwab@redhat.com>
31522
31523 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31524 variables after CHECK_SP call.
31525 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31526
31527 2010-09-13 Andreas Schwab <schwab@redhat.com>
31528 Ulrich Drepper <drepper@redhat.com>
31529
31530 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31531 re-relocationg ld.so.
31532 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31533 _dl_init_paths call.
31534 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31535 here anymore.
31536
31537 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31538
31539 * resolv/res_init.c (__res_vinit): Count the default server we added.
31540
31541 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31542 Ulrich Drepper <drepper@redhat.com>
31543
31544 [BZ #11968]
31545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31546 (____longjmp_chk): Use %ebx for saving value across system call.
31547 Add unwind info.
31548
31549 2010-09-06 Andreas Schwab <schwab@redhat.com>
31550
31551 * manual/Makefile: Don't mix pattern rules with normal rules.
31552
31553 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31554
31555 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31556 operation.
31557 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31558 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31559 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31560 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31562 Likewise.
31563
31564 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31565
31566 [BZ #11979]
31567 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31568 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31569
31570 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31571
31572 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31573 * sysdeps/x86_64/addmul_1.S: Likewise.
31574 * sysdeps/x86_64/lshift.S: Likewise.
31575 * sysdeps/x86_64/mul_1.S: Likewise.
31576 * sysdeps/x86_64/rshift.S: Likewise.
31577 * sysdeps/x86_64/sub_n.S: Likewise.
31578 * sysdeps/x86_64/submul_1.S: Likewise.
31579
31580 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31581
31582 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31583 Define __sched_param instead of SCHED_* and sched_param when
31584 <bits/sched.h> is included with __need_schedparam defined.
31585 * bits/sched.h [__need_schedparam]
31586 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31587 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31588 (__defined_schedparam): Define to 1.
31589 (__sched_param): New structure, identical to sched_param.
31590 (__need_schedparam): Undefine.
31591
31592 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31593
31594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31595 (epoll_create1): Declare.
31596
31597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31598
31599 2010-08-31 Andreas Schwab <schwab@redhat.com>
31600
31601 [BZ #7066]
31602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31603 shifting retval into place.
31604
31605 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31606
31607 * nis/rpcsvc/nis.h: Update copyright notice.
31608 * nis/rpcsvc/nis.x: Likewise.
31609 * nis/rpcsvc/nis_callback.h: Likewise.
31610 * nis/rpcsvc/nis_callback.x: Likewise.
31611 * nis/rpcsvc/nis_object.x: Likewise.
31612 * nis/rpcsvc/nis_tags.h: Likewise.
31613 * nis/rpcsvc/yp.h: Likewise.
31614 * nis/rpcsvc/yp.x: Likewise.
31615 * nis/rpcsvc/ypupd.h: Likewise.
31616 * nis/yp_xdr.c: Likewise.
31617 * nis/ypupdate_xdr.c: Likewise.
31618
31619 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31620 mainly the body of pmap_getport. Add parameters to specify timeouts.
31621 (pmap_getport): Use __libc_rpc_getport.
31622 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31623 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31624 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31625
31626 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31627
31628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31629 fanotify_mark.
31630
31631 2010-08-27 Roland McGrath <roland@redhat.com>
31632
31633 * sysdeps/i386/i686/multiarch/Makefile
31634 (CFLAGS-varshift.c): New variable.
31635
31636 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31637
31638 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31639 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31640
31641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31642
31643 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31644
31645 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31646
31647 * sysdeps/x86_64/strlen.S: Unroll the loop.
31648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31649 strlen-sse2 strlen-sse2-bsf.
31650 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31651 __strlen_no_bsf if bit_Slow_BSF is set.
31652 (__strlen_sse42): Removed.
31653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31654 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31655
31656 2010-08-25 Roland McGrath <roland@redhat.com>
31657
31658 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31659 * sysdeps/x86_64/multiarch/varshift.c: New file.
31660 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31661 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31662 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31663 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31664
31665 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31666
31667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31668 strlen-sse2 strlen-sse2-bsf.
31669 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31670 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31671 (__strlen_sse2): Removed.
31672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31675 bit_Slow_BSF for Atom.
31676 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31677 (index_Slow_BSF): Define.
31678 (HAS_SLOW_BSF): Define.
31679
31680 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31681
31682 [BZ #10851]
31683 * resolv/res_init.c (__res_vinit): When no server address at all
31684 is given default to loopback.
31685
31686 2010-08-24 Roland McGrath <roland@redhat.com>
31687
31688 * configure.in: Remove config-name.h generation.
31689 * configure: Regenerated.
31690 * config-name.in: File removed.
31691 * scripts/config-uname.sh: New file.
31692 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31693 ($(objdir)config-name.h): New target.
31694
31695 * sunrpc/rpc_parse.h: Avoid nested comment.
31696
31697 2010-08-24 Richard Henderson <rth@redhat.com>
31698 Ulrich Drepper <drepper@redhat.com>
31699 H.J. Lu <hongjiu.lu@intel.com>
31700
31701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31703 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31704 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31705 _mm_alignr_epi8 with _mm_loadu_si128.
31706 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31707 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31708 (__m128i_shift_right): Removed.
31709 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31710 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31711 * sysdeps/x86_64/multiarch/varshift.h: New file.
31712 * sysdeps/x86_64/multiarch/varshift.S: New file.
31713
31714 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31715
31716 * configure.in: Move assembler checks to before sysdep dir checking.
31717
31718 2010-08-20 Petr Baudis <pasky@suse.cz>
31719
31720 * LICENSES: Sync the sunrpc license.
31721
31722 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31723
31724 * sunrpc/auth_des.c: Update copyright notice once again.
31725 * sunrpc/auth_none.c: Likewise.
31726 * sunrpc/auth_unix.c: Likewise.
31727 * sunrpc/authdes_prot.c: Likewise.
31728 * sunrpc/authuxprot.c: Likewise.
31729 * sunrpc/bindrsvprt.c: Likewise.
31730 * sunrpc/clnt_gen.c: Likewise.
31731 * sunrpc/clnt_perr.c: Likewise.
31732 * sunrpc/clnt_raw.c: Likewise.
31733 * sunrpc/clnt_simp.c: Likewise.
31734 * sunrpc/clnt_tcp.c: Likewise.
31735 * sunrpc/clnt_udp.c: Likewise.
31736 * sunrpc/clnt_unix.c: Likewise.
31737 * sunrpc/des_crypt.c: Likewise.
31738 * sunrpc/des_soft.c: Likewise.
31739 * sunrpc/get_myaddr.c: Likewise.
31740 * sunrpc/getrpcport.c: Likewise.
31741 * sunrpc/key_call.c: Likewise.
31742 * sunrpc/key_prot.c: Likewise.
31743 * sunrpc/openchild.c: Likewise.
31744 * sunrpc/pm_getmaps.c: Likewise.
31745 * sunrpc/pm_getport.c: Likewise.
31746 * sunrpc/pmap_clnt.c: Likewise.
31747 * sunrpc/pmap_prot.c: Likewise.
31748 * sunrpc/pmap_prot2.c: Likewise.
31749 * sunrpc/pmap_rmt.c: Likewise.
31750 * sunrpc/rpc/auth.h: Likewise.
31751 * sunrpc/rpc/auth_unix.h: Likewise.
31752 * sunrpc/rpc/clnt.h: Likewise.
31753 * sunrpc/rpc/des_crypt.h: Likewise.
31754 * sunrpc/rpc/key_prot.h: Likewise.
31755 * sunrpc/rpc/netdb.h: Likewise.
31756 * sunrpc/rpc/pmap_clnt.h: Likewise.
31757 * sunrpc/rpc/pmap_prot.h: Likewise.
31758 * sunrpc/rpc/pmap_rmt.h: Likewise.
31759 * sunrpc/rpc/rpc.h: Likewise.
31760 * sunrpc/rpc/rpc_des.h: Likewise.
31761 * sunrpc/rpc/rpc_msg.h: Likewise.
31762 * sunrpc/rpc/svc.h: Likewise.
31763 * sunrpc/rpc/svc_auth.h: Likewise.
31764 * sunrpc/rpc/types.h: Likewise.
31765 * sunrpc/rpc/xdr.h: Likewise.
31766 * sunrpc/rpc_clntout.c: Likewise.
31767 * sunrpc/rpc_cmsg.c: Likewise.
31768 * sunrpc/rpc_common.c: Likewise.
31769 * sunrpc/rpc_cout.c: Likewise.
31770 * sunrpc/rpc_dtable.c: Likewise.
31771 * sunrpc/rpc_hout.c: Likewise.
31772 * sunrpc/rpc_main.c: Likewise.
31773 * sunrpc/rpc_parse.c: Likewise.
31774 * sunrpc/rpc_parse.h: Likewise.
31775 * sunrpc/rpc_prot.c: Likewise.
31776 * sunrpc/rpc_sample.c: Likewise.
31777 * sunrpc/rpc_scan.c: Likewise.
31778 * sunrpc/rpc_scan.h: Likewise.
31779 * sunrpc/rpc_svcout.c: Likewise.
31780 * sunrpc/rpc_tblout.c: Likewise.
31781 * sunrpc/rpc_util.c: Likewise.
31782 * sunrpc/rpc_util.h: Likewise.
31783 * sunrpc/rpcinfo.c: Likewise.
31784 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31785 * sunrpc/rpcsvc/key_prot.x: Likewise.
31786 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31787 * sunrpc/rpcsvc/mount.x: Likewise.
31788 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31789 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31790 * sunrpc/rpcsvc/rex.x: Likewise.
31791 * sunrpc/rpcsvc/rstat.x: Likewise.
31792 * sunrpc/rpcsvc/rusers.x: Likewise.
31793 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31794 * sunrpc/rpcsvc/spray.x: Likewise.
31795 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31796 * sunrpc/rtime.c: Likewise.
31797 * sunrpc/svc.c: Likewise.
31798 * sunrpc/svc_auth.c: Likewise.
31799 * sunrpc/svc_authux.c: Likewise.
31800 * sunrpc/svc_raw.c: Likewise.
31801 * sunrpc/svc_run.c: Likewise.
31802 * sunrpc/svc_simple.c: Likewise.
31803 * sunrpc/svc_tcp.c: Likewise.
31804 * sunrpc/svc_udp.c: Likewise.
31805 * sunrpc/svc_unix.c: Likewise.
31806 * sunrpc/svcauth_des.c: Likewise.
31807 * sunrpc/xcrypt.c: Likewise.
31808 * sunrpc/xdr.c: Likewise.
31809 * sunrpc/xdr_array.c: Likewise.
31810 * sunrpc/xdr_float.c: Likewise.
31811 * sunrpc/xdr_mem.c: Likewise.
31812 * sunrpc/xdr_rec.c: Likewise.
31813 * sunrpc/xdr_ref.c: Likewise.
31814 * sunrpc/xdr_sizeof.c: Likewise.
31815 * sunrpc/xdr_stdio.c: Likewise.
31816
31817 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31818 handling.
31819
31820 2010-08-19 Andreas Schwab <schwab@redhat.com>
31821
31822 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31823
31824 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31825
31826 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31827 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31828 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31829 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31830 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31831 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31832 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31833 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31834 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31835 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31836 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31837 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31838 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31839 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31840
31841 2010-07-26 Anton Blanchard <anton@samba.org>
31842
31843 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31844 * malloc/arena.c (heap_trim): Likewise.
31845
31846 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31847
31848 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31849 here. Not...
31850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31851 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31852
31853 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31854
31855 * sysdeps/i386/elf/Makefile: New file.
31856
31857 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31858
31859 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31860 from fanotify_init.
31861 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31863
31864 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31865
31866 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31867 of strncasecmp_l.
31868 * sysdeps/multiarch/strcmp.S: Likewise.
31869
31870 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31871
31872 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31873 strncase_l-nonascii.
31874 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31875 Add strncase_l-ssse3.
31876 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31877 * sysdeps/x86_64/strcmp.S: Likewise.
31878 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31879 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31880 * sysdeps/x86_64/strncase.S: New file.
31881 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31882 * sysdeps/x86_64/strncase_l.S: New file.
31883 * string/Makefile (strop-tests): Add strncasecmp.
31884 * string/test-strncasecmp.c: New file.
31885
31886 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31887 warning.
31888
31889 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31890 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31891
31892 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31893
31894 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31895
31896 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31897
31898 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31899 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31901
31902 2010-05-01 Alan Modra <amodra@gmail.com>
31903
31904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31905 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31906 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31907 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31908 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31909 tidying. Don't tail-call __sigjmp_save for static lib.
31910 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31911 save location.
31912 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31913 (CALL_MCOUNT): Add eh info, and nop after bl.
31914 (TAIL_CALL_SYSCALL_ERROR): New macro.
31915 (PSEUDO_RET): Use it.
31916 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31917 Correct save location of integer regs and cr.
31918 (_dl_profile_resolve): Correct cr save location. Delete nops
31919 after bl when SHARED. Reduce cfi size a little by better
31920 placement of cfi directives.
31921 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31922 make a stack frame. Instead use parm save area as a temp.
31923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31924 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31926 Don't make a stack frame for parent, use parm save area.
31927 Increase child stack frame to 112 bytes. Don't save unused reg,
31928 and adjust reg usage. Set up cfi on error recovery and
31929 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31931 (__makecontext): Add dummy nop after jump to exit.
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31933 Use correct parm save area and cr save, reduce stack frame.
31934 Correct cfi for possible PSEUDO_RET frame setup.
31935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31936 Branch to local label emitted by PSEUDO_RET rather than
31937 __syscall_error.
31938
31939 2010-08-12 Andreas Schwab <schwab@redhat.com>
31940
31941 [BZ #11904]
31942 * locale/programs/locale.c (print_assignment): New function.
31943 (show_locale_vars): Use it.
31944
31945 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31946
31947 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31948 field.
31949 (struct statfs64): Likewise.
31950 (_STATFS_F_FLAGS): Define.
31951 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31953 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31954 (ST_VALID): Define locally.
31955 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31956 __statvfs_getflags, use the provided value.
31957 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31958 __ASSUME_STATFS_F_FLAGS.
31959
31960 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31961
31962 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31963 Add sys/fanotify.h.
31964 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31965 fanotify_mask for GLIBC_2.13.
31966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31967 fanotify_init and fanotify_mark.
31968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31969 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31970
31971 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31972 Add prlimit.
31973 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31974 prlimit64 for GLIBC_2.13.
31975 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31976 prlimit64.
31977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31978 syscall.
31979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31981 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31982 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31984 add prlimit alias.
31985 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31986
31987 [BZ #11903]
31988 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31989 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31990
31991 * nss/Makefile: Add rules to build and run tst-nss-test1.
31992 * shlib-versions: Add entry for libnss_test1.
31993 * nss/nss_test1.c: New file.
31994 * nss/tst-nss-test1.c: New file.
31995
31996 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31997 (__nss_configure_lookup): Set appropriate entry in
31998 __nss_configure_lookup to true.
31999 * nss/nsswitch.h: Define enum with indeces of databases in
32000 databases and __nss_database_custom arrays. Declare
32001 __nss_database_custom.
32002 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32003 to avoid using nscd when custom rules are installed.
32004 * nss/getXXbyYY_r.c: Likewise.
32005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32006
32007 * nss/nss_files/files-parse.c: Whitespace fixes.
32008
32009 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32010
32011 [BZ #11883]
32012 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32013 * posix/fnmatch_loop.c: Likewise.
32014
32015 2010-07-17 Andi Kleen <ak@linux.intel.com>
32016
32017 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32018 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32019 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32020 * Versions.def [GLIBC_2.13]: Add.
32021
32022 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32023
32024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32025 Also fail if tpwd after pwuid call is NULL.
32026
32027 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32028
32029 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32030 when converting to ms.
32031
32032 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32033
32034 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32035 EOPNOTSUPP errors with ENOTTY.
32036 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32037 EOPNOTSUPP errors with ENOTTY.
32038
32039 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32040
32041 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32042 Add strcasecmp_l-ssse3.
32043 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32044 strcasecmp.
32045 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32046 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32047 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32048
32049 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32050
32051 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32052
32053 * string/Makefile (strop-tests): Add strcasecmp.
32054 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32055 strcasecmp_l-nonascii.
32056 (gen-as-const-headers): Add locale-defines.sym.
32057 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32058 * sysdeps/x86_64/strcasecmp.S: New file.
32059 * sysdeps/x86_64/strcasecmp_l.S: New file.
32060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32061 * sysdeps/x86_64/locale-defines.sym: New file.
32062 * string/test-strcasecmp.c: New file.
32063
32064 * string/test-strcasestr.c: Test both ends of the range of characters.
32065 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32066
32067 2010-07-29 Roland McGrath <roland@redhat.com>
32068
32069 [BZ #11856]
32070 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32071
32072 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32073
32074 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32075 for ld.so.
32076
32077 2010-07-27 Andreas Schwab <schwab@redhat.com>
32078
32079 * manual/memory.texi (Malloc Tunable Parameters): Document
32080 M_PERTURB.
32081
32082 2010-07-26 Roland McGrath <roland@redhat.com>
32083
32084 [BZ #11840]
32085 * configure.in (-fgnu89-inline check): Set and substitute
32086 gnu89_inline, not libc_cv_gnu89_inline.
32087 * configure: Regenerated.
32088 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32089
32090 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32091
32092 * string/test-strnlen.c: New file.
32093 * string/Makefile (strop-tests): Add strnlen.
32094 * string/tester.c (test_strnlen): Add a few more test cases.
32095 * string/tst-strlen.c: Better error reporting.
32096
32097 * sysdeps/x86_64/strnlen.S: New file.
32098
32099 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32100
32101 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32102 lower-latency instructions.
32103
32104 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32105
32106 * string/test-strcasestr.c: New file.
32107 * string/test-strstr.c: New file.
32108 * string/Makefile (strop-tests): Add strstr and strcasestr.
32109 * string/str-two-way.h: Don't undefine MAX.
32110 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32111
32112 2010-07-21 Andreas Schwab <schwab@redhat.com>
32113
32114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32115 strcasestr-nonascii.
32116 (CFLAGS-strcasestr-nonascii.c): Define.
32117 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32118 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32119 Remove unused attribute.
32120
32121 2010-07-20 Roland McGrath <roland@redhat.com>
32122
32123 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32124 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32125 ld.so.cache was broken. With it, there is no way to disable dsocaps
32126 like LD_HWCAP_MASK can disable hwcaps.
32127
32128 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32129
32130 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32131
32132 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32133
32134 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32135 call in strcasestr.
32136 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32137 __strcasestr_sse42_nonascii.
32138 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32139 strcasestr-nonascii.c.
32140 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32141
32142 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32143
32144 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32146 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32148
32149 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32150
32151 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32152 fcntl.
32153
32154 2010-07-06 Andreas Schwab <schwab@redhat.com>
32155
32156 [BZ #11577]
32157 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32158 dl_signal_cerror.
32159
32160 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32161
32162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32163 _PC_PIPE_BUF using F_GETPIPE_SZ.
32164
32165 2010-07-05 Roland McGrath <roland@redhat.com>
32166
32167 * manual/arith.texi (Rounding Functions): Fix rint description
32168 implicit in round description.
32169
32170 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32171
32172 * elf/Makefile: Fix linking for a few tests to make recent linker
32173 happy.
32174
32175 2010-06-30 Andreas Schwab <schwab@redhat.com>
32176
32177 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32178 $(common-objpfx)libc_nonshared.a.
32179
32180 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32181
32182 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32183 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32184 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32185 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32186 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32187 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32188 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32189 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32204 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32205 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32206 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32207 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32208 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32209 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32210 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32211 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32212 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32213 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32214 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32215 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32230
32231 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32232
32233 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32234 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32235 * string/memmove.c (memmove): Renamed to ...
32236 (MEMMOVE): ...this. Default to memmove.
32237 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32238 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32239 (END_CHK): Define.
32240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32241 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32242 mempcpy-ssse3-back memmove-ssse3-back.
32243 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32246 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32247 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32248 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32249 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32250 * sysdeps/x86_64/multiarch/memmove.c: New file.
32251 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32252 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32253 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32254 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32255 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32256 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32257 Define.
32258 (index_Fast_Copy_Backward): Define.
32259 (HAS_ARCH_FEATURE): Define.
32260 (HAS_FAST_REP_STRING): Define.
32261 (HAS_FAST_COPY_BACKWARD): Define.
32262
32263 2010-06-21 Andreas Schwab <schwab@redhat.com>
32264
32265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32266 Restore proper fallback handling.
32267
32268 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32269
32270 [BZ #11701]
32271 * posix/group_member.c (__group_member): Correct checking loop.
32272
32273 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32274 OOM in getpwuid_r correctly. Return error number when the caller
32275 should return, otherwise -1.
32276 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32277 call returning > 0 value.
32278 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32279
32280 2010-06-07 Andreas Schwab <schwab@redhat.com>
32281
32282 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32283 libc_nonshared.a from targets in modules-names.
32284
32285 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32286
32287 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32288 requires it.
32289
32290 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32291
32292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32293 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32294 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32295 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32296
32297 2010-06-02 Andreas Schwab <schwab@redhat.com>
32298
32299 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32300
32301 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32302
32303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32304 and F_GETPIPE_SZ.
32305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32311
32312 2010-06-14 Roland McGrath <roland@redhat.com>
32313
32314 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32315
32316 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32317
32318 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32319 __REDIRECT followed by __THROW.
32320 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32321 * posix/getopt.h (getopt): Likewise.
32322
32323 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32324
32325 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32326 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32327 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32328 in AT_FLAGS.
32329 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32330 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32331
32332 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32333
32334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32335
32336 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32337
32338 [BZ #11640]
32339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32340 Properly check family and model.
32341
32342 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32343
32344 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32345
32346 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32347
32348 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32349
32350 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32351
32352 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32353 symbol reference.
32354
32355 2010-05-19 Andreas Schwab <schwab@redhat.com>
32356
32357 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32358 symbol reference.
32359
32360 2010-05-21 Andreas Schwab <schwab@redhat.com>
32361
32362 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32363 and internal_recvmmsg.
32364 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32365 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32366 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32367 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32368
32369 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32370 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32371 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32372
32373 2010-05-20 Andreas Schwab <schwab@redhat.com>
32374
32375 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32376
32377 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32378
32379 POWER7 optimizations.
32380 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32381 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32382
32383 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32384
32385 * version.h: Update for 2.13 development version.
32386
32387 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32388
32389 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32390 exceptions. Return 0.
32391
32392 2010-05-07 Roland McGrath <roland@redhat.com>
32393
32394 * elf/ldconfig.c (main): Add a const.
32395
32396 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32397
32398 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32399 (args_options): Add no-idn option.
32400 (ahosts_keys_int): Add idn_flags to ai_flags.
32401 (parse_option): Handle 'i' option to clear idn_flags.
32402
32403 * malloc/malloc.c (_int_free): Possible race in the most recently
32404 added check. Only act on the data if no current modification
32405 happened.
32406
32407 See ChangeLog.17 for earlier changes.