]> sourceware.org Git - glibc.git/blob - ChangeLog
benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
[glibc.git] / ChangeLog
1 2013-09-04 Will Newton <will.newton@linaro.org>
2
3 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4
5 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #15427]
8 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10 * math/libm-test.inc (lgamma_test_data): Add more tests.
11 * sysdeps/i386/fpu/libm-test-ulps: Update.
12 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13
14 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15
16 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18 Add ifunc.
19 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20 Add strcmp-sse2-unaligned
21 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22
23 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24
25 * Versions.def (libc): Add GLIBC_2.19.
26
27 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28
29 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31
32 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33
34 [BZ #14155]
35 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36 intermediate calculations in recurrence.
37 (__ieee754_ynf): Likewise.
38 * math/libm-test.inc (jn_test_data): Do not allow spurious
39 underflow exception. Add more tests.
40 (yn_test_data): Add more tests.
41 * sysdeps/i386/fpu/libm-test-ulps: Update.
42 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43
44 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
45
46 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47
48 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
49
50 * csu/init-first.c: Fix then/than typos.
51 * locale/programs/ld-collate.c: Likewise.
52 * locale/programs/linereader.h: Likewise.
53 * manual/charset.texi: Likewise.
54 * manual/filesys.texi: Likewise.
55 * manual/stdio.texi: Likewise.
56 * manual/string.texi: Likewise.
57 * stdlib/fmtmsg.c: Likewise.
58 * sysdeps/i386/stpncpy.S: Likewise.
59 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63
64 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
65
66 * elf/dl-open.c: Fix typos.
67 * iconvdata/gbbig5.c: Likewise.
68 * iconvdata/iso-2022-jp.c: Likewise.
69 * iconv/gconv_int.h: Likewise.
70 * iconv/loop.c: Likewise.
71 * nis/rpcsvc/nis.h: Likewise.
72 * resolv/ns_name.c: Likewise.
73 * stdio-common/vfscanf.c: Likewise.
74 * streams/stropts.h: Likewise.
75 * sunrpc/rpc_thread.c: Likewise.
76 * sysdeps/i386/strpbrk.S: Likewise.
77 * sysdeps/ieee754/k_standard.c: Likewise.
78 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
81 * sysdeps/mach/hurd/profil.c: Likewise.
82 * sysdeps/s390/dl-procinfo.h: Likewise.
83 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
84 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
85 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
86 * sysdeps/x86_64/dl-trampoline.S: Likewise.
87 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88
89 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
90
91 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
92 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
93
94 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
95
96 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
97 aix specific files.
98 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
100 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
103 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
104 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
106
107 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
108 Roland McGrath <roland@hack.frob.com>
109
110 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
111 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
112
113 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
114
115 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
116 __executable_start symbol instead of _start.
117
118 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
119
120 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
121 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
122 Move macros to...
123 * sysdeps/gnu/ldsodefs.h: ... this new file.
124
125 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
126 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
127 instead of ELFOSABI_LINUX.
128
129 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
130 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
131 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
132 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
133 Likewise.
134 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
135 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
136 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
137 Likewise.
138 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
139 (ibm_extended_long_double): Add ieee_nan member.
140 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
141 (do_test): New function.
142
143 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
144 TEST_TRUNC.
145 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
146 functions, renamed from truncdfsf_test, trunctfsf_test,
147 trunctfdf_test.
148 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
149 functions.
150 (do_test): Run all these.
151
152 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
153
154 * argp/argp-help.c: Fix typos.
155 * argp/argp-parse.c: Likewise.
156 * debug/backtracesyms.c: Likewise.
157 * elf/elf.h: Likewise.
158 * malloc/malloc.c: Likewise.
159 * nis/nis_print.c: Likewise.
160 * resolv/res_comp.c: Likewise.
161 * stdlib/stdlib.h: Likewise.
162 * sunrpc/clnt_tcp.c: Likewise.
163 * sunrpc/clnt_udp.c: Likewise.
164 * sunrpc/clnt_unix.c: Likewise.
165 * sysdeps/unix/bsd/ptsname.c: Likewise.
166 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
167 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
169 Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
171 Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
173 Likewise.
174 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
175
176 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
177
178 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
180
181 2013-08-27 Mike Frysinger <vapier@gentoo.org>
182
183 [BZ #15897]
184 * dlfcn/Makefile (tests): Add bug-dl-leaf.
185 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
186 ($(objpfx)bug-dl-leaf): New rule.
187 ($(objpfx)bug-dl-leaf.so): Likewise.
188 ($(objpfx)bug-dl-leaf.out): Likewise.
189 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
190 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
191 * dlfcn/bug-dl-leaf.c: New test.
192 * dlfcn/bug-dl-leaf-lib.c: Likewise.
193 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
194 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
195 (dlclose): Likewise.
196 (dlmopen): Likewise.
197
198 2013-08-27 Roland McGrath <roland@hack.frob.com>
199
200 * include/netdb.h [!_ISOMAC]:
201 Don't include <tls.h>.
202 (h_errno, __libc_h_errno): Move declaration and macros out of
203 [_LIBC_REENTRANT].
204
205 * include/resolv.h [_RESOLV_H_]:
206 Don't include <tls.h>.
207 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
208 * resolv/res_libc.c: Don't include <tls.h>.
209 (_res): Use __attribute__ ((nocommon)) in place of
210 __attribute__ ((section (".bss"))).
211
212 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
213 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
214
215 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
216
217 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
218 only under [SIOCGIFCONF && SIOCGIFNETMASK].
219
220 * resolv/res_mkquery.c: Include <sys/time.h>.
221
222 * inet/ifreq.c: Moved to ...
223 * sysdeps/unix/ifreq.c: ... here.
224 * inet/ifreq.c: New file, true stub version.
225
226 * socket/sa_len.c: New file.
227 * socket/Makefile (aux): Add it.
228 * sysdeps/unix/sysv/linux/Makefile
229 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
230 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
231 and #include <socket/sa_len.c>.
232 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
233 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
234
235 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
236 * bits/socket.h: ... here.
237
238 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
239 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
240 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
241
242 2013-08-27 Andreas Schwab <schwab@suse.de>
243
244 [BZ #15736]
245 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
246 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
247 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
248 * string/test-strcasecmp.c (test_main): Run tests in several
249 locales.
250 * string/test-strncasecmp.c (test_main): Likewise.
251
252 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
253 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
254 to __strcasecmp_nonascii and __strncasecmp_nonascii.
255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
256 (__strncasecmp_ssse3) [PIC]: Likewise.
257
258 2013-08-26 Roland McGrath <roland@hack.frob.com>
259
260 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
261
262 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
263 instead of explicitly declaring xdecrypt.
264 * nis/nss_nis/nis-publickey.c: Likewise.
265
266 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
267
268 [BZ #15890]
269 * nscd/aicache.c: Include res_hconf.h.
270 (addhstaiX): Initialize res_hconf.
271
272 2013-08-26 Andreas Schwab <schwab@suse.de>
273
274 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
275 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
276
277 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
278
279 * nscd/aicache.c (addhstaiX): Fix indentation.
280
281 2013-08-25 Mike Frysinger <vapier@gentoo.org>
282
283 * configure.ac: Quote $build_pt_chown test.
284 * configure: Regenerated.
285
286 2013-08-23 Joseph Myers <joseph@codesourcery.com>
287
288 [BZ #15532]
289 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
290 * math/s_cexpf.c (__cexpf): Likewise.
291 * math/s_cexpl.c (__cexpl): Likewise.
292 * math/libm-test.inc (cexp_test_data): Correct expected return
293 value for NaN + i0. Add another test.
294
295 2013-08-22 David S. Miller <davem@davemloft.net>
296
297 * po/ca.po: Update Catalan translation from translation project.
298 * po/uk.po: Add Ukrainian translations from translation project.
299
300 2013-08-21 Joseph Myers <joseph@codesourcery.com>
301
302 [BZ #15797]
303 * math/s_fdim.c (__fdim): Check for infinite arguments if result
304 is infinite, not alongside NaN test.
305 * math/s_fdimf.c (__fdimf): Likewise.
306 * math/s_fdiml.c (__fdiml): Likewise.
307 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
308 errno is unchanged.
309
310 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
311
312 * argp/argp-help.c: Fix typos.
313 * crypt/speeds.c: Likewise.
314 * csu/check_fds.c: Likewise.
315 * elf/dl-load.c: Likewise.
316 * elf/dl-open.c: Likewise.
317 * elf/reldep3.c: Likewise.
318 * elf/reldep.c: Likewise.
319 * elf/sprof.c: Likewise.
320 * iconv/iconv_charmap.c: Likewise.
321 * iconv/skeleton.c: Likewise.
322 * iconv/strtab.c: Likewise.
323 * io/lockf64.c: Likewise.
324 * libio/libioP.h: Likewise.
325 * resolv/gai_notify.c: Likewise.
326 * resolv/ns_name.c: Likewise.
327 * resolv/ns_samedomain.c: Likewise.
328 * resolv/res_send.c: Likewise.
329 * stdlib/random.c: Likewise.
330 * sunrpc/rpc/xdr.h: Likewise.
331 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
332 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
333 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
334 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
335 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
337 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
338 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
339 * sysdeps/mach/hurd/check_fds.c: Likewise.
340 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
341 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
342 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
343 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
344 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
345 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
346 * sysdeps/pthread/aio_notify.c: Likewise.
347 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
348 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
349 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
350 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
351 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
352
353 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
354
355 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
356 version if bit_Slow_SSE4_2 is set.
357 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
359
360 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361
362 [BZ #15867]
363 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
364 trampoline stack frame information.
365 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
366 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
367 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
368 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
369 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
370 * sysdeps/unix/sysv/linux/powerpc/init-first.c
371 (_libc_vdso_platform_setup): Initialize the signal trampolines.
372 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
373 sa_flags value.
374 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
375 interrupting a syscall and set with option SA_SIGINFO.
376
377 2013-08-20 Joseph Myers <joseph@codesourcery.com>
378
379 [BZ #15531]
380 * math/s_cproj.c (__cproj): Only return an infinity if one part of
381 argument is infinite.
382 * math/s_cprojf.c (__cprojf): Likewise.
383 * math/s_cprojl.c (__cprojl): Likewise.
384 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
385 * math/libm-test.inc (cproj_test_data): Add more tests.
386
387 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
388
389 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
390 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
391 size. Use __ffs to determine corresponding shift.
392
393 2013-08-20 Joseph Myers <joseph@codesourcery.com>
394 Roland McGrath <roland@hack.frob.com>
395
396 * Makefile (INSTALL): Remove trailing blank lines from output of
397 makeinfo.
398
399 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
400
401 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
402 Align 32 bit compat elf_greg to 8 bytes.
403
404 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
405
406 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
407
408 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
409
410 * string/strcoll_l.c (coll_seq): New structure.
411 (get_next_seq_cached): New function.
412 (get_next_seq): New function.
413 (do_compare): New function.
414 (STRCOLL): Use GNU style definition. Simplify implementation
415 by using get_next_seq, get_next_seq_cached and do_compare.
416
417 2013-08-16 Florian Weimer <fweimer@redhat.com>
418
419 [BZ #14699]
420 CVE-2013-4237
421 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
422 member.
423 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
424 member.
425 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
426 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
427 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
428 conditional.
429 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
430 GETDENTS_64BIT_ALIGNED.
431 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
432 * manual/filesys.texi (Reading/Closing Directory): Document
433 ENAMETOOLONG return value of readdir_r. Recommend readdir more
434 strongly.
435 * manual/conf.texi (Limits for Files): Add portability note to
436 NAME_MAX, PATH_MAX.
437 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
438
439 2013-08-13 Andreas Schwab <schwab@suse.de>
440
441 [BZ #15749]
442 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
443 of fabs.
444 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
445 LDBL_MAX_EXP >= 16384]: Add tests for it.
446
447 2013-08-12 David S. Miller <davem@davemloft.net>
448
449 * version.h (RELEASE): Set to "development".
450 (VERSION): Set to "2.18.90".
451 * NEWS: Add 2.19 section.
452
453 2013-08-03 David S. Miller <davem@davemloft.net>
454
455 * po/ko.po: Update Korean translation from translation project.
456
457 2013-08-01 David S. Miller <davem@davemloft.net>
458
459 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
460 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
461 Bilka.
462
463 2013-07-30 David S. Miller <davem@davemloft.net>
464
465 * po/fr.po: Update French translation from translation project.
466
467 2013-07-28 David S. Miller <davem@davemloft.net>
468
469 * po/cs.po: Update Czech translation from translation project.
470
471 * po/sv.po: Update Swedish translation from translation project.
472
473 2013-07-27 David S. Miller <davem@davemloft.net>
474
475 * po/eo.po: Update Esperanto translation from translation project.
476
477 * po/vi.po: Update Vietnamese translation from translation project.
478
479 * po/de.po: Update German translation from translation project.
480
481 2013-07-26 David S. Miller <davem@davemloft.net>
482
483 * po/bg.po: Update Bulgarian translation from translation project.
484
485 * po/nl.po: Update Dutch translation from translation project.
486 * po/pl.po: Update Polish translation from translation project.
487 * po/ru.po: Update Russian translation from translation project.
488
489 2013-07-24 David S. Miller <davem@davemloft.net>
490
491 * po/libc.pot: Update.
492
493 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494
495 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
496 variable page size.
497 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
498 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
499 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
500
501 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
502
503 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
504
505 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
506 Andreas Schwab <schwab@suse.de>
507 Roland McGrath <roland@hack.frob.com>
508 Joseph Myers <joseph@codesourcery.com>
509 Carlos O'Donell <carlos@redhat.com>
510
511 [BZ #15755]
512 * config.h.in: Define HAVE_PT_CHOWN.
513 * config.make.in (build-pt-chown): New variable.
514 * configure.in (--enable-pt_chown): New configure option.
515 * configure: Regenerate.
516 * login/Makefile: Include Makeconfig. Build pt_chown only if
517 build-pt-chown is enabled.
518 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
519 pt_chown to fix pty ownership.
520 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
521 CLOSE_ALL_FDS.
522 * manual/install.texi (Configuring and compiling): Mention
523 --enable-pt_chown. Add @findex for grantpt.
524 * INSTALL: Regenerate.
525
526 2013-07-20 David S. Miller <davem@davemloft.net>
527
528 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
529 difference between 32-bit and 64-bit.
530
531 2013-07-15 Carlos O'Donell <carlos@redhat.com>
532
533 [BZ #15711]
534 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
535 Avoid system header dependency with -ffreestanding.
536 ($(objpfx)bits/syscall%d): Likewise.
537
538 2013-07-13 David S. Miller <davem@davemloft.net>
539
540 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
541 underflows from atanl/atan2l due to bug 15319.
542 (casinh_test_data): Likewise.
543
544 2013-07-07 David S. Miller <davem@davemloft.net>
545
546 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
547
548 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
549
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552
553 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
554
555 * configure.in (--enable-lock-elision): Fix message text.
556 * INSTALL: Regenerate.
557 * configure: Regenerate.
558
559 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
560
561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
562
563 2013-07-03 Andreas Jaeger <aj@suse.de>
564
565 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
566 define.
567 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
568 (ptrace_peeksiginfo_args): Add.
569 (__ptrace_peeksiginfo_flags): Add.
570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
573
574 2013-07-03 Allan McRae <allan@archlinux.org>
575
576 * sysdeps/i386/fpu/libm-test-ulps: Update.
577
578 2013-07-02 David S. Miller <davem@davemloft.net>
579
580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
581
582 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
583
584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
585
586 2013-07-02 Joseph Myers <joseph@codesourcery.com>
587
588 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
590
591 2013-07-02 Andi Kleen <ak@linux.intel.com>
592
593 * config.h.in (ENABLE_LOCK_ELISION): Add.
594 * configure.in (--enable-lock-elision): Add option.
595 * manual/install.texi: Document --enable lock elision.
596 * configure: Regenerate
597 * INSTALL: Regenerate.
598
599 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
600
601 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
602 SSE4.2 strcasecmp for libc.a.
603 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
604
605 2013-07-02 Joseph Myers <joseph@codesourcery.com>
606
607 [BZ #13304]
608 * soft-fp/op-common.h (_FP_FMA): New macro.
609 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
610 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
611 (_FP_MUL_MEAT_1_imm): ... here.
612 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
613 (_FP_MUL_MEAT_1_wide): ... here.
614 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
615 (_FP_MUL_MEAT_1_hard): ... here.
616 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
617 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
618 (_FP_MUL_MEAT_2_wide): ... here.
619 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
620 (_FP_MUL_MEAT_2_wide_3mul): ... here.
621 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
622 (_FP_MUL_MEAT_2_gmp): ... here.
623 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
624 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
625 (_FP_MUL_MEAT_4_wide): ... here.
626 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
627 (_FP_MUL_MEAT_4_gmp): ... here.
628 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
629 (_FP_WFRACBITS_DW_S): Likewise.
630 (_FP_WFRACXBITS_DW_S): Likewise.
631 (_FP_HIGHBIT_DW_S): Likewise.
632 (FP_FMA_S): Likewise.
633 (_FP_FRAC_HIGH_DW_S): Likewise.
634 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
635 (_FP_WFRACBITS_DW_D): Likewise.
636 (_FP_WFRACXBITS_DW_D): Likewise.
637 (_FP_HIGHBIT_DW_D): Likewise.
638 (FP_FMA_D): Likewise.
639 (_FP_FRAC_HIGH_DW_D): Likewise.
640 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
641 (_FP_WFRACBITS_DW_E): Likewise.
642 (_FP_WFRACXBITS_DW_E): Likewise.
643 (_FP_HIGHBIT_DW_E): Likewise.
644 (FP_FMA_E): Likewise.
645 (_FP_FRAC_HIGH_DW_E): Likewise.
646 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
647 (_FP_WFRACBITS_DW_Q): Likewise.
648 (_FP_WFRACXBITS_DW_Q): Likewise.
649 (_FP_HIGHBIT_DW_Q): Likewise.
650 (FP_FMA_Q): Likewise.
651 (_FP_FRAC_HIGH_DW_Q): Likewise.
652 * soft-fp/fmasf4.c: New file.
653 * soft-fp/fmadf4.c: Likewise.
654 * soft-fp/fmatf4.c: Likewise.
655
656 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
657
658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
659 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
660 Silvermont.
661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
662 macro.
663 (index_Slow_SSE4_2): Likewise.
664 (index_Prefer_PMINUB_for_stringop): Likewise.
665 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
666 bit_Slow_SSE4_2 is set.
667 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
668 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
669
670 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
671
672 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
673 rtld_global._dl_hwcap2.
674 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
675 POWER8.
676 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
677 POWER8 feature descriptions defined in _dl_hwcap2.
678 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
679 string handling for POWER8 feature bits.
680 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
681 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
682 _dl_powerpc_cap_flags.
683 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
684 * sysdeps/powerpc/rtld-global-offsets.sym
685 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
686 _dl_hwcap2 in the rtld_global_ro structure.
687
688 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
689
690 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
691 hardware capabilities in support of AT_HWCAP2.
692 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
693 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
694 GLRO(dl_hwcap2).
695 (_dl_show_auxv): Add support for calling _dl_procinfo to display
696 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
697 explicitly the unknown a_type display mechanism is used.
698 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
699 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
700 struct member.
701 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
702 to macro prototype for AT_HWCAP2 support.
703 * sysdeps/i386/dl-procinfo.h: Likewise.
704 * sysdeps/s390/dl-procinfo.h: Likewise.
705 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
706 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
707 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
708 return -1 for unknown a_type display fallback.
709 * sysdeps/sparc/dl-procinfo.h: Likewise.
710 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
711 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
712
713 2013-06-28 Joseph Myers <joseph@codesourcery.com>
714
715 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
716 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
717
718 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
719
720 [BZ #12492]
721 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
722 mprotect making __stack_prot writable.
723
724 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
725 Joseph Myers <joseph@codesourcery.com>
726
727 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
728 as being properly aligned.
729
730 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
731
732 * dlfcn/modstatic5.c: New file.
733 * dlfcn/tststatic5.c: New file.
734 * dlfcn/Makefile (tests): Add tststatic5.
735 (tests-static): Likewise.
736 (modules-names): Add modstatic5.
737 (tststatic5-ENV): New variable.
738 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
739
740 [BZ #15022]
741 * elf/dl-support.c (_dl_main_map): New variable.
742 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
743 (_dl_nns, _dl_load_adds): Set to 1.
744 (_dl_initial_searchlist): Refer to _dl_main_map.
745 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
746 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
747 call to _dl_get_origin.
748 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
749 around call_map.
750 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
751 * dlfcn/modstatic3.c: New file.
752 * dlfcn/tststatic3.c: New file.
753 * dlfcn/tststatic4.c: New file.
754 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
755 (tests-static): Likewise.
756 (modules-names): Add modstatic3.
757 (tststatic3-ENV, tststatic4-ENV): New variables.
758 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
759 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
760
761 2013-06-26 Joseph Myers <joseph@codesourcery.com>
762
763 * configure.in (CC): Require GCC version 4.4 or later.
764 * configure: Regenerated.
765 * manual/install.texi (Tools for Compilation): Update GCC version
766 requirement.
767 * INSTALL: Regenerated.
768
769 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
770
771 [BZ #15674]
772 * string/test-memcmp.c (check2): New.
773 (main): Call check2.
774
775 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
776
777 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
778
779 [BZ #15022]
780 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
781 over to...
782 (dl_open_worker) [!SHARED]: ... here.
783
784 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
785
786 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
787
788 2013-06-25 Richard Henderson <rth@redhat.com>
789
790 * locale/programs/locarchive.c: Include <libc-internal.h>
791
792 2013-06-25 Joseph Myers <joseph@codesourcery.com>
793
794 * manual/texinfo.tex: Update to version 2013-06-21.17, with
795 trailing whitespace removed.
796
797 2013-06-24 Mike Frysinger <vapier@gentoo.org>
798
799 [BZ #10283]
800 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
801 * locale/programs/locarchive.c: Include libc-mmap.h.
802 (prepare_address_space): Take two new outputs (the mmap base and len).
803 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
804 values.
805 (create_archive): Declare new mmap base and len values for
806 prepare_address_space, and store the result in ah.
807 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
808 (enlarge_archive): If ah->mmap_base is not NULL, use that and
809 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
810 Declare new mmap base and len values for
811 prepare_address_space, and store the result in new_ah.
812 (open_archive): Declare new mmap base and len values for
813 prepare_address_space, and store the result in ah.
814 (close_archive): If ah->mmap_base is not NULL, use that and
815 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
816 * sysdeps/generic/libc-mmap.h: New file.
817
818 2013-06-24 Mike Frysinger <vapier@gentoo.org>
819
820 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
821 (ALIGN_UP): Likewise.
822 (PTR_ALIGN_DOWN): Likewise.
823 (PTR_ALIGN_UP): Likewise.
824
825 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
826
827 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
828 entry mapped to PPC_PLATFORM_POWER8.
829 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
830 POWER8.
831 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
832 (_dl_string_platform): Add case for exporting platform position for
833 POWER8.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
835 search path to sysdeps/powerpc/powerpc32/power8 directory.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
837 search path to sysdeps/powerpc/powerpc64/power8 directory.
838 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
839 power7 directories.
840 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
841 power7 directories.
842
843 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
844
845 * INSTALL: Regenerate.
846
847 * nscd/connections.c (nscd_init): Fix comment.
848
849 2013-06-22 Joseph Myers <joseph@codesourcery.com>
850
851 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
852
853 [BZ #15667]
854 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
855 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
856
857 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
858
859 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
860 DL_DST_REQ_STATIC.
861 (DL_DST_REQ_STATIC): Remove macro.
862
863 2013-06-21 Joseph Myers <joseph@codesourcery.com>
864
865 [BZ #7006]
866 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
867 with a shift of 0 bits.
868
869 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
870
871 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
872 $(tststatic-ENV).
873
874 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
875
876 [BZ #15655]
877 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
878
879 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
882 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
883 accepts -fno-tree-loop-distribute-patterns.
884 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
885 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
886 recursive call.
887 * string/memset.c (memset): Likewise.
888 * string/test-memmove.c (simple_memmove): Disable loop transformation
889 to library calls.
890 * string/test-memset.c (simple_memset): Likewise.
891 * benchtests/bench-memmove.c (simple_memmove): Likewise.
892 * benchtests/bench-memset.c (simple_memset): Likewise.
893 * configure: Regenerated.
894
895 2013-06-20 Joseph Myers <joseph@codesourcery.com>
896
897 * math/test-misc.c (main): Ignore fesetround failure when failures
898 of subsequent rounding tests would be ignored.
899
900 [BZ #15654]
901 * math/fedisblxcpt.c (fedisableexcept): Return 0.
902 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
903 * math/fegetenv.c (__fegetenv): Return 0.
904 * math/fegetexcept.c (fegetexcept): Return 0.
905 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
906 FE_TONEAREST.
907 * math/feholdexcpt.c (feholdexcept): Return 0.
908 * math/fesetenv.c (__fesetenv): Return 0.
909 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
910 argument FE_TONEAREST.
911 * math/feupdateenv.c (__feupdateenv): Return 0.
912 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
913
914 2013-06-18 Roland McGrath <roland@hack.frob.com>
915
916 * elf/rtld-Rules (rtld-compile-command.S): New variable.
917 (rtld-compile-command.s, rtld-compile-command.c): New variables.
918 ($(objpfx)rtld-%.os rules): Use them.
919
920 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921
922 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
923 fields.
924
925 2013-06-17 Roland McGrath <roland@hack.frob.com>
926
927 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
928 length of target pattern, then descending length of dependency pattern.
929 * configure.in (AWK): Require gawk 3.1.2 or newer.
930 * manual/install.texi (Tools for Compilation): Say that we do.
931 * configure: Regenerated.
932
933 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
934 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
935 * scripts/sysd-rules.awk: ... this new script.
936 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
937 than a glob-style pattern.
938
939 2013-06-17 Joseph Myers <joseph@codesourcery.com>
940
941 * math/test-misc.c (main): Do not treat incorrectly rounded
942 conversions as failure unless ROUNDING_TESTS passes.
943
944 2013-06-15 Joseph Myers <joseph@codesourcery.com>
945
946 [BZ #15631]
947 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
948 restore exception state around main square root computation, then
949 check for inexactness explicitly.
950
951 * math/libm-test.inc (fma_test_data): Add another test.
952
953 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
954
955 * manual/threads.texi (Non-POSIX Extensions): New document
956 node. Document pthread_getattr_default_np and
957 pthread_setattr_default_np.
958
959 * Versions.def (libpthread): Add GLIBC_2.18.
960 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
962 Likewise.
963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
964 Likewise.
965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
966 Likewise.
967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
968 Likewise.
969 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
970 Likewise.
971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
972 Likewise.
973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
974 Likewise.
975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
976 Likewise.
977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
978 Likewise.
979
980 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
981
982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
983 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
984
985 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
986 H.J. Lu <hjl.tools@gmail.com>
987
988 [BZ #15627]
989 * sysdeps/x86_64/rtld-memset.c: Remove file.
990 * sysdeps/x86_64/rtld-memset.S: New file.
991
992 2013-06-14 Joseph Myers <joseph@codesourcery.com>
993
994 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
995 (test_in_one_mode): Take arguments for whether the rounding mode
996 is supported for each floating-point type.
997 (do_test): Pass new arguments to test_in_one_mode using
998 ROUNDING_TESTS.
999
1000 2013-06-13 Roland McGrath <roland@hack.frob.com>
1001
1002 * posix/tst-waitid.c (do_test): Distinguish different instances of
1003 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1004 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1005 before entering the kernel for waitpid.
1006
1007 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 * NEWS: Fix note on clock function precision. Text by Roland
1010 McGrath.
1011
1012 2013-06-13 Roland McGrath <roland@hack.frob.com>
1013
1014 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1015 it into place only when and if the sanity check passes.
1016
1017 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1018
1019 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1020 output for whether conversion result is exact. Take argument
1021 indicating whether type is IBM long double.
1022 (round_for_all): Change need_exact field to ibm_ld.
1023 * stdlib/tst-strtod-round.c (struct exactness): New type.
1024 (struct test): Change bool ld_ok field to struct exactness exact.
1025 (TEST): Update all definitions for change to field.
1026 (tests): Regenerate array contents.
1027 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1028 field value. Check for IBM long double here.
1029 (do_test): Update calls to test_in_one_mode.
1030
1031 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1032
1033 [BZ #12515]
1034 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1035 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1036
1037 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038
1039 [BZ #15605]
1040 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1041 generated by the compiler on loop optimizations.
1042 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1043 general definitions.
1044
1045 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1046
1047 * math/bug-nextafter.c: Include <math-tests.h>.
1048 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1049 the relevant type.
1050 * math/bug-nexttoward.c: Include <math-tests.h>.
1051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1052 the relevant type.
1053 * math/test-misc.c: Include <math-tests.h>.
1054 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1055 the relevant type.
1056
1057 2013-06-12 Andreas Jaeger <aj@suse.de>
1058
1059 * po/ia.po: Update Interlingua translation from translation
1060 project.
1061
1062 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1063
1064 * include/fenv.h: Include stdbool.h.
1065 (struct rm_ctx): New structure.
1066 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1067 Define macro.
1068 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1069 (SET_RESTORE_ROUNDF): Likewise.
1070 (SET_RESTORE_ROUNDL): Likewise.
1071 (SET_RESTORE_ROUND_NOEX): Likewise.
1072 (SET_RESTORE_ROUND_NOEXF): Likewise.
1073 (SET_RESTORE_ROUND_NOEXL): Likewise.
1074 (SET_RESTORE_ROUND_53BIT): Likewise.
1075 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1076 (libc_feresetround_noexf_ctx): Likewise.
1077 (libc_feresetround_noexl_ctx): Likewise.
1078 (libc_feholdsetround_53bit_ctx): Likewise.
1079 (libc_feresetround_53bit_ctx): Likewise.
1080 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1081 (libc_feholdexcept_setround_sse_ctx): New function.
1082 (libc_fesetenv_sse_ctx): Likewise.
1083 (libc_feupdateenv_sse_ctx): Likewise.
1084 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1085 (libc_feholdexcept_setround_387_ctx): Likewise.
1086 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1087 (libc_feholdsetround_387_prec_ctx): Likewise.
1088 (libc_feholdsetround_387_ctx): Likewise.
1089 (libc_feholdsetround_387_53bit_ctx): Likewise.
1090 (libc_feholdsetround_sse_ctx): Likewise.
1091 (libc_feresetround_sse_ctx): Likewise.
1092 (libc_feresetround_387_ctx): Likewise.
1093 (libc_feupdateenv_387_ctx): Likewise.
1094 (libc_feholdexcept_setroundf_ctx): Define macro.
1095 (libc_fesetenvf_ctx): Likewise.
1096 (libc_feupdateenvf_ctx): Likewise.
1097 (libc_feholdsetroundf_ctx): Likewise.
1098 (libc_feresetroundf_ctx): Likewise.
1099 (libc_feholdexcept_setround_ctx): Likewise.
1100 (libc_fesetenv_ctx): Likewise.
1101 (libc_feupdateenv_ctx): Likewise.
1102 (libc_feholdsetround_ctx): Likewise.
1103 (libc_feresetround_ctx): Likewise.
1104 (libc_feholdexcept_setroundl_ctx): Likewise.
1105 (libc_feupdateenvl_ctx): Likewise.
1106 (libc_feholdsetroundl_ctx): Likewise.
1107 (libc_feresetroundl_ctx): Likewise.
1108 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1109 (libc_feresetround_53bit_ctx): Likewise.
1110
1111 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1112
1113 * locale/iso-639.def: Convert to UTF-8.
1114
1115 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1116
1117 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1118 (EXCEPTION_TESTS_double): Likewise.
1119 (EXCEPTION_TESTS_long_double): Likewise.
1120 (EXCEPTION_TESTS): Likewise.
1121 * math/libm-test.inc (test_exceptions): Only test exceptions if
1122 EXCEPTION_TESTS (FLOAT).
1123
1124 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1125
1126 * benchtests/Makefile (string-bench): Add strcpy_chk and
1127 stpcpy_chk.
1128 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1129 * benchtests/bench-stpcpy_chk.c: New file.
1130 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1131 * benchtests/bench-strcpy_chk.c: New file.
1132 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1133 code.
1134 (do_test): Likewise.
1135
1136 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1137
1138 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1139 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1140 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1141 with tabs where appropriate.
1142 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1143 dl-procinfo.h.
1144 [PPC_PLATFORM_PPC440]: Likewise.
1145 [PPC_PLATFORM_PPC464]: Likewise.
1146 [PPC_PLATFORM_PPC476]: Likewise.
1147 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1148 ppc464, and ppc476 platform strings merging from ports/
1149 dl-procinfo.h.
1150
1151 2013-06-11 Andreas Schwab <schwab@suse.de>
1152
1153 [BZ #14991]
1154 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1155 (from_ucs4_idx): Regenerate.
1156 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1157 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1158 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1159 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1160 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1161 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1162 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1163 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1164 from FROM_LOOP and TO_LOOP specific macros.
1165 (BODY): Handle combining characters.
1166 * iconvdata/BIG5HKSCS.irreversible: Update.
1167 * iconvdata/BIG5HKSCS.precomposed: New file.
1168 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1169 characters.
1170 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1171
1172 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1173
1174 * include/sys/time.h: Fix indentation and add copyright header.
1175
1176 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1177 (do_test): Likewise.
1178 * string/test-memchr.c (do_one_test): Likewise.
1179 (do_test): Likewise.
1180 * string/test-memcmp.c (do_one_test): Likewise.
1181 (do_test): Likewise.
1182 * string/test-memcpy.c (do_one_test): Likewise.
1183 (do_test): Likewise.
1184 * string/test-memmem.c (do_one_test): Likewise.
1185 (do_test): Likewise.
1186 (do_random_tests): Likewise.
1187 * string/test-memmove.c (do_one_test): Likewise.
1188 (do_test): Likewise.
1189 * string/test-memset.c (do_one_test): Likewise.
1190 (do_test): Likewise.
1191 * string/test-rawmemchr.c (do_one_test): Likewise.
1192 (do_test): Likewise.
1193 * string/test-strcasecmp.c (do_one_test): Likewise.
1194 (do_test): Likewise.
1195 * string/test-strcasestr.c (do_one_test): Likewise.
1196 (do_test): Likewise.
1197 * string/test-strcat.c (do_one_test): Likewise.
1198 (do_test): Likewise.
1199 * string/test-strchr.c (do_one_test): Likewise.
1200 (do_test): Likewise.
1201 * string/test-strcmp.c (do_one_test): Likewise.
1202 (do_test): Likewise.
1203 * string/test-strcpy.c (do_one_test): Likewise.
1204 (do_test): Likewise.
1205 * string/test-string.h: Likewise.
1206 (test_init): Likewise.
1207 * string/test-strlen.c (do_one_test): Likewise.
1208 (do_test): Likewise.
1209 * string/test-strncasecmp.c (do_one_test): Likewise.
1210 (do_test): Likewise.
1211 * string/test-strncat.c (do_one_test): Likewise.
1212 (do_test): Likewise.
1213 * string/test-strncmp.c (do_one_test): Likewise.
1214 (do_test_limit): Likewise.
1215 (do_test): Likewise.
1216 * string/test-strncpy.c (do_one_test): Likewise.
1217 (do_test): Likewise.
1218 * string/test-strnlen.c (do_one_test): Likewise.
1219 (do_test): Likewise.
1220 * string/test-strpbrk.c (do_one_test): Likewise.
1221 (do_test): Likewise.
1222 * string/test-strrchr.c (do_one_test): Likewise.
1223 (do_test): Likewise.
1224 * string/test-strspn.c (do_one_test): Likewise.
1225 (do_test): Likewise.
1226 * string/test-strstr.c (do_one_test): Likewise.
1227 (do_test): Likewise.
1228
1229 * benchtests/Makefile (string-bench): Add string benchmarks.
1230 * benchtests/bench-bcopy-ifunc.c: New file.
1231 * benchtests/bench-bcopy.c: New file.
1232 * benchtests/bench-bzero-ifunc.c: New file.
1233 * benchtests/bench-bzero.c: New file.
1234 * benchtests/bench-memccpy-ifunc.c: New file.
1235 * benchtests/bench-memccpy.c: New file.
1236 * benchtests/bench-memchr-ifunc.c: New file.
1237 * benchtests/bench-memchr.c: New file.
1238 * benchtests/bench-memcmp-ifunc.c: New file.
1239 * benchtests/bench-memcmp.c: New file.
1240 * benchtests/bench-memmem-ifunc.c: New file.
1241 * benchtests/bench-memmem.c: New file.
1242 * benchtests/bench-memmove-ifunc.c: New file.
1243 * benchtests/bench-memmove.c: New file.
1244 * benchtests/bench-mempcpy-ifunc.c: New file.
1245 * benchtests/bench-mempcpy.c: New file.
1246 * benchtests/bench-memset-ifunc.c: New file.
1247 * benchtests/bench-memset.c: New file.
1248 * benchtests/bench-rawmemchr-ifunc.c: New file.
1249 * benchtests/bench-rawmemchr.c: New file.
1250 * benchtests/bench-stpcpy-ifunc.c: New file.
1251 * benchtests/bench-stpcpy.c: New file.
1252 * benchtests/bench-stpncpy-ifunc.c: New file.
1253 * benchtests/bench-stpncpy.c: New file.
1254 * benchtests/bench-strcasecmp-ifunc.c: New file.
1255 * benchtests/bench-strcasecmp.c: New file.
1256 * benchtests/bench-strcasestr-ifunc.c: New file.
1257 * benchtests/bench-strcasestr.c: New file.
1258 * benchtests/bench-strcat-ifunc.c: New file.
1259 * benchtests/bench-strcat.c: New file.
1260 * benchtests/bench-strchr-ifunc.c: New file.
1261 * benchtests/bench-strchr.c: New file.
1262 * benchtests/bench-strchrnul-ifunc.c: New file.
1263 * benchtests/bench-strchrnul.c: New file.
1264 * benchtests/bench-strcmp-ifunc.c: New file.
1265 * benchtests/bench-strcmp.c: New file.
1266 * benchtests/bench-strcpy-ifunc.c: New file.
1267 * benchtests/bench-strcpy.c: New file.
1268 * benchtests/bench-strcspn-ifunc.c: New file.
1269 * benchtests/bench-strcspn.c: New file.
1270 * benchtests/bench-strlen-ifunc.c: New file.
1271 * benchtests/bench-strlen.c: New file.
1272 * benchtests/bench-strncasecmp-ifunc.c: New file.
1273 * benchtests/bench-strncasecmp.c: New file.
1274 * benchtests/bench-strncat-ifunc.c: New file.
1275 * benchtests/bench-strncat.c: New file.
1276 * benchtests/bench-strncmp-ifunc.c: New file.
1277 * benchtests/bench-strncmp.c: New file.
1278 * benchtests/bench-strncpy-ifunc.c: New file.
1279 * benchtests/bench-strncpy.c: New file.
1280 * benchtests/bench-strnlen-ifunc.c: New file.
1281 * benchtests/bench-strnlen.c: New file.
1282 * benchtests/bench-strpbrk-ifunc.c: New file.
1283 * benchtests/bench-strpbrk.c: New file.
1284 * benchtests/bench-strrchr-ifunc.c: New file.
1285 * benchtests/bench-strrchr.c: New file.
1286 * benchtests/bench-strspn-ifunc.c: New file.
1287 * benchtests/bench-strspn.c: New file.
1288 * benchtests/bench-strstr-ifunc.c: New file.
1289 * benchtests/bench-strstr.c: New file.
1290
1291 * benchtests/Makefile: Disable parallel execution of targets.
1292 (string-bench): Add memcpy.
1293 (benchset): New variable to store a list of benchmark sets.
1294 (bench-func): Renamed from bench.
1295 (bench-set): New target.
1296 (bench): Depend on bench-func and bench-set.
1297 * benchtests/README: Add section on benchmark sets.
1298 * benchtests/bench-memcpy-ifunc.c: New file.
1299 * benchtests/bench-memcpy.c: New file.
1300 * benchtests/bench-string.h: New file.
1301
1302 2013-06-11 Andreas Schwab <schwab@suse.de>
1303
1304 [BZ #15577]
1305 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1306 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1307 values in the triple.
1308 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1309 terminator in the group key.
1310
1311 2013-06-11 Andreas Jaeger <aj@suse.de>
1312
1313 * po/zh_TW.po: Update Chinese (traditional) translation from
1314 translation project.
1315
1316 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1317
1318 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1319 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1320 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1321 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1322 (clock_getcpuclockid): Likewise.
1323 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1324 Add weak_alias and libc_hidden_def.
1325 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1326 * rt/clock_gettime.c (clock_gettime): Rename to
1327 __clock_gettime. Add weak_alias and libc_hidden_def.
1328 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1329 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1330 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1331 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1332 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1333 Likewise.
1334 * rt/clock_settime.c (clock_settime): Rename to
1335 __clock_settime. Add weak_alias and libc_hidden_def.
1336 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1337
1338 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1339
1340 * mach/err_boot.sub: Remove trailing whitespace.
1341 * mach/err_ipc.sub: Likewise.
1342 * mach/err_mach.sub: Likewise.
1343
1344 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1345 (ROUNDING_TESTS_double): Likewise.
1346 (ROUNDING_TESTS_long_double): Likewise.
1347 (ROUNDING_TESTS): Likewise.
1348 * math/libm-test.inc: Include <math-tests.h>.
1349 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1350 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1351 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1352 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1353
1354 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1355
1356 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1357 of assigning.
1358
1359 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1360
1361 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1362 otherwise empty TRANS lines.
1363 * sysdeps/gnu/errlist.c: Regenerated.
1364
1365 * catgets/gencat.c (error_print): Use (void) in function
1366 definition.
1367 * crypt/crypt_util.c (__init_des): Likewise.
1368 * crypt/speeds.c (Stop): Likewise.
1369 (main): Likewise.
1370 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1371 * inet/ruserpass.c (token): Likewise.
1372 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1373 * intl/localealias.c (extend_alias_table): Likewise.
1374 * intl/plural-exp.c (init_germanic_plural): Likewise.
1375 * libio/fcloseall.c (__fcloseall): Likewise.
1376 * libio/genops.c (_IO_flush_all): Likewise.
1377 (_IO_flush_all_linebuffered): Likewise.
1378 (_IO_cleanup): Likewise.
1379 (_IO_iter_begin): Likewise.
1380 (_IO_iter_end): Likewise.
1381 (_IO_list_lock): Likewise.
1382 (_IO_list_unlock): Likewise.
1383 (_IO_list_resetlock): Likewise.
1384 * libio/getchar.c (getchar): Likewise.
1385 * libio/getchar_u.c (getchar_unlocked): Likewise.
1386 * libio/getwchar.c (getwchar): Likewise.
1387 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1388 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1389 * login/getpt.c (__getpt): Likewise.
1390 * login/tst-utmp.c (main): Likewise.
1391 * malloc/hooks.c (__malloc_check_init): Likewise.
1392 * malloc/malloc.c (__malloc_stats): Likewise.
1393 * malloc/mtrace.c (tr_break): Likewise.
1394 (mtrace): Likewise.
1395 (muntrace): Likewise.
1396 * misc/fstab.c (endfsent): Likewise.
1397 * misc/getclktck.c (__getclktck): Likewise.
1398 * misc/getdtsz.c (__getdtablesize): Likewise.
1399 * misc/gethostid.c (gethostid): Likewise.
1400 * misc/getpagesize.c (__getpagesize): Likewise.
1401 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1402 (__get_nprocs): Likewise.
1403 (__get_phys_pages): Likewise.
1404 (__get_avphys_pages): Likewise.
1405 * misc/getttyent.c (getttyent): Likewise.
1406 (setttyent): Likewise.
1407 (endttyent): Likewise.
1408 * misc/getusershell.c (getusershell): Likewise.
1409 (endusershell): Likewise.
1410 (setusershell): Likewise.
1411 (initshells): Likewise.
1412 * misc/hsearch.c (__hdestroy): Likewise.
1413 * misc/sync.c (sync): Likewise.
1414 * misc/syslog.c (closelog_internal): Likewise.
1415 (closelog): Likewise.
1416 * misc/ttyslot.c (ttyslot): Likewise.
1417 * misc/vhangup.c (vhangup): Likewise.
1418 * posix/fork.c (__fork): Likewise.
1419 * posix/getegid.c (__getegid): Likewise.
1420 * posix/geteuid.c (__geteuid): Likewise.
1421 * posix/getgid.c (__getgid): Likewise.
1422 * posix/getpid.c (__getpid): Likewise.
1423 * posix/getppid.c (__getppid): Likewise.
1424 * posix/getuid.c (__getuid): Likewise.
1425 * posix/pause.c (pause): Likewise.
1426 * posix/setpgrp.c (setpgrp): Likewise.
1427 * posix/setsid.c (__setsid): Likewise.
1428 * posix/test-vfork.c (noop): Likewise.
1429 * resolv/gethnamaddr.c (_endhtent): Likewise.
1430 (_gethtent): Likewise.
1431 (ht_endhostent): Likewise.
1432 (gethostent): Likewise.
1433 (dns_service): Likewise.
1434 * stdlib/drand48.c (drand48): Likewise.
1435 * stdlib/lrand48.c (lrand48): Likewise.
1436 * stdlib/mrand48.c (mrand48): Likewise.
1437 * stdlib/rand.c (rand): Likewise.
1438 * stdlib/random.c (__random): Likewise.
1439 * stdlib/setenv.c (clearenv): Likewise.
1440 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1441 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1442 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1443 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1444 (__get_nprocs): Likewise.
1445 (__get_phys_pages): Likewise.
1446 (__get_avphys_pages): Likewise.
1447 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1448 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1449 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1450 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1451 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1452 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1453 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1454 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1455 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1456 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1457 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1458 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1459 * sysdeps/posix/clock.c (clock): Likewise.
1460 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1461 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1462 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1463 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1464 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1465 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1466 (__get_nprocs_conf): Likewise.
1467 (__get_phys_pages): Likewise.
1468 (__get_avphys_pages): Likewise.
1469 * time/clock.c (clock): Likewise.
1470 * time/tzset.c (__tzname_max): Likewise.
1471
1472 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1473
1474 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1475 (__bswap_32): Do not use "register".
1476 * crypt/crypt.c (_ufc_doit_r): Likewise.
1477 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1478 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1479 * gmon/gmon.c (__monstartup): Likewise.
1480 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1481 * hurd/hurdmalloc.c (more_memory): Likewise.
1482 (malloc): Likewise.
1483 (free): Likewise.
1484 (realloc): Likewise.
1485 (malloc_fork_prepare): Likewise.
1486 (malloc_fork_parent): Likewise.
1487 (malloc_fork_child): Likewise.
1488 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1489 (_svcauth_des): Likewise.
1490 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1491 * inet/inet_net.c (inet_network): Likewise.
1492 * inet/inet_netof.c (inet_netof): Likewise.
1493 * inet/rcmd.c (__validuser2_sa): Likewise.
1494 * io/fts.c (fts_open): Likewise.
1495 (fts_load): Likewise.
1496 (fts_close): Likewise.
1497 (fts_read): Likewise.
1498 (fts_children): Likewise.
1499 (fts_build): Likewise.
1500 (fts_stat): Likewise.
1501 (fts_sort): Likewise.
1502 (fts_alloc): Likewise.
1503 (fts_lfree): Likewise.
1504 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1505 (_IO_file_xsgetn): Likewise.
1506 (_IO_file_xsgetn_mmap): Likewise.
1507 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1508 (_IO_cookie_write): Likewise.
1509 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1510 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1511 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1512 * malloc/obstack.c (_obstack_begin): Likewise.
1513 (_obstack_begin_1): Likewise.
1514 (_obstack_newchunk): Likewise.
1515 (_obstack_allocated_p): Likewise.
1516 (obstack_free): Likewise.
1517 (_obstack_memory_used): Likewise.
1518 * misc/getttyent.c (getttynam): Likewise.
1519 (getttyent): Likewise.
1520 (skip): Likewise.
1521 (value): Likewise.
1522 * misc/getusershell.c (initshells): Likewise.
1523 * misc/syslog.c (__vsyslog_chk): Likewise.
1524 * misc/ttyslot.c (ttyslot): Likewise.
1525 * nis/nis_hash.c (__nis_hash): Likewise.
1526 * posix/fnmatch_loop.c (FCT): Likewise.
1527 * posix/getconf.c (print_all): Likewise.
1528 (main): Likewise.
1529 * posix/getopt.c (exchange): Likewise.
1530 * posix/glob.c (globfree): Likewise.
1531 (prefix_array): Likewise.
1532 (__glob_pattern_type): Likewise.
1533 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1534 (NS_GET32): Likewise.
1535 (NS_PUT16): Likewise.
1536 (NS_PUT32): Likewise.
1537 * resolv/gethnamaddr.c (getanswer): Likewise.
1538 (gethostbyname2): Likewise.
1539 (gethostbyaddr): Likewise.
1540 (_gethtent): Likewise.
1541 (_gethtbyname2): Likewise.
1542 (_gethtbyaddr): Likewise.
1543 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1544 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1545 * resolv/res_init.c (__res_vinit): Likewise.
1546 (net_mask): Likewise.
1547 * resolv/res_mkquery.c (outchar): Likewise.
1548 (PRINT): Likewise.
1549 * stdio-common/printf_fp.c (outchar): Likewise.
1550 (PRINT): Likewise.
1551 * stdio-common/printf_fphex.c (outchar): Likewise.
1552 (PRINT): Likewise.
1553 * stdio-common/printf_size.c (outchar): Likewise.
1554 (PRINT): Likewise.
1555 * stdio-common/test_rdwr.c (main): Likewise.
1556 * stdio-common/tfformat.c (matches): Likewise.
1557 * stdio-common/vfprintf.c (outchar): Likewise.
1558 (printf_unknown): Likewise.
1559 (buffered_vfprintf): Likewise.
1560 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1561 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1562 (ReadFile): Likewise.
1563 * stdlib/qsort.c (SWAP): Likewise.
1564 (_quicksort): Likewise.
1565 * stdlib/setenv.c (__add_to_environ): Likewise.
1566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1567 * stdlib/strtol_l.c (__strtol_l): Likewise.
1568 * stdlib/tst-strtod.c (main): Likewise.
1569 * stdlib/tst-strtol.c (main): Likewise.
1570 * stdlib/tst-strtoll.c (main): Likewise.
1571 * string/bits/string2.h (__strcmp_cc): Likewise.
1572 (__strcmp_cg): Likewise.
1573 (__strcspn_c1): Likewise.
1574 (__strcspn_c2): Likewise.
1575 (__strcspn_c3): Likewise.
1576 (__strspn_c1): Likewise.
1577 (__strspn_c2): Likewise.
1578 (__strspn_c3): Likewise.
1579 (__strsep_1c): Likewise.
1580 (__strsep_2c): Likewise.
1581 (__strsep_3c): Likewise.
1582 * string/memccpy.c (__memccpy): Likewise.
1583 * string/stpcpy.c (__stpcpy): Likewise.
1584 * string/strcmp.c (strcmp): Likewise.
1585 * string/strrchr.c (strrchr): Likewise.
1586 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1587 Likewise.
1588 * sysdeps/mach/hurd/getcwd.c
1589 (_hurd_canonicalize_directory_name_internal): Likewise.
1590 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1591 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1592 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1593 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1594 Likewise, in both definitions.
1595 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1596 definitions.
1597 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1598 64] (__bswap_64): Likewise.
1599 * time/test_time.c (main): Likewise.
1600 * time/tzfile.c (__tzfile_read): Likewise.
1601 (__tzfile_compute): Likewise.
1602 * time/tzset.c (__tzset_parse_tz): Likewise.
1603 (tzset_internal): Likewise.
1604 (compute_change): Likewise.
1605 * wcsmbs/wcscat.c (__wcscat): Likewise.
1606 * wcsmbs/wcschr.c (wcschr): Likewise.
1607 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1608 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1609 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1610 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1611 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1612 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1613 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1614 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1615 * wcsmbs/wmemset.c (wmemset): Likewise.
1616
1617 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1618
1619 * scripts/config.guess: Update to version 2013-05-16.
1620 * scripts/config.sub: Update to version 2013-04-24.
1621 * scripts/install-sh: Update to version 2011-11-20.07.
1622 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1623 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1624
1625 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1626
1627 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1628 * elf/sln.c: Likewise.
1629 * hurd/hurd/ioctl.h: Likewise.
1630 * hurd/hurdmalloc.c: Likewise.
1631 * hurd/xattr.c: Likewise.
1632 * include/shlib-compat.h: Likewise.
1633 * inet/ruserpass.c: Likewise.
1634 * libio/iofgets_u.c: Likewise.
1635 * libio/iofgetws_u.c: Likewise.
1636 * locale/programs/ld-identification.c: Likewise.
1637 * locale/programs/ld-time.c: Likewise.
1638 * mach/msg-destroy.c: Likewise.
1639 * nss/nss_files/files-netgrp.c: Likewise.
1640 * resolv/res_data.c: Likewise.
1641 * soft-fp/op-1.h: Likewise.
1642 * soft-fp/op-2.h: Likewise.
1643 * soft-fp/op-4.h: Likewise.
1644 * soft-fp/op-common.h: Likewise.
1645 * stdio-common/printf_fphex.c: Likewise.
1646 * stdlib/strtod_l.c: Likewise.
1647 * sunrpc/rpc/clnt.h: Likewise.
1648 * sysdeps/generic/framestate.c: Likewise.
1649 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1650 * sysdeps/i386/bsd-setjmp.S: Likewise.
1651 * sysdeps/i386/__longjmp.S: Likewise.
1652 * sysdeps/i386/setjmp.S: Likewise.
1653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1654 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1671 * sysdeps/ieee754/support.c: Likewise.
1672 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1673 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1674 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1675 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1676 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1677 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1678 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1679 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1680 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1681 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1682 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1683 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1684 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1685 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1686 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1687 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1688 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1690
1691 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1692
1693 * posix/transbug.c: Remove executable mode.
1694
1695 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1696
1697 * crypt/speeds.c: Remove trailing whitespace.
1698 * dlfcn/default.c: Likewise.
1699 * elf/ifuncdep2.c: Likewise.
1700 * elf/ifuncmain1.c: Likewise.
1701 * elf/ifuncmain1vis.c: Likewise.
1702 * elf/testobj.h: Likewise.
1703 * elf/tst-stackguard1.c: Likewise.
1704 * gmon/sys/gmon.h: Likewise.
1705 * hurd/hurdmsg.c: Likewise.
1706 * hurd/new-fd.c: Likewise.
1707 * hurd/ports-get.c: Likewise.
1708 * iconvdata/ibm1008_420.c: Likewise.
1709 * inet/tst-getni1.c: Likewise.
1710 * inet/tst-getni2.c: Likewise.
1711 * libio/ioungetc.c: Likewise.
1712 * libio/wfiledoalloc.c: Likewise.
1713 * manual/libm-err-tab.pl: Likewise.
1714 * math/w_dremf.c: Likewise.
1715 * misc/ftruncate.c: Likewise.
1716 * posix/bug-glob2.c: Likewise.
1717 * posix/tst-pcre.c: Likewise.
1718 * posix/wait4.c: Likewise.
1719 * resolv/README: Likewise.
1720 * resolv/res_debug.h: Likewise.
1721 * resolv/tst-inet_ntop.c: Likewise.
1722 * setjmp/bug269-setjmp.c: Likewise.
1723 * soft-fp/extended.h: Likewise.
1724 * soft-fp/op-1.h: Likewise.
1725 * soft-fp/op-2.h: Likewise.
1726 * soft-fp/op-4.h: Likewise.
1727 * soft-fp/op-8.h: Likewise.
1728 * soft-fp/testit.c: Likewise.
1729 * stdio-common/bug16.c: Likewise.
1730 * stdlib/random.c: Likewise.
1731 * sunrpc/rpcsvc/rquota.x: Likewise.
1732 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1733 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1734 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1735 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1736 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1737 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1738 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1739 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1740 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1761 * sysdeps/ieee754/s_lib_version.c: Likewise.
1762 * sysdeps/mach/hurd/check_fds.c: Likewise.
1763 * sysdeps/mach/hurd/getsockname.c: Likewise.
1764 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1765 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1766 * sysdeps/powerpc/bits/link.h: Likewise.
1767 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1768 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1769 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1770 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1771 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1772 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1773 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1774 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1775 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1776 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1777 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1778 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1779 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1780 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1781 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1782 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1783 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1785 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1788 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1790 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1791 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1792 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1793 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1795 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1796 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1797 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1798 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1799 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1800 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1801 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1802 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1803 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1804 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1805 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1806 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1807 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1808 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1809 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1810 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1811 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1812 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1813 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1814 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1815 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1816 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1819 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1820 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1821 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1822 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1823 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1824 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1825 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1826 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1827 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1828 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1829 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1830 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1831 * sysdeps/powerpc/sysdep.h: Likewise.
1832 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1833 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1834 * sysdeps/sh/dl-trampoline.S: Likewise.
1835 * sysdeps/sh/memset.S: Likewise.
1836 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1837 * sysdeps/sh/strlen.S: Likewise.
1838 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1839 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1840 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1841 * sysdeps/sparc/sparc32/rem.S: Likewise.
1842 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1843 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1844 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1845 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1846 * sysdeps/sparc/sparc32/urem.S: Likewise.
1847 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1848 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1849 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1850 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1852 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1853 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1854 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1855 * sysdeps/unix/bsd/times.c: Likewise.
1856 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1857 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1861 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1862 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1863 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1864 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1865 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1866 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1867 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1868 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1869 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1870 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1871 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1872 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1873 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1874 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1875 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1876 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1877 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1878 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1879 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1880 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1881 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1883 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1884 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1885 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1886 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1887 * sysdeps/x86_64/strcspn.S: Likewise.
1888
1889 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1890
1891 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1892 generated file. Regenerate properly from gen-translit.pl.
1893 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1894 locale/C-translit.h.
1895
1896 2013-06-05 Andreas Schwab <schwab@suse.de>
1897
1898 [BZ #15100]
1899 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1900 week as 6 instead of -1.
1901 * time/tst-strptime.c (day_tests): Add test case.
1902
1903 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1904
1905 * sysdeps/generic/math_private.h
1906 (libc_feholdexcept_setround_53bit): Replace with
1907 libc_feholdsetround_53bit.
1908 (libc_feupdateenv_53bit): Replace with
1909 libc_feresetround_53bit.
1910 (SET_RESTORE_ROUND_53BIT): Adjust.
1911
1912 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1913
1914 * string/test-strchrnul.c: Add copyright header.
1915
1916 * posix/tst-getaddrinfo4.c: Increase test timeout.
1917
1918 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1919
1920 [BZ #15536]
1921 * math/libm-test.inc (MAX_EXP): Remove
1922 (MIN_EXP): Define.
1923 (ulp): Use MIN_EXP - MANT_DIG.
1924 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1925
1926 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1927
1928 * po/be.po: Revert last change.
1929 * po/zh_CN.po: Likewise.
1930 * po/header.pot: Likewise.
1931
1932 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1933
1934 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1935 link-libc-deps to empty as target-specific variable.
1936 * Makerules (link-libc-args): New variable.
1937 (libc-for-link): Likewise.
1938 (link-libc-deps): Likewise.
1939 (lib%.so): Depend on $(link-libc-deps). Link with
1940 $(link-libc-args).
1941 (build-module): Link with $(link-libc-args).
1942 (build-module-asneeded): Likewise.
1943 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1944 list of objects.
1945 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1946 target-specific variable.
1947 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1948 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1949 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1950 libc.
1951 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1952 libc and ld.so.
1953 ($(objpfx)libpcprofile.so): Likewise.
1954 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1955 libc_nonshared.a.
1956 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1957 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1958 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1959 $(link-libc-deps).
1960 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1961 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1962 * login/Makefile ($(objpfx)libutil.so): Likewise.
1963 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1964 * math/Makefile ($(objpfx)libm.so): Likewise.
1965 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1966 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1967 variable instead of depending directly on libc.
1968 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1969 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1970 $(link-libc-deps).
1971 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1972 libc.
1973 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1974 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1975 ($(objpfx)libanl.so): Likewise.
1976 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1977 ld.so.
1978 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1979 $(link-libc-deps).
1980 * sysdeps/i386/fpu/Makefile: Remove file.
1981 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1982 ($(objpfx)libm.so): Remove dependency on ld.so.
1983
1984 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1985
1986 [BZ # 15553]
1987 * nis/yp_xdr.c (XDRMAXNAME): Define.
1988 (XDRMAXRECORD): Define.
1989 (xdr_domainname): Use XDRMAXNAME.
1990 (xdr_mapname): Likewise.
1991 (xdr_peername): Likewise.
1992 (xdr_keydat): Use XDRMAXRECORD.
1993 (xdr_valdat): Likewise.
1994
1995 2013-05-30 Jeff Law <law@redhat.com>
1996
1997 [BZ #14256]
1998 * manual/errno.texi (ESTALE): Update to account for more than
1999 just NFS file systems.
2000 * sysdeps/gnu/errlist.c: Regenerated.
2001
2002 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2003
2004 [BZ #15465]
2005 * elf/Makefile (tests): Add tst-null-argv.
2006 (modules-names): Add tst-null-argv-lib.
2007 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2008 (tst-null-argv-ENV): Set environment for tst-null-argv.
2009 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2010 (RTLD_PROGNAME): New macro.
2011 * elf/tst-null-argv.c: New test case.
2012 * elf/tst-null-argv-lib.c: Library for test case.
2013 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2014 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2015 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2016 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2017 * elf/dl-init.c (call_init): Likewise.
2018 (_dl_init): Likewise.
2019 * elf/dl-load.c (print_search_path): Likewise.
2020 (_dl_map_object): Likewise.
2021 * elf/dl-lookup.c (do_lookup_x): Likewise.
2022 (add_dependency): Likewise.
2023 (_dl_lookup_symbol_x): Likewise.
2024 (_dl_debug_bindings): Likewise.
2025 * elf/dl-open.c (_dl_show_scope): Likewise.
2026 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2027 * elf/dl-version.c (match_symbol): Likewise.
2028 (_dl_check_map_versions): Likewise.
2029 * elf/rtld.c (dl_main): Likewise.
2030 (print_unresolved): Use RTLD_PROGNAME.
2031 (print_missing_version): Likewise.
2032 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2033 (elf_machine_rela): Likewise.
2034 * sysdeps/powerpc/powerpc32/dl-machine.c
2035 (__process_machine_rela): Likewise.
2036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2037 Likewise.
2038 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2039 Likewise.
2040 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2041 Likewise.
2042 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2043 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2044 Likewise.
2045 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2046 Likewise.
2047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2048
2049 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2050
2051 * po/be.po: Add descriptive title.
2052 * po/zh_CN.po: Likewise.
2053 * po/header.pot: Likewise.
2054
2055 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2056
2057 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2058 error message.
2059 (enlarge_archive): Likewise.
2060
2061 2013-05-28 Ben North <ben@redfrontdoor.org>
2062
2063 * manual/arith.texi (frexp): It is the magnitude of the return
2064 value which lies in [0.5, 1), not the return value itself.
2065
2066 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067
2068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2069
2070 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2071
2072 * stdio-common/bug26.c (main): Correct fscanf template.
2073
2074 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2075 declare _dl_skip_args.
2076
2077 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2078 Don't declare.
2079
2080 * manual/platform.texi: Add missing @end deftypefun.
2081
2082 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2083
2084 [BZ #15529]
2085 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2086 bit of mantissa of 2^16382.
2087 * math/libm-test.inc (hypot_test_data): Add more tests.
2088
2089 * math/libm-test.inc: Add drem and pow10 to list of tested
2090 functions.
2091 (pow10_test): New function.
2092 (drem_test): Likewise.
2093 (drem_test_tonearest): Likewise.
2094 (drem_test_towardzero): Likewise.
2095 (drem_test_downward): Likewise.
2096 (drem_test_upward): Likewise.
2097 (main): Call the new functions.
2098
2099 * math/libm-test.inc (finite_test_data): Remove.
2100 (finite_test): Run tests from isfinite_test_data.
2101 (gamma_test_data): Remove.
2102 (gamma_test): Run tests from lgamma_test_data.
2103 * sysdeps/i386/fpu/libm-test-ulps: Update.
2104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2105
2106 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107
2108 * manual/platform.texi: Add PowerPC PPR function set documentation.
2109 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2110 implementation.
2111
2112 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2113
2114 * math/libm-test.inc (MAX_EXP): Define.
2115 (ULPDIFF): Define.
2116 (ulp): New function.
2117 (check_float_internal): Use ULPDIFF.
2118 (cpow_test): Disable failing test.
2119 (check_ulp): Test ulp() implemetnation.
2120 (main): Call check_ulp before starting tests.
2121
2122 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2123
2124 * math/gen-libm-test.pl (generate_testfile): Do not handle
2125 START_DATA and END_DATA.
2126 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2127 END_DATA.
2128 (acos_tonearest_test_data): Likewise.
2129 (acos_towardzero_test_data): Likewise.
2130 (acos_downward_test_data): Likewise.
2131 (acos_upward_test_data): Likewise.
2132 (acosh_test_data): Likewise.
2133 (asin_test_data): Likewise.
2134 (asin_tonearest_test_data): Likewise.
2135 (asin_towardzero_test_data): Likewise.
2136 (asin_downward_test_data): Likewise.
2137 (asin_upward_test_data): Likewise.
2138 (asinh_test_data): Likewise.
2139 (atan_test_data): Likewise.
2140 (atanh_test_data): Likewise.
2141 (atan2_test_data): Likewise.
2142 (cabs_test_data): Likewise.
2143 (cacos_test_data): Likewise.
2144 (cacosh_test_data): Likewise.
2145 (carg_test_data): Likewise.
2146 (casin_test_data): Likewise.
2147 (casinh_test_data): Likewise.
2148 (catan_test_data): Likewise.
2149 (catanh_test_data): Likewise.
2150 (cbrt_test_data): Likewise.
2151 (ccos_test_data): Likewise.
2152 (ccosh_test_data): Likewise.
2153 (ceil_test_data): Likewise.
2154 (cexp_test_data): Likewise.
2155 (cimag_test_data): Likewise.
2156 (clog_test_data): Likewise.
2157 (clog10_test_data): Likewise.
2158 (conj_test_data): Likewise.
2159 (copysign_test_data): Likewise.
2160 (cos_test_data): Likewise.
2161 (cos_tonearest_test_data): Likewise.
2162 (cos_towardzero_test_data): Likewise.
2163 (cos_downward_test_data): Likewise.
2164 (cos_upward_test_data): Likewise.
2165 (cosh_test_data): Likewise.
2166 (cosh_tonearest_test_data): Likewise.
2167 (cosh_towardzero_test_data): Likewise.
2168 (cosh_downward_test_data): Likewise.
2169 (cosh_upward_test_data): Likewise.
2170 (cpow_test_data): Likewise.
2171 (cproj_test_data): Likewise.
2172 (creal_test_data): Likewise.
2173 (csin_test_data): Likewise.
2174 (csinh_test_data): Likewise.
2175 (csqrt_test_data): Likewise.
2176 (ctan_test_data): Likewise.
2177 (ctan_tonearest_test_data): Likewise.
2178 (ctan_towardzero_test_data): Likewise.
2179 (ctan_downward_test_data): Likewise.
2180 (ctan_upward_test_data): Likewise.
2181 (ctanh_test_data): Likewise.
2182 (ctanh_tonearest_test_data): Likewise.
2183 (ctanh_towardzero_test_data): Likewise.
2184 (ctanh_downward_test_data): Likewise.
2185 (ctanh_upward_test_data): Likewise.
2186 (erf_test_data): Likewise.
2187 (erfc_test_data): Likewise.
2188 (exp_test_data): Likewise.
2189 (exp_tonearest_test_data): Likewise.
2190 (exp_towardzero_test_data): Likewise.
2191 (exp_downward_test_data): Likewise.
2192 (exp_upward_test_data): Likewise.
2193 (exp10_test_data): Likewise.
2194 (exp2_test_data): Likewise.
2195 (expm1_test_data): Likewise.
2196 (fabs_test_data): Likewise.
2197 (fdim_test_data): Likewise.
2198 (finite_test_data): Likewise.
2199 (floor_test_data): Likewise.
2200 (fma_test_data): Likewise.
2201 (fma_towardzero_test_data): Likewise.
2202 (fma_downward_test_data): Likewise.
2203 (fma_upward_test_data): Likewise.
2204 (fmax_test_data): Likewise.
2205 (fmin_test_data): Likewise.
2206 (fmod_test_data): Likewise.
2207 (fpclassify_test_data): Likewise.
2208 (frexp_test_data): Likewise.
2209 (gamma_test_data): Likewise.
2210 (hypot_test_data): Likewise.
2211 (ilogb_test_data): Likewise.
2212 (isfinite_test_data): Likewise.
2213 (isgreater_test_data): Likewise.
2214 (isgreaterequal_test_data): Likewise.
2215 (isinf_test_data): Likewise.
2216 (isless_test_data): Likewise.
2217 (islessequal_test_data): Likewise.
2218 (islessgreater_test_data): Likewise.
2219 (isnan_test_data): Likewise.
2220 (isnormal_test_data): Likewise.
2221 (issignaling_test_data): Likewise.
2222 (isunordered_test_data): Likewise.
2223 (j0_test_data): Likewise.
2224 (j1_test_data): Likewise.
2225 (jn_test_data): Likewise.
2226 (ldexp_test_data): Likewise.
2227 (lgamma_test_data): Likewise.
2228 (lrint_test_data): Likewise.
2229 (lrint_tonearest_test_data): Likewise.
2230 (lrint_towardzero_test_data): Likewise.
2231 (lrint_downward_test_data): Likewise.
2232 (lrint_upward_test_data): Likewise.
2233 (llrint_test_data): Likewise.
2234 (llrint_tonearest_test_data): Likewise.
2235 (llrint_towardzero_test_data): Likewise.
2236 (llrint_downward_test_data): Likewise.
2237 (llrint_upward_test_data): Likewise.
2238 (log_test_data): Likewise.
2239 (log10_test_data): Likewise.
2240 (log1p_test_data): Likewise.
2241 (log2_test_data): Likewise.
2242 (logb_test_data): Likewise.
2243 (logb_downward_test_data): Likewise.
2244 (lround_test_data): Likewise.
2245 (llround_test_data): Likewise.
2246 (modf_test_data): Likewise.
2247 (nearbyint_test_data): Likewise.
2248 (nextafter_test_data): Likewise.
2249 (nexttoward_test_data): Likewise.
2250 (pow_test_data): Likewise.
2251 (pow_tonearest_test_data): Likewise.
2252 (pow_towardzero_test_data): Likewise.
2253 (pow_downward_test_data): Likewise.
2254 (pow_upward_test_data): Likewise.
2255 (remainder_test_data): Likewise.
2256 (remainder_tonearest_test_data): Likewise.
2257 (remainder_towardzero_test_data): Likewise.
2258 (remainder_downward_test_data): Likewise.
2259 (remainder_upward_test_data): Likewise.
2260 (remquo_test_data): Likewise.
2261 (rint_test_data): Likewise.
2262 (rint_tonearest_test_data): Likewise.
2263 (rint_towardzero_test_data): Likewise.
2264 (rint_downward_test_data): Likewise.
2265 (rint_upward_test_data): Likewise.
2266 (round_test_data): Likewise.
2267 (scalb_test_data): Likewise.
2268 (scalbn_test_data): Likewise.
2269 (scalbln_test_data): Likewise.
2270 (signbit_test_data): Likewise.
2271 (sin_test_data): Likewise.
2272 (sin_tonearest_test_data): Likewise.
2273 (sin_towardzero_test_data): Likewise.
2274 (sin_downward_test_data): Likewise.
2275 (sin_upward_test_data): Likewise.
2276 (sincos_test_data): Likewise.
2277 (sinh_test_data): Likewise.
2278 (sinh_tonearest_test_data): Likewise.
2279 (sinh_towardzero_test_data): Likewise.
2280 (sinh_downward_test_data): Likewise.
2281 (sinh_upward_test_data): Likewise.
2282 (sqrt_test_data): Likewise.
2283 (tan_test_data): Likewise.
2284 (tan_tonearest_test_data): Likewise.
2285 (tan_towardzero_test_data): Likewise.
2286 (tan_downward_test_data): Likewise.
2287 (tan_upward_test_data): Likewise.
2288 (tanh_test_data): Likewise.
2289 (tgamma_test_data): Likewise.
2290 (trunc_test_data): Likewise.
2291 (y0_test_data): Likewise.
2292 (y1_test_data): Likewise.
2293 (yn_test_data): Likewise.
2294 (significand_test_data): Likewise.
2295
2296 * math/gen-libm-test.pl (@functions): Remove variable.
2297 (generate_testfile): Don't handle START and END lines.
2298 * math/libm-test.inc (START): New macro.
2299 (END): Likewise.
2300 (END_COMPLEX): Likewise.
2301 (acos_test): Use END macro without arguments.
2302 (acos_test_tonearest): Likewise.
2303 (acos_test_towardzero): Likewise.
2304 (acos_test_downward): Likewise.
2305 (acos_test_upward): Likewise.
2306 (acosh_test): Likewise.
2307 (asin_test): Likewise.
2308 (asin_test_tonearest): Likewise.
2309 (asin_test_towardzero): Likewise.
2310 (asin_test_downward): Likewise.
2311 (asin_test_upward): Likewise.
2312 (asinh_test): Likewise.
2313 (atan_test): Likewise.
2314 (atanh_test): Likewise.
2315 (atan2_test): Likewise.
2316 (cabs_test): Likewise.
2317 (cacos_test): Use END_COMPLEX macro without arguments.
2318 (cacosh_test): Likewise.
2319 (carg_test): Use END macro without arguments.
2320 (casin_test): Use END_COMPLEX macro without arguments.
2321 (casinh_test): Likewise.
2322 (catan_test): Likewise.
2323 (catanh_test): Likewise.
2324 (cbrt_test): Use END macro without arguments.
2325 (ccos_test): Use END_COMPLEX macro without arguments.
2326 (ccosh_test): Likewise.
2327 (ceil_test): Use END macro without arguments.
2328 (cexp_test): Use END_COMPLEX macro without arguments.
2329 (cimag_test): Use END macro without arguments.
2330 (clog_test): Use END_COMPLEX macro without arguments.
2331 (clog10_test): Likewise.
2332 (conj_test): Likewise.
2333 (copysign_test): Use END macro without arguments.
2334 (cos_test): Likewise.
2335 (cos_test_tonearest): Likewise.
2336 (cos_test_towardzero): Likewise.
2337 (cos_test_downward): Likewise.
2338 (cos_test_upward): Likewise.
2339 (cosh_test): Likewise.
2340 (cosh_test_tonearest): Likewise.
2341 (cosh_test_towardzero): Likewise.
2342 (cosh_test_downward): Likewise.
2343 (cosh_test_upward): Likewise.
2344 (cpow_test): Use END_COMPLEX macro without arguments.
2345 (cproj_test): Likewise.
2346 (creal_test): Use END macro without arguments.
2347 (csin_test): Use END_COMPLEX macro without arguments.
2348 (csinh_test): Likewise.
2349 (csqrt_test): Likewise.
2350 (ctan_test): Likewise.
2351 (ctan_test_tonearest): Likewise.
2352 (ctan_test_towardzero): Likewise.
2353 (ctan_test_downward): Likewise.
2354 (ctan_test_upward): Likewise.
2355 (ctanh_test): Likewise.
2356 (ctanh_test_tonearest): Likewise.
2357 (ctanh_test_towardzero): Likewise.
2358 (ctanh_test_downward): Likewise.
2359 (ctanh_test_upward): Likewise.
2360 (erf_test): Use END macro without arguments.
2361 (erfc_test): Likewise.
2362 (exp_test): Likewise.
2363 (exp_test_tonearest): Likewise.
2364 (exp_test_towardzero): Likewise.
2365 (exp_test_downward): Likewise.
2366 (exp_test_upward): Likewise.
2367 (exp10_test): Likewise.
2368 (exp2_test): Likewise.
2369 (expm1_test): Likewise.
2370 (fabs_test): Likewise.
2371 (fdim_test): Likewise.
2372 (finite_test): Likewise.
2373 (floor_test): Likewise.
2374 (fma_test): Likewise.
2375 (fma_test_towardzero): Likewise.
2376 (fma_test_downward): Likewise.
2377 (fma_test_upward): Likewise.
2378 (fmax_test): Likewise.
2379 (fmin_test): Likewise.
2380 (fmod_test): Likewise.
2381 (fpclassify_test): Likewise.
2382 (frexp_test): Likewise.
2383 (gamma_test): Likewise.
2384 (hypot_test): Likewise.
2385 (ilogb_test): Likewise.
2386 (isfinite_test): Likewise.
2387 (isgreater_test): Likewise.
2388 (isgreaterequal_test): Likewise.
2389 (isinf_test): Likewise.
2390 (isless_test): Likewise.
2391 (islessequal_test): Likewise.
2392 (islessgreater_test): Likewise.
2393 (isnan_test): Likewise.
2394 (isnormal_test): Likewise.
2395 (issignaling_test): Likewise.
2396 (isunordered_test): Likewise.
2397 (j0_test): Likewise.
2398 (j1_test): Likewise.
2399 (jn_test): Likewise.
2400 (ldexp_test): Likewise.
2401 (lgamma_test): Likewise.
2402 (lrint_test): Likewise.
2403 (lrint_test_tonearest): Likewise.
2404 (lrint_test_towardzero): Likewise.
2405 (lrint_test_downward): Likewise.
2406 (lrint_test_upward): Likewise.
2407 (llrint_test): Likewise.
2408 (llrint_test_tonearest): Likewise.
2409 (llrint_test_towardzero): Likewise.
2410 (llrint_test_downward): Likewise.
2411 (llrint_test_upward): Likewise.
2412 (log_test): Likewise.
2413 (log10_test): Likewise.
2414 (log1p_test): Likewise.
2415 (log2_test): Likewise.
2416 (logb_test): Likewise.
2417 (logb_test_downward): Likewise.
2418 (lround_test): Likewise.
2419 (llround_test): Likewise.
2420 (modf_test): Likewise.
2421 (nearbyint_test): Likewise.
2422 (nextafter_test): Likewise.
2423 (nexttoward_test): Likewise.
2424 (pow_test): Likewise.
2425 (pow_test_tonearest): Likewise.
2426 (pow_test_towardzero): Likewise.
2427 (pow_test_downward): Likewise.
2428 (pow_test_upward): Likewise.
2429 (remainder_test): Likewise.
2430 (remainder_test_tonearest): Likewise.
2431 (remainder_test_towardzero): Likewise.
2432 (remainder_test_downward): Likewise.
2433 (remainder_test_upward): Likewise.
2434 (remquo_test): Likewise.
2435 (rint_test): Likewise.
2436 (rint_test_tonearest): Likewise.
2437 (rint_test_towardzero): Likewise.
2438 (rint_test_downward): Likewise.
2439 (rint_test_upward): Likewise.
2440 (round_test): Likewise.
2441 (scalb_test): Likewise.
2442 (scalbn_test): Likewise.
2443 (scalbln_test): Likewise.
2444 (signbit_test): Likewise.
2445 (sin_test): Likewise.
2446 (sin_test_tonearest): Likewise.
2447 (sin_test_towardzero): Likewise.
2448 (sin_test_downward): Likewise.
2449 (sin_test_upward): Likewise.
2450 (sincos_test): Likewise.
2451 (sinh_test): Likewise.
2452 (sinh_test_tonearest): Likewise.
2453 (sinh_test_towardzero): Likewise.
2454 (sinh_test_downward): Likewise.
2455 (sinh_test_upward): Likewise.
2456 (sqrt_test): Likewise.
2457 (tan_test): Likewise.
2458 (tan_test_tonearest): Likewise.
2459 (tan_test_towardzero): Likewise.
2460 (tan_test_downward): Likewise.
2461 (tan_test_upward): Likewise.
2462 (tanh_test): Likewise.
2463 (tgamma_test): Likewise.
2464 (trunc_test): Likewise.
2465 (y0_test): Likewise.
2466 (y1_test): Likewise.
2467 (yn_test): Likewise.
2468 (significand_test): Likewise.
2469
2470 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2471
2472 [BZ #15381]
2473 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2474
2475 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2476
2477 [BZ #14894]
2478 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2479 __ppc_mdoio and __ppc_mdoom.
2480 * manual/platform.texi: Document new functions __ppc_yield,
2481 __ppc_mdoio and __ppc_mdoom.
2482
2483 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2484
2485 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2486 (main): Mention "tls" pseudo-hwcap is legacy.
2487 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2488
2489 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2490
2491 * math/gen-libm-test.pl (parse_args): Output only string of
2492 arguments as text for test name, not full call or descriptions of
2493 tests for extra outputs.
2494 (generate_testfile): Do not pass function name to parse_args.
2495 Generate this_func variable from START.
2496 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2497 field to arg_str.
2498 (struct test_ff_f_data): Likewise.
2499 (test_ff_f_data_nexttoward): Likewise.
2500 (struct test_fi_f_data): Likewise.
2501 (struct test_fl_f_data): Likewise.
2502 (struct test_if_f_data): Likewise.
2503 (struct test_fff_f_data): Likewise.
2504 (struct test_c_f_data): Likewise.
2505 (struct test_f_f1_data): Likewise. Remove field extra_name.
2506 (struct test_fF_f1_data): Likewise.
2507 (struct test_ffI_f1_data): Likewise.
2508 (struct test_c_c_data): Rename test_name field to arg_str.
2509 (struct test_cc_c_data): Likewise.
2510 (struct test_f_i_data): Likewise.
2511 (struct test_ff_i_data): Likewise.
2512 (struct test_f_l_data): Likewise.
2513 (struct test_f_L_data): Likewise.
2514 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2515 and extra2_name.
2516 (COMMON_TEST_SETUP): New macro.
2517 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2518 (COMMON_TEST_CLEANUP): Likewise.
2519 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2520 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2521 macros.
2522 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2523 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2524 macros.
2525 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2526 (RUN_TEST_fff_f): Take argument string. Call new setup and
2527 cleanup macros.
2528 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2529 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2530 macros.
2531 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2532 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2533 macros.
2534 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2535 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2536 cleanup macros.
2537 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2538 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2539 cleanup macros.
2540 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2541 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2542 cleanup macros.
2543 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2544 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2545 macros.
2546 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2547 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2548 macros.
2549 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2550 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2551 macros.
2552 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2553 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2554 cleanup macros.
2555 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2556 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2557 cleanup macros.
2558 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2559 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2560 macros.
2561 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2562 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2563 cleanup macros.
2564 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2565 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2566 macros.
2567 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2568 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2569 macros.
2570 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2571 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2572 cleanup macros.
2573 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2574
2575 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2576
2577 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2578 to _sifields.sigfault.
2579 (si_addr_lsb): Define new macro.
2580 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2583
2584 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2585
2586 [BZ #15441]
2587 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2588 returns -1.
2589 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2590 null return -1.
2591 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2592 loading the domain.
2593
2594 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2595
2596 * math/gen-libm-test.pl (parse_args): Do not include expected
2597 result in test name.
2598 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2600 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2601 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2602 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604
2605 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2606
2607 * benchtests/Makefile: Sort function entries.
2608
2609 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2610 tanh, asinh, acosh, atanh.
2611 * benchtests/acos-inputs: New file.
2612 * benchtests/acosh-inputs: New file.
2613 * benchtests/asin-inputs: New file.
2614 * benchtests/asinh-inputs: New file.
2615 * benchtests/atanh-inputs: New file.
2616 * benchtests/cosh-inputs: New file.
2617 * benchtests/log-inputs: New file.
2618 * benchtests/sinh-inputs: New file.
2619 * benchtests/tanh-inputs: New file.
2620
2621 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2622
2623 [BZ #15339]
2624 * posix/tst-getaddrinfo4.c: New test.
2625 * posix/Makefile (tests): Add it.
2626
2627 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
2629 [BZ #15339]
2630 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2631 when no services were used.
2632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2633 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2634
2635 2013-05-21 Andreas Schwab <schwab@suse.de>
2636
2637 [BZ #15014]
2638 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2639 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2640 successful.
2641 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2642 redundant variable declarations and reallocation of buffer when
2643 parsing as IPv6 address. Always set NSS status when called from
2644 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2645 buffer too small. Correct computation of needed size.
2646 * nss/Makefile (tests): Add test-digits-dots.
2647 * nss/test-digits-dots.c: New test.
2648
2649 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2650
2651 * benchtests/Makefile: Remove instructions for adding
2652 benchmark tests.
2653 * benchtests/README: New file to explain how to execute and
2654 enhance the benchmark tests.
2655
2656 2013-05-21 Andreas Schwab <schwab@suse.de>
2657
2658 [BZ #15493]
2659 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2660 * setjmp/tst-sigsetjmp.c: New test.
2661
2662 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2663
2664 * sysdeps/x86_64/memset.S (memset): New implementation.
2665 (__bzero): Likewise.
2666 (__memset_tail): New function.
2667
2668 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2669
2670 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2671 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2672 __memcpy_sse2_unaligned ifunc selection.
2673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2674 Add memcpy-sse2-unaligned.S.
2675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2676 Add: __memcpy_sse2_unaligned.
2677
2678 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2679
2680 [BZ #15490]
2681 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2682 math_force_eval before restoring floating-point envrionment.
2683 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2684 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2685 Likewise.
2686 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2687 <math_private.h>.
2688 (__nearbyintl): Use math_force_eval before restoring
2689 floating-point environment.
2690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2691
2692 * math/gen-libm-test.pl (special_functions): Remove.
2693 (parse_args): Don't handle TEST_extra. Handle functions with no
2694 return value.
2695 * math/libm-test.inc (struct test_sincos_data): Replace with
2696 struct test_fFF_11_data.
2697 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2698 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2699 (sincos_test_data): Change element type to struct
2700 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2701 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2702 RUN_TEST_LOOP_sincos.
2703 * math/README.libm-test: Don't mention special handling of
2704 individual functions.
2705 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2706 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2707 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2708 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2709 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2711
2712 * math/gen-libm-test.pl (get_variable): Remove function.
2713 (parse_args): Don't show pointer parameters to call in test
2714 names. Use "extra output N" in test names for extra outputs
2715 rather than naming variables.
2716
2717 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2718
2719 [BZ #15488]
2720 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2721 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2722 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2723 double tests.
2724 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2725 disable.
2726 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2727 check_long_double.
2728
2729 * math/gen-libm-test.pl (@tests): Remove variable.
2730 ($count): Likewise.
2731 (new_test): Remove function.
2732 (show_exceptions): New function.
2733 (special_functions): Use show_exceptions instead of new_test.
2734 (parse_args): Likewise.
2735 (generate_testfile): Pass only function name in generated call to
2736 print_max_error or print_complex_max_error.
2737 (get_ulps): Do not handle complex tests specially.
2738 (output_test): Rename to ...
2739 (get_all_ulps_for_test): ... this. Return a string rather than
2740 printing to a file. Require ulps to be present.
2741 (output_ulps): Generate arrays rather than #defines.
2742 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2743 (struct ulp_data): New type.
2744 (BUILD_COMPLEX_ULP): Remove macro.
2745 (compare_ulp_data): New function.
2746 (find_ulps): Likewise.
2747 (find_test_ulps): Likewise.
2748 (find_function_ulps): Likewise.
2749 (find_complex_function_ulps): Likewise.
2750 (print_max_error): Determine allowed ulps using
2751 find_function_ulps.
2752 (print_complex_max_error): Determine allowed ulps using
2753 find_complex_function_ulps.
2754 (check_float_internal): Determine max ulps using find_test_ulps.
2755 (check_float): Do not take max_ulp parameter. Update call to
2756 check_float_internal.
2757 (check_complex): Likewise.
2758 (check_int): Do not take max_ulp parameter.
2759 (check_long): Likewise.
2760 (check_bool): Likewise.
2761 (check_longlong): Likewise.
2762 (struct test_f_f_data): Remove max_ulp field.
2763 (struct test_ff_f_data): Likewise.
2764 (struct test_ff_f_data_nexttoward): Likewise.
2765 (struct test_fi_f_data): Likewise.
2766 (struct test_fl_f_data): Likewise.
2767 (struct test_if_f_data): Likewise.
2768 (struct test_fff_f_data): Likewise.
2769 (struct test_c_f_data): Likewise.
2770 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2771 (struct test_fF_f1_data): Likewise.
2772 (struct test_ffI_f1_data): Likewise.
2773 (struct test_c_c_data): Remove max_ulp field.
2774 (struct test_cc_c_data): Likewise.
2775 (struct test_f_i_data): Likewise.
2776 (struct test_ff_i_data): Likewise.
2777 (struct test_f_l_data): Likewise.
2778 (struct test_f_L_data): Likewise.
2779 (struct test_sincos_data): Likewise.
2780 (RUN_TEST_f_f): Do not handle ulps.
2781 (RUN_TEST_LOOP_f_f): Likewise.
2782 (RUN_TEST_2_f): Likewise.
2783 (RUN_TEST_LOOP_2_f): Likewise.
2784 (RUN_TEST_fff_f): Likewise.
2785 (RUN_TEST_LOOP_fff_f): Likewise.
2786 (RUN_TEST_c_f): Likewise.
2787 (RUN_TEST_LOOP_c_f): Likewise.
2788 (RUN_TEST_f_f1): Likewise.
2789 (RUN_TEST_LOOP_f_f1): Likewise.
2790 (RUN_TEST_fF_f1): Likewise.
2791 (RUN_TEST_LOOP_fF_f1): Likewise.
2792 (RUN_TEST_fI_f1): Likewise.
2793 (RUN_TEST_LOOP_fI_f1): Likewise.
2794 (RUN_TEST_ffI_f1): Likewise.
2795 (RUN_TEST_LOOP_ffI_f1): Likewise.
2796 (RUN_TEST_c_c): Likewise.
2797 (RUN_TEST_LOOP_c_c): Likewise.
2798 (RUN_TEST_cc_c): Likewise.
2799 (RUN_TEST_LOOP_cc_c): Likewise.
2800 (RUN_TEST_f_i): Likewise.
2801 (RUN_TEST_LOOP_f_i): Likewise.
2802 (RUN_TEST_f_i_tg): Likewise.
2803 (RUN_TEST_LOOP_f_i_tg): Likewise.
2804 (RUN_TEST_ff_i_tg): Likewise.
2805 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2806 (RUN_TEST_f_b): Likewise.
2807 (RUN_TEST_LOOP_f_b): Likewise.
2808 (RUN_TEST_f_b_tg): Likewise.
2809 (RUN_TEST_LOOP_f_b_tg): Likewise.
2810 (RUN_TEST_f_l): Likewise.
2811 (RUN_TEST_LOOP_f_l): Likewise.
2812 (RUN_TEST_f_L): Likewise.
2813 (RUN_TEST_LOOP_f_L): Likewise.
2814 (RUN_TEST_sincos): Likewise.
2815 (RUN_TEST_LOOP_sincos): Likewise.
2816
2817 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2818
2819 [BZ #15480]
2820 [BZ #15485]
2821 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2822 main case of finite arguments, set rounding mode to FE_TONEAREST
2823 and discard exceptions.
2824 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2825 exceptions.
2826 (remainder_tonearest_test_data): New variable.
2827 (remainder_test_tonearest): New function.
2828 (remainder_towardzero_test_data): New variable.
2829 (remainder_test_towardzero): New function.
2830 (remainder_downward_test_data): New variable.
2831 (remainder_test_downward): New function.
2832 (remainder_upward_test_data): New variable.
2833 (remainder_test_upward): New function.
2834 (main): Call the new test functions.
2835
2836 * math/libm-test.inc (struct test_f_f1_data): Remove field
2837 extra_init.
2838 (struct test_fF_f1_data): Likewise.
2839 (struct test_ffI_f1_data): Likewise.
2840 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2841 based on value of EXTRA_EXPECTED.
2842 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2843 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2844 EXTRA_VAR based on value of EXTRA_EXPECTED.
2845 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2846 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2847 EXTRA_VAR based on value of EXTRA_EXPECTED.
2848 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2849 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2850 EXTRA_VAR based on value of EXTRA_EXPECTED.
2851 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2852 * math/gen-libm-test.pl (parse_args): Don't output initializers
2853 for extra output values.
2854
2855 * math/libm-test.inc (check_int): Expect result to be exactly
2856 equal to expected value and do not handle ulps.
2857 (check_long): Likewise.
2858 (check_longlong): Likewise.
2859
2860 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2861 exceptions.
2862 (cimag_test_data): Likewise.
2863 (conj_test_data): Likewise.
2864 (copysign_test_data): Likewise.
2865 (cproj_test_data): Likewise.
2866 (creal_test_data): Likewise.
2867 (fabs_test_data): Likewise.
2868 (fdim_test_data): Likewise.
2869 (finite_test_data): Likewise.
2870 (floor_test_data): Likewise.
2871 (fmax_test_data): Likewise.
2872 (fmin_test_data): Likewise.
2873 (fmod_test_data): Likewise.
2874 (fpclassify_test_data): Likewise.
2875 (frexp_test_data): Likewise.
2876 (ilogb_test_data): Likewise.
2877 (isfinite_test_data): Likewise.
2878 (isgreater_test_data): Likewise.
2879 (isgreaterequal_test_data): Likewise.
2880 (isinf_test_data): Likewise.
2881 (isless_test_data): Likewise.
2882 (islessequal_test_data): Likewise.
2883 (islessgreater_test_data): Likewise.
2884 (isnan_test_data): Likewise.
2885 (isnormal_test_data): Likewise.
2886 (issignaling_test_data): Likewise.
2887 (isunordered_test_data): Likewise.
2888 (ldexp_test_data): Likewise.
2889 (lrint_test_data): Likewise.
2890 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2891 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2892 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2893 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2894 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2895 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2896 test input.
2897 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2898 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2899 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2900 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2901 that test input.
2902 (lrint_downward_test_data): Test for "inexact" exceptions.
2903 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2904 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2905 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2906 test input.
2907 (lrint_upward_test_data): Test for "inexact" exceptions.
2908 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2909 test input.
2910 (llrint_test_data): Test for "inexact" exceptions.
2911 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2912 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2913 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2914 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2915 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2916 (llrint_downward_test_data): Test for "inexact" exceptions.
2917 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2918 (llrint_upward_test_data): Test for "inexact" exceptions.
2919 (logb_test_data): Likewise.
2920 (logb_downward_test_data): Likewise.
2921 (nextafter_test_data): Likewise.
2922 (nexttoward_test_data): Likewise.
2923 (remainder_test_data): Likewise.
2924 (remquo_test_data): Likewise.
2925 (scalbn_test_data): Likewise.
2926 (scalbln_test_data): Likewise.
2927 (signbit_test_data): Likewise.
2928 (sqrt_test_data): Likewise.
2929 (significand_test_data): Likewise.
2930
2931 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2932
2933 [BZ #15424]
2934 * benchtests/bench-modf.c (struct args): Mark arg0 as
2935 volatile.
2936 * scripts/bench.pl: Mark members of struct args as volatile.
2937
2938 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939
2940 [BZ # 15497]
2941 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2942 negative infinity on POWER6 or lower.
2943 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2944
2945 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2946
2947 [BZ #15442]
2948 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2949 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2950 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2951 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2952 (_FP_SETQNAN): New macro.
2953 (_FP_SETQNAN_SEMIRAW): Likewise.
2954 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2955 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2956 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2957 (FP_EXTEND): Use _FP_FRAC_SNANP.
2958 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2959 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2960 into account.
2961 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2962 New macro.
2963 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2964 Likewise.
2965
2966 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2967
2968 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2969 with DIVIDE_BY_ZERO_EXCEPTION.
2970 (gamma_test_data): Likewise.
2971 (lgamma_test_data): Likewise.
2972 (log_test_data): Likewise.
2973 (log10_test_data): Likewise.
2974 (log2_test_data): Likewise.
2975 (tgamma_test_data): Likewise.
2976
2977 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2978 (acos_test_tonearest): Likewise.
2979 (acos_test_towardzero): Likewise.
2980 (acos_test_downward): Likewise.
2981 (acos_test_upward): Likewise.
2982 (acosh_test): Likewise.
2983 (asin_test): Likewise.
2984 (asin_test_tonearest): Likewise.
2985 (asin_test_towardzero): Likewise.
2986 (asin_test_downward): Likewise.
2987 (asin_test_upward): Likewise.
2988 (asinh_test): Likewise.
2989 (atan_test): Likewise.
2990 (atanh_test): Likewise.
2991 (atan2_test): Likewise.
2992 (cabs_test): Likewise.
2993 (cacos_test): Likewise.
2994 (cacosh_test): Likewise.
2995 (casin_test): Likewise.
2996 (casinh_test): Likewise.
2997 (catan_test): Likewise.
2998 (catanh_test): Likewise.
2999 (cbrt_test): Likewise.
3000 (ccos_test): Likewise.
3001 (ccosh_test): Likewise.
3002 (cexp_test): Likewise.
3003 (clog_test): Likewise.
3004 (clog10_test): Likewise.
3005 (cos_test): Likewise.
3006 (cos_test_tonearest): Likewise.
3007 (cos_test_towardzero): Likewise.
3008 (cos_test_downward): Likewise.
3009 (cos_test_upward): Likewise.
3010 (cosh_test): Likewise.
3011 (cosh_test_tonearest): Likewise.
3012 (cosh_test_towardzero): Likewise.
3013 (cosh_test_downward): Likewise.
3014 (cosh_test_upward): Likewise.
3015 (cpow_test): Likewise.
3016 (csin_test): Likewise.
3017 (csinh_test): Likewise.
3018 (csqrt_test): Likewise.
3019 (ctan_test): Likewise.
3020 (ctan_test_tonearest): Likewise.
3021 (ctan_test_towardzero): Likewise.
3022 (ctan_test_downward): Likewise.
3023 (ctan_test_upward): Likewise.
3024 (ctanh_test): Likewise.
3025 (ctanh_test_tonearest): Likewise.
3026 (ctanh_test_towardzero): Likewise.
3027 (ctanh_test_downward): Likewise.
3028 (ctanh_test_upward): Likewise.
3029 (erf_test): Likewise.
3030 (erfc_test): Likewise.
3031 (exp_test): Likewise.
3032 (exp_test_tonearest): Likewise.
3033 (exp_test_towardzero): Likewise.
3034 (exp_test_downward): Likewise.
3035 (exp_test_upward): Likewise.
3036 (exp10_test): Likewise.
3037 (exp2_test): Likewise.
3038 (expm1_test): Likewise.
3039 (fmod_test): Likewise.
3040 (gamma_test): Likewise.
3041 (hypot_test): Likewise.
3042 (j0_test): Likewise.
3043 (j1_test): Likewise.
3044 (jn_test): Likewise.
3045 (lgamma_test): Likewise.
3046 (log_test): Likewise.
3047 (log10_test): Likewise.
3048 (log1p_test): Likewise.
3049 (log2_test): Likewise.
3050 (logb_test_downward): Likewise.
3051 (pow_test): Likewise.
3052 (pow_test_tonearest): Likewise.
3053 (pow_test_towardzero): Likewise.
3054 (pow_test_downward): Likewise.
3055 (pow_test_upward): Likewise.
3056 (remainder_test): Likewise.
3057 (remquo_test): Likewise.
3058 (sin_test): Likewise.
3059 (sin_test_tonearest): Likewise.
3060 (sin_test_towardzero): Likewise.
3061 (sin_test_downward): Likewise.
3062 (sin_test_upward): Likewise.
3063 (sincos_test): Likewise.
3064 (sinh_test): Likewise.
3065 (sinh_test_tonearest): Likewise.
3066 (sinh_test_towardzero): Likewise.
3067 (sinh_test_downward): Likewise.
3068 (sinh_test_upward): Likewise.
3069 (sqrt_test): Likewise.
3070 (tan_test): Likewise.
3071 (tan_test_tonearest): Likewise.
3072 (tan_test_towardzero): Likewise.
3073 (tan_test_downward): Likewise.
3074 (tan_test_upward): Likewise.
3075 (tanh_test): Likewise.
3076 (tgamma_test): Likewise.
3077 (y0_test): Likewise.
3078 (y1_test): Likewise.
3079 (yn_test): Likewise.
3080
3081 * math/gen-libm-test.pl (adjust_arg): Remove function.
3082 (special_function): Remove argument $in_func. Only handle
3083 generating output for tables of tests, not inside functions.
3084 (parse_args): Likewise.
3085 (generate_testfile): Remove variable $in_func. Update call to
3086 parse_args.
3087 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3088 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3089 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3090 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3091 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3092 (MAX_VALUE_INIT): Rename macro to max_value.
3093 (MIN_VALUE_INIT): Rename macro to min_value.
3094 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3095 (plus_zero): Remove variable.
3096 (minus_zero): Likewise.
3097 (plus_infty): Likewise.
3098 (minus_infty): Likewise.
3099 (qnan_value): Likewise.
3100 (max_value): Likewise.
3101 (min_value): Likewise.
3102 (min_subnorm_value): Likewise.
3103
3104 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3105
3106 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3107 uint64_t or uint32_t usage.
3108 * crypt/sha256-block.c: Likewise.
3109 * crypt/sha256-crypt.c: Likewise.
3110 * crypt/sha256.c: Likewise.
3111 * crypt/sha512-block.c: Likewise.
3112 * crypt/sha512-crypt.c: Likewise.
3113 * crypt/sha512.c: Likewise.
3114 * debug/backtrace-tst.c: Likewise.
3115 * debug/pcprofiledump.c: Likewise.
3116 * elf/cache.c: Likewise.
3117 * elf/dl-cache.c: Likewise.
3118 * elf/dl-misc.c: Likewise.
3119 * elf/dl-profile.c: Likewise.
3120 * elf/dl-support.c: Likewise.
3121 * elf/ldconfig.c: Likewise.
3122 * elf/sprof.c: Likewise.
3123 * iconv/dummy-repertoire.c: Likewise.
3124 * iconv/iconv_charmap.c: Likewise.
3125 * iconv/skeleton.c: Likewise.
3126 * iconvdata/8bit-generic.c: Likewise.
3127 * iconvdata/cp737.h: Likewise.
3128 * iconvdata/cp775.h: Likewise.
3129 * iconvdata/ibm1008.h: Likewise.
3130 * iconvdata/ibm1025.h: Likewise.
3131 * iconvdata/ibm1046.h: Likewise.
3132 * iconvdata/ibm1097.h: Likewise.
3133 * iconvdata/ibm1112.h: Likewise.
3134 * iconvdata/ibm1122.h: Likewise.
3135 * iconvdata/ibm1123.h: Likewise.
3136 * iconvdata/ibm1124.h: Likewise.
3137 * iconvdata/ibm1129.h: Likewise.
3138 * iconvdata/ibm1130.h: Likewise.
3139 * iconvdata/ibm1132.h: Likewise.
3140 * iconvdata/ibm1133.h: Likewise.
3141 * iconvdata/ibm1137.h: Likewise.
3142 * iconvdata/ibm1140.h: Likewise.
3143 * iconvdata/ibm1141.h: Likewise.
3144 * iconvdata/ibm1142.h: Likewise.
3145 * iconvdata/ibm1143.h: Likewise.
3146 * iconvdata/ibm1144.h: Likewise.
3147 * iconvdata/ibm1145.h: Likewise.
3148 * iconvdata/ibm1146.h: Likewise.
3149 * iconvdata/ibm1147.h: Likewise.
3150 * iconvdata/ibm1148.h: Likewise.
3151 * iconvdata/ibm1149.h: Likewise.
3152 * iconvdata/ibm1153.h: Likewise.
3153 * iconvdata/ibm1154.h: Likewise.
3154 * iconvdata/ibm1155.h: Likewise.
3155 * iconvdata/ibm1156.h: Likewise.
3156 * iconvdata/ibm1157.h: Likewise.
3157 * iconvdata/ibm1158.h: Likewise.
3158 * iconvdata/ibm1160.h: Likewise.
3159 * iconvdata/ibm1161.h: Likewise.
3160 * iconvdata/ibm1162.h: Likewise.
3161 * iconvdata/ibm1163.h: Likewise.
3162 * iconvdata/ibm1164.h: Likewise.
3163 * iconvdata/ibm1166.h: Likewise.
3164 * iconvdata/ibm1167.h: Likewise.
3165 * iconvdata/ibm12712.h: Likewise.
3166 * iconvdata/ibm1390.h: Likewise.
3167 * iconvdata/ibm1399.h: Likewise.
3168 * iconvdata/ibm16804.h: Likewise.
3169 * iconvdata/ibm4517.h: Likewise.
3170 * iconvdata/ibm4899.h: Likewise.
3171 * iconvdata/ibm4909.h: Likewise.
3172 * iconvdata/ibm4971.h: Likewise.
3173 * iconvdata/ibm5347.h: Likewise.
3174 * iconvdata/ibm803.h: Likewise.
3175 * iconvdata/ibm856.h: Likewise.
3176 * iconvdata/ibm901.h: Likewise.
3177 * iconvdata/ibm902.h: Likewise.
3178 * iconvdata/ibm9030.h: Likewise.
3179 * iconvdata/ibm9066.h: Likewise.
3180 * iconvdata/ibm921.h: Likewise.
3181 * iconvdata/ibm922.h: Likewise.
3182 * iconvdata/ibm9448.h: Likewise.
3183 * iconvdata/isiri-3342.h: Likewise.
3184 * iconvdata/jis0201.h: Likewise.
3185 * include/link.h: Likewise.
3186 * include/netdb.h: Likewise.
3187 * inet/check_native.c: Likewise.
3188 * inet/check_pf.c: Likewise.
3189 * inet/getipv4sourcefilter.c: Likewise.
3190 * inet/getnameinfo.c: Likewise.
3191 * inet/getsourcefilter.c: Likewise.
3192 * inet/htonl.c: Likewise.
3193 * inet/setipv4sourcefilter.c: Likewise.
3194 * inet/setsourcefilter.c: Likewise.
3195 * inet/test-inet6_opt.c: Likewise.
3196 * inet/tst-network.c: Likewise.
3197 * locale/C-collate.c: Likewise.
3198 * locale/C-ctype.c: Likewise.
3199 * locale/C-time.c: Likewise.
3200 * locale/C-translit.h: Likewise.
3201 * locale/loadarchive.c: Likewise.
3202 * locale/programs/3level.h: Likewise.
3203 * locale/programs/charmap.c: Likewise.
3204 * locale/programs/charmap.h: Likewise.
3205 * locale/programs/ld-address.c: Likewise.
3206 * locale/programs/ld-collate.c: Likewise.
3207 * locale/programs/ld-ctype.c: Likewise.
3208 * locale/programs/ld-identification.c: Likewise.
3209 * locale/programs/ld-measurement.c: Likewise.
3210 * locale/programs/ld-messages.c: Likewise.
3211 * locale/programs/ld-monetary.c: Likewise.
3212 * locale/programs/ld-name.c: Likewise.
3213 * locale/programs/ld-numeric.c: Likewise.
3214 * locale/programs/ld-paper.c: Likewise.
3215 * locale/programs/ld-telephone.c: Likewise.
3216 * locale/programs/ld-time.c: Likewise.
3217 * locale/programs/linereader.c: Likewise.
3218 * locale/programs/locale.c: Likewise.
3219 * locale/programs/locarchive.c: Likewise.
3220 * locale/programs/locfile.h: Likewise.
3221 * locale/programs/repertoire.c: Likewise.
3222 * locale/programs/simple-hash.c: Likewise.
3223 * locale/programs/simple-hash.h: Likewise.
3224 * malloc/memusage.c: Likewise.
3225 * malloc/memusagestat.c: Likewise.
3226 * nis/nis_defaults.c: Likewise.
3227 * nis/nis_hash.c: Likewise.
3228 * nis/nis_print.c: Likewise.
3229 * nis/nis_xdr.c: Likewise.
3230 * nscd/connections.c: Likewise.
3231 * nscd/hstcache.c: Likewise.
3232 * nscd/nscd_gethst_r.c: Likewise.
3233 * nscd/nscd_getserv_r.c: Likewise.
3234 * nscd/nscd_helper.c: Likewise.
3235 * nscd/servicescache.c: Likewise.
3236 * nss/makedb.c: Likewise.
3237 * nss/nss_db/db-XXX.c: Likewise.
3238 * nss/nss_db/db-initgroups.c: Likewise.
3239 * nss/nss_db/db-netgrp.c: Likewise.
3240 * nss/nss_files/files-network.c: Likewise.
3241 * nss/nss_files/files-parse.c: Likewise.
3242 * posix/bug-regex5.c: Likewise.
3243 * posix/fnmatch_loop.c: Likewise.
3244 * posix/regcomp.c: Likewise.
3245 * posix/regexec.c: Likewise.
3246 * posix/tst-rfc3484-2.c: Likewise.
3247 * posix/tst-rfc3484-3.c: Likewise.
3248 * posix/tst-rfc3484.c: Likewise.
3249 * resolv/nss_dns/dns-canon.c: Likewise.
3250 * resolv/nss_dns/dns-network.c: Likewise.
3251 * resolv/res_init.c: Likewise.
3252 * resolv/res_mkquery.c: Likewise.
3253 * resolv/tst-aton.c: Likewise.
3254 * stdlib/cxa_atexit.c: Likewise.
3255 * stdlib/cxa_finalize.c: Likewise.
3256 * stdlib/gen-fpioconst.c: Likewise.
3257 * stdlib/strtol_l.c: Likewise.
3258 * string/tst-endian.c: Likewise.
3259 * sunrpc/auth_des.c: Likewise.
3260 * sunrpc/clnt_udp.c: Likewise.
3261 * sunrpc/rtime.c: Likewise.
3262 * sunrpc/svcauth_des.c: Likewise.
3263 * sunrpc/xdr.c: Likewise.
3264 * sunrpc/xdr_intXX_t.c: Likewise.
3265 * sunrpc/xdr_rec.c: Likewise.
3266 * sysdeps/generic/ldconfig.h: Likewise.
3267 * sysdeps/generic/ldsodefs.h: Likewise.
3268 * sysdeps/generic/memusage.h: Likewise.
3269 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3271 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3272 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3279 * sysdeps/posix/getaddrinfo.c: Likewise.
3280 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3281 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3282 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3283 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3284 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3285 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3286 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3287 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3288 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3290 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3291 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3292 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3293 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3295 * sysdeps/x86_64/dl-tls.h: Likewise.
3296 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3297 * time/alt_digit.c: Likewise.
3298 * time/era.c: Likewise.
3299 * wcsmbs/tst-c16c32-1.c: Likewise.
3300
3301 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3302
3303 * math/libm-test.inc (struct test_sincos_data): New type.
3304 (RUN_TEST_LOOP_sincos): New macro.
3305 (sincos_test_data): New variable.
3306 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3307
3308 2013-05-16 Richard Henderson <rth@redhat.com>
3309
3310 * math/atest-exp2.c (LIMB64): New macro.
3311 (CONSTSZ): New macro.
3312 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3313 (hexdig): Move ...
3314 (print_mpn_fp): ... to function scope.
3315 (read_mpn_hex): Remove.
3316 (get_log2): Remove.
3317 (exp2_mpn): Use mp_log2.
3318 (main): Use mp_exp1.
3319
3320 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3321
3322 * math/libm-test.inc: Remove comment about not testing "inexact"
3323 exceptions.
3324 (INEXACT_EXCEPTION): New macro.
3325 (NO_INEXACT_EXCEPTION): Likewise.
3326 (INVALID_EXCEPTION_OK): Update value.
3327 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3328 (OVERFLOW_EXCEPTION_OK): Likewise.
3329 (UNDERFLOW_EXCEPTION_OK): Likewise.
3330 (IGNORE_ZERO_INF_SIGN): Likewise.
3331 (ERRNO_UNCHANGED): Likewise.
3332 (ERRNO_EDOM): Likewise.
3333 (ERRNO_ERANGE): Likewise.
3334 (test_exceptions): Handle testing "inexact" exceptions.
3335 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3336 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3337 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3338 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3339 INEXACT_EXCEPTION.
3340 (rint_towardzero_test_data): Likewise.
3341 (rint_downward_test_data): Likewise.
3342 (rint_upward_test_data): Likewise.
3343
3344 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3345 with OVERFLOW_EXCEPTION.
3346 (exp10_test_data): Likewise.
3347 (exp2_test_data): Likewise.
3348 (expm1_test_data): Likewise.
3349 (lgamma_test_data): Likewise.
3350 (pow_test_data): Likewise.
3351 (tgamma_test_data): Likewise.
3352 (yn_test_data): Remove duplicate test of overflow.
3353
3354 * math/libm-test.inc (struct test_cc_c_data): New type.
3355 (RUN_TEST_LOOP_cc_c): New macro.
3356 (cpow_test_data): New variable.
3357 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3358
3359 * math/libm-test.inc (struct test_f_L_data): New type.
3360 (RUN_TEST_LOOP_f_L): New macro.
3361 (llrint_test_data): New variable.
3362 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3363 (llrint_tonearest_test_data): New variable.
3364 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3365 (llrint_towardzero_test_data): New variable.
3366 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3367 (llrint_downward_test_data): New variable.
3368 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3369 (llrint_upward_test_data): New variable.
3370 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3371 (llround_test_data): New variable.
3372 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3373
3374 2013-05-13 Peter Collingbourne <pcc@google.com>
3375
3376 * math/atest-exp2.c (get_log2): Remove const attribute.
3377
3378 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3379
3380 * math/libm-test.inc (struct test_f_l_data): New type.
3381 (RUN_TEST_LOOP_f_l): New macro.
3382 (lrint_test_data): New variable.
3383 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3384 (lrint_tonearest_test_data): New variable.
3385 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3386 (lrint_towardzero_test_data): New variable.
3387 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3388 (lrint_downward_test_data): New variable.
3389 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3390 (lrint_upward_test_data): New variable.
3391 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3392 (lround_test_data): New variable.
3393 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3394
3395 2013-05-15 Peter Collingbourne <pcc@google.com>
3396
3397 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3398 (EXTRACT_WORDS64) Use where appropriate.
3399 (INSERT_WORDS64) Likewise.
3400
3401 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3402 constraints with x constraints.
3403 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3404
3405 * malloc/obstack.c (_obstack_compat): Add initializer.
3406
3407 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3408
3409 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3410 si_trapno and add si_addr_lsb to _sifields.sigfault.
3411 (si_trapno): Remove macro.
3412 (si_addr_lsb): Define new macro.
3413 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3414
3415 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3416
3417 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3418 instead of TEST_f_l.
3419 (llrint_test_tonearest): Likewise.
3420 (llrint_test_towardzero): Likewise.
3421 (llrint_test_downward): Likewise.
3422 (llrint_test_upward): Likewise.
3423 (llround_test): Likewise.
3424
3425 * math/libm-test.inc (struct test_f_i_data): Add comment.
3426 (RUN_TEST_LOOP_f_b): New macro.
3427 (RUN_TEST_LOOP_f_b_tg): Likewise.
3428 (finite_test_data): New variable.
3429 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3430 (isfinite_test_data): New variable.
3431 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3432 (isinf_test_data): New variable.
3433 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3434 (isnan_test_data): New variable.
3435 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3436 (isnormal_test_data): New variable.
3437 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3438 (issignaling_test_data): New variable.
3439 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3440 (signbit_test_data): New variable.
3441 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3442
3443 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3444 with INVALID_EXCEPTION.
3445 (acosh_test_data): Likewise.
3446 (asin_test_data): Likewise.
3447 (atanh_test_data): Likewise.
3448 (fmod_test_data): Likewise.
3449 (log_test_data): Likewise.
3450 (log10_test_data): Likewise.
3451 (log2_test_data): Likewise.
3452 (pow_test_data): Likewise.
3453 (sqrt_test_data): Likewise.
3454 (y0_test_data): Likewise.
3455 (y1_test_data): Likewise.
3456 (yn_test_data): Likewise.
3457
3458 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3459 function contents.
3460
3461 * math/libm-test.inc (struct test_ff_i_data): New type.
3462 (RUN_TEST_LOOP_ff_i_tg): New macro.
3463 (isgreater_test_data): New variable.
3464 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3465 (isgreaterequal_test_data): New variable.
3466 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3467 (isless_test_data): New variable.
3468 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3469 (islessequal_test_data): New variable.
3470 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3471 (islessgreater_test_data): New variable.
3472 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3473 (isunordered_test_data): New variable.
3474 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3475
3476 2013-05-14 David S. Miller <davem@davemloft.net>
3477
3478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3479
3480 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3481
3482 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3483
3484 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3485 extra_test to int.
3486 (struct test_f_i_data): Change type of max_ulp to int.
3487
3488 * math/libm-test.inc (test_ffI_f1_data): New type.
3489 (RUN_TEST_LOOP_ffI_f1): New macro.
3490 (remquo_test_data): New variable.
3491 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3492
3493 * setjmp/tst-setjmp-fp.c: New file.
3494 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3495 (link-libm): New variable.
3496 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3497
3498 * math/libm-test.inc (struct test_f_i_data): New type.
3499 (RUN_TEST_LOOP_f_i): New macro.
3500 (RUN_TEST_LOOP_f_i_tg): Likewise.
3501 (fpclassify_test_data): New variable.
3502 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3503 (ilogb_test_data): New variable.
3504 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3505
3506 * math/libm-test.inc (scalbln_test): Correct function name in END
3507 call.
3508
3509 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3510 (RUN_TEST_LOOP_fI_f1): New macro.
3511 (frexp_test_data): New variable.
3512 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3513
3514 * math/libm-test.inc (struct test_fF_f1_data): New type.
3515 (RUN_TEST_LOOP_fF_f1): New macro.
3516 (modf_test_data): New variable.
3517 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3518
3519 * math/libm-test.inc (struct test_f_f1_data): New type.
3520 (RUN_TEST_LOOP_f_f1): New macro.
3521 (gamma_test_data): New variable.
3522 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3523 (lgamma_test_data): New variable.
3524 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3525
3526 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3527
3528 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3529 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3530 (main): Comment "tls" pseudo-hwcap.
3531
3532 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3533
3534 * math/libm-test.inc (struct test_fl_f_data): New type.
3535 (RUN_TEST_LOOP_fl_f): New variable.
3536 (scalbln_test_data): New variable.
3537 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3538
3539 * math/libm-test.inc (struct test_fi_f_data): New type.
3540 (RUN_TEST_LOOP_fi_f): New macro.
3541 (ldexp_test_data): New variable.
3542 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3543 (scalbn_test_data): New variable.
3544 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3545
3546 * math/libm-test.inc (struct test_c_f_data): New type.
3547 (RUN_TEST_LOOP_c_f): New macro.
3548 (cabs_test_data): New variable.
3549 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3550 (carg_test_data): New variable.
3551 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3552 (cimag_test_data): New variable.
3553 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3554 (creal_test_data): New variable.
3555 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3556
3557 * math/libm-test.inc (struct test_if_f_data): New type.
3558 (RUN_TEST_LOOP_if_f): New macro.
3559 (jn_test_data): New variable.
3560 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3561 (yn_test_data): New variable.
3562 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3563
3564 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3565
3566 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3567
3568 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3569 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3570
3571 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3572
3573 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3574 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3575 (bench-deps): Add bench-timing.h.
3576 * benchtests-bench-skeleton.c: Include bench-timing.h.
3577 (main): Use TIMING_* macros instead of clock_gettime.
3578 * benchtests/bench-timing.h: New file.
3579
3580 [BZ #14582]
3581 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3582 Renamed from _LIB_VERSION.
3583 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3584
3585 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3586
3587 * math/libm-test.inc (struct test_fff_f_data): New type.
3588 (RUN_TEST_LOOP_fff_f): New macro.
3589 (fma_test_data): New variable.
3590 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3591 (fma_towardzero_test_data): New variable.
3592 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3593 (fma_downward_test_data): New variable.
3594 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3595 (fma_upward_test_data): New variable.
3596 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3597
3598 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3599 (struct test_c_c_data): New type.
3600 (RUN_TEST_LOOP_c_c): New macro.
3601 (cacos_test_data): New variable.
3602 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3603 (cacosh_test_data): New variable.
3604 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3605 (casin_test_data): New variable.
3606 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3607 (casinh_test_data): New variable.
3608 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3609 (catan_test_data): New variable.
3610 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3611 (catanh_test_data): New variable.
3612 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3613 (ccos_test_data): New variable.
3614 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3615 (ccosh_test_data): New variable.
3616 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3617 (cexp_test_data): New variable.
3618 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3619 (clog_test_data): New variable.
3620 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3621 (clog10_test_data): New variable.
3622 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3623 (conj_test_data): New variable.
3624 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3625 (cproj_test_data): New variable.
3626 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3627 (csin_test_data): New variable.
3628 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3629 (csinh_test_data): New variable.
3630 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3631 (csqrt_test_data): New variable.
3632 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3633 (ctan_test_data): New variable.
3634 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3635 (ctan_tonearest_test_data): New variable.
3636 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3637 (ctan_towardzero_test_data): New variable.
3638 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3639 (ctan_downward_test_data): New variable.
3640 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3641 (ctan_upward_test_data): New variable.
3642 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3643 (ctanh_test_data): New variable.
3644 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3645 (ctanh_tonearest_test_data): New variable.
3646 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3647 (ctanh_towardzero_test_data): New variable.
3648 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3649 (ctanh_downward_test_data): New variable.
3650 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3651 (ctanh_upward_test_data): New variable.
3652 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3653 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3654 of BUILD_COMPLEX.
3655
3656 * math/libm-test.inc (struct test_ff_f_data): New type.
3657 (struct test_ff_f_data_nexttoward): Likewise.
3658 (RUN_TEST_LOOP_2_f): New macro.
3659 (RUN_TEST_LOOP_ff_f): Likewise.
3660 (atan2_test_data): New variable.
3661 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3662 (copysign_test_data): New variable.
3663 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3664 (fdim_test_data): New variable.
3665 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3666 (fmax_test_data): New variable.
3667 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3668 (fmin_test_data): New variable.
3669 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3670 (fmod_test_data): New variable.
3671 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3672 (hypot_test_data): New variable.
3673 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3674 (nextafter_test_data): New variable.
3675 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3676 (nexttoward_test_data): New variable.
3677 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3678 (pow_test_data): New variable.
3679 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3680 (pow_tonearest_test_data): New variable.
3681 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3682 (pow_towardzero_test_data): New variable.
3683 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3684 (pow_downward_test_data): New variable.
3685 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3686 (pow_upward_test_data): New variable.
3687 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3688 (remainder_test_data): New variable.
3689 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3690 (scalb_test_data): New variable.
3691 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3692 * sysdeps/i386/fpu/libm-test-ulps: Update.
3693
3694 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3695
3696 * math/libm-test.inc (fma_test): Use max_value instead of local
3697 variable fltmax.
3698 (nextafter_test): Likewise.
3699
3700 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3701 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3702 (acos_downward_test_data): New variable.
3703 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3704 (acos_upward_test_data): New variable.
3705 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3706 (acosh_test_data): New variable.
3707 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3708 (asin_test_data): New variable.
3709 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3710 (asin_tonearest_test_data): New variable.
3711 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3712 (asin_towardzero_test_data): New variable.
3713 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3714 (asin_downward_test_data): New variable.
3715 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3716 (asin_upward_test_data): New variable.
3717 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3718 (asinh_test_data): New variable.
3719 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3720 (atan_test_data): New variable.
3721 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3722 (atanh_test_data): New variable.
3723 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3724 (cbrt_test_data): New variable.
3725 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3726 (ceil_test_data): New variable.
3727 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3728 (cos_test_data): New variable.
3729 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3730 (cos_tonearest_test_data): New variable.
3731 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3732 (cos_towardzero_test_data): New variable.
3733 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3734 (cos_downward_test_data): New variable.
3735 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3736 (cos_upward_test_data): New variable.
3737 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3738 (cosh_test_data): New variable.
3739 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3740 (cosh_tonearest_test_data): New variable.
3741 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3742 (cosh_towardzero_test_data): New variable.
3743 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3744 (cosh_downward_test_data): New variable.
3745 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3746 (cosh_upward_test_data): New variable.
3747 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3748 (erf_test_data): New variable.
3749 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3750 (erfc_test_data): New variable.
3751 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3752 (exp_test_data): New variable.
3753 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3754 (exp_tonearest_test_data): New variable.
3755 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3756 (exp_towardzero_test_data): New variable.
3757 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3758 (exp_downward_test_data): New variable.
3759 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3760 (exp_upward_test_data): New variable.
3761 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3762 (exp10_test_data): New variable.
3763 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3764 (exp2_test_data): New variable.
3765 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3766 (expm1_test_data): New variable.
3767 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3768 (fabs_test_data): New variable.
3769 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3770 (floor_test_data): New variable.
3771 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3772 (j0_test_data): New variable.
3773 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3774 (j1_test_data): New variable.
3775 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3776 (log_test_data): New variable.
3777 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3778 (log10_test_data): New variable.
3779 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3780 (log1p_test_data): New variable.
3781 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3782 (log2_test_data): New variable.
3783 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3784 (logb_test_data): New variable.
3785 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3786 (logb_downward_test_data): New variable.
3787 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3788 (nearbyint_test_data): New variable.
3789 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3790 (rint_test_data): New variable.
3791 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3792 (rint_tonearest_test_data): New variable.
3793 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3794 (rint_towardzero_test_data): New variable.
3795 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3796 (rint_downward_test_data): New variable.
3797 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3798 (rint_upward_test_data): New variable.
3799 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3800 (round_test_data): New variable.
3801 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3802 (sin_test_data): New variable.
3803 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3804 (sin_tonearest_test_data): New variable.
3805 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3806 (sin_towardzero_test_data): New variable.
3807 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3808 (sin_downward_test_data): New variable.
3809 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3810 (sin_upward_test_data): New variable.
3811 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3812 (sinh_test_data): New variable.
3813 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3814 (sinh_tonearest_test_data): New variable.
3815 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3816 (sinh_towardzero_test_data): New variable.
3817 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3818 (sinh_downward_test_data): New variable.
3819 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3820 (sinh_upward_test_data): New variable.
3821 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3822 (sqrt_test_data): New variable.
3823 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3824 (tan_test_data): New variable.
3825 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3826 (tan_tonearest_test_data): New variable.
3827 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3828 (tan_towardzero_test_data): New variable.
3829 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3830 (tan_downward_test_data): New variable.
3831 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3832 (tan_upward_test_data): New variable.
3833 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3834 (tanh_test_data): New variable.
3835 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3836 (tgamma_test_data): New variable.
3837 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3838 (trunc_test_data): New variable.
3839 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3840 (y0_test_data): New variable.
3841 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3842 (y1_test_data): New variable.
3843 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3844 (significand_test_data): New variable.
3845 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3846
3847 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3848
3849 [BZ #12387]
3850 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3851
3852 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3853
3854 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3855
3856 2013-05-10 Andreas Jaeger <aj@suse.de>
3857
3858 [BZ #15448]
3859 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3860 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3861
3862 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3863
3864 * math/gen-libm-test.pl (adjust_arg): New function.
3865 (special_functions): Handle generating output in both functions
3866 and arrays.
3867 (parse_args): Likewise.
3868 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3869 $in_func argument to parse_args.
3870 * math/libm-test.inc (struct test_f_f_data): New type.
3871 (IF_ROUND_INIT_): New macro.
3872 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3873 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3874 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3875 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3876 (ROUND_RESTORE_): Likewise.
3877 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3878 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3879 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3880 (ROUND_RESTORE_FE_UPWARD): Likewise.
3881 (RUN_TEST_LOOP_f_f): New macro.
3882 (acos_test_data): New variable.
3883 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3884 (acos_tonearest_test_data): New variable.
3885 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3886
3887 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3888
3889 * benchtests/bench-skeleton.c (startup): Fix coding style.
3890
3891 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3892
3893 [BZ #6809]
3894 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3895 negative infinity argument.
3896 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3897 negative infinity argument.
3898 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3899 negative infinity argument.
3900 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3901 domain errors.
3902
3903 2013-05-10 Florian Weimer <fweimer@redhat.com>
3904
3905 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3906 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3907 * iconv/iconv_prog.c (main): Likewise.
3908 * locale/programs/charmap-dir.c (charmap_readdir)
3909 (fopen_uncompressed): Likewise.
3910 * locale/programs/locfile.c (siblings_uncached)
3911 (write_locale_data): Use lstat64 instead of lstat.
3912 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3913 stat.
3914
3915 2013-05-10 Andreas Jaeger <aj@suse.de>
3916
3917 [BZ #15395]
3918 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3919 localization.
3920 Include <locale.h>.
3921
3922 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3923
3924 * elf/dl-close.c (_dl_close_worker): Add comments.
3925
3926 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3927
3928 [BZ #15359]
3929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3930 high part of pi/2.
3931 (__ieee754_rem_pio2l): Update comments.
3932
3933 [BZ #15429]
3934 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3935 high part of pi/2.
3936 (__ieee754_rem_pio2l): Update comments.
3937
3938 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3939 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3940
3941 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3942 M_PI_4l.
3943
3944 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3945 (M_PI_34_LOG10El): Likewise.
3946 (M_PI2_LOG10El): Likewise.
3947 (M_PI4_LOG10El): Likewise.
3948 (M_PI_LOG10El): Likewise.
3949
3950 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951
3952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3953
3954 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3955
3956 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3957 (MINUS_ZERO_INIT): Likewise.
3958 (PLUS_INFTY_INIT): Likewise.
3959 (MINUS_INFTY_INIT): Likewise.
3960 (QNAN_VALUE_INIT): Likewise.
3961 (MAX_VALUE_INIT): Likewise.
3962 (MIN_VALUE_INIT): Likewise.
3963 (MIN_SUBNORM_VALUE_INIT): Likewise.
3964 (plus_zero): Initialize with PLUS_ZERO_INIT.
3965 (minus_zero): Initialize with MINUS_ZERO_INIT.
3966 (plus_infty): Initialize with PLUS_INFTY_INIT.
3967 (minus_infty): Initialize with MINUS_INFTY_INIT.
3968 (qnan_value): Initialize with QNAN_VALUE_INIT.
3969 (max_value): Initialize with MAX_VALUE_INIT.
3970 (min_value): Initialize with MIN_VALUE_INIT.
3971 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3972
3973 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3974 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3975 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3976 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3977
3978 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3979 (RUN_TEST_2_f): Likewise.
3980 (RUN_TEST_ff_f): Likewise.
3981 (RUN_TEST_fi_f): Likewise.
3982 (RUN_TEST_fl_f): Likewise.
3983 (RUN_TEST_fff_f): Likewise.
3984 (RUN_TEST_c_f): Likewise.
3985 (RUN_TEST_f_f1): Likewise.
3986 (RUN_TEST_fF_f1): Likewise.
3987 (RUN_TEST_fI_f1): Likewise.
3988 (RUN_TEST_ffI_f1): Likewise.
3989 (RUN_TEST_c_c): Likewise.
3990 (RUN_TEST_cc_c): Likewise.
3991 (RUN_TEST_f_i): Likewise.
3992 (RUN_TEST_f_i_tg): Likewise.
3993 (RUN_TEST_ff_i_tg): Likewise.
3994 (RUN_TEST_f_b): Likewise.
3995 (RUN_TEST_f_b_tg): Likewise.
3996 (RUN_TEST_f_l): Likewise.
3997 (RUN_TEST_f_L): Likewise.
3998 (RUN_TEST_sincos): Likewise.
3999 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4000 whether to show exceptions. Do not include ");\n" in return
4001 value.
4002 (special_functions): Output call to RUN_TEST_sincos instead of
4003 check_float calls. Update calls to new_test.
4004 (parse_args): Output call to single RUN_TEST_* macro instead of
4005 check_* calls and other assignments. Update calls to new_test.
4006
4007 [BZ #2546]
4008 [BZ #2560]
4009 [BZ #5159]
4010 [BZ #15426]
4011 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4012 input to result for tgamma overflow.
4013 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4014 (gamma_coeff): New variable.
4015 (NCOEFF): New macro.
4016 (gamma_positive): New function.
4017 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4018 underflow here. Use gamma_positive instead of exp (lgamma) for
4019 other arguments.
4020 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4021 (gamma_coeff): New variable.
4022 (NCOEFF): New macro.
4023 (gammaf_positive): New function.
4024 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4025 underflow here. Use gamma_positive instead of exp (lgamma) for
4026 other arguments.
4027 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4028 (gamma_coeff): New variable.
4029 (NCOEFF): New macro.
4030 (gammal_positive): New function.
4031 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4032 underflow here. Use gamma_positive instead of exp (lgamma) for
4033 other arguments.
4034 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4035 (gamma_coeff): New variable.
4036 (NCOEFF): New macro.
4037 (gammal_positive): New function.
4038 (__ieee754_gammal_r): Handle positive infinity, overflow and
4039 underflow here. Handle NaN the same as positive infinity. Remove
4040 check x < 0xffffffff for negative integers. Use gamma_positive
4041 instead of exp (lgamma) for other arguments.
4042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4043 (gamma_coeff): New variable.
4044 (NCOEFF): New macro.
4045 (gammal_positive): New function.
4046 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4047 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4051 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4052 * sysdeps/generic/math_private.h (__gamma_productf): New
4053 prototype.
4054 (__gamma_product): Likewise.
4055 (__gamma_productl): Likewise.
4056 * math/Makefile (libm-calls): Add gamma_product.
4057 * math/libm-test.inc (tgamma_test): Add more tests.
4058 * sysdeps/i386/fpu/libm-test-ulps: Update.
4059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4060
4061 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4062
4063 * benchtests/bench-skeleton.c (main): Preheat CPU.
4064
4065 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4066
4067 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4068
4069 2013-05-07 Roland McGrath <roland@hack.frob.com>
4070
4071 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4072 and _dl_skip_args_internal.
4073
4074 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4075
4076 * manual/message.texi (Message Translation): Talk about users.
4077 Message to key mapping impacts design.
4078
4079 2013-05-06 Roland McGrath <roland@hack.frob.com>
4080
4081 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4082
4083 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4084
4085 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4086 * sysdeps/wordsize-64/glob64.c: ... here.
4087
4088 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4089 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4090 New macros.
4091
4092 * debug/getlogin_r_chk.c: Moved to ...
4093 * login/getlogin_r_chk.c: ... here.
4094 * debug/Makefile (routines): Move getlogin_r_chk to ...
4095 * login/Makefile (routines): ... here.
4096 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4097 * login/Versions (libc: GLIBC_2.4): ... here.
4098
4099 * io/poll.c (__poll): Renamed from poll.
4100 Add libc_hidden_def.
4101 (poll): Define as weak alias.
4102
4103 * debug/ptsname_r_chk.c: Moved to ...
4104 * login/ptsname_r_chk.c: ... here.
4105 * debug/Makefile (routines): Move ptsname_r_chk to ...
4106 * login/Makefile (routines): ... here.
4107 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4108 * login/Versions (libc: GLIBC_2.4): ... here.
4109
4110 * posix/getlogin.c: Moved to ...
4111 * login/getlogin.c: ... here.
4112 * posix/getlogin_r.c: Moved to ...
4113 * login/getlogin_r.c: ... here.
4114 * posix/getlogin_r.c: Moved to ...
4115 * login/getlogin_r.c: ... here.
4116 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4117 * login/Makefile (routines): ... here.
4118 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4119 * login/Versions (libc: GLIBC_2.0): ... here.
4120
4121 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4122 (setrlimit): Define as weak alias.
4123
4124 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4125 Call __ names for open, ftruncate, and close.
4126 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4127 (truncate): Define as weak alias.
4128
4129 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4130
4131 * math/gen-libm-test.pl (parse_args): Initialize x before each
4132 test of frexp, modf and remquo.
4133
4134 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4135 test signgam value.
4136
4137 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4138
4139 [BZ #15418]
4140 [BZ #15419]
4141 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4142 internal tests.
4143 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4144
4145 2013-05-06 Roland McGrath <roland@hack.frob.com>
4146
4147 * elf/dl-writev.h: New file.
4148 * elf/dl-misc.c: Include it.
4149 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4150 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4151
4152 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4153
4154 * math/libm-test.inc (noXFails): Remove variable.
4155 (noXPasses): Likewise.
4156 (BUILD_COMPLEX_INT): Remove macro.
4157 (print_screen): Remove xfail argument.
4158 (print_screen_max_error): Likewise.
4159 (update_stats): Likewise.
4160 (print_max_error): Likewise. Update calls to other affected
4161 functions.
4162 (print_complex_max_error): Likewise.
4163 (test_single_exception): Update calls to print_screen.
4164 (test_single_errno): Likewise.
4165 (check_float_internal): Remove xfail argument. Update calls to
4166 other affected functions.
4167 (check_float): Likewise.
4168 (check_complex): Likewise.
4169 (check_int): Likewise.
4170 (check_long): Likewise.
4171 (check_bool): Likewise.
4172 (check_longlong): Likewise.
4173 (main): Don't print noXFails and noXPasses.
4174 * math/gen-libm-test.pl (top level): Don't mention expected
4175 failure handling in comment.
4176 (new_test): Don't handle expected failures.
4177 (parse_args): Don't mention expected failure handling in comment.
4178 (generate_testfile): Don't handle expected failures.
4179 (parse_ulps): Likewise.
4180 (print_ulps_file): Likewise.
4181 (get_failure): Remove function.
4182 (output_test): Don't handle expected failures.
4183 * make/README.libm-test: Don't mention expected failure handling.
4184
4185 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4186 (minus_zero): Likewise.
4187 (plus_infty): Likewise.
4188 (minus_infty): Likewise.
4189 (qnan_value): Likewise.
4190 (max_value): Likewise.
4191 (min_value): Likewise.
4192 (min_subnorm_value): Likewise.
4193 (initialize): Do not initialize those variables dynamically.
4194
4195 2013-05-03 Roland McGrath <roland@hack.frob.com>
4196
4197 * io/open.c (__open_2): Moved to ...
4198 * io/open_2.c: ... this new file.
4199 * io/open64.c (__open64_2): Moved to ...
4200 * io/open64_2.c: ... this new file.
4201 * io/openat.c (__openat_2): Moved to ...
4202 * io/openat_2.c: ... this new file.
4203 * io/openat64.c (__openat64_2): Moved to ...
4204 * io/openat64_2.c: ... this new file.
4205 * io/Makefile (routines): Add them.
4206 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4207 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4208 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4209 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4210 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4211 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4212 (__openat64): Add hidden_ver.
4213 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4214 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4215
4216 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4217 Separately conditionalize setting of GLRO(dl_sysinfo) so
4218 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4219 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4220
4221 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4222
4223 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4225 definition.
4226 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4227 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4228 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4229 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4230 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4231
4232 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4233
4234 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4235 test signgam value.
4236
4237 * math/libm-test.inc (hypot_test): Do not use
4238 IGNORE_ZERO_INF_SIGN.
4239
4240 2013-05-03 Andreas Jaeger <aj@suse.de>
4241
4242 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4243 Linux 3.9.
4244 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4245 (PF_MAX): Adjust for VSOCK change.
4246
4247 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4248
4249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4250
4251 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4252
4253 [BZ #15264]
4254 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4255 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4256 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4257
4258 2013-05-02 David S. Miller <davem@davemloft.net>
4259
4260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4261
4262 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4263
4264 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4265
4266 2013-05-01 Roland McGrath <roland@hack.frob.com>
4267
4268 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4269
4270 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4271
4272 [BZ #14952]
4273 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4274 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4275 Use __attribute__ ((__gnu_inline__)).
4276 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4277 Don't use __attribute__ ((__gnu_inline__)).
4278
4279 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4280
4281 [BZ #15423]
4282 * math/s_catan.c (__catan): Handle small real or imaginary part of
4283 input specially to avoid spurious underflow.
4284 * math/s_catanf.c (__catanf): Likewise.
4285 * math/s_catanh.c (__catanh): Likewise.
4286 * math/s_catanhf.c (__catanhf): Likewise.
4287 * math/s_catanhl.c (__catanhl): Likewise.
4288 * math/s_catanl.c (__catanl): Likewise.
4289 * math/libm-test.inc (catan_test): Add more tests.
4290 (catanh_test): Likewise.
4291 * sysdeps/i386/fpu/libm-test-ulps: Update.
4292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4293
4294 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4295
4296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4297
4298 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4299
4300 [BZ #15416]
4301 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4302 accurately for denominator in atan2.
4303 * math/s_catanf.c (__catanf): Likewise.
4304 * math/s_catanh.c (__catanh): Likewise.
4305 * math/s_catanhf.c (__catanhf): Likewise.
4306 * math/s_catanhl.c (__catanhl): Likewise.
4307 * math/s_catanl.c (__catanl): Likewise.
4308 * math/libm-test.inc (catan_test): Add more tests.
4309 (catanh_test): Likewise.
4310 * sysdeps/i386/fpu/libm-test-ulps: Update.
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4312
4313 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4314
4315 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4316
4317 * benchtests/Makefile (bench): Remove slow benchmarks.
4318 * benchtests/atan-inputs: Add slow benchmark inputs.
4319 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4320 (BENCH_FUNC): Accept variant offset.
4321 (VARIANT): Define.
4322 * benchtests/bench-skeleton.c (main): Run benchmark for each
4323 variant.
4324 * benchtests/cos-inputs: Add slow benchmark inputs.
4325 * benchtests/exp-inputs: Likewise.
4326 * benchtests/pow-inputs: Likewise.
4327 * benchtests/sin-inputs: Likewise.
4328 * benchtests/slowatan-inputs: Remove.
4329 * benchtests/slowatan.c: Remove.
4330 * benchtests/slowcos-inputs: Remove.
4331 * benchtests/slowcos.c: Remove.
4332 * benchtests/slowexp-inputs: Remove.
4333 * benchtests/slowexp.c: Remove.
4334 * benchtests/slowpow-inputs: Remove.
4335 * benchtests/slowpow.c: Remove.
4336 * benchtests/slowsin-inputs: Remove.
4337 * benchtests/slowsin.c: Remove.
4338 * benchtests/slowtan-inputs: Remove.
4339 * benchtests/slowtan.c: Remove.
4340 * benchtests/tan-inputs: Add slow benchmark inputs.
4341 * scripts/bench.pl: Parse comments and directives.
4342
4343 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4344 in CPPFLAGS.
4345 ($(objpfx)bench-%.c): Remove *-ITER.
4346 * benchtests/bench-modf.c: Remove definition of ITER.
4347 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4348 (main): Loop for DURATION seconds instead of fixed number of
4349 iterations.
4350 * scripts/bench.pl: Don't expect iterations in parameters.
4351
4352 2013-04-29 Roland McGrath <roland@hack.frob.com>
4353
4354 * io/fchdir.c (__fchdir): Renamed from fchdir.
4355 (fchdir): Define as weak alias.
4356
4357 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4358
4359 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4360 (ERRNO_EDOM): Likewise.
4361 (ERRNO_ERANGE): Likewise.
4362 (noErrnoTests): New variable.
4363 (init_max_error): Set errno to 0.
4364 (test_single_errno): New function.
4365 (test_errno): Likewise.
4366 (check_float_internal): Call test_errno. Set errno to 0.
4367 (check_complex): Refer to errno tests in comment.
4368 (check_int): Call test_errno. Set errno to 0.
4369 (check_long): Likewise.
4370 (check_bool): Likewise.
4371 (check_longlong): Likewise.
4372 (cos_test): Use ERRNO_* flags for errno tests instead of
4373 check_int.
4374 (expm1_test): Likewise.
4375 (fmod_test): Likewise.
4376 (ilogb_test): Likewise.
4377 (lgamma_test): Likewise.
4378 (pow_test): Likewise.
4379 (remainder_test): Likewise.
4380 (sin_test): Likewise.
4381 (tan_test): Likewise.
4382 (yn_test): Likewise.
4383 (initialize): Set errno to 0.
4384 (main): Print number of errno tests.
4385 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4386
4387 2013-04-29 Andreas Jaeger <aj@suse.de>
4388
4389 [BZ #15084]
4390 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4391 and RES_USEVC.
4392
4393 [BZ #15085]
4394 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4395 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4396 unimplemented.
4397
4398 [BZ #15380]
4399 * stdlib/random.c (__initstate): Return NULL if
4400 __initstate fails.
4401
4402 [BZ #15086]
4403 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4404 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4405 RES_SNGLKUPREOP.
4406
4407 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4408
4409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4410
4411 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4412
4413 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4414 of individual tests.
4415 (casin_test): Likewise.
4416 (casinh_test): Likewise.
4417
4418 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4419
4420 [BZ #15409]
4421 * math/s_catan.c (__catan): Handle arguments with large real or
4422 imaginary part separately without squaring.
4423 * math/s_catanf.c (__catanf): Likewise.
4424 * math/s_catanh.c (__catanh): Likewise.
4425 * math/s_catanhf.c (__catanhf): Likewise.
4426 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4427 and redefine.
4428 (__catanhl): Handle arguments with large real or imaginary part
4429 separately without squaring.
4430 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4431 and redefine.
4432 (__catanl): Handle arguments with large real or imaginary part
4433 separately without squaring.
4434 * math/libm-test.inc (catan_test): Add more tests.
4435 (catanh_test): Likewise.
4436 * sysdeps/i386/fpu/libm-test-ulps: Update.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4438
4439 2013-04-27 Andreas Jaeger <aj@suse.de>
4440
4441 [BZ #15007]
4442 * stdlib/stdlib.h: Update guards for qecvt.
4443 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4444 <stdlib.h>.
4445
4446 2013-04-27 Allan McRae <allan@archlinux.org>
4447
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449
4450 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4451
4452 [BZ #15406]
4453 * math/s_catan.c: Include <float.h>.
4454 (__catan): Ensure underflow exception occurs for underflowed
4455 result.
4456 * math/s_catanf.c: Include <float.h>.
4457 (__catanf): Ensure underflow exception occurs for underflowed
4458 result.
4459 * math/s_catanh.c: Include <float.h>.
4460 (__catanh): Ensure underflow exception occurs for underflowed
4461 result.
4462 * math/s_catanhf.c: Include <float.h>.
4463 (__catanhf): Ensure underflow exception occurs for underflowed
4464 result.
4465 * math/s_catanhl.c: Include <float.h>.
4466 (__catanhl): Ensure underflow exception occurs for underflowed
4467 result.
4468 * math/s_catanl.c: Include <float.h>.
4469 (__catanl): Ensure underflow exception occurs for underflowed
4470 result.
4471 * math/libm-test.inc (catan_test): Add more tests.
4472 (catanh_test): Likewise.
4473
4474 [BZ #15405]
4475 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4476 underflowed result.
4477 * math/s_ccoshf.c (__ccoshf): Likewise.
4478 * math/s_ccoshl.c (__ccoshl): Likewise.
4479 * math/s_csin.c (__csin): Likewise.
4480 * math/s_csinf.c (__csinf): Likewise.
4481 * math/s_csinh.c (__csinh): Likewise.
4482 * math/s_csinhf.c (__csinhf): Likewise.
4483 * math/s_csinhl.c (__csinhl): Likewise.
4484 * math/s_csinl.c (__csinl): Likewise.
4485 * math/libm-test.inc (ccos_test): Add more tests.
4486 (ccosh_test): Likewise.
4487 (csin_test): Likewise.
4488 (csinh_test): Likewise.
4489
4490 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4491
4492 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4493 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4494 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4495 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4496 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4497 powerpc/power5+/fpu folders.
4498 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4499
4500
4501 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4502
4503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4504
4505 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4506
4507 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4508 additions to variable.
4509 [$(config-machine) = x86_64] (modules-names): Likewise.
4510 ($(objpfx)tst-audit3): Remove dependency.
4511 ($(objpfx)tst-audit3.out): Likewise.
4512 ($(objpfx)tst-audit4): Likewise.
4513 ($(objpfx)tst-audit4.out): Likewise.
4514 ($(objpfx)tst-audit5): Likewise.
4515 ($(objpfx)tst-audit5.out): Likewise.
4516 ($(objpfx)tst-audit6): Likewise.
4517 ($(objpfx)tst-audit6.out): Likewise.
4518 ($(objpfx)tst-audit7): Likewise.
4519 ($(objpfx)tst-audit7.out): Likewise.
4520 (tst-audit3-ENV): Remove variable.
4521 (tst-audit4-ENV): Likewise.
4522 (tst-audit5-ENV): Likewise.
4523 (tst-audit6-ENV): Likewise.
4524 (tst-audit7-ENV): Likewise.
4525 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4526 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4527 addition to variable.
4528 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4529 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4530 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4531 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4533 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4534 tst-audit3, tst-audit4 and tst-audit5.
4535 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4536 tst-audit6 and tst-audit7.
4537 [$(subdir) = elf] (modules-names): Add audit modules for those
4538 tests.
4539 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4540 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4541 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4542 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4543 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4544 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4545 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4546 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4547 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4548 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4549 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4550 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4551 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4552 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4553 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4554 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4555 Likewise.
4556 [$(subdir) = elf && $(config-cflags-avx) = yes]
4557 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4558 [$(subdir) = elf && $(config-cflags-avx) = yes]
4559 (CFLAGS-tst-auditmod4a.c): Likewise.
4560 [$(subdir) = elf && $(config-cflags-avx) = yes]
4561 (CFLAGS-tst-auditmod4b.c): Likewise.
4562 [$(subdir) = elf && $(config-cflags-avx) = yes]
4563 (CFLAGS-tst-auditmod6b.c): Likewise.
4564 [$(subdir) = elf && $(config-cflags-avx) = yes]
4565 (CFLAGS-tst-auditmod6c.c): Likewise.
4566 [$(subdir) = elf && $(config-cflags-avx) = yes]
4567 (CFLAGS-tst-auditmod7b.c): Likewise.
4568 * elf/tst-audit3.c: Move to ...
4569 * sysdeps/x86_64/tst-audit3.c: ... here.
4570 * elf/tst-audit4.c: Move to ...
4571 * sysdeps/x86_64/tst-audit4.c: ... here.
4572 * elf/tst-audit5.c: Move to ...
4573 * sysdeps/x86_64/tst-audit5.c: ... here.
4574 * elf/tst-audit6.c: Move to ...
4575 * sysdeps/x86_64/tst-audit6.c: ... here.
4576 * elf/tst-audit7.c: Move to ...
4577 * sysdeps/x86_64/tst-audit7.c: ... here.
4578 * elf/tst-auditmod3a.c: Move to ...
4579 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4580 * elf/tst-auditmod3b.c: Move to ...
4581 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4582 * elf/tst-auditmod4a.c: Move to ...
4583 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4584 * elf/tst-auditmod4b.c: Move to ...
4585 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4586 * elf/tst-auditmod5a.c: Move to ...
4587 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4588 * elf/tst-auditmod5b.c: Move to ...
4589 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4590 * elf/tst-auditmod6a.c: Move to ...
4591 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4592 * elf/tst-auditmod6b.c: Move to ...
4593 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4594 * elf/tst-auditmod6c.c: Move to ...
4595 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4596 * elf/tst-auditmod7a.c: Move to ...
4597 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4598 * elf/tst-auditmod7b.c: Move to ...
4599 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4600
4601 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4602
4603 [BZ #15366]
4604 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4605 define unconditionally.
4606 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4607 define unconditionally.
4608 (INT8_C, INT16_C, etc.): Likewise.
4609
4610 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4611
4612 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4613 __ehdr_start with hidden visibility.
4614
4615 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4616
4617 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4618
4619 * math/libm-test.inc (cos_test): Use accurate hex constants.
4620 (sincost_test): Likewise.
4621
4622 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4623
4624 * math/libm-test.inc (catan_test): Add more tests.
4625 (catanh_test): Likewise.
4626
4627 * math/s_catanf.c (__catanf): Use suffixed floating-point
4628 constants.
4629 * math/s_catanhf.c (__catanhf): Likewise.
4630 * math/s_catanhl.c (__catanhl): Likewise.
4631 * math/s_catanl.c (__catanl): Likewise.
4632
4633 [BZ #15394]
4634 * math/s_catan.c (__catan): Calculate imaginary part of result
4635 with log1p not log unless computing log of number close to 0.
4636 * math/s_catanf.c (__catanf): Likewise.
4637 * math/s_catanl.c (__catanl): Likewise.
4638 * math/s_catanh.c (__catanh): Calculate real part of result with
4639 log1p not log unless computing log of number close to 0.
4640 * math/s_catanhf.c (__catanhf): Likewise.
4641 * math/s_catanhl.c (__catanhl): Likewise.
4642 * math/libm-test.inc (catan_test): Add more tests.
4643 (catanh_test): Likewise.
4644 * sysdeps/i386/fpu/libm-test-ulps: Update.
4645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4646
4647 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4648
4649 * benchtests/Makefile: Mention files in which fast and slow
4650 paths of math functions are implemented.
4651
4652 2013-04-23 Roland McGrath <roland@hack.frob.com>
4653
4654 * sysdeps/posix/timespec_get.c: New file.
4655
4656 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4657
4658 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4659 POWER.
4660 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4661 for POWER.
4662 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4663 powerpc/power5/fpu folders.
4664 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4665 * benchtests/Makefile: Add modf testcase.
4666 * benchtests/bench-modf.c: New file: Benchmark test for mo
4667
4668 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4669
4670 [BZ #14888]
4671 * time/Makefile (tests): Add tst-strptime-whitespace.
4672 * time/strptime_l.c (get_number): Use ISSPACE.
4673 (__strptime_internal): Likewise.
4674 * time/tst-strptime-whitespace.c: New test case.
4675
4676 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4677
4678 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4679 member.
4680 (_nss_files_init): Set it here.
4681
4682 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4683
4684 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4685 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4686 unsigned.
4687
4688 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4689
4690 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4691
4692 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4693
4694 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4695 size just once.
4696
4697 2013-04-21 David S. Miller <davem@davemloft.net>
4698
4699 * po/ru.po: Update Russion translation from translation project.
4700
4701 2013-04-17 Adam Conrad <adconrad@0c3.net>
4702
4703 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4704 and setfsgid.
4705
4706 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4707
4708 * configure.in: Remove i386 configure warning. Remove i386 case.
4709 * configure: Regenerate.
4710 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4711 Add example to error message.
4712 * sysdeps/i386/configure: Regenerate.
4713
4714 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4715
4716 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4717 slowtan.
4718 * benchtests/cos-inputs: New file.
4719 * benchtests/slowcos-inputs: New file.
4720 * benchtests/slowcos.c: New file.
4721 * benchtests/slowtan-inputs: New file.
4722 * benchtests/slowtan.c: New file.
4723 * benchtests/tan-inputs: New file.
4724
4725 2013-04-16 Roland McGrath <roland@hack.frob.com>
4726
4727 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4728 considered kosher.
4729
4730 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4731
4732 * benchtests/Makefile: Include cppflags-iterator.mk to add
4733 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4734
4735 * Makefile.in (bench-clean): New target.
4736 * benchtests/Makefile (bench-clean): Likewise.
4737
4738 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4739
4740 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4741
4742 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4743
4744 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4745
4746 2013-04-15 Andreas Schwab <schwab@suse.de>
4747
4748 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4749 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4750 * nscd/pwdcache.c (cache_addpw): Likewise.
4751 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4752 more than recsize.
4753
4754 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4755
4756 * benchtests/Makefile (bench): Write all output to
4757 bench-out.tmp together.
4758
4759 2013-04-15 Andreas Schwab <schwab@suse.de>
4760
4761 * nscd/nscd.c (main): Don't fork again after closing files.
4762
4763 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4764
4765 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4766
4767 * benchtests/Rules (bench-deps): Collect dependencies into a
4768 single variable. Add Makefile to dependencies.
4769 ($(objpfx)bench-%.c): Depend on bench-deps.
4770
4771 2013-04-12 Roland McGrath <roland@hack.frob.com>
4772 Xavier Roche <roche+kml2@exalead.com>
4773
4774 [BZ #15361]
4775 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4776 just that it's a file descriptor.
4777 * manual/llio.texi (Synchronizing AIO Operations): Update description
4778 for EBADF error from aio_fsync.
4779
4780 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4781
4782 * Rules (bench): Move target definition...
4783 * benchtests/Makefile: ... here.
4784
4785 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4786
4787 * math/libm-test.inc (cos_test): Fix PI/2 test.
4788 (sincos_test): Likewise.
4789 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4790 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4791
4792 2013-04-11 Andreas Schwab <schwab@suse.de>
4793
4794 [BZ #13988]
4795 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4796 accept exponent character only when digits were seen.
4797 * stdio-common/Makefile (tests): Add bug26.
4798 * stdio-common/bug26.c: New file.
4799
4800 [BZ #14293]
4801 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4802 non-freeable.
4803
4804 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4805
4806 * Makeconfig (rtld-prefix): Define built linker prefix.
4807 * Rules (run-bench): Use it.
4808 * math/Makefile (run-regen-ulps): Likewise.
4809
4810 * Rules (bench): Remove eval.
4811
4812 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4813 Roland McGrath <roland@hack.frob.com>
4814 Ondrej Bilka <neleai@seznam.cz>
4815
4816 [BZ #15346]
4817 * time/getdate.c: Include ctype.h and alloca.h.
4818 (__getdate_r): Trim leading and trailing spaces of input.
4819 * time/tst-getdate.c (tests): Add tests with leading and
4820 trailing spaces.
4821
4822 2013-04-08 Roland McGrath <roland@hack.frob.com>
4823
4824 [BZ #14280]
4825 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4826 when computing value.
4827
4828 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4829
4830 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4831 Use testrun.sh to run libm tests.
4832
4833 [BZ #15309]
4834 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4835
4836 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4837
4838 [BZ #15264]
4839 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4840
4841 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4842
4843 * Makefile.in (regen-ulps): New target.
4844 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4845 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4846 [ifneq (no,$(PERL)] (regen-ulps): New target.
4847 [ifeq (no,$(PERL)] (regen-ulps): New target.
4848 * math/libm-test.inc (ulps_file_name): Define.
4849 (output_dir): New variable.
4850 (options): Add "output-dir" option.
4851 (parse_opt): Handle 'o' case.
4852 (main): If output_dir is non-NULL use it as a prefix
4853 otherwise use "".
4854 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4855
4856 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4857
4858 [BZ #10060, #10062]
4859 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4860 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4861 fail configure if __sync_val_compare_and_swap is not inlined.
4862 * sysdeps/i386/configure: Regenerate.
4863 * configure.in: Build for i686 when configured for i386.
4864 * configure: Regenerate.
4865 * README: Remove i386 reference.
4866
4867 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4868
4869 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4870 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4871
4872 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4873
4874 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4875 (lmsnanval): New variables.
4876 (F): Add conversion tests.
4877 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4878 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4879
4880 * stdio-common/tstdiomisc.c (F): Properly collect individual
4881 tests' results.
4882
4883 [BZ #14686, #15336]
4884 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4885 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4886 Instead, use input NaN values or generate a qNaN by arithmetic
4887 operation. Also fix bugs to comply with the standard.
4888 * math/libm-test.inc (remainder_test): Add more tests.
4889
4890 [BZ #15335, #15342]
4891 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4893 input NaN values or generate a qNaN by arithmetic operation.
4894
4895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4896 unreachable code.
4897
4898 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4899 definitions.
4900
4901 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4902
4903 [BZ #14478]
4904 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4905 underflowed result.
4906 * math/s_cexpf.c (__cexpf): Likewise.
4907 * math/s_cexpl.c (__cexpl): Likewise.
4908 * math/libm-test.inc (cexp_test): Add more tests.
4909
4910 2013-04-03 Andreas Schwab <schwab@suse.de>
4911
4912 [BZ #15330]
4913 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4914 order arrays from heap if bigger than alloca cutoff.
4915
4916 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4917
4918 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4919 (SNAN_TESTS_double): Refer to GCC PR56831.
4920 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4921 GCC PR56828.
4922
4923 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4924
4925 * Rules (bench): Move bench.out after the run is complete.
4926
4927 * Rules (bench): Echo currently running benchmark.
4928
4929 * benchtests/Makefile (bench): Add atan and slowatan.
4930 * benchtests/atan-inputs: New file.
4931 * benchtests/slowatan-inputs: New file.
4932 * benchtests/slowatan.c: New file.
4933
4934 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4936 its value.
4937
4938 [BZ #15305]
4939 * sysdeps/unix/sysv/linux/kernel-features.h
4940 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4941 __ASSUME_XFS_RESTRICTED_CHOWN.
4942 * sysdeps/unix/sysv/linux/pathconf.c
4943 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4944 Save and restore errno.
4945
4946 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4947
4948 [BZ #15327]
4949 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4950 arguments using __kernel_casinh.
4951 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4952 arguments using __kernel_casinhf.
4953 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4954 arguments using __kernel_casinhl.
4955 * math/libm-test.inc (cacosh_test): Add more tests.
4956 * sysdeps/i386/fpu/libm-test-ulps: Update.
4957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4958
4959 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4960
4961 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4963
4964 * bench/Makefile (bench): Add sin and slowsin.
4965 * benchtests/sin-inputs: New file.
4966 * benchtests/slowsin-inputs: New file.
4967 * benchtests/slowsin.c: New file.
4968
4969 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4970 (bench): Add slowexp and slowpow.
4971 (exp-ITER): Increase iterations.
4972 (pow-ITER): Likewise.
4973 * benchtests/exp-inputs: Change input.
4974 * benchtests/pow-inputs: Likewise.
4975 * benchtests/slowexp-inputs: New file.
4976 * benchtests/slowexp.c: New file.
4977 * benchtests/slowpow-inputs: New file.
4978 * benchtests/slowpow.c: New file.
4979
4980 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4981
4982 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4983 instructions.
4984 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4985 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4986 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4987 * benchtests/Makefile: Add rint benchtest.
4988 * benchtests/rint-inputs: Input for rint benchtest.
4989
4990 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4991
4992 * Versions.def (libm): Add GLIBC_2.18.
4993 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4994 hidden libm prototypes.
4995 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4996 * math/Makefile (libm-calls): Add s_issignaling.
4997 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4998 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4999 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5000 declaration.
5001 * math/math.h [__USE_GNU] (issignaling): New macro.
5002 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5003 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5007 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5008 * manual/arith.texi (issignaling): New section.
5009 * manual/libm-err-tab.pl (@all_functions): Update comment.
5010 * math/gen-libm-test.pl (parse_args): Apply special handling for
5011 issignaling.
5012 * math/libm-test.inc (print_float, issignaling_test): New
5013 functions.
5014 (check_float_internal): Add issignaling checks.
5015 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5016 default definition.
5017 * sysdeps/powerpc/math-tests.h: New file.
5018 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5019 tests.
5020 * math/test-snan.c (TEST_FUNC): Likewise.
5021
5022 2013-03-30 David S. Miller <davem@davemloft.net>
5023
5024 * po/de.po: Update from translation team.
5025
5026 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5027
5028 [BZ #10357]
5029 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5030 imaginary part less than 1.0 and real part less than 0.5
5031 specially.
5032 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5033 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5034 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5035 (cacos_test): Add more tests.
5036 (casin_test): Likewise.
5037 (casinh_test): Likewise.
5038 * sysdeps/i386/fpu/libm-test-ulps: Update.
5039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5040
5041 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5042
5043 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5044 ONE with its value.
5045
5046 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5047 (__pow_mp): Replace ONE and MONE with their values.
5048 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5050 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5051 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5052 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5053 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5054
5055 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5056
5057 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5058 (__pow_mp): Replace ZERO and MZERO with their values.
5059 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5060 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5061 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5062 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5063 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5064 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5065 (__sqr): Likewise.
5066
5067 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5068
5069 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5070
5071 2013-03-28 Roland McGrath <roland@hack.frob.com>
5072
5073 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5074 Declare with __attribute__ ((weak)).
5075 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5076 Call __call_tls_dtors only if it's not NULL.
5077
5078 2013-03-28 Roland McGrath <roland@hack.frob.com>
5079
5080 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5081 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5082 magic __ehdr_start linker symbol if it's defined.
5083 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5084 them up here if it was already done.
5085
5086 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5087 (_dl_aux_init): Use const in cast when setting it.
5088 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5089 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5090 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5091
5092 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5093 Declare them here.
5094 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5095 * csu/libc-tls.c: Nor here.
5096 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5097
5098 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5099 (__libc_message): Never call vsyslog.
5100
5101 2013-03-28 Alan Modra <amodra@gmail.com>
5102
5103 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5104 Define as empty.
5105 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5106 Likewise.
5107
5108 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5109
5110 [BZ #15214]
5111 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5112 underflow.
5113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5114
5115 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5116
5117 [BZ #15304]
5118 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5119 Don't add gid passed as argument.
5120
5121 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5122
5123 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5124
5125 [BZ #15307]
5126 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5127 imaginary part between 1.0 and 1.5 and real part less than 0.5
5128 specially.
5129 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5130 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5131 * math/libm-test.inc (cacos_test): Add more tests.
5132 (casin_test): Likewise.
5133 (casinh_test): Likewise.
5134 * sysdeps/i386/fpu/libm-test-ulps: Update.
5135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5136
5137 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5138
5139 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5140 constants.
5141 (norm): Likewise.
5142 (denorm): Likewise.
5143 (__dbl_mp): Likewise.
5144 (add_magnitudes): Likewise.
5145 (sub_magnitudes): Likewise.
5146 (__add): Likewise.
5147 (__sub): Likewise.
5148 (__mul): Likewise.
5149 (__sqr): Likewise.
5150 (__inv): Likewise.
5151 (__dvd): Likewise.
5152
5153 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5154 commented code.
5155 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5156 (__dubcos): Likewise.
5157 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5158 (__ieee754_acos): Likewise.
5159 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5160 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5161 (__exp1): Likewise.
5162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5164 (log1): Likewise.
5165 (my_log2): Likewise.
5166 (checkint): Likewise.
5167 * sysdeps/ieee754/dbl-64/e_remainder.c
5168 (__ieee754_remainder): Likewise.
5169 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5170 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5171 (bsloww): Likewise.
5172 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5173
5174 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5175 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5176 MANTISSA_STORE_T to store computations on mantissa. Use
5177 macros for rounding and division.
5178 (denorm): Likewise.
5179 (__dbl_mp): Likewise.
5180 (add_magnitudes): Likewise.
5181 (sub_magnitudes): Likewise.
5182 (__mul): Likewise.
5183 (__sqr): Likewise.
5184 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5185 powers of two in terms of TWOPOW macro.
5186 (mp_no): Make type of mantissa as MANTISSA_T.
5187 [!RADIXI]: Define RADIXI.
5188 [!TWO52]: Define TWO52.
5189 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5190
5191 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5194 llroundl symbol when building for PPC32.
5195
5196 2013-03-24 Mark H Weaver <mhw@netris.org>
5197
5198 * manual/arith.texi (Normalization Functions): Fix prototypes for
5199 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5200
5201 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5202
5203 [BZ #13889]
5204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5205 high value to check if expl overflow.
5206 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5207 to check for underflow and overflow.
5208 * math/libm-test.inc: Add exp test.
5209
5210 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5211
5212 [BZ #11120]
5213 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5214 with NOT_IN_libc.
5215
5216 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5219 symbol.
5220
5221 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5222
5223 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5224 wrap blocks consisting of several statements.
5225
5226 * sysdeps/generic/math-tests.h: New file.
5227 * sysdeps/i386/fpu/math-tests.h: Likewise.
5228 * math/test-snan.c: Include it.
5229 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5230
5231 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5232
5233 [BZ #15285]
5234 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5235 (__ieee754_j0l): Do not improve calculations using cos of twice
5236 input for inputs above LDBL_MAX / 2.0L.
5237 (__ieee754_y0l): Likewise.
5238 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5239 (__ieee754_j1l): Do not improve calculations using cos of twice
5240 input for inputs above LDBL_MAX / 2.0L.
5241 (__ieee754_y1l): Likewise.
5242 * math/libm-test.inc (j0_test): Add another test.
5243 (j1_test): Likewise.
5244 (y0_test): Likewise.
5245 (y1_test): Likewise.
5246 * sysdeps/i386/fpu/libm-test-ulps: Update.
5247
5248 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5249
5250 * Rules ($(objpfx)bench-%.c): Include code from a C source
5251 file.
5252
5253 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5254
5255 [BZ #15287]
5256 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5257 imaginary part 1.0 and real part less than 0.5 specially.
5258 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5259 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5260 * math/libm-test.inc (cacos_test): Add more tests.
5261 (casin_test): Likewise.
5262 (casinh_test): Likewise.
5263 * sysdeps/i386/fpu/libm-test-ulps: Update.
5264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5265
5266 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
5268 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5269 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5270
5271 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5272
5273 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5274 * config.make.in (config-cflags-sse4): Remove variable.
5275 (config-cflags-avx): Likewise.
5276 (config-cflags-sse2avx): Likewise.
5277 (config-cflags-novzeroupper): Likewise.
5278 (config-asflags-i686): Likewise.
5279 (have-mfma4): Likewise.
5280 (have-as-vis3): Likewise.
5281 (MIG): Likewise.
5282 * configure.in (MIG): Do not AC_SUBST.
5283 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5284 (libc_cv_cc_sse4): Do not AC_SUBST.
5285 (libc_cv_cc_avx): Likewise.
5286 (libc_cv_cc_sse2avx): Likewise.
5287 (libc_cv_cc_novzeroupper): Likewise.
5288 (libc_cv_cc_fma4): Likewise.
5289 (libc_cv_as_i686): Likewise.
5290 (libc_cv_sparc_as_vis3): Likewise.
5291 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5292 LIBC_CONFIG_VAR.
5293 (config-asflags-i686): Likewise.
5294 (config-cflags-avx): Likewise.
5295 (config-cflags-sse2avx): Likewise.
5296 (have-mfma4): Likewise.
5297 (config-cflags-novzeroupper): Likewise.
5298 * sysdeps/mach/configure.in (MIG): Likewise.
5299 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5300 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5301 LIBC_CONFIG_VAR.
5302 (config-cflags-avx): Likewise.
5303 (config-cflags-sse2avx): Likewise.
5304 (have-mfma4): Likewise.
5305 (config-cflags-novzeroupper): Likewise.
5306 * configure: Regenerated.
5307 * sysdeps/i386/configure: Likewise.
5308 * sysdeps/mach/configure: Likewise.
5309 * sysdeps/sparc/configure: Likewise.
5310 * sysdeps/x86_64/configure: Likewise.
5311
5312 2013-03-20 Roland McGrath <roland@hack.frob.com>
5313
5314 [BZ #14812]
5315 * locale/programs/localedef.c (options): Put N_ translation marker
5316 on argument names, not just descriptions.
5317
5318 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5319
5320 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5321
5322 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5323
5324 [BZ #14176]
5325 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5326
5327 2013-03-19 Roland McGrath <roland@hack.frob.com>
5328
5329 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5330 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5331 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5332 [!BEFORE_ABORT] (before_abort): New function.
5333 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5334 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5335 (writev_for_fatal): New function.
5336 (WRITEV_FOR_FATAL): New macro; call that.
5337 (backtrace_and_maps): New function.
5338 (BEFORE_ABORT): New macro; call that.
5339 (struct str_list): Type removed.
5340 (__libc_message, __libc_fatal): Functions removed.
5341 Include <sysdeps/posix/libc_fatal.c> instead.
5342
5343 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5344
5345 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5346 constants.
5347 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5348 double constants.
5349
5350 2013-03-19 Andreas Schwab <schwab@suse.de>
5351
5352 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5353 * sysdeps/gnu/configure: Regenerate.
5354
5355 * configure.in: Substitute libc_cv_rtlddir.
5356 * configure: Regenerate.
5357 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5358 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5359 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5360 * elf/Makefile (install-others, CFLAGS-interp.c)
5361 (ldso_install, common-ldd-rewrite): Likewise.
5362 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5363 $(inst_slibdir)/$(rtld-installed-name).
5364 * scripts/rellns-sh: Add -p option.
5365 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5366 for source.
5367
5368 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5369
5370 * manual/nptl.texi: Renamed to ...
5371 * manual/threads.texi: ... this.
5372 * manual/Makefile (chapters): Update.
5373
5374 2013-03-18 Roland McGrath <roland@hack.frob.com>
5375
5376 [BZ #14812]
5377 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5378 on argument names, not just descriptions.
5379 * malloc/memusagestat.c (options): Likewise.
5380 * nss/getent.c (options): Likewise.
5381
5382 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5383
5384 [BZ #14812]
5385 * iconv/iconv_prog.c (options): Put N_ translation marker
5386 on argument names, not just descriptions.
5387 * iconv/iconvconfig.c (options): Likewise.
5388
5389 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5390
5391 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5392 implementation which is faster on all x86_64 architectures.
5393 Tested on AMD, Intel Nehalem, SNB, IVB.
5394 * sysdeps/x86_64/strnlen.S: Likewise.
5395
5396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5397 Remove all multiarch strlen and strnlen versions.
5398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5399 Remove strlen and strnlen related parts.
5400
5401 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5402 Inline strlen part.
5403 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5404
5405 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5406 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5407 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5408 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5409 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5410 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5411
5412 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5413
5414 * manual/memory.texi (Malloc Tunable Parameters):
5415 Sort parameters alphabetically. Add comments for missing entries.
5416
5417 2013-03-17 David S. Miller <davem@davemloft.net>
5418
5419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5420
5421 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5422
5423 [BZ #15283]
5424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5425 for arguments at most half maximum finite value.
5426 * math/libm-test.inc (j0_test): Add more tests.
5427 (j1_test): Likewise.
5428 (y0_test): Likewise.
5429 (y1_test): Likewise.
5430 * sysdeps/i386/fpu/libm-test-ulps: Update.
5431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432
5433 [BZ #14155]
5434 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5435 1 / x and functions P and Q for arguments above 0x1p256L.
5436 (__ieee754_y0l): Likewise.
5437 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5438 (__ieee754_y1l): Likewise.
5439 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5440 (j1_test): Likewise.
5441 (y0_test): Likewise.
5442 (y1_test): Likewise.
5443
5444 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5445
5446 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5447 variable.
5448
5449 2013-03-15 Roland McGrath <roland@hack.frob.com>
5450
5451 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5452 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5453 zero since it's initialized to EXEC_PAGESIZE.
5454
5455 * sysdeps/unix/sysv/linux/ldsodefs.h
5456 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5457 * sysdeps/generic/ldsodefs.h: ... here.
5458
5459 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5460
5461 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5462
5463 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5464 math/test-snan.c.
5465 * math/test-snan.c: Renamed from
5466 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5467 * math/Makefile (tests): Add test-snan.
5468 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5469 test-powerpc-snan.
5470
5471 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5472 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5473 functions.
5474 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5475 __builtin_nan family of functions.
5476 * math/libm-test.inc (initialize): Initialize qnan_value with
5477 __builtin_nan family of functions.
5478 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5479 Remove variables.
5480 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5481 Remove functions.
5482 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5483 storage class. Initialize qNaN_var and sNaN_var with
5484 __builtin_nan and __builtin_nans families of functions,
5485 respectively.
5486
5487 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5488 (sqrt_test): Remove duplicate test with qNaN input.
5489 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5490 (round_test, signbit_test, significand_test): Note missing +/-Inf
5491 as well as qNaN tests.
5492
5493 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5494 qNaN_var. Fix a few strings, too.
5495 * math/libm-test.inc (nan_value): Rename to qnan_value.
5496 * math/gen-libm-test.pl (%beautify): Adjust to that.
5497 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5498 * math/test-misc.c (main): Likewise.
5499 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5500 to __qnan_bytes, and __qnan_union, respectively.
5501 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5502 Likewise.
5503 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5504 and lqnanval, respectively.
5505 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5506 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5507 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5508 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5509
5510 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5511 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5512 doubles.
5513
5514 * math/test-misc.c (main): Fix copy'n'pastos.
5515 * misc/tst-efgcvt.c (special): Likewise.
5516
5517 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5518 Remove declarations.
5519
5520 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5521
5522 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5523 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5524 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5525 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5526
5527 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5528
5529 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5530 macro to return vdso values correctly in IFUNC implementations.
5531 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5532 Optimization by using IFUNC.
5533
5534 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5535 Richard Henderson <rth@redhat.com>
5536 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5537
5538 * Makefile.in (bench): New target.
5539 * NEWS: Mention the benchmark framework.
5540 * Rules (bench): Likewise.
5541 (binaries-bench): Generate binaries for functions to
5542 benchmark.
5543 * benchtests/Makefile: New makefile for benchmark tests.
5544 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5545 programs.
5546 * benchtests/exp-inputs: New input file for EXP function.
5547 * benchtests/pow-inputs: New input file for POW function.
5548 * scripts/bench.pl: New script to generate source files for
5549 benchmark programs.
5550
5551 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5552
5553 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5554 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5555 computations on mantissa. Use macros for rounding and
5556 division.
5557 (denorm): Likewise.
5558 (__dbl_mp): Likewise.
5559 (add_magnitudes): Likewise.
5560 (sub_magnitudes): Likewise.
5561 (__mul): Likewise.
5562 (__sqr): Likewise.
5563 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5564 powers of two in terms of TWOPOW macro.
5565 (mp_no): Make type of mantissa as MANTISSA_T.
5566 [!RADIXI]: Define RADIXI.
5567 [!TWO52]: Define TWO52.
5568 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5569
5570 * manual/nptl.texi (cindex): Modify threads to pthreads.
5571
5572 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5573
5574 * sysdeps/x86_64/preconfigure: Regenerated.
5575
5576 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5577
5578 [BZ #14155]
5579 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5580 0x1p28 and above.
5581 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5582 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5583 0x1p28 and above.
5584 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5585 * math/libm-test.inc (j0_test): Do not allow one spurious
5586 underflow exception.
5587 (y1_test): Likewise.
5588
5589 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5590
5591 * manual/Makefile (chapters): Add nptl.
5592 * manual/debug.texi (Debugging Support): Add link to Threads
5593 chapter.
5594 * manual/nptl.texi: New file.
5595
5596 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5597
5598 2013-03-14 Petr Baudis <pasky@ucw.cz>
5599
5600 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5601 for non-NULL pointer before the memory validity test. Pointed
5602 out by Holger Brunck <holger.brunck@keymile.com>.
5603
5604 2013-03-13 Andreas Schwab <schwab@suse.de>
5605
5606 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5607 instead of .os.
5608
5609 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5610
5611 * timezone/zic.c: Update from tzcode 2013b.
5612
5613 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5614
5615 * manual/install.texi (Configuring and compiling):
5616 Mention i686 and i586.
5617 * INSTALL: Regenerate.
5618
5619 2013-03-12 Roland McGrath <roland@hack.frob.com>
5620
5621 * sysdeps/init_array/elf-init.c: New file.
5622 * csu/elf-init.c
5623 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5624 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5625
5626 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5627 __gmon_start__ as global, but as static with a .preinit_array pointer.
5628 * sysdeps/init_array/gmon-start.c: New file. Use that.
5629 * sysdeps/init_array/crti.S: New file, empty except for comments.
5630 * sysdeps/init_array/crtn.S: Likewise.
5631
5632 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5633
5634 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5635 definining bcopy.
5636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5637 Remove Prefer_SSE_for_memop.
5638 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5639 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5640 HAS_PREFER_SSE_FOR_MEMOP.
5641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5642 memset-x86-64.
5643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5644 Remove bzero, memset ifunc support.
5645 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5646 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5647 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5648 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5649
5650 2013-03-11 Andreas Schwab <schwab@suse.de>
5651
5652 [BZ #15234]
5653 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5654 by SHLIB_COMPAT.
5655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5656 (GLIBC_2.16): Remove pthread_atfork.
5657
5658 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5659
5660 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5661 (ptestcases.h): Likewise.
5662
5663 2013-03-08 Roland McGrath <roland@hack.frob.com>
5664
5665 * Makeconfig ($(common-objpfx)config.status): Depend on
5666 sysdeps/*/preconfigure{,.in} too.
5667
5668 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5669
5670 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5671 (__free_hook): Use void * instead of __malloc_ptr_t.
5672 (__malloc_hook): Likewise.
5673 (__realloc_hook): Likewise.
5674 (__memalign_hook): Likewise.
5675 (__after_morecore_hook): Likewise.
5676 * malloc/arena.c (save_malloc_hook): Likewise.
5677 (save_free_hook): Likewise.
5678 * malloc/hooks.c (malloc_hook_ini): Likewise.
5679 (realloc_hook_ini): Likewise.
5680 (memalign_hook_ini): Likewise.
5681 * malloc/malloc.c (malloc_hook_ini): Likewise.
5682 (realloc_hook_ini): Likewise.
5683 (memalign_hook_ini): Likewise.
5684 (__free_hook): Likewise.
5685 (__malloc_hook): Likewise.
5686 (__realloc_hook): Likewise.
5687 (__memalign_hook): Likewise.
5688 (__libc_malloc): Likewise.
5689 (__libc_free): Likewise.
5690 (__libc_realloc): Likewise.
5691 (__libc_memalign): Likewise.
5692 (__libc_valloc): Likewise.
5693 (__libc_pvalloc): Likewise.
5694 (__libc_calloc): Likewise.
5695 (__posix_memalign): Likewise.
5696 * malloc/morecore.c (__sbrk): Likewise.
5697 (__default_morecore): Likewise.
5698
5699 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5700
5701 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5702 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5703 __malloc_ptrdiff_t.
5704
5705 * malloc/malloc.h (__malloc_size_t): Remove macro.
5706 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5707 __malloc_size_t.
5708 (old_memalign_hook): Likewise.
5709 (old_realloc_hook): Likewise.
5710 (struct hdr): Likewise.
5711 (flood): Likewise.
5712 (mallochook): Likewise.
5713 (memalignhook): Likewise.
5714 (reallochook): Likewise.
5715 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5716 (tr_old_realloc_hook): Likewise.
5717 (tr_old_memalign_hook): Likewise.
5718 (tr_mallochook): Likewise.
5719 (tr_reallochook): Likewise.
5720 (tr_memalignhook): Likewise.
5721
5722 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5723
5724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5725 default_ldbl_pack and using as default implementation.
5726 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5727 implementation.
5728 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5729 redundant definition.
5730 (ldbl_insert_mantissa): Likewise.
5731 (ldbl_canonicalize): Likewise.
5732 (ldbl_nearbyint): Likewise.
5733 (ldbl_pack): Rename to ldbl_pack_ppc.
5734 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5735 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5736 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5737
5738 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5739
5740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5741 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5742 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5743 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5745 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5746 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5747 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5748
5749 2013-03-07 Andreas Jaeger <aj@suse.de>
5750
5751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5752 bits/mman-linux.h.
5753
5754 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5755
5756 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5757 Include mpa.h and declare __MPEXP.
5758 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5759 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5760 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5761 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5762 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5763 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5764 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5765
5766 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5767 (__slowpow): Use long double EXPL and LOGL functions to
5768 compute POW.
5769 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5770 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5771 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5772 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5773 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5774 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5775
5776 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5777 intermediate variable to calculate exponent.
5778 (__sqr): Likewise.
5779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5780 Likewise.
5781 (__sqr): Likewise.
5782
5783 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5784 [!NO__SQR]: Define __sqr.
5785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5786 and NO__SQR. Remove all code except __mul and __sqr. Include
5787 sysdeps/ieee754/dbl-64/mpa.c.
5788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5789
5790 [BZ #12723]
5791 * posix/Makefile (tests): Add tst-pathconf.
5792 * posix/tst-pathconf.c: New test case.
5793 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5794 _PC_PIPE_BUF.
5795 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5796
5797 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5798
5799 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5800
5801 2013-03-06 Andreas Jaeger <aj@suse.de>
5802
5803 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5804 definition via __MAP_ANONYMOUS.
5805
5806 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5807 it's not part of Linux headers.
5808
5809 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5810 (MAP_HUGE_MASK): Define.
5811
5812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5813 Define.
5814 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5815 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5816 Define.
5817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5818 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5819 Define.
5820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5821 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5822 Define.
5823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5824
5825 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5826 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5827 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5828 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5829 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5830 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5831
5832 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5833 Handle f2fs.
5834
5835 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5836 Handle f2fs and efivarfs.
5837
5838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5839 f2fs.
5840
5841 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5842 (EFIVARFS_MAGIC): Add.
5843 (F2FS_LINK_MAX): Add.
5844
5845 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5846
5847 * stdio-common/vfprintf.c: Replace __builtin_expect with
5848 __glibc_unlikely.
5849
5850 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5851
5852 [BZ #13550]
5853 * sysdeps/generic/bp-sym.h: Remove file.
5854 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5855 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5856 <bp-sym.h> and <bp-asm.h>.
5857 (__longjmp): Don't use BP_SYM.
5858 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5859 and <bp-asm.h>.
5860 (memcpy): Don't use BP_SYM.
5861 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5862 <bp-sym.h> and <bp-asm.h>.
5863 (memcpy): Don't use BP_SYM.
5864 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5865 <bp-asm.h>.
5866 (memcpy): Don't use BP_SYM.
5867 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5868 <bp-asm.h>.
5869 (memset): Don't use BP_SYM.
5870 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5871 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5872 (__bzero): Don't use BP_SYM.
5873 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5874 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5875 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5876 <bp-sym.h> and <bp-asm.h>.
5877 (memcmp): Don't use BP_SYM. Remove comment about bounded
5878 pointers.
5879 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5880 <bp-sym.h> and <bp-asm.h>.
5881 (memcpy): Don't use BP_SYM.
5882 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5883 <bp-sym.h> and <bp-asm.h>.
5884 (memset): Don't use BP_SYM.
5885 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5886 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5887 (__bzero): Don't use BP_SYM.
5888 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5889 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5890 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (strncmp): Don't use BP_SYM. Remove comment about bounded
5893 pointers.
5894 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5895 <bp-sym.h> and <bp-asm.h>.
5896 (memcpy): Don't use BP_SYM.
5897 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5898 <bp-sym.h> and <bp-asm.h>.
5899 (memset): Don't use BP_SYM.
5900 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5901 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5902 (__bzero): Don't use BP_SYM.
5903 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5904 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5906 <bp-sym.h> and <bp-asm.h>.
5907 (__memchr): Don't use BP_SYM.
5908 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5909 <bp-sym.h> and <bp-asm.h>.
5910 (memcmp): Don't use BP_SYM. Remove comment about bounded
5911 pointers.
5912 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5913 <bp-sym.h> and <bp-asm.h>.
5914 (memcpy): Don't use BP_SYM.
5915 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5916 <bp-sym.h> and <bp-asm.h>.
5917 (__mempcpy): Don't use BP_SYM.
5918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5919 <bp-sym.h> and <bp-asm.h>.
5920 (__memrchr): Don't use BP_SYM.
5921 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5922 <bp-sym.h> and <bp-asm.h>.
5923 (memset): Don't use BP_SYM.
5924 (__bzero): Likewise.
5925 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5926 <bp-sym.h> and <bp-asm.h>.
5927 (__rawmemchr): Don't use BP_SYM.
5928 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5929 <bp-sym.h> and <bp-asm.h>.
5930 (__STRCMP): Don't use BP_SYM.
5931 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5932 <bp-sym.h> and <bp-asm.h>.
5933 (strchr): Don't use BP_SYM.
5934 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5935 <bp-sym.h> and <bp-asm.h>.
5936 (__strchrnul): Don't use BP_SYM.
5937 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5938 <bp-sym.h> and <bp-asm.h>.
5939 (strlen): Don't use BP_SYM.
5940 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5941 <bp-sym.h> and <bp-asm.h>.
5942 (strncmp): Don't use BP_SYM. Remove comment about bounded
5943 pointers.
5944 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5945 <bp-sym.h> and <bp-asm.h>.
5946 (__strnlen): Don't use BP_SYM.
5947 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5948 <bp-sym.h> and <bp-asm.h>.
5949 (__GI__setjmp): Don't use BP_SYM.
5950 (_setjmp): Likewise.
5951 (__sigsetjmp): Likewise.
5952 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5953 (L(start_addresses)): Don't use BP_SYM.
5954 (_start): Likewise.
5955 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5956 <bp-asm.h>.
5957 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5958 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5959 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5960 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5961 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5962 <bp-asm.h>.
5963 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5964 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5965 about bounded pointers.
5966 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5967 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5968 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5969 <bp-asm.h>.
5970 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5971 about bounded pointers. Remove GKM FIXME comments.
5972 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5973 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5974 <bp-asm.h>.
5975 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5976 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5977 Remove GKM FIXME comments.
5978 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5979 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5980 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5981 <bp-asm.h>.
5982 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5983 about bounded pointers. Remove GKM FIXME comment.
5984 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5985 and <bp-asm.h>.
5986 (strncmp): Don't use BP_SYM. Remove comment about bounded
5987 pointers.
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5989 <bp-sym.h> and <bp-asm.h>.
5990 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5992 <bp-sym.h> and <bp-asm.h>.
5993 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5994 comment.
5995
5996 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5997
5998 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5999 call free(NULL).
6000
6001 2013-03-05 David S. Miller <davem@davemloft.net>
6002
6003 * po/es.po: Update from translation team.
6004
6005 2013-03-05 Andreas Jaeger <aj@suse.de>
6006
6007 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6008 <bits/mman-linux.h>.
6009 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6010 is fine.
6011 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6012 <bits/mman-linux.h> to end of file.
6013 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6014 is fine.
6015 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6016 <bits/mman-linux.h> to end of file.
6017 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6018 is fine.
6019 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6020 <bits/mman-linux.h> to end of file.
6021
6022 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6023 (MCL_CURRENT, MCL_FUTURE): Define here.
6024
6025 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6026
6027 [BZ #15232]
6028 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6029 attribute_hidden.
6030 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6031
6032 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6033
6034 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6035 fourth parameter needed for rt_sigprocmask syscall.
6036 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6037 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6039 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6040 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6041 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6042
6043 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6044
6045 [BZ #13550]
6046 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6047 comment about bounded pointers.
6048 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6049 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6050
6051 2013-03-04 Andreas Jaeger <aj@suse.de>
6052
6053 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6054 common definitions.
6055
6056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6057 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6058 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6059 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6061 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6062
6063 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6064
6065 [BZ #15055]
6066 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6067 __ieee754_sqrl instead of __sqrl.
6068
6069 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6070
6071 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6072 * sysdeps/powerpc/fpu_control.h: ... here.
6073 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6074 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6075 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6076 * sysdeps/powerpc/bits/mathinline.h: ... here.
6077
6078 2013-03-01 Roland McGrath <roland@hack.frob.com>
6079
6080 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6081 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6082 to just [NEED_DL_SYSINFO_DSO].
6083 * elf/dl-support.c: Likewise.
6084 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6085 * elf/rtld.c (dl_main): Likewise.
6086 * elf/setup-vdso.h (setup_vdso): Likewise.
6087 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6088 * sysdeps/unix/sysv/linux/dl-sysdep.c
6089 (_dl_discover_osversion): Likewise.
6090
6091 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6092
6093 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6094 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6095
6096 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6097
6098 * NEWS: Mention libm performance improvements and non-x86 PI
6099 futex support.
6100
6101 * csu/libc-start.c (__pthread_initialize_minimal): Change
6102 function arguments.
6103 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6104
6105 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6106
6107 [BZ #13550]
6108 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6109 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6110 <bp-sym.h> and <bp-asm.h>.
6111 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6112 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6113 and <bp-asm.h>.
6114 (memcpy): Don't use BP_SYM.
6115 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6116 <bp-asm.h>.
6117 (__mpn_add_n): Don't use BP_SYM.
6118 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6119 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6120 and <bp-asm.h>.
6121 (__mpn_addmul_1): Don't use BP_SYM.
6122 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6123 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6124 <bp-sym.h>.
6125 (_setjmp): Don't use BP_SYM.
6126 (__novmx_setjmp): Likewise.
6127 (__GI__setjmp): Likewise.
6128 (__vmx_setjmp): Likewise.
6129 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6130 <bp-sym.h>.
6131 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6132 (__bzero): Don't use BP_SYM.
6133 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6134 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6135 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6136 <bp-sym.h> and <bp-asm.h>.
6137 (memcpy): Don't use BP_SYM.
6138 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6139 <bp-sym.h> and <bp-asm.h>.
6140 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6141 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6142 <bp-sym.h> and <bp-asm.h>.
6143 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6144 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6145 <bp-asm.h>.
6146 (__mpn_lshift): Don't use BP_SYM.
6147 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6148 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6149 <bp-asm.h>.
6150 (memset): Don't use BP_SYM.
6151 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6152 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6153 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6154 <bp-asm.h>.
6155 (__mpn_mul_1): Don't use BP_SYM.
6156 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6158 <bp-sym.h> and <bp-asm.h>.
6159 (memcmp): Don't use BP_SYM.
6160 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6161 <bp-sym.h> and <bp-asm.h>.
6162 (memcpy): Don't use BP_SYM.
6163 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6164 <bp-sym.h> and <bp-asm.h>.
6165 (memset): Don't use BP_SYM.
6166 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6167 <bp-sym.h> and <bp-asm.h>.
6168 (strncmp): Don't use BP_SYM.
6169 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6170 <bp-sym.h> and <bp-asm.h>.
6171 (memcpy): Don't use BP_SYM.
6172 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6173 <bp-sym.h> and <bp-asm.h>.
6174 (memset): Don't use BP_SYM.
6175 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6176 <bp-sym.h> and <bp-asm.h>.
6177 (__memchr): Don't use BP_SYM.
6178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6179 <bp-sym.h> and <bp-asm.h>.
6180 (memcmp): Don't use BP_SYM.
6181 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6182 <bp-sym.h> and <bp-asm.h>.
6183 (memcpy): Don't use BP_SYM.
6184 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6185 <bp-sym.h> and <bp-asm.h>.
6186 (__mempcpy): Don't use BP_SYM.
6187 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6188 <bp-sym.h> and <bp-asm.h>.
6189 (__memrchr): Don't use BP_SYM.
6190 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6191 <bp-sym.h> and <bp-asm.h>.
6192 (memset): Don't use BP_SYM.
6193 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6194 <bp-sym.h> and <bp-asm.h>.
6195 (__rawmemchr): Don't use BP_SYM.
6196 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6197 <bp-sym.h> and <bp-asm.h>.
6198 (__STRCMP): Don't use BP_SYM.
6199 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6200 <bp-sym.h> and <bp-asm.h>.
6201 (strchr): Don't use BP_SYM.
6202 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6203 <bp-sym.h> and <bp-asm.h>.
6204 (__strchrnul): Don't use BP_SYM.
6205 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6206 <bp-sym.h> and <bp-asm.h>.
6207 (strlen): Don't use BP_SYM.
6208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6209 <bp-sym.h> and <bp-asm.h>.
6210 (strncmp): Don't use BP_SYM.
6211 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6212 <bp-sym.h> and <bp-asm.h>.
6213 (__strnlen): Don't use BP_SYM.
6214 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6215 <bp-asm.h>.
6216 (__mpn_rshift): Don't use BP_SYM.
6217 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6218 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6219 <bp-sym.h> and <bp-asm.h>.
6220 (__sigsetjmp): Don't use BP_SYM.
6221 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6222 (L(start_addresses)): Don't use BP_SYM.
6223 (_start): Likewise.
6224 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6225 <bp-asm.h>.
6226 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6227 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6228 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6229 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6230 <bp-asm.h>.
6231 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6232 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6233 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6234 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6235 <bp-asm.h>.
6236 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6237 comments.
6238 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6239 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6240 <bp-asm.h>.
6241 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6242 FIXME comments.
6243 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6244 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6245 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6246 <bp-asm.h>.
6247 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6248 comment.
6249 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6250 and <bp-asm.h>.
6251 (strncmp): Don't use BP_SYM,
6252 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6253 <bp-asm.h>.
6254 (__mpn_sub_n): Don't use BP_SYM.
6255 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6256 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6257 and <bp-asm.h>.
6258 (__mpn_submul_1): Don't use BP_SYM.
6259 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6261 <bp-sym.h> and <bp-asm.h>.
6262 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6264 <bp-sym.h> and <bp-asm.h>.
6265 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6266 comment.
6267
6268 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6269
6270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6271 Use ZK to minimize writes to Z.
6272 (sub_magnitudes): Simplify code a bit.
6273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6274 Use ZK to minimize writes to Z.
6275 (sub_magnitudes): Simplify code a bit.
6276
6277 2013-02-27 Roland McGrath <roland@hack.frob.com>
6278
6279 * csu/gmon-start.c: Add special exception to license text.
6280
6281 2013-02-27 Richard Henderson <rth@redhat.com>
6282
6283 * scripts/config.guess: Update from config.git.
6284 * scripts/config.sub: Likewise.
6285
6286 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6287
6288 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6289
6290 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6291
6292 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6293
6294 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6295
6296 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6297
6298 2013-02-26 Roland McGrath <roland@hack.frob.com>
6299
6300 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6301 [$(build-shared = yes].
6302
6303 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6304
6305 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6306 (__mul): Reduce iterations for calculating mantissa.
6307
6308 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6309 MPTWO.
6310 (__mpranred): Likewise.
6311
6312 [BZ #15160]
6313 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6314 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6315
6316 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6317
6318 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6319 Define __attribute__.
6320
6321 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
6323 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6324 unused.
6325 * posix/regex_internal.h (__attribute): Remove.
6326 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6327 (re_string_context_at): Likewise.
6328 (bitset_not): Use __attribute__ and mark function as possibly
6329 unused.
6330 (bitset_merge): Likewise.
6331 (bitset_mask): Likewise.
6332 (re_string_char_size_at): Likewise.
6333 (re_string_wchar_at): Likewise.
6334 (re_string_elem_size_at): Likewise.
6335
6336 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6337
6338 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6339 code.
6340 (cc32): Likewise.
6341
6342 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6343 (__acr): Likewise.
6344 (__cpy): Likewise.
6345 (norm): Likewise.
6346 (denorm): Likewise.
6347 (__dbl_mp): Likewise.
6348 (add_magnitudes): Likewise.
6349 (sub_magnitudes): Likewise.
6350 (__mul): Likewise.
6351 (__inv): Likewise.
6352
6353 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6354 style.
6355
6356 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6357 style.
6358
6359 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6360 code.
6361
6362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6363 up changes with default code.
6364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6365 Likewise.
6366
6367 2013-02-24 Allan McRae <allan@archlinux.org>
6368
6369 * manual/socket.texi (The Internet Namespace): Order menu items
6370 to match that in the file.
6371
6372 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6373 node listing of the info page menu.
6374
6375 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6376
6377 [BZ #13550]
6378 * sysdeps/i386/bp-asm.h: Remove file.
6379 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6380 (PARMS): Do not use macros from bp-asm.h.
6381 (S1): Likewise.
6382 (S2): Likewise.
6383 (SIZE): Likewise.
6384 (__mpn_add_n): Do not use BP_SYM
6385 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6386 "bp-asm.h".
6387 (PARMS): Do not use macros from bp-asm.h.
6388 (S1): Likewise.
6389 (SIZE): Likewise.
6390 (__mpn_addmul_1): Do not use BP_SYM
6391 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6392 "bp-asm.h".
6393 (PARMS): Do not use macros from bp-asm.h.
6394 (SIGMSK): Likewise.
6395 (_setjmp): Likewise. Do not use BP_SYM.
6396 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6397 "bp-asm.h".
6398 (PARMS): Do not use macros from bp-asm.h.
6399 (SIGMSK): Likewise.
6400 (setjmp): Likewise. Do not use BP_SYM.
6401 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6402 "bp-asm.h".
6403 (PARMS): Do not use macros from bp-asm.h.
6404 (__frexp): Do not use BP_SYM.
6405 (frexp): Likewise.
6406 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6407 "bp-asm.h".
6408 (PARMS): Do not use macros from bp-asm.h.
6409 (__frexpf): Do not use BP_SYM.
6410 (frexpf): Likewise.
6411 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6412 "bp-asm.h".
6413 (PARMS): Do not use macros from bp-asm.h.
6414 (__frexpl): Do not use BP_SYM.
6415 (frexpl): Likewise.
6416 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6417 "bp-asm.h".
6418 (PARMS): Do not use macros from bp-asm.h.
6419 (__remquo): Do not use BP_SYM.
6420 (remquo): Likewise.
6421 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6422 "bp-asm.h".
6423 (PARMS): Do not use macros from bp-asm.h.
6424 (__remquof): Do not use BP_SYM.
6425 (remquof): Likewise.
6426 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6427 "bp-asm.h".
6428 (PARMS): Do not use macros from bp-asm.h.
6429 (__remquol): Do not use BP_SYM.
6430 (remquol): Likewise.
6431 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6432 "bp-asm.h".
6433 (PARMS): Do not use macros from bp-asm.h.
6434 (DEST): Likewise.
6435 (SRC): Likewise.
6436 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6437 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6438 "bp-asm.h".
6439 (PARMS): Do not use macros from bp-asm.h.
6440 (strlen): Do not use BP_SYM.
6441 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6442 "bp-asm.h".
6443 (PARMS): Do not use macros from bp-asm.h.
6444 (S1): Likewise.
6445 (S2): Likewise.
6446 (SIZE): Likewise.
6447 (__mpn_add_n): Do not use BP_SYM.
6448 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6449 "bp-asm.h".
6450 (PARMS): Do not use macros from bp-asm.h.
6451 (S1): Likewise.
6452 (SIZE): Likewise.
6453 (__mpn_addmul_1): Do not use BP_SYM.
6454 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6455 weak_alias.
6456 (bzero): Likewise.
6457 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6458 "bp-asm.h".
6459 (PARMS): Do not use macros from bp-asm.h.
6460 (S): Likewise.
6461 (SIZE): Likewise.
6462 (__mpn_lshift): Do not use BP_SYM.
6463 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6464 "bp-asm.h".
6465 (PARMS): Do not use macros from bp-asm.h.
6466 (DEST): Likewise.
6467 (SRC): Likewise.
6468 (LEN): Likewise.
6469 (memcpy): Likewise. Do not use BP_SYM.
6470 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6471 libc_hidden_def and weak_alias.
6472 (mempcpy): Do not use BP_SYM in weak_alias.
6473 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6474 "bp-asm.h".
6475 (PARMS): Do not use macros from bp-asm.h.
6476 (DEST): Likewise.
6477 (LEN): Likewise.
6478 [!BZERO_P] (CHR): Likewise.
6479 (memset): Likewise. Do not use BP_SYM.
6480 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6481 "bp-asm.h".
6482 (PARMS): Do not use macros from bp-asm.h.
6483 (S1): Likewise.
6484 (SIZE): Likewise.
6485 (__mpn_mul_1): Do not use BP_SYM.
6486 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6487 "bp-asm.h".
6488 (PARMS): Do not use macros from bp-asm.h.
6489 (S): Likewise.
6490 (SIZE): Likewise.
6491 (__mpn_rshift): Do not use BP_SYM.
6492 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6493 "bp-asm.h".
6494 (PARMS): Do not use macros from bp-asm.h.
6495 (STR): Likewise.
6496 (CHR): Likewise.
6497 (strchr): Likewise. Do not use BP_SYM.
6498 (index): Do not use BP_SYM in weak_alias.
6499 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6500 "bp-asm.h".
6501 (PARMS): Do not use macros from bp-asm.h.
6502 (DEST): Likewise.
6503 (SRC): Likewise.
6504 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6505 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6506 "bp-asm.h".
6507 (PARMS): Do not use macros from bp-asm.h.
6508 (strlen): Do not use BP_SYM.
6509 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6510 "bp-asm.h".
6511 (PARMS): Do not use macros from bp-asm.h.
6512 (S1): Likewise.
6513 (S2): Likewise.
6514 (SIZE): Likewise.
6515 (__mpn_sub_n): Do not use BP_SYM.
6516 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6517 "bp-asm.h".
6518 (PARMS): Do not use macros from bp-asm.h.
6519 (S1): Likewise.
6520 (SIZE): Likewise.
6521 (__mpn_submul_1): Do not use BP_SYM.
6522 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6523 "bp-asm.h".
6524 (PARMS): Do not use macros from bp-asm.h.
6525 (S1): Likewise.
6526 (S2): Likewise.
6527 (SIZE): Likewise.
6528 (__mpn_add_n): Do not use BP_SYM.
6529 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6530 weak_alias.
6531 (bzero): Likewise.
6532 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6533 "bp-asm.h".
6534 (PARMS): Do not use macros from bp-asm.h.
6535 (BLK2): Likewise.
6536 (LEN): Likewise.
6537 (memcmp): Do not use BP_SYM.
6538 (bcmp): Do not use BP_SYM in weak_alias.
6539 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6540 "bp-asm.h".
6541 (PARMS): Do not use macros from bp-asm.h.
6542 (DEST): Likewise.
6543 (SRC): Likewise.
6544 (LEN): Likewise.
6545 (memcpy): Likewise. Do not use BP_SYM.
6546 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6547 "bp-asm.h".
6548 (PARMS): Do not use macros from bp-asm.h.
6549 (DEST): Likewise.
6550 (SRC): Likewise.
6551 (LEN): Likewise.
6552 (memmove): Likewise. Do not use BP_SYM.
6553 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6554 "bp-asm.h".
6555 (PARMS): Do not use macros from bp-asm.h.
6556 (DEST): Likewise.
6557 (SRC): Likewise.
6558 (LEN): Likewise.
6559 (__mempcpy): Likewise. Do not use BP_SYM.
6560 (mempcpy): Do not use BP_SYM in weak_alias.
6561 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6562 "bp-asm.h".
6563 (PARMS): Do not use macros from bp-asm.h.
6564 (DEST): Likewise.
6565 (LEN): Likewise.
6566 [!BZERO_P] (CHR): Likewise.
6567 (memset): Likewise. Do not use BP_SYM.
6568 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6569 "bp-asm.h".
6570 (PARMS): Do not use macros from bp-asm.h.
6571 (STR2): Likewise.
6572 (strcmp): Do not use BP_SYM.
6573 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6574 "bp-asm.h".
6575 (PARMS): Do not use macros from bp-asm.h.
6576 (STR): Likewise.
6577 (DELIM): Likewise.
6578 [USE_AS_STRTOK_R] (SAVE): Likewise.
6579 (FUNCTION): Likewise. Do not use BP_SYM.
6580 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6581 aliases.
6582 (strtok_r): Likewise.
6583 (__GI___strtok_r): Likewise.
6584 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6585 (PARMS): Do not use macros from bp-asm.h.
6586 (S): Likewise.
6587 (SIZE): Likewise.
6588 (__mpn_lshift): Do not use BP_SYM.
6589 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6590 (PARMS): Do not use macros from bp-asm.h.
6591 (STR): Likewise.
6592 (CHR): Likewise.
6593 (__memchr): Do not use BP_SYM.
6594 (memchr): Do not use BP_SYM in weak_alias.
6595 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6596 (PARMS): Do not use macros from bp-asm.h.
6597 (BLK2): Likewise.
6598 (LEN): Likewise.
6599 (memcmp): Do not use BP_SYM.
6600 (bcmp): Do not use BP_SYM in weak_alias.
6601 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6602 (PARMS): Do not use macros from bp-asm.h.
6603 (S1): Likewise.
6604 (SIZE): Likewise.
6605 (__mpn_mul_1): Do not use BP_SYM.
6606 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6607 "bp-asm.h".
6608 (PARMS): Do not use macros from bp-asm.h.
6609 (STR): Likewise.
6610 (CHR): Likewise.
6611 (__rawmemchr): Do not use BP_SYM.
6612 (rawmemchr): Do not use BP_SYM in weak_alias.
6613 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6614 (PARMS): Do not use macros from bp-asm.h.
6615 (S): Likewise.
6616 (SIZE): Likewise.
6617 (__mpn_rshift): Do not use BP_SYM.
6618 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6619 (PARMS): Do not use macros from bp-asm.h.
6620 (SIGMSK): Likewise.
6621 (__sigsetjmp): Likewise. Do not use BP_SYM.
6622 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6623 (_start): Do not use BP_SYM.
6624 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6625 (PARMS): Do not use macros from bp-asm.h.
6626 (DEST): Likewise.
6627 (SRC): Likewise.
6628 (__stpcpy): Likewise. Do not use BP_SYM.
6629 (stpcpy): Do not use BP_SYM in weak_alias.
6630 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6631 "bp-asm.h".
6632 (PARMS): Do not use macros from bp-asm.h.
6633 (DEST): Likewise.
6634 (SRC): Likewise.
6635 (LEN): Likewise.
6636 (__stpncpy): Likewise. Do not use BP_SYM.
6637 (stpncpy): Do not use BP_SYM in weak_alias.
6638 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6639 (PARMS): Do not use macros from bp-asm.h.
6640 (STR): Likewise.
6641 (CHR): Likewise.
6642 (strchr): Likewise. Do not use BP_SYM.
6643 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6644 "bp-asm.h".
6645 (PARMS): Do not use macros from bp-asm.h.
6646 (STR): Likewise.
6647 (CHR): Likewise.
6648 (__strchrnul): Likewise. Do not use BP_SYM.
6649 (strchrnul): Do not use BP_SYM in weak_alias.
6650 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6651 "bp-asm.h".
6652 (PARMS): Do not use macros from bp-asm.h.
6653 (STOP): Likewise.
6654 (strcspn): Do not use BP_SYM.
6655 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6656 "bp-asm.h".
6657 (PARMS): Do not use macros from bp-asm.h.
6658 (STR): Likewise.
6659 (STOP): Likewise.
6660 (strpbrk): Likewise. Do not use BP_SYM.
6661 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6662 "bp-asm.h".
6663 (PARMS): Do not use macros from bp-asm.h.
6664 (STR): Likewise.
6665 (CHR): Likewise.
6666 (strrchr): Likewise. Do not use BP_SYM.
6667 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6668 (PARMS): Do not use macros from bp-asm.h.
6669 (SKIP): Likewise.
6670 (strspn): Do not use BP_SYM.
6671 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6672 (PARMS): Do not use macros from bp-asm.h.
6673 (STR): Likewise.
6674 (DELIM): Likewise.
6675 (SAVE): Likewise.
6676 (FUNCTION): Likewise. Do not use BP_SYM.
6677 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6678 aliases.
6679 (strtok_r): Likewise.
6680 (__GI___strtok_r): Likewise.
6681 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6682 (PARMS): Do not use macros from bp-asm.h.
6683 (S1): Likewise.
6684 (S2): Likewise.
6685 (SIZE): Likewise.
6686 (__mpn_sub_n): Do not use BP_SYM.
6687 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6688 "bp-asm.h".
6689 (PARMS): Do not use macros from bp-asm.h.
6690 (S1): Likewise.
6691 (SIZE): Likewise.
6692 (__mpn_submul_1): Do not use BP_SYM.
6693 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6694 <bp-sym.h>.
6695 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6696 and <bp-asm.h>.
6697 (PARMS): Do not use macros from bp-asm.h.
6698 (FLAGS): Likewise.
6699 (PTID): Likewise.
6700 (TLS): Likewise.
6701 (CTID): Likewise.
6702 (__clone): Do not use BP_SYM.
6703 (clone): Do not use BP_SYM in weak_alias.
6704 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6705 and <bp-asm.h>.
6706 (PARMS): Do not use macros from bp-asm.h.
6707 (LEN): Likewise.
6708 (__mmap64): Do not use BP_SYM.
6709 (mmap64): Do not use BP_SYM in weak_alias.
6710 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6711 <bp-sym.h> and <bp-asm.h>.
6712 (PARMS): Do not use macros from bp-asm.h.
6713 (__posix_fadvise64_l64): Do not use BP_SYM.
6714 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6715 (PARMS): Do not use macros from bp-asm.h.
6716 (NSOPS): Likewise.
6717 (semtimedop): Do not use BP_SYM.
6718 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6719 and <bp-asm.h>.
6720
6721 2013-02-21 Allan McRae <allan@archlinux.org>
6722
6723 * manual/message.texi (Charset conversion in gettext):
6724 Move @end statement to beginning of line.
6725
6726 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6727
6728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6729 static.
6730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6731 Likewise.
6732
6733 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6734 (denorm): Likewise.
6735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6737
6738 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6739
6740 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6741 tail-call to the resolved function if pltexit isn't needed.
6742
6743 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6744
6745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6746 or Y being zero as being unlikely.
6747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6748 Likewise.
6749
6750 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6751
6752 * manual/nss.texi (System Databases and Name Service Switch):
6753 Remove frobnicate @pxref.
6754
6755 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6756
6757 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6758 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6759
6760 2013-02-20 Petr Machata <pmachata@redhat.com>
6761
6762 * elf/elf.h (R_ARM_TARGET1): New macro.
6763 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6764 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6765 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6766 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6767 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6768 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6769 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6770 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6771 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6772 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6773 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6774 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6775 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6776 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6777 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6778 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6779 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6780 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6781 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6782 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6783 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6784 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6785 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6786 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6787 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6788 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6789 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6790 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6791 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6792 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6793 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6794 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6795 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6796 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6797 (R_ARM_THM_GOT_BREL12): Likewise.
6798 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6799 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6800 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6801 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6802 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6803 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6804 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6805 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6806 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6807
6808 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6809
6810 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6811 __attribute_used__ to __attribute__ ((unused)).
6812
6813 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6814
6815 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6816 powerpc mpa.c.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6818 comment formatting.
6819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6820
6821 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6822
6823 [BZ #13550]
6824 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6825 Remove macro.
6826 (ENTER): Remove both macro definitions.
6827 (LEAVE): Likewise.
6828 (CHECK_BOUNDS_LOW): Likewise.
6829 (CHECK_BOUNDS_HIGH): Likewise.
6830 (CHECK_BOUNDS_BOTH): Likewise.
6831 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6832 (RETURN_BOUNDED_POINTER): Likewise.
6833 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6834 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6835 (POP_ERRNO_LOCATION_RETURN): Likewise.
6836 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6837 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6838 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6839 macros.
6840 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6841 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6842 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6843 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6844 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6845 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6846 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6847 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6848 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6849 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6850 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6851 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6852 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6853 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6854 removed macros.
6855 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6856 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6857 macros.
6858 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6859 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6860 * sysdeps/i386/i586/memset.S (memset): Likewise.
6861 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6862 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6863 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6864 macros.
6865 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6866 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6867 Change uses of L(2) to L(out).
6868 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6869 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6870 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6871 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6872 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6873 removed macros.
6874 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6875 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6876 macros.
6877 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6878 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6879 (RETURN): Do not use macro LEAVE.
6880 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6881 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6882 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6883 * sysdeps/i386/i686/memset.S (memset): Likewise.
6884 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6885 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6886 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6887 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6888 Likewise.
6889 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6890 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6891 L(1_2) and L(1_3) into L(1).
6892 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6893 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6894 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6895 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6896 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6897 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6898 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6899 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6900 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6901 macros.
6902 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6903 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6904 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6905 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6906 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6907 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6908 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6909 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6910 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6911 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6912 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6913 * sysdeps/i386/strspn.S (strspn): Likewise.
6914 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6915 conditional code.
6916 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6917 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6918 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6919 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6920 L(1_3) into L(1_1).
6921 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6922 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6923 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6924 macros.
6925 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6926
6927 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6928
6929 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6930 macro.
6931
6932 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6933
6934 * math/atest-exp.c (exp_mpn): Remove ROUND.
6935 * math/atest-exp2.c (exp_mpn): Likewise.
6936 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6937
6938 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6939 * stdlib/tst-tls-atexit-lib.c: Likewise.
6940 * stdlib/tst-tls-atexit.c: Likewise.
6941
6942 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6943
6944 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6945 and __attribute_alloc_size__.
6946
6947 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6948
6949 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6950 __attribute_alloc_size__.
6951 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6952 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6953
6954 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6955
6956 * include/programs/xmalloc.h: New file.
6957 * catgets/gencat.c: Include it.
6958 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6959 * elf/pldd.c: Likewise.
6960 * iconv/iconv_charmap.c: Likewise.
6961 * iconv/iconvconfig.c: Likewise.
6962 * iconv/strtab.c: Likewise.
6963 * locale/programs/locale.c: Likewise.
6964 * locale/programs/localedef.h: Likewise.
6965 * locale/programs/simple-hash.c: Likewise.
6966 * nscd/nscd.h: Likewise.
6967 * nss/makedb.c: Likewise.
6968 * sysdeps/generic/ldconfig.h: Likewise.
6969
6970 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6971
6972 * Versions.def: Add GLIBC_2.18.
6973 * include/link.h (struct link_map): New member l_tls_dtor_count.
6974 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6975 (__call_tls_dtors): Likewise.
6976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6977 __cxa_thread_atexit_impl.
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6979 Likewise.
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6981 Likewise.
6982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6983 Likewise.
6984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6985 Likewise.
6986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6988 Likewise.
6989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6990 Likewise.
6991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6993 Likewise.
6994 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6995 (tests): Add test case tst-tls-atexit.
6996 (modules-names): Add shared library for tst-tls-atexit.
6997 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6998 (GLIBC_PRIVATE): Add __call_tls_dtors.
6999 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7000 for libstdc++.
7001 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7002 * stdlib/tst-tls-atexit.c: New test case.
7003 * stdlib/tst-tls-atexit-lib.c: New test case.
7004
7005 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7006
7007 * elf/Versions (ld): Add _dl_find_dso_for_object.
7008 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7009 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7010 (dl_open_worker): Use _dl_find_dso_for_object.
7011 * elf/dl-sym.c (do_sym): Likewise.
7012 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7013
7014 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7015
7016 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7017 Syntactic changes only.
7018 (_dl_runtime_profile): Do a tail-call to the resolved function.
7019
7020 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7021
7022 [BZ #13550]
7023 * sysdeps/x86_64/bp-asm.h: Remove file.
7024 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7025 <bp-sym.h> and <bp-asm.h>.
7026 (__clone): Do not use BP_SYM.
7027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7028 <bp-sym.h> and <bp-asm.h>.
7029 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7030 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7031 "bp-asm.h".
7032 (_setjmp): Do not use BP_SYM.
7033 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7034 "bp-asm.h".
7035 (setjmp): Do not use BP_SYM.
7036 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7037 libc_hidden_def.
7038 (mempcpy): Do not use BP_SYM in weak_alias.
7039 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7040 "bp-asm.h".
7041 (strchr): Do not use BP_SYM.
7042 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7043 "bp-asm.h".
7044 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7045 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7046 (_start): Do not use BP_SYM.
7047 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7048 "bp-asm.h".
7049 (strcat): Do not use BP_SYM.
7050 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7051 "bp-asm.h".
7052 (STRCMP): Do not use BP_SYM.
7053 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7054 "bp-asm.h".
7055 (STRCPY): Do not use BP_SYM.
7056 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7057 "bp-asm.h".
7058 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7059 "bp-asm.h".
7060 (FUNCTION): Do not use BP_SYM.
7061 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7062 weak_alias.
7063 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7064
7065 2013-02-17 Andreas Jaeger <aj@suse.de>
7066
7067 * time/Versions: Sort entries.
7068 * string/Versions: Likewise.
7069 * resolv/Versions: Likewise.
7070 * posix/Versions: Likewise.
7071 * iconv/Versions: Likewise.
7072 * elf/Versions: Likewise.
7073 * wcsmbs/Versions: Likewise.
7074
7075 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7076
7077 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7078 loop termination condition.
7079
7080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7081 variable to calculate EZ.
7082 (__sqr): Likewise.
7083
7084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7085 the lower precision input.
7086
7087 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7088
7089 [BZ #13550]
7090 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7091 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7092 (run-via-rtld-prefix): Do not handle %-bp tests.
7093 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7094 (all-object-suffixes): Remove .ob.
7095 (bppfx): Remove variable.
7096 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7097 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7098 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7099 [$(build-bounded) = yes] (libtype.ob): Likewise.
7100 * Makerules (elide-routines.ob): Remove variable.
7101 (do-tests-clean): Do not handle *-bp.out.
7102 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7103 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7104 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7105 (tests): Do not include $(tests-bp.out).
7106 (xtests): Do not include $(xtests-bp.out).
7107 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7108 [$(build-bounded) = yes] ($(addprefix
7109 $(objpfx),$(binaries-bounded))): Remove rule.
7110 ($(objpfx)%-bp.out): Remove rule.
7111 * config.make.in (build-bounded): Remove variable.
7112 * crypt/Makefile [$(build-bounded) = yes]
7113 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7114 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7115 append to variable.
7116 [$(build-bounded) = yes] (install-lib): Likewise.
7117 [$(build-bounded) = yes] (generated): Likewise.
7118 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7119 Remove rule.
7120 * intl/Makefile [$(build-bounded) = yes]
7121 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7122 * math/Makefile [$(build-bounded) = yes]
7123 ($(tests:%=$(objpfx)%-bp): Likewise.
7124 * misc/Makefile [$(build-bounded) = yes]
7125 ($(objpfx)tst-tsearch-bp): Likewise.
7126 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7127 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7128 Remove dependency.
7129 * string/Makefile (o-objects.ob): Remove variable.
7130 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7131 (CFLAGS-.ob): Remove variable.
7132 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7133 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7134 both definitions of variable.
7135 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7136 (ASFLAGS-.ob): Remove variable.
7137
7138 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7139
7140 [BZ #13550]
7141 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7142 Remove __BOUNDED_POINTERS__ from condition.
7143 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7144 * string/bits/string2.h [!__NO_STRING_INLINES &&
7145 !__BOUNDED_POINTERS__]: Likewise.
7146 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7147 Likewise.
7148 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7149 Remove conditional code.
7150 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7151 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7152 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7153 condition.
7154
7155 [BZ #13550]
7156 * csu/libc-start.c: Do not include <bp-sym.h>.
7157 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7158 * elf/dl-open.c: Do not include <bp-sym.h>.
7159 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7160 * math/fegetenv.c: Do not include <bp-sym.h>.
7161 (fegetenv): Do not use BP_SYM in versioned symbols.
7162 * nptl/sysdeps/pthread/bits/libc-lockP.h
7163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7164 <bp-sym.h>.
7165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7166 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7168 (__pthread_mutex_destroy): Likewise.
7169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7170 (__pthread_mutex_lock): Likewise.
7171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7172 (__pthread_mutex_trylock): Likewise.
7173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7174 (__pthread_mutex_unlock): Likewise.
7175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7176 (__pthread_mutexattr_init): Likewise.
7177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7178 (__pthread_mutexattr_destroy): Likewise.
7179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7180 (__pthread_mutexattr_settype): Likewise.
7181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7182 (__pthread_rwlock_init): Likewise.
7183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7184 (__pthread_rwlock_destroy): Likewise.
7185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7186 (__pthread_rwlock_rdlock): Likewise.
7187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7188 (__pthread_rwlock_tryrdlock): Likewise.
7189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7190 (__pthread_rwlock_wrlock): Likewise.
7191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7192 (__pthread_rwlock_trywrlock): Likewise.
7193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7194 (__pthread_rwlock_unlock): Likewise.
7195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7196 (__pthread_key_create): Likewise.
7197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7198 (__pthread_setspecific): Likewise.
7199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7200 (__pthread_getspecific): Likewise.
7201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7202 Likewise.
7203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7204 (_pthread_cleanup_push_defer): Likewise.
7205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7206 (_pthread_cleanup_pop_restore): Likewise.
7207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7208 (pthread_setcancelstate): Likewise.
7209 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7210 <bp-sym.h>.
7211 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7212 (memchr): Do not use BP_SYM in weak_alias.
7213 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7214 (fegetenv): Do not use BP_SYM in versioned symbols.
7215 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7216 (fesetenv): Do not use BP_SYM in versioned symbols.
7217 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7218 (feupdateenv): Do not use BP_SYM in versioned symbols.
7219 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7220 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7221 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7222 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7223 (open64): Do not use BP_SYM in weak_alias.
7224 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7225 (fegetenv): Do not use BP_SYM in versioned symbols.
7226 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7227 (fesetenv): Do not use BP_SYM in versioned symbols.
7228 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7229 (feupdateenv): Do not use BP_SYM in versioned symbols.
7230 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7231 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7232 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7233 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7234 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7235 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7236 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7237 <bp-sym.h>.
7238 (__libc_start_main): Do not use BP_SYM.
7239
7240 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7241
7242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7243 redundant return line.
7244 (norm): Likewise.
7245 (denorm): Likewise.
7246 (dbl_mp): Likewise.
7247 (sub_magnitudes): Likewise.
7248 (__add): Likewise.
7249 (__sub): Likewise.
7250 (__mul): Likewise.
7251 (__inv): Likewise.
7252 (__dvd): Likewise.
7253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7254 (norm): Likewise.
7255 (denorm): Likewise.
7256 (dbl_mp): Likewise.
7257 (sub_magnitudes): Likewise.
7258 (__add): Likewise.
7259 (__sub): Likewise.
7260 (__mul): Likewise.
7261 (__inv): Likewise.
7262 (__dvd): Likewise.
7263
7264 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7265 instead of __mul.
7266 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7267 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7268 (cc32): Likewise.
7269
7270 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7271 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7273 of __mul for squares.
7274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7275 function
7276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7277 Likewise.
7278 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7279 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7280
7281 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7282
7283 [BZ #13550]
7284 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7285 code.
7286 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7287 prototype or function definition. Rename ubp_* variables and
7288 parameters. Remove argv definitions conditional on
7289 [__BOUNDED_POINTERS__].
7290 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7291 * elf/dl-runtime.c (_dl_fixup): Likewise.
7292 * include/set-hooks.h (RUN_HOOK): Likewise.
7293 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7294 definition.
7295 * string/strcpy.c (strcpy): Do not use __unbounded.
7296 * sysdeps/generic/frame.h (struct layout): Likewise.
7297 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7298 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7299 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7300 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7301 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7302 (__backtrace): Likewise.
7303 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7304 use __ptrvalue.
7305 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7306 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7307 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7308 Likewise.
7309 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7310 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7311 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7312 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7313 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7314 Do not use __unbounded.
7315 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7316 Rename __unboundedrlimits parameter to rlimits in prototype.
7317 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7318 Do not use __unbounded.
7319 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7320 not use __ptrvalue.
7321 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7322 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7323 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7324 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7325 __ptrvalue or __unbounded.
7326 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7327 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7328 use __unbounded.
7329 (__new_msgctl): Do not use __ptrvalue.
7330 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7331 __unbounded.
7332 (__libc_msgrcv): Do not use __ptrvalue.
7333 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7334 startup_info): Do not use __unbounded.
7335 (__libc_start_main): Likewise. Rename ubp_* variables and
7336 parameters. Remove argv definitions conditional on
7337 [__BOUNDED_POINTERS__].
7338 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7339 __ptrvalue.
7340 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7341 use __unbounded.
7342 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7343 or __ptrvalue.
7344 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7345 use __unbounded.
7346 (__new_shmctl): Do not use __ptrvalue.
7347 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7348 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7349 Likewise.
7350 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7351 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7352 (__libc_sigaction): Likewise.
7353 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7354 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7355 Likewise.
7356 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7357
7358 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7359
7360 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7361
7362 * string/mempcpy.c: Implement by calling memcpy.
7363
7364 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7365
7366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7367
7368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7369 evaluation.
7370
7371 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7372 values in the mantissa.
7373
7374 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7375 minimize writes to Z.
7376 (sub_magnitudes): Simplify code a bit.
7377
7378 2013-02-12 Roland McGrath <roland@hack.frob.com>
7379
7380 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7381 from the message. The linker prefixes all warnings with that already.
7382
7383 2013-02-12 Andreas Schwab <schwab@suse.de>
7384
7385 [BZ #15078]
7386 * posix/regexec.c (extend_buffers): Add parameter min_len.
7387 (check_matching): Pass minimum needed length.
7388 (clean_state_log_if_needed): Likewise.
7389 (get_subexp): Likewise.
7390 * posix/Makefile (tests): Add bug-regex34.
7391 (bug-regex34-ENV): Define.
7392 * posix/bug-regex34.c: New file.
7393
7394 [BZ #11561]
7395 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7396 elements compare against the byte sequence of it, not its name.
7397 * posix/Makefile (tests): Add bug-regex35.
7398 (bug-regex35-ENV): Define.
7399 * posix/bug-regex35.c: New file.
7400
7401 2013-02-11 Tom de Vries <tom@codesourcery.com>
7402
7403 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7404 comment.
7405 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7406 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7407 (CHECK_EOL): Add undef.
7408
7409 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7410
7411 * bits/stdlib-bsearch.h: New file.
7412 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7413 * stdlib/stdlib.h: Likewise.
7414
7415 2013-02-11 Roland McGrath <roland@hack.frob.com>
7416
7417 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7418 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7419 declaration.
7420 * manual/search.texi (Array Search Function): Add missing const in
7421 lfind prototype.
7422 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7423 declaration to use rlim_t.
7424 (Basic Scheduling Functions): Remove erroneous const from
7425 sched_getparam prototype. Remove erroneous * from
7426 sched_get_priority_max and sched_get_priority_min prototypes.
7427 (Resource Usage): Fix summary @comment on vtimes to refer to
7428 sys/vtimes.h rather than vtimes.h.
7429 Add missing *s in vtimes prototype.
7430 (Limits on Resources): Fix ulimit prototype to return long int.
7431 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7432 prototypes to use long int rather than double.
7433 (BSD Random): Fix initstate and setstate to use char *, not void *.
7434 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7435 prototype to make second argument 'struct aiocb64 *const[]'.
7436 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7437 (Status of AIO Operations): Remove erroneous const in aio_return and
7438 aio_return64 prototypes.
7439 (Synchronizing I/O): Fix sync prototype to return void.
7440 * manual/startup.texi (Suboptions): Remove an erroneous const in
7441 getsubopt prototype.
7442 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7443 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7444 use size_t rather than int.
7445 (Scanning All Users): Likewise for getpwent_r.
7446 (Setting Groups): Add missing const to setgroups prototype.
7447 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7448 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7449 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7450 'const void *' rather than 'const char *'.
7451 (Host Address Functions): Likewise for inet_ntop.
7452 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7453 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7454 ssize_t for return value.
7455 (Sending Data): Likewise for send, sendto, sendmsg.
7456 (Socket Option Functions): Add a missing const in setsockopt prototype.
7457 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7458 use wchar_t for the argument.
7459 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7460 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7461 take no arguments.
7462 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7463 double/float/long double for second argument.
7464 Fix return types of significand, significandf, significandl.
7465 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7466 argument in fchmod prototype.
7467 (File Owner): Use uid_t and gid_t in fchown prototype.
7468 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7469 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7470 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7471 use 'const struct dirent **' as argument types to CMP function pointer
7472 argument.
7473 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7474 (File Times): Fix summary magic @comment for struct utimbuf and utime
7475 to refer to utime.h, not time.h.
7476 * manual/string.texi (Argz Functions): Add missing const in
7477 argz_extract and argz_next prototypes.
7478 (Finding Tokens in a String): Likewise for basename.
7479 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7480 (Copying and Concatenation): Fix typo in wmemmove prototype.
7481 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7482 (Signal Stack): Remove erroneous const in sigstack prototype.
7483 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7484 prototype.
7485 (Simple Calendar Time): Likewise for stime.
7486 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7487 prototype.
7488 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7489 say sys/sysctl.h instead.
7490 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7491 and vsyslog prototypes.
7492
7493 2013-02-11 Tom de Vries <tom@codesourcery.com>
7494
7495 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7496 Remove.
7497
7498 2013-02-11 Roland McGrath <roland@hack.frob.com>
7499
7500 * misc/sys/mman.h: Fix typo in mremap comment.
7501
7502 2013-02-08 Roland McGrath <roland@hack.frob.com>
7503
7504 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7505 the '\0' terminator.
7506
7507 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7508
7509 [BZ #13550]
7510 * debug/segfault.c: Don't include <bp-checks.h>.
7511 * sysdeps/generic/bp-checks.h: Remove file.
7512 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7513 (__GETDENTS): Don't use CHECK_N.
7514 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7515 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7516 (__getgroups): Don't use CHECK_N.
7517 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7518 (setgroups): Don't use CHECK_N.
7519 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7520 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7521 (__libc_msgrcv): Don't use CHECK_N.
7522 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7523 (__libc_msgsnd): Don't use CHECK_N.
7524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7525 <bp-checks.h>.
7526 (__libc_pread): Don't use CHECK_N.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7528 include <bp-checks.h>.
7529 (__libc_pread64): Don't use CHECK_N.
7530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7531 include <bp-checks.h>.
7532 (__libc_pwrite): Don't use CHECK_N.
7533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7534 include <bp-checks.h>.
7535 (__libc_pwrite64): Don't use CHECK_N.
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7537 <bp-checks.h>.
7538 (__libc_pread): Don't use CHECK_N.
7539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7540 include <bp-checks.h>.
7541 (__libc_pread64): Don't use CHECK_N.
7542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7543 include <bp-checks.h>.
7544 (__libc_pwrite): Don't use CHECK_N.
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7546 include <bp-checks.h>.
7547 (__libc_pwrite64): Don't use CHECK_N.
7548 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7549 (do_pread): Don't use CHECK_N.
7550 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7551 (do_pread64): Don't use CHECK_N.
7552 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7553 (do_pwrite): Don't use CHECK_N.
7554 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7555 (do_pwrite64): Don't use CHECK_N.
7556 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7557 (__libc_readv): Don't use CHECK_N.
7558 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7559 (semop): Don't use CHECK_N.
7560 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7561 <bp-checks.h>.
7562 (semtimedop): Don't use CHECK_N.
7563 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7564 (__libc_pread): Don't use CHECK_N.
7565 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7566 <bp-checks.h>.
7567 (__libc_pread64): Don't use CHECK_N.
7568 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7569 <bp-checks.h>.
7570 (__libc_pwrite): Don't use CHECK_N.
7571 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7572 <bp-checks.h>.
7573 (__libc_pwrite64): Don't use CHECK_N.
7574 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7575 <bp-checks.h>.
7576 (__libc_msgrcv): Don't use CHECK_N.
7577 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7578 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7579 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7580 (__libc_writev): Don't use CHECK_N.
7581
7582 2013-02-08 Roland McGrath <roland@hack.frob.com>
7583
7584 * string/strcpy.c: Removed unused variable.
7585
7586 * Makeconfig (+sysdep-includes): Define with := rather than =.
7587 Use an existing include/ subdir of each sysdeps dir before it.
7588
7589 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7590
7591 * nscd/connection.c (register_traced_file): Comment function.
7592 [HAVE_INOTIFY] (union __inev): Define.
7593 [HAVE_INOTIFY] (inotify_check_files): New function.
7594 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7595 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7596 clear_db_cache.
7597 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7598
7599 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7600
7601 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7602 loaded if not already and that a failure is permanent.
7603
7604 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7605
7606 [BZ #15006]
7607 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7608 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7609
7610 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7611
7612 [BZ #13550]
7613 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7614 (CHECK_1_NULL_OK): Likewise.
7615 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7616 (__fxstat): Do not use CHECK_1.
7617 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7618 <bp-checks.h>.
7619 (___fxstat64): Do not use CHECK_1.
7620 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7621 <bp-checks.h>.
7622 (__fxstatat): Do not use CHECK_1.
7623 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7624 <bp-checks.h>.
7625 (__fxstatat64): Do not use CHECK_1.
7626 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7627 <bp-checks.h>.
7628 (__fxstat): Do not use CHECK_1.
7629 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7630 <bp-checks.h>.
7631 (__fxstatat): Do not use CHECK_1.
7632 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7633 <bp-checks.h>.
7634 (__getresgid): Do not use CHECK_1.
7635 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7636 <bp-checks.h>.
7637 (__getresuid): Do not use CHECK_1.
7638 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7639 <bp-checks.h>.
7640 (__lxstat): Do not use CHECK_1.
7641 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7642 <bp-checks.h>.
7643 (__old_msgctl): Do not use CHECK_1.
7644 (__new_msgctl): Likewise.
7645 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7646 <bp-checks.h>.
7647 (__new_setrlimit): Do not use CHECK_1.
7648 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7649 <bp-checks.h>.
7650 (__old_shmctl): Do not use CHECK_1.
7651 (__new_shmctl): Likewise.
7652 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7653 <bp-checks.h>.
7654 (__xstat): Do not use CHECK_1.
7655 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7656 (__lxstat): Do not use CHECK_1.
7657 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7658 <bp-checks.h>.
7659 (___lxstat64): Do not use CHECK_1.
7660 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7661 (__old_msgctl): Do not use CHECK_1.
7662 (__new_msgctl): Likewise.
7663 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7664 <bp-checks.h>.
7665 (__gettimeofday): Do not use CHECK_1.
7666 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7667 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7668 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7669 <bp-checks.h>.
7670 (__gettimeofday): Do not use CHECK_1.
7671 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7672 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7673 (__new_shmctl): Do not use CHECK_1.
7674 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7675 <bp-checks.h>.
7676 (do_sigtimedwait): Do not use CHECK_1.
7677 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7678 <bp-checks.h>.
7679 (do_sigwaitinfo): Do not use CHECK_1.
7680 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7681 <bp-checks.h>.
7682 (msgctl): Do not use CHECK_1.
7683 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7684 <bp-checks.h>.
7685 (shmctl): Do not use CHECK_1.
7686 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7687 (ustat): Do not use CHECK_1.
7688 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7689 <bp-checks.h>.
7690 (__fxstat): Do not use CHECK_1.
7691 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7692 <bp-checks.h>.
7693 (__fxstatat): Do not use CHECK_1.
7694 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7695 <bp-checks.h>.
7696 (__lxstat): Do not use CHECK_1.
7697 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7698 <bp-checks.h>.
7699 (__xstat): Do not use CHECK_1.
7700 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7701 (__xstat): Do not use CHECK_1.
7702 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7703 (___xstat64): Do not use CHECK_1.
7704
7705 [BZ #13550]
7706 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7707 definitions.
7708 (CHECK_BOUNDS_HIGH): Likewise.
7709 * string/strcpy.c: Do not include <bp-checks.h>.
7710 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7711
7712 2013-02-07 Roland McGrath <roland@hack.frob.com>
7713
7714 * nscd/nscd-client.h (__nscd_drop_map_ref):
7715 Add __attribute__ ((unused)).
7716 * nis/nss-nisplus.h (niserr2nss): Likewise.
7717
7718 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7719 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7720
7721 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7722 Remove inline keyword.
7723 * include/rounding-mode.h (round_away): Likewise.
7724 * libio/wfileops.c (adjust_wide_data): Likewise.
7725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7726 (__m128i_strloadu_tolower): Likewise.
7727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7728 (__m128i_strloadu_tolower): Likewise.
7729 * time/mktime.c (ydhms_diff): Likewise.
7730 * locale/elem-hash.h (elem_hash): Likewise.
7731 * locale/setlocale.c (setdata): Likewise.
7732 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7733 (re_string_wchar_at): Likewise.
7734 (bitset_not, bitset_merge, bitset_mask): Likewise.
7735 [!(__GNUC__ > 3)] (inline): Remove macro.
7736 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7737 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7738 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7739 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7740 * string/memcmp.c (memcmp_bytes): Likewise.
7741 * locale/programs/locarchive.c (compute_hashval): Likewise.
7742 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7743 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7744 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7745 * nss/getent.c (print_rpc, print_protocols): Likewise.
7746 (print_passwd, print_group, print_aliases): Likewise.
7747 * nis/nss-nisplus.h (niserr2nss): Likewise.
7748 * nscd/connections.c (restart_p): Likewise.
7749 Change return type to bool.
7750
7751 2013-02-05 Roland McGrath <roland@hack.frob.com>
7752
7753 * Makeconfig (all-Depend-files): Add existing
7754 $(sorted-subdirs:=/Depend) files.
7755 (all-subdirs): Remove nss.
7756 * sysdeps/unix/inet/Subdirs: Add it here instead.
7757 * hesiod/Depend: New file.
7758
7759 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7760 instead of calling alloca.
7761
7762 * io/lseek.c (__lseek): Rename to __libc_lseek.
7763 Define __lseek as an alias.
7764
7765 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7766
7767 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7768
7769 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7770 else clause and remove check for non-standard endianness.
7771
7772 2013-02-04 David S. Miller <davem@davemloft.net>
7773
7774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7775
7776 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #13550]
7779 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7780 (__ubp_memchr): Remove prototype.
7781 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7782 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7783 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7784 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7785 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7786 Remove alias.
7787 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7788 (__ubp_memchr): Likewise.
7789 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7790 (__ubp_memchr): Likewise.
7791 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7792 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7793 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7794 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7795 CHECK_STRING.
7796 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7797 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7798 (__getcwd): Do not use CHECK_STRING.
7799 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7800 <bp-checks.h>.
7801 (__real_chown): Do not use CHECK_STRING.
7802 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7803 <bp-checks.h>.
7804 (fchownat): Do not use CHECK_STRING.
7805 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7806 CHECK_STRING.
7807 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7808 <bp-checks.h>.
7809 (__lchown): Do not use CHECK_STRING.
7810 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7811 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7812 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7813 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7815 include <bp-checks.h>.
7816 (truncate64): Do not use CHECK_STRING.
7817 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7818 <bp-checks.h>.
7819 (__real_chown): Do not use CHECK_STRING.
7820 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7821 <bp-checks.h>.
7822 (__lchown): Do not use CHECK_STRING.
7823 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7824 <bp-checks.h>.
7825 (__chown): Do not use CHECK_STRING.
7826 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7827 <bp-checks.h>.
7828 (truncate64): Do not use CHECK_STRING.
7829 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7830 Likewise.
7831 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7832 (__xmknod): Do not use CHECK_STRING.
7833 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7834 <bp-checks.h>.
7835 (__xmknodat): Do not use CHECK_STRING.
7836 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7837 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7838
7839 2013-02-04 Andreas Schwab <schwab@suse.de>
7840
7841 [BZ #14142]
7842 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7843 * include/netdb.h: Likewise for h_errno.
7844 * elf/tst-stackguard1.c: Include <tls.h>.
7845
7846 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7847
7848 * elf/link.h (struct link_map): Extend the l_addr comment.
7849 * include/link.h (struct link_map): Likewise.
7850
7851 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7852
7853 [BZ #13550]
7854 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7855 (BOUNDED_1): Remove macro.
7856 * debug/backtrace.c: Don't include <bp-checks.h>.
7857 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7858 (__backtrace): Likewise.
7859 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7860 <bp-checks.h>.
7861 (__backtrace): Don't use BOUNDED_1.
7862 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7863 <bp-checks.h>.
7864 (__backtrace): Don't use BOUNDED_1.
7865 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7866 (__backtrace): Don't use BOUNDED_1.
7867 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7868 (shmat): Don't use BOUNDED_N.
7869
7870 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #13550]
7873 * sysdeps/generic/bp-start.h: Remove file.
7874 * csu/libc-start.c: Don't include <bp-start.h>.
7875 (LIBC_START_MAIN): Set up __environ directly instead of using
7876 INIT_ARGV_and_ENVIRON.
7877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7878 <bp-start.h>.
7879
7880 [BZ #13550]
7881 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7882 definitions.
7883 (CHECK_FCNTL): Likewise.
7884 (CHECK_N_PAGES): Likewise.
7885
7886 [BZ #13550]
7887 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7888 definitions.
7889 (CHECK_SIGSET_NULL_OK): Likewise.
7890 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7891 <bp-checks.h>.
7892 (sigpending): Don't use CHECK_SIGSET.
7893 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7894 <bp-checks.h>.
7895 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7896 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7897 <bp-checks.h>.
7898 (do_sigsuspend): Don't use CHECK_SIGSET.
7899 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7900 use CHECK_SIGSET.
7901 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7902 (do_sigwait): Don't use CHECK_SIGSET.
7903 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7904 use CHECK_SIGSET.
7905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7906 include <bp-checks.h>.
7907 (sigpending): Don't use CHECK_SIGSET.
7908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7909 include <bp-checks.h>.
7910 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7911 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7912 <bp-checks.h>.
7913 (sigpending): Don't use CHECK_SIGSET.
7914 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7915 <bp-checks.h>.
7916 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7917
7918 [BZ #13550]
7919 * sysdeps/generic/bp-semctl.h: Remove file.
7920 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7921 <bp-checks.h> and <bp-semctl.h>.
7922 (__old_semctl): Don't use CHECK_SEMCTL.
7923 (__new_semctl): Likewise.
7924 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7925 and <bp-semctl.h>.
7926 (__old_semctl): Don't use CHECK_SEMCTL.
7927 (__new_semctl): Likewise.
7928 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7929 <bp-checks.h> and <bp-semctl.h>.
7930 (__old_semctl): Don't use CHECK_SEMCTL.
7931 (__new_semctl): Likewise.
7932 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7933 <bp-checks.h> and <bp-semctl.h>.
7934 (semctl): Don't use CHECK_SEMCTL.
7935
7936 [BZ #13550]
7937 * Makerules (elide-bp-thunks): Remove variable.
7938 (elide-routines.oS): Don't use $(elide-bp-thunks).
7939 (elide-routines.os): Likewise.
7940 (elide-routines.o): Likewise.
7941 (elide-routines.op): Likewise.
7942 (elide-routines.og): Likewise.
7943 (objects): Don't use $(bp-thunks).
7944 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7945 include.
7946 (common-generated): Do not add s-proto-bp.d.
7947 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7948 (int): Likewise.
7949 (typ): Likewise.
7950 Do not generate makefile rules for bounded-pointer thunks.
7951 * sysdeps/generic/bp-thunks.h: Remove file.
7952 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7953 * sysdeps/unix/s-proto-bp.S: Likewise.
7954
7955 [BZ #15062]
7956 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7957 parts of result separately when argument is not close to line from
7958 -i to i and one part of argument is small.
7959 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7960 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7961 * math/libm-test.inc (cacos_test): Add more tests.
7962 (casin_test): Likewise.
7963 (casinh_test): Likewise.
7964 * sysdeps/i386/fpu/libm-test-ulps: Update.
7965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7966
7967 2013-01-31 David S. Miller <davem@davemloft.net>
7968
7969 * po/de.po: Update from translation team.
7970
7971 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7972
7973 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7974
7975 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7976
7977 * configure.in (_AC_PROG_CC_C89): New definition.
7978 * configure: Regenerate.
7979
7980 * configure.in (AC_PROG_CPP): New definition.
7981 * configure: Regenerate.
7982
7983 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7984
7985 * debug/tst-backtrace.h: New file.
7986 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7987 (ret): Remove variable.
7988 (x): Likewise.
7989 (FAIL): Remove macro.
7990 (NO_INLINE): Likewise.
7991 (fn1): Use match function instead of strstr.
7992 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7993 (ret): Remove variable.
7994 (x): Likewise.
7995 (FAIL): Remove macro.
7996 (NO_INLINE): Likewise.
7997 (fn): Use match function instead of strstr.
7998 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7999 (ret): Remove variable.
8000 (x): Likewise.
8001 (FAIL): Remove macro.
8002 (NO_INLINE): Likewise.
8003 (handle_signal): Use match function instead of strstr.
8004 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8005 (ret): Remove variable.
8006 (x): Likewise.
8007 (FAIL): Remove macro.
8008 (NO_INLINE): Likewise.
8009 (handle_signal): Use match function instead of strstr.
8010
8011 2013-01-23 Roland McGrath <roland@hack.frob.com>
8012
8013 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8014
8015 2013-01-23 David S. Miller <davem@davemloft.net>
8016
8017 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8018 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8019 argument of CAS if possible.
8020 * sysdeps/sparc/sparc64/bits/atomic.h
8021 (__arch_compare_and_exchange_val_32_acq): Likewise.
8022 (__arch_compare_and_exchange_val_64_acq): Likewise.
8023
8024 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8025
8026 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8027 * sysdeps/posix/ulimit.c: ... this.
8028 Include <limits.h>.
8029 * sysdeps/unix/bsd/ulimit.c: Remove file.
8030
8031 2013-01-23 Adam Conrad <adconrad@0c3.net>
8032
8033 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8034 (LDFLAGS-tst-array5): Likewise.
8035
8036 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8037
8038 [BZ #15036]
8039 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8040 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8041 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8042 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8043
8044 2013-01-21 David S. Miller <davem@davemloft.net>
8045
8046 * sysdeps/sparc/backtrace.c: New file.
8047 * sysdeps/sparc/sparc32/backtrace.h: New file.
8048 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8049 * sysdeps/sparc/sparc64/backtrace.h: New file.
8050 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8051 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8052 -funwind-tables.
8053
8054 2013-01-21 Andreas Schwab <schwab@suse.de>
8055
8056 [BZ #15020]
8057 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8058 closed its stdout.
8059
8060 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8061
8062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8063 "mpa2.h".
8064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8065
8066 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8067 Mark Mitchell <mark@codesourcery.com>
8068 Tom de Vries <tom@codesourcery.com>
8069 Paul Pluzhnikov <ppluzhnikov@google.com>
8070
8071 * debug/tst-backtrace2.c: New file.
8072 * debug/tst-backtrace3.c: Likewise.
8073 * debug/tst-backtrace4.c: Likewise.
8074 * debug/tst-backtrace5.c: Likewise.
8075 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8076 (CFLAGS-tst-backtrace3.c): Likewise.
8077 (CFLAGS-tst-backtrace4.c): Likewise.
8078 (CFLAGS-tst-backtrace5.c): Likewise.
8079 (LDFLAGS-tst-backtrace2): Likewise.
8080 (LDFLAGS-tst-backtrace3): Likewise.
8081 (LDFLAGS-tst-backtrace4): Likewise.
8082 (LDFLAGS-tst-backtrace5): Likewise.
8083 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8084 tst-backtrace4 and tst-backtrace5.
8085
8086 2013-01-18 Anton Blanchard <anton@samba.org>
8087 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8088
8089 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8090 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8091 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8092 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8094 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8095 "+r" and remove output regs list as redundant. Add explicit inline
8096 asm to specify register of return val to work around compiler codegen
8097 bug. Remove (int) cast on return value. Add return type parameter to
8098 use in macro so that this macro does not truncate return value for
8099 64-bit values.
8100 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8101 pass to INTERNAL_VSYSCALL_NCS.
8102 (INLINE_VSYSCALL): Add 'long int' as return type to
8103 INTERNAL_VSYSCALL_NCS macro invocation.
8104 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8105 INTERNAL_VSYSCALL_NCS macro invocation.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8107
8108 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8109
8110 [BZ #14496]
8111 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8112 Fix application of SIMD FP exception mask.
8113
8114 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8115 mp_no from a power of two.
8116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8117 __mpexp_twomm1. Use __pow_mp.
8118
8119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8120 multiplication.
8121
8122 2013-01-17 David S. Miller <davem@davemloft.net>
8123
8124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8125
8126 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8127
8128 [BZ #15023]
8129 * include/complex.h: Condition contents on [!_COMPLEX_H].
8130 (__kernel_casinhf): New prototype.
8131 (__kernel_casinh): Likewise.
8132 (__kernel_casinhl): Likewise.
8133 * math/Makefile (libm_calls): Add k_casinh.
8134 * math/k_casinh.c: New file.
8135 * math/k_casinhf.c: Likewise.
8136 * math/k_casinhl.c: Likewise.
8137 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8138 finite nonzero arguments.
8139 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8140 finite nonzero arguments.
8141 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8142 finite nonzero arguments.
8143 * math/s_casinh.c: Do not include <float.h>.
8144 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8145 * math/s_casinhf.c: Do not include <float.h>.
8146 (__casinhf): Move code for finite nonzero arguments to
8147 k_casinhf.c.
8148 * math/s_casinhl.c: Do not include <float.h>.
8149 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8150 redefine.
8151 (__casinhl): Move code for finite nonzero arguments to
8152 k_casinhl.c.
8153 * math/libm-test.inc (cacos_test): Add more tests.
8154 * sysdeps/i386/fpu/libm-test-ulps: Update.
8155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8156
8157 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8158
8159 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8160 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8161 [!HAVE_MREMAP]: Remove [defined linux] case.
8162 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8163
8164 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8165
8166 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8167
8168 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8169
8170 * elf/elf.h (R_386_SIZE32): New relocation.
8171 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8172 R_386_SIZE32.
8173 (elf_machine_rela): Likewise.
8174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8175 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8176
8177 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8178
8179 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8180 (FP_FAST_FMA): Do not define.
8181 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8182 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8183 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8184 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8185 !_SOFT_FLOAT]: Likewise.
8186 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8187 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8188 value.
8189 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8190 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8191 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8193 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8194 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8195 file.
8196
8197 2013-01-16 Andreas Schwab <schwab@suse.de>
8198
8199 [BZ #14327]
8200 * include/stdlib.h (__mktemp): Add declaration.
8201 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8202 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8203
8204 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
8206 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8207 definitions.
8208 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8209 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8210 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8211 definitions here.
8212 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8213 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8214 definitions.
8215 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8216 and ONE.
8217 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8218 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8219 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8220 definitions.
8221 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8222 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8223 definitions.
8224 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8225
8226 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8227
8228 2013-01-15 David S. Miller <davem@davemloft.net>
8229
8230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8231 trunc{,f} to libm-sysdep_routes.
8232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8234 file.
8235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8237 file.
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8239 file.
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8243 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8244 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8245 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8246 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8247 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8248
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8250 nearbyint{,f} to libm-sysdep_routes.
8251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8253 New file.
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8255 file.
8256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8257 New file.
8258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8259 file.
8260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8262 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8263 file.
8264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8266 file.
8267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8268 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8269 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8270
8271 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8272 libc_feholdexcept and libc_fesetenv.
8273
8274 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8275
8276 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8277
8278 2013-01-14 David S. Miller <davem@davemloft.net>
8279
8280 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8281 (SPARC_ASM_VIS2_IFUNC): Likewise.
8282 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8284 use of 'siam' instruction.
8285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8286 Likewise.
8287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8288 Likewise.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8290 Likewise.
8291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8296 file.
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8298 file.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8300 file.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8302 file.
8303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8308 new VIS2 routines.
8309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8312 Likewise.
8313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8318 routines to libm-sysdep_routines.
8319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8320
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8322 fdim/fdimf to libm-sysdep_routines.
8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8324 file.
8325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8327 file.
8328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8331 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8332 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8333 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8334 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8335
8336 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8337
8338 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8339 to optimize copies.
8340
8341 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8344
8345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8346 local variable MPTWO.
8347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8348 Likewise.
8349
8350 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8351
8352 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8353 GLOB_NOESCAPE.
8354
8355 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8356
8357 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8358
8359 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8360
8361 * manual/pattern.texi (glob_t): Document gl_flags.
8362 (glob64_t): Likewise.
8363
8364 2013-01-11 David S. Miller <davem@davemloft.net>
8365
8366 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8367 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8368 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8369 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8370 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8371 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8372 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8373 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8374 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8375 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8376 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8377 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8378 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8379
8380 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8381 sparc V9 rather than using V8 code.
8382 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8383 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8384
8385 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8386 Move to...
8387 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8388 Here.
8389
8390 2013-01-11 Roland McGrath <roland@hack.frob.com>
8391
8392 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8393 not in the main loop.
8394 * configure: Regenerated.
8395
8396 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8397
8398 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8399 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8400 to just #else.
8401 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8402 [!__GLIBC_HAVE_LONG_LONG] case.
8403 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8404 condition to just #else.
8405 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8406 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8407 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8408 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8409 unconditional.
8410 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8411 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8412 #elif condition to just #else.
8413 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8414 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8415 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8416 #elif condition to just #else.
8417
8418 2013-01-11 Steve Ellcey <sellcey@mips.com>
8419
8420 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8421 (EF_MIPS_ARCH_64): Fix value.
8422 (EF_MIPS_ARCH_32R2): New.
8423 (EF_MIPS_ARCH_64R2): New.
8424
8425 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8426
8427 * Makeconfig (+link-pie-before-libc): New.
8428 (+link-pie-after-libc): Likewise.
8429 (+link-pie-tests): Likewise.
8430 (+link-pie): Rewritten.
8431 (link-before-libc): Remove $(config-LDFLAGS).
8432 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8433 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8434 (config-LDFLAGS): Renamed to ...
8435 (rtld-LDFLAGS): This.
8436 (rtld-tests-LDFLAGS): New macro.
8437 (link-libc-rpath-link): Likewise.
8438 (link-libc-tests-rpath-link): Likewise.
8439 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8440 (link-libc): Prepand $(link-libc-rpath-link).
8441 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8442 (test-program-prefix): New macro.
8443 (test-via-rtld-prefix): Likewise.
8444 (test-program-cmd): Likewise.
8445 (host-test-program-cmd): Likewise.
8446 * Makefile ($(common-objpfx)testrun.sh): Replace
8447 $(run-program-prefix) with $(test-program-prefix).
8448 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8449 $(rtld-LDFLAGS).
8450 ($(common-objpfx)shlib.lds): Likewise.
8451 (build-module-helper): Likewise.
8452 ($(common-objpfx)format.lds): Likewise.
8453 * Rules (binaries-pie-tests): New.
8454 (binaries-pie-notests): Likewise.
8455 (binaries-pie): Rewritten.
8456 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8457 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8458 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8459 (make-test-out): Replace $(host-built-program-cmd) with
8460 $(host-test-program-cmd).
8461 * config.make.in (build-hardcoded-path-in-tests): New variable.
8462 * configure.in (--enable-hardcoded-path-in-tests): New configure
8463 option.
8464 (hardcoded_path_in_tests): New AC_SUBST.
8465 * configure: Regenerated.
8466 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8467 $(built-program-cmd) with $(test-program-cmd).
8468 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8469 (test_program_cmd): This.
8470 * elf/Makefile ($(objpfx)order.out): Run test with
8471 $(test-program-prefix).
8472 ($(objpfx)order2.out): Likewise.
8473 ($(objpfx)tst-initorder.out): Likewise.
8474 ($(objpfx)tst-initorder2.out): Likewise.
8475 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8476 $(test-program-cmd).
8477 ($(objpfx)tst-array1-static.out): Likewise.
8478 ($(objpfx)tst-array2.out): Likewise.
8479 ($(objpfx)tst-array3.out): Likewise.
8480 ($(objpfx)tst-array4.out): Likewise.
8481 ($(objpfx)tst-array5.out): Likewise.
8482 ($(objpfx)tst-array5-static.out): Likewise.
8483 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8484 $(test-program-cmd).
8485 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8486 $(run-program-prefix) with $(test-program-prefix).
8487 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8488 (test_program_prefix): This.
8489 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8490 $(run-program-prefix) with $(test-program-prefix).
8491 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8492 (test_program_prefix): This.
8493 * iconvdata/tst-tables.sh: Likewise.
8494 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8495 $(run-program-prefix) with $(test-program-prefix).
8496 ($(objpfx)tst-translit.out): Likewise.
8497 ($(objpfx)tst-gettext2.out): Likewise.
8498 ($(objpfx)tst-gettext4.out): Likewise.
8499 ($(objpfx)tst-gettext6.out): Likewise.
8500 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8501 (test_program_prefix): This.
8502 * intl/tst-gettext2.sh: Likewise.
8503 * intl/tst-gettext4.sh Likewise.
8504 * intl/tst-gettext6.sh: Likewise.
8505 * intl/tst-translit.sh: Likewise.
8506 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8507 with $(test-program-cmd).
8508 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8509 $(run-program-prefix) with $(test-program-prefix).
8510 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8511 (test_program_prefix): This.
8512 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8513 $(run-program-prefix) with $(test-program-prefix).
8514 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8515 (test_program_prefix): This.
8516 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8517 * posix/Makefile ($(objpfx)globtest.out): Replace
8518 $(run-via-rtld-prefix) and $(test-wrapper) with
8519 $(test-program-prefix) and $(test-via-rtld-prefix).
8520 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8521 $(test-program-prefix).
8522 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8523 $(host-test-program-cmd).
8524 (tst-spawn-ARGS): Likewise.
8525 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8526 $(test-program-prefix).
8527 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8528 (test_via_rtld_prefix): This.
8529 (test_wrapper): Renamed to ...
8530 (test_program_prefix): This.
8531 (run_program_prefix): Replaced by test_program_prefix.
8532 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8533 (test_program_prefix): This.
8534 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8535 with $(host-test-program-cmd).
8536 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8537 $(run-program-prefix) with $(test-program-prefix).
8538 ($(objpfx)tst-printf.out): Likewise.
8539 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8540 $(test-program-cmd).
8541 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8542 (test_program_prefix): This.
8543 * stdio-common/tst-unbputc.sh: Likewise.
8544 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8545 $(run-program-prefix) with $(test-program-prefix).
8546 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8547 (test_program_prefix): This.
8548 * string/Makefile ($(objpfx)tst-svc.out): Replace
8549 $(built-program-cmd) with $(test-program-cmd).
8550
8551 2013-01-11 Andreas Jaeger <aj@suse.de>
8552
8553 [BZ #15003]
8554 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8555 value. Sync with Linux 3.7.
8556
8557 2013-01-10 David S. Miller <davem@davemloft.net>
8558
8559 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8560 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8561 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8562
8563 2013-01-10 Roland McGrath <roland@hack.frob.com>
8564
8565 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8566 never set.
8567 * configure: Regenerated.
8568
8569 2013-01-10 David S. Miller <davem@davemloft.net>
8570
8571 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8572 sparc V9 rather than using V8 code.
8573 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8574 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8575
8576 2013-01-10 Roland McGrath <roland@hack.frob.com>
8577
8578 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8579 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8580 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8581 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8582 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8583 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8584 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8585 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8586 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8587 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8588 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8589 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8590 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8591 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8592 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8593 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8594 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8595 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8596 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8597 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8598 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8599 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8600 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8601 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8602 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8603 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8604 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8605
8606 2013-01-10 David S. Miller <davem@davemloft.net>
8607
8608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8609
8610 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8611
8612 * posix/Makefile (tests-static): New variable.
8613 (tests): Add $(tests-static).
8614 (tst-exec-static-ARGS): New variable.
8615 (tst-spawn-static-ARGS): Likewise.
8616 * posix/tst-exec-static.c: New file.
8617 * posix/tst-spawn-static.c: Likewise.
8618 * posix/tst-exec.c: Support run directly.
8619 * posix/tst-spawn.c: Likewise.
8620
8621 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8622
8623 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8624 long.
8625 * math/bits/mathcalls.h (llrint): Likewise.
8626 (llround): Likewise.
8627 * stdlib/stdlib.h (struct drand48_data): Likewise.
8628 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8629 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8630 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8631 Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8633 Likewise.
8634 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8635 (elf_greg_t): Likewise.
8636 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8637 (__jmp_buf): Likewise.
8638 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8639 definitions.
8640 (llrint): Likewise, for all definitions.
8641 (llrintl): Likewise.
8642
8643 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8644 Remove [__GNUC__] condition.
8645 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8646 condition to just [__USE_ISOC99].
8647 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8648
8649 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8650
8651 [BZ #14200]
8652 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8653 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8654 defined.
8655 (_POSIX_V6_ILP32_OFF32): Likewise.
8656 (_XBS5_ILP32_OFF32): Likewise.
8657 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8658 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8659
8660 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8661
8662 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8663
8664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8665 doubles __mpexp_twomm1. Adjust usage.
8666 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8667 Remove.
8668
8669 2013-01-10 Andreas Schwab <schwab@suse.de>
8670
8671 [BZ #14964]
8672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8673 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8674
8675 2013-01-09 David S. Miller <davem@davemloft.net>
8676
8677 [BZ #15003]
8678 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8679 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8680 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8681 TCP_FASTOPEN): Define.
8682 (tcp_repair_opt): New structure.
8683 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8684 enum values.
8685 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8686 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8687 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8688 (tcp_cookie_transactions): New structure.
8689
8690 2013-01-09 Anton Blanchard <anton@samba.org>
8691
8692 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8693 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8694 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8695 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8696
8697 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8698
8699 * include/features.h (__USE_ANSI): Remove.
8700
8701 2013-01-09 Roland McGrath <roland@hack.frob.com>
8702
8703 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8704
8705 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8706
8707 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8708
8709 * sysdeps/s390/fpu/libm-test-ulps: Update.
8710
8711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8712
8713 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8714 (__acr): Likewise.
8715 (__cpy): Likewise.
8716 (norm): Likewise.
8717 (denorm): Likewise.
8718 (__mp_dbl): Likewise.
8719 (__dbl_mp): Likewise.
8720 (add_magnitudes): Likewise.
8721 (sub_magnitudes): Likewise.
8722 (__add): Likewise.
8723 (__sub): Likewise.
8724 (__mul): Likewise.
8725 (__inv): Likewise.
8726 (__dvd): Likewise.
8727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8728 (__acr): Likewise.
8729 (__cpy): Likewise.
8730 (norm): Likewise.
8731 (denorm): Likewise.
8732 (__mp_dbl): Likewise.
8733 (__dbl_mp): Likewise.
8734 (add_magnitudes): Likewise.
8735 (sub_magnitudes): Likewise.
8736 (__add): Likewise.
8737 (__sub): Likewise.
8738 (__mul): Likewise.
8739 (__inv): Likewise.
8740 (__dvd): Likewise.
8741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8742 (__acr): Likewise.
8743 (__cpy): Likewise.
8744 (norm): Likewise.
8745 (denorm): Likewise.
8746 (__mp_dbl): Likewise.
8747 (__dbl_mp): Likewise.
8748 (add_magnitudes): Likewise.
8749 (sub_magnitudes): Likewise.
8750 (__add): Likewise.
8751 (__sub): Likewise.
8752 (__mul): Likewise.
8753 (__inv): Likewise.
8754 (__dvd): Likewise.
8755
8756 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8757
8758 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8759 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8760 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8761 2 && __USE_EXTERN_INLINES]: Likewise.
8762
8763 2013-01-08 Andreas Jaeger <aj@suse.de>
8764
8765 [BZ# 14985]
8766 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8767 Remove.
8768 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8769 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8770
8771 2013-01-07 Anton Blanchard <anton@samba.org>
8772
8773 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8774 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8775 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8776 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8777 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8778 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8779 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8780 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8782 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8784 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8785 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8787 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8788 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8789 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8790 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8791 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8792 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8793 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8794 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8795 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8796 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8797 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8798 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8799 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8800 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8802 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8803 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8805 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8806 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8807 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8808 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8809 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8810 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8811 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8812 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8813 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8815 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8816
8817 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8818
8819 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8820 (__MALLOC_PMT): Likewise.
8821 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8822 [__GNUC__], only on [_LIBC].
8823 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8824 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8825 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8826 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8827 forward declaration.
8828 (realloc_hook_ini): Likewise.
8829 (memalign_hook_ini): Likewise.
8830 (__libc_memalign): Do not use __MALLOC_PMT in variable
8831 declaration.
8832 (__libc_valloc): Likewise.
8833 (__libc_pvalloc): Likewise.
8834 (__libc_calloc): Likewise.
8835 (__posix_memalign): Likewise.
8836
8837 [BZ #14996]
8838 * math/s_casinh.c: Include <float.h>.
8839 (__casinh): Do not do computation with squaring and square root
8840 for large arguments.
8841 * math/s_casinhf.c: Include <float.h>.
8842 (__casinhf): Do not do computation with squaring and square root
8843 for large arguments.
8844 * math/s_casinhl.c: Include <float.h>.
8845 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8846 (__casinhl): Do not do computation with squaring and square root
8847 for large arguments.
8848 * math/libm-test.inc (casin_test): Add more tests.
8849 (casinh_test): Likewise.
8850 * sysdeps/i386/fpu/libm-test-ulps: Update.
8851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8852
8853 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8854
8855 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8856 (__x86_64_raw_data_cache_size): Likewise.
8857 (__x86_64_data_cache_size_half): Likewise.
8858 (__x86_64_raw_data_cache_size_half): Likewise.
8859 (__x86_64_shared_cache_size): Likewise.
8860 (__x86_64_raw_shared_cache_size): Likewise.
8861 (__x86_64_shared_cache_size_half): Likewise.
8862 (__x86_64_raw_shared_cache_size_half): Likewise.
8863 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8864 to ...
8865 (__x86_data_cache_size): This.
8866 (__x86_64_raw_data_cache_size): Renamed to ...
8867 (__x86_raw_data_cache_size): This.
8868 (__x86_64_data_cache_size_half): Renamed to ...
8869 (__x86_data_cache_size_half): This.
8870 (__x86_64_raw_data_cache_size_half): Renamed to ...
8871 (__x86_raw_data_cache_size_half): This.
8872 (__x86_64_shared_cache_size): Renamed to ...
8873 (__x86_shared_cache_size): This.
8874 (__x86_64_raw_shared_cache_size): Renamed to ...
8875 (__x86_raw_shared_cache_size): This.
8876 (__x86_64_shared_cache_size_half): Renamed to ...
8877 (__x86_shared_cache_size_half): This.
8878 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8879 (__x86_raw_shared_cache_size_half): This.
8880 * sysdeps/x86_64/memcpy.S: Updated.
8881 * sysdeps/x86_64/memset.S: Likewise.
8882 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8883 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8884 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8885
8886 2013-01-04 David S. Miller <davem@davemloft.net>
8887
8888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8889
8890 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8891
8892 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8893 1 to avoid redefinition warning.
8894 (__USE_GNU): Don't define.
8895 (init_signaling_nan): Protoize.
8896
8897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8898
8899 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8900
8901 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8903 (__cpymn): Likewise.
8904 (norm): Remove commented code.
8905 (denorm): Likewise.
8906 (__mp_dbl): Likewise.
8907 (__inv): Likewise.
8908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8909 (__cpymn): Likewise.
8910 (norm): Remove commented code.
8911 (denorm): Likewise.
8912 (__mp_dbl): Likewise.
8913 (__inv): Likewise.
8914
8915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8916 mp_no value for 1.0 and 2.0.
8917 (norm): Use RADIXI instead of radixi.d.
8918 (denorm): Likewise.
8919 (__mul): Use 0.0 instead of zero.d.
8920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8921 mp_no value for 1.0 and 2.0.
8922 (norm): Use RADIXI instead of radixi.d.
8923 (denorm): Likewise.
8924 (__mul): Use 0.0 instead of zero.d.
8925
8926 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8927
8928 [BZ #14994]
8929 * math/s_casinh.c (__casinh): Reduce finite argument to first
8930 quadrant then set signs of results at the end.
8931 * math/s_casinhf.c (__casinhf): Likewise.
8932 * math/s_casinhl.c (__casinhl): Likewise.
8933 * math/libm-test.inc (casin_test): Add more tests.
8934 (casinh_test): Likewise.
8935 * sysdeps/i386/fpu/libm-test-ulps: Update.
8936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8937
8938 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8939
8940 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8941
8942 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8943
8944 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8945 declarations.
8946 (denorm): Likewise.
8947 (__mp_dbl): Likewise.
8948 (__inv): Likewise.
8949
8950 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8951 and adjust the header comment.
8952
8953 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8954 variable name from declaration.
8955
8956 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8957
8958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8959 Initialize COMMON_CPUID_INDEX_7 element.
8960 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8961 (CPUID_RTM): Likewise.
8962 (HAS_RTM): Likewise.
8963 (COMMON_CPUID_INDEX_7): New enum.
8964
8965 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8966
8967 [BZ #14981]
8968 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8969 size is zero, record memory as freed.
8970
8971 2013-01-03 Andreas Jaeger <aj@suse.de>
8972
8973 * po/ia.po: Add new Interlingua translation.
8974
8975 2012-01-03 Allan McRae <allan@archlinux.org>
8976
8977 * locale/programs/localedef.c: Fix description of '--posix' flag.
8978
8979 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8980
8981 * NEWS: Update dates in second copyright notice.
8982 * README: Update copyright dates in example.
8983 * manual/libc.texinfo: Update copyright dates.
8984 * scripts/test-installation.pl: Update copyright date in --version
8985 output.
8986
8987 * hurd/ctty-input.c: Fix copyright notice formatting.
8988 * hurd/ctty-output.c: Likewise.
8989 * hurd/dtable.c: Likewise.
8990 * hurd/hurd-raise.c: Likewise.
8991 * hurd/hurdprio.c: Likewise.
8992 * hurd/msgportdemux.c: Likewise.
8993 * misc/sys/file.h: Likewise.
8994 * misc/sys/ioctl.h: Likewise.
8995 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8996 * sysdeps/mach/hurd/chdir.c: Likewise.
8997 * sysdeps/mach/hurd/fchdir.c: Likewise.
8998 * sysdeps/mach/hurd/rename.c: Likewise.
8999 * sysdeps/mach/hurd/rmdir.c: Likewise.
9000 * sysdeps/mach/hurd/seekdir.c: Likewise.
9001 * sysdeps/mach/hurd/setsid.c: Likewise.
9002 * sysdeps/posix/wait3.c: Likewise.
9003
9004 * All files with FSF copyright notices: Update copyright dates
9005 using scripts/update-copyrights.
9006 * intl/plural.c: Regenerated.
9007 * locale/programs/charmap-kw.h: Likewise.
9008 * locale/programs/locfile-kw.h: Likewise.
9009
9010 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9011
9012 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9013 four values.
9014
9015 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9016 calculation loop and add branch prediction.
9017
9018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9019 check access beyond bounds of m1np.
9020
9021 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9022 MPTWO.
9023 (__inv): Remove local variable MPTWO to use the global
9024 constant.
9025 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9027 variable MPTWO.
9028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9029 MP3HALFS static const.
9030
9031 2013-01-01 David S. Miller <davem@davemloft.net>
9032
9033 * po/ca.po: Update from translation team.
9034
9035 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9036
9037 * scripts/update-copyrights: New file.
9038 * Makeconfig: Reformat copyright notice.
9039 * ctype/ctype.h: Likewise.
9040 * debug/swprintf_chk.c: Likewise.
9041 * elf/dl-cache.c: Likewise.
9042 * elf/dl-debug.c: Likewise.
9043 * elf/dl-object.c: Likewise.
9044 * grp/initgroups.c: Likewise.
9045 * hurd/Makefile: Likewise.
9046 * hurd/hurd/signal.h: Likewise.
9047 * hurd/hurdfault.c: Likewise.
9048 * hurd/hurdioctl.c: Likewise.
9049 * hurd/hurdlookup.c: Likewise.
9050 * hurd/intr-msg.c: Likewise.
9051 * iconv/gconv_open.c: Likewise.
9052 * libio/swprintf.c: Likewise.
9053 * locale/lc-ctype.c: Likewise.
9054 * locale/nl_langinfo.c: Likewise.
9055 * mach/Machrules: Likewise.
9056 * mach/Makefile: Likewise.
9057 * malloc/obstack.h: Likewise.
9058 * manual/Makefile: Likewise.
9059 * manual/tsort.awk: Likewise.
9060 * misc/bits/stab.def: Likewise.
9061 * nis/nis_print_group_entry.c: Likewise.
9062 * nis/nis_table.c: Likewise.
9063 * nis/nss_compat/compat-pwd.c: Likewise.
9064 * nis/nss_compat/compat-spwd.c: Likewise.
9065 * po/Makefile: Likewise.
9066 * posix/fnmatch.c: Likewise.
9067 * posix/regex.h: Likewise.
9068 * resolv/Makefile: Likewise.
9069 * resolv/nss_dns/dns-network.c: Likewise.
9070 * resolv/res_hconf.c: Likewise.
9071 * scripts/gen-sorted.awk: Likewise.
9072 * soft-fp/soft-fp.h: Likewise.
9073 * stdio-common/printf.h: Likewise.
9074 * stdlib/monetary.h: Likewise.
9075 * stdlib/random.c: Likewise.
9076 * stdlib/random_r.c: Likewise.
9077 * sysdeps/generic/Makefile: Likewise.
9078 * sysdeps/gnu/Makefile: Likewise.
9079 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9096 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9097 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9099 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9101 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9107 * sysdeps/mach/hurd/errnos.awk: Likewise.
9108 * sysdeps/mach/hurd/fork.c: Likewise.
9109 * sysdeps/mach/hurd/getcwd.c: Likewise.
9110 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9111 * sysdeps/mach/hurd/mmap.c: Likewise.
9112 * sysdeps/mach/hurd/utimes.c: Likewise.
9113 * sysdeps/mach/hurd/xmknod.c: Likewise.
9114 * sysdeps/posix/profil.c: Likewise.
9115 * sysdeps/posix/readdir_r.c: Likewise.
9116 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9117 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9118 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9119 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9121 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9122 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9123 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9125 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9126 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9127 * sysdeps/pthread/lio_listio.c: Likewise.
9128 * sysdeps/sparc/dl-procinfo.h: Likewise.
9129 * sysdeps/unix/i386/sysdep.S: Likewise.
9130 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9131 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9132 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9133 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9135 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9136 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9137 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9138 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9139 * sysdeps/wordsize-32/divdi3.c: Likewise.
9140 * time/sys/time.h: Likewise.
9141 * wcsmbs/Makefile: Likewise.
9142
9143 2013-01-01 David S. Miller <davem@davemloft.net>
9144
9145 * po/fr.po: Update from translation team.
9146
9147 * catgets/gencat.c: Update copyright year.
9148 * csu/version.c: Likewise.
9149 * debug/catchsegv.sh: Likewise.
9150 * debug/pcprofiledump.c: Likewise.
9151 * debug/xtrace.sh: Likewise.
9152 * elf/ldconfig.c: Likewise.
9153 * elf/ldd.bash.in: Likewise.
9154 * elf/pldd.c: Likewise.
9155 * elf/sotruss.ksh: Likewise.
9156 * elf/sprof.c: Likewise.
9157 * iconv/iconv_prog.c: Likewise.
9158 * iconv/iconvconfig.c: Likewise.
9159 * locale/programs/locale.c: Likewise.
9160 * locale/programs/localedef.c: Likewise.
9161 * login/programs/pt_chown.c: Likewise.
9162 * malloc/memusage.sh: Likewise.
9163 * malloc/memusagestat.c: Likewise.
9164 * malloc/mtrace.pl: Likewise.
9165 * nscd/nscd.c: Likewise.
9166 * nss/getent.c: Likewise.
9167 * nss/makedb.c: Likewise.
9168 * posix/getconf.c: Likewise.
9169
9170 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9171
9172 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9173 numbers.
9174
9175 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9176
9177 * math/bits/mathcalls.h (modf): Use __nonnull.
9178
9179 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9180
9181 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9182 (split): Use macro CN instead of the bare value.
9183 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9184 could be used.
9185 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9186 instead of the bare value.
9187 (power1): Likewise.
9188
9189 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9190
9191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9192 __ATAN_TWOM.
9193 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9194
9195 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9196 their values.
9197 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9198 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9199 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9200 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9201
9202 2012-12-28 Andreas Jaeger <aj@suse.de>
9203
9204 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9205 values are from Linux 3.7.
9206
9207 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9208 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9209
9210 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9211
9212 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9213 TRUE case.
9214
9215 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9216 (norm): Likewise.
9217 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9218 variables with preprocessor constants.
9219 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9220 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9221 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9222
9223 2012-12-27 Bruno Haible <bruno@clisp.org>
9224
9225 [BZ #14317]
9226 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9227 only if needed.
9228
9229 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9230
9231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9232 and use variable directly.
9233 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9234
9235 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9236 MPONE.
9237 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9239 variable MPONE.
9240 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9242 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9243 include directive. Remove local variable MPONE.
9244 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9245 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9246 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9247
9248 2012-12-25 David S. Miller <davem@davemloft.net>
9249
9250 * version.h (RELEASE): Set to "development".
9251 (VERSION): Set to "2.17.90".
9252 * NEWS: Add 2.18 section.
9253
9254 2012-12-21 David S. Miller <davem@davemloft.net>
9255
9256 * po/hr.po: Update from translation team.
9257
9258 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9259
9260 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9261
9262 2012-12-19 Steve Ellcey <sellcey@mips.com>
9263
9264 * NEWS: Mention new memcpy for MIPS.
9265
9266 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9267
9268 * manual/contrib.texi (Contributors): Spelling correction.
9269
9270 2012-12-15 David S. Miller <davem@davemloft.net>
9271
9272 * po/ru.po: Update from translation team.
9273
9274 2012-12-13 David S. Miller <davem@davemloft.net>
9275
9276 * NEWS: Mention IFUNC testsuite enhancements.
9277
9278 * po/pl.po: Update from translation team.
9279 * po/bg.po: Likewise.
9280
9281 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9282 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9283
9284 2012-12-11 David S. Miller <davem@davemloft.net>
9285
9286 * po/sv.po: Update from translation team.
9287
9288 * po/vi.po: Update from translation team.
9289
9290 * po/cs.po: Update from translation team.
9291
9292 * po/de.po: Update from translation team.
9293 * po/eo.po: Likewise.
9294 * po/nl.po: Likewise.
9295
9296 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9297
9298 [BZ #14246]
9299 * manual/argp.texi (Argp Helper Functions): Move node to follow
9300 Argp Parsing State.
9301
9302 [BZ #14872]
9303 * manual/conf.texi (Limits on File System Capacity): Mention if
9304 terminating null is included in the max size.
9305
9306 2012-12-10 Andreas Jaeger <aj@suse.de>
9307
9308 * po/cs.po: Update from translation team.
9309
9310 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9311
9312 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9313 void pointer and cast to uintptr_t.
9314 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9315 path.
9316 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9317 * sysdeps/s390/s390-64/memset.S: Likewise.
9318
9319 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9320
9321 [BZ #14833]
9322 * menual/message.texi (Message Translation): Fix typos.
9323 (Helper programs for gettext): Likewise.
9324
9325 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9326
9327 [BZ #14898]
9328 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9329 Change to -1.
9330
9331 2012-12-07 David S. Miller <davem@davemloft.net>
9332
9333 * po/libc.pot: Update.
9334
9335 2012-12-07 Richard Henderson <rth@redhat.com>
9336
9337 [BZ #10114]
9338 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9339 normal/normal case to before the switch.
9340 (_FP_DIV): Likewise.
9341
9342 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9343 Mike Frysinger <vapier@gentoo.org>
9344
9345 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9346 check for __NR_fadvise64_64.
9347
9348 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9349
9350 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9351 0, not just to plain "0" as a statement.
9352 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9353 with cw.
9354
9355 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9356
9357 * NEWS: Use sourceware.org in Bugzilla URL.
9358
9359 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9360
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9362 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9363
9364 * stdio-common/tst-put-error.c (do_test): Add newline to the
9365 padded test to ensure flush.
9366
9367 2012-12-05 Jeff Law <law@redhat.com>
9368
9369 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9370
9371 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9372
9373 * README: Don't refer to ports add-on as distributed separately.
9374 Mention AArch64 in list of systems supported in the ports add-on.
9375
9376 * LICENSES: Add more non-FSF copyright and license notices.
9377
9378 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9379 ((unused)).
9380
9381 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9382
9383 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9384 10000 as width of padded output.
9385
9386 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9387
9388 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9389
9390 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9391 variable LX with __attribute__ ((unused)).
9392 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9393 Likewise.
9394 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9396 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9397 with __attribute__ ((unused)).
9398
9399 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9400
9401 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9402
9403 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9404
9405 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9406 (CFLAGS-nldbl-acos.c): New variable.
9407 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9408 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9409 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9410 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9411 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9412 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9413 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9414 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9415 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9416 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9417 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9418 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9419 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9420 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9421 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9422 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9423 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9424 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9425 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9426 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9427 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9428 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9429 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9430 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9431 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9432 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9433 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9434 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9435 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9436 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9437 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9438 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9439 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9440 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9441 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9442 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9443 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9444 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9445 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9446 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9447 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9448 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9449 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9450 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9451 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9452 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9453 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9454 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9455 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9456 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9457 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9458 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9459 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9460 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9461 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9462 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9463 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9464 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9465 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9466 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9467 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9468 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9469 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9470 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9471 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9472 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9473 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9474 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9475 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9476 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9477 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9478 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9479 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9480 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9481 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9482 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9483 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9484 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9485 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9486 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9487 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9488 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9489 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9490 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9491 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9492 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9493 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9494 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9495 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9496 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9497 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9498 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9499 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9500 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9501 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9502 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9503 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9504
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9506 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9507
9508 [BZ #14914]
9509 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9510 whole low double instead of just low 47 bits when splitting values
9511 into two parts.
9512
9513 2012-12-03 Allan McRae <allan@archlinux.org>
9514
9515 * manual/stdio.texi (Predefined Printf Handlers): Remove
9516 @hsep and @vsep usage.
9517
9518 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9519
9520 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9521 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9522
9523 2012-12-03 Jeff Law <law@redhat.com>
9524
9525 * time/sys/time.h (settimeofday): Do not mark TV argument
9526 as __nonnull.
9527
9528 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9529
9530 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9531 when currently writing and seek to current position when not.
9532 * libio/Makefile (tests): Remove bug-fclose1.
9533 * libio/bug-fclose1.c: Delete.
9534
9535 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9536
9537 * manual/arith.texi (feenableexcept): Fix typo.
9538 (fedisableexcept): Likewise.
9539
9540 2012-11-30 Roland McGrath <roland@hack.frob.com>
9541
9542 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9543 second, differently-typed declaration, rather than a cast.
9544
9545 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9546
9547 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9548 * include/rpc/svc.h: ... here.
9549
9550 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9551
9552 [BZ #13013]
9553 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9554 depending n and resplen2 to catch cases where answer
9555 equals answerp2.
9556
9557 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9558
9559 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9560 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9561
9562 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9563
9564 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9565
9566 2012-11-29 Roland McGrath <roland@hack.frob.com>
9567
9568 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9569
9570 2012-11-28 Jeff Law <law@redhat.com>
9571
9572 [BZ #13761]
9573 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9574 dataset_temporary. Track alloca usage into alloca_used.
9575 If dataset is large allocate and release it via malloc/free.
9576
9577 2012-06-04 Florian Weimer <fweimer@redhat.com>
9578
9579 [BZ #14197]
9580 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9581
9582 2012-11-28 David S. Miller <davem@davemloft.net>
9583
9584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9585
9586 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9587
9588 [BZ #14803]
9589 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9590 of pi/2 rounded to nearest to 64 bits.
9591 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9592 nearest to 64 bits.
9593 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9594 bits.
9595
9596 2012-11-28 Jeff Law <law@redhat.com>
9597 Martin Osvald <mosvald@redhat.com>
9598
9599 [BZ #14889]
9600 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9601 * sunrpc/svc.c: Include time.h.
9602 (__svc_accept_failed): New function.
9603 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9604 any reason other than EINTR, call __svc_accept_failed.
9605 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9606 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9607
9608 2012-11-28 Andreas Schwab <schwab@suse.de>
9609
9610 * scripts/abilist.awk: Also handle indirect functions in .opd
9611 section.
9612
9613 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9614
9615 [BZ #13881]
9616 * sysdeps/x86/fpu/powl_helper.c: New file.
9617 * sysdeps/x86/fpu/Makefile: Likewise.
9618 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9619 (p3): New object.
9620 (__ieee754_powl): Use __powl_helper for finite arguments except
9621 integer exponents below 8.
9622 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9623 (p3): New object.
9624 (__ieee754_powl): Use __powl_helper for finite arguments except
9625 integer exponents below 8.
9626 * math/libm-test.inc (pow_test): Add more tests and enable some
9627 previously disabled tests.
9628 * sysdeps/i386/fpu/libm-test-ulps: Update.
9629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630
9631 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9632 Carlos O'Donell <carlos_odonell@mentor.com>
9633
9634 * nss/makedb.c (is_prime): Assert that input is odd and greater
9635 than 4. Note that fact in a comment too.
9636 (next_prime): Add 4 to input.
9637
9638 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9639
9640 [BZ #11741]
9641 * libio/Makefile (tests): Add test case tst-fwrite-error.
9642 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9643 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9644 * libio/tst-fwrite-error.c: New test case.
9645
9646 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9649 before casting to void *.
9650 * include/libc-internal.h (__pointer_type): New macro.
9651 (__integer_if_pointer_type_sub): Likewise.
9652 (__integer_if_pointer_type): Likewise.
9653 (cast_to_integer): Likewise.
9654 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9655 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9656 before casting to atomic64_t.
9657 (atomic_exchange_acq): Likewise.
9658 (__arch_exchange_and_add_body): Likewise.
9659 (__arch_add_body): Likewise.
9660 (atomic_add_negative): Likewise.
9661 (atomic_add_zero): Likewise.
9662
9663 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9664
9665 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9666 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9667 (add_fdes): Likewise.
9668 (linear_search_fdes): Likewise.
9669 (binary_search_unencoded_fdes): Likewise.
9670
9671 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9672
9673 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9674
9675 2012-11-24 Adam Conrad <adconrad@0c3.net>
9676
9677 * configure.in: Autodetect C++ header directories.
9678 * configure: Regenerated.
9679
9680 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9681
9682 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9683
9684 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9685
9686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9687
9688 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9689
9690 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9691 LDBL_MANT_DIG == 106]: Disable some tests.
9692 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9693 Likewise.
9694 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9695 Likewise.
9696
9697 [BZ #14871]
9698 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9699 input for small inputs. Return +/- pi/2 for large inputs.
9700 * math/libm-test.inc (atan_test): Add more tests.
9701
9702 * sysdeps/generic/unwind-dw2-fde-glibc.c
9703 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9704 __attribute__ ((unused)).
9705
9706 [BZ #14645]
9707 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9708 x * y if x and y are nonzero and z is zero.
9709
9710 [BZ #14811]
9711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9712 nonzero exponents with absolute value below 0x1p-117 to +/-
9713 0x1p-117.
9714
9715 [BZ #14869]
9716 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9717 up arguments below 2**-450, not just those below 2**-500.
9718 * math/libm-test.inc (hypot_test): Add another test.
9719
9720 [BZ #14868]
9721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9722 Return a+b for ratio over 2**120, not 2**60.
9723 * math/libm-test.inc (hypot_test): Add another test.
9724
9725 * math/libm-test.inc (clog_test): Use
9726 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9727 (clog10_test): Likewise.
9728
9729 [BZ #6778]
9730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9731
9732 2012-11-22 Andreas Schwab <schwab@suse.de>
9733
9734 * sysdeps/i386/fpu/libm-test-ulps: Update.
9735
9736 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9737
9738 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9739 printf output with newline.
9740
9741 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9742
9743 [BZ #14865]
9744 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9745 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9746 -z nodlopen, -z initfirst and -z execstack support.
9747 * configure: Regenerated.
9748
9749 * elf/elf.h (DF_1_NODIRECT): New macro.
9750 (DF_1_IGNMULDEF): Likewise.
9751 (DF_1_NOKSYMS): Likewise.
9752 (DF_1_NOHDR): Likewise.
9753 (DF_1_EDITED): Likewise.
9754 (DF_1_NORELOC): Likewise.
9755 (DF_1_SYMINTPOSE): Likewise.
9756 (DF_1_GLOBAUDIT): Likewise.
9757 (DF_1_SINGLETON): Likewise.
9758 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9759 DT_1_SUPPORTED_MASK bits.
9760 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9761
9762 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9763
9764 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9765
9766 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9767
9768 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9769 macro.
9770
9771 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9772 (sendmmsg): Move declarations...
9773 * socket/sys/socket.h: ... here.
9774 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9775 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9776 include it from...
9777 * socket/recvmmsg.c: ... this new file.
9778 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9779 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9780 definition of __sendmmsg hidden.
9781 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9782 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9783 Move ENOSYS stub into and include it from...
9784 * socket/sendmmsg.c: ... this new file.
9785 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9786 (sysdep_routines): Move recvmmsg and sendmmsg...
9787 * socket/Makefile (routines): ... here.
9788 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9789 (GLIBC_PRIVATE): Add __sendmmsg.
9790 * include/sys/socket.h (__sendmmsg): Add declarations.
9791 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9792 sendmmsg.
9793
9794 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9795
9796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9797 variable I1 with __attribute__ ((unused)).
9798 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9799
9800 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9801
9802 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9803 DUMMY variables with __attribute__ ((unused)).
9804
9805 * bits/byteswap.h: Include <bits/types.h>.
9806 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9807
9808 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9809
9810 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9811 string_t. Do not manually set errno.
9812 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9813 length with __strnlen. Make sure to both set errno and return it on
9814 failure.
9815
9816 2012-11-19 David S. Miller <davem@davemloft.net>
9817
9818 With help from Joseph Myers.
9819 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9820 very large arguments properly.
9821 * math/libm-test.inc (atan_test): New tests.
9822 (atan2_test): New tests.
9823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9825
9826 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9827
9828 [BZ #14856]
9829 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9830 Define to 3.
9831
9832 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9833 [POSIX] (EADDRNOTAVAIL): Likewise.
9834 [POSIX] (EAFNOSUPPORT): Likewise.
9835 [POSIX] (EALREADY): Likewise.
9836 [POSIX] (ECONNABORTED): Likewise.
9837 [POSIX] (ECONNREFUSED): Likewise.
9838 [POSIX] (ECONNRESET): Likewise.
9839 [POSIX] (EDESTADDRREQ): Likewise.
9840 [POSIX] (EDQUOT): Likewise.
9841 [POSIX] (EHOSTUNREACH): Likewise.
9842 [POSIX] (EIDRM): Likewise.
9843 [POSIX] (EISCONN): Likewise.
9844 [POSIX] (ELOOP): Likewise.
9845 [POSIX] (EMULTIHOP): Likewise.
9846 [POSIX] (ENETDOWN): Likewise.
9847 [POSIX] (ENETUNREACH): Likewise.
9848 [POSIX] (ENOBUFS): Likewise.
9849 [POSIX] (ENODATA): Likewise.
9850 [POSIX] (ENOLINK): Likewise.
9851 [POSIX] (ENOMSG): Likewise.
9852 [POSIX] (ENOPROTOOPT): Likewise.
9853 [POSIX] (ENOSR): Likewise.
9854 [POSIX] (ENOSTR): Likewise.
9855 [POSIX] (ENOTCONN): Likewise.
9856 [POSIX] (ENOTSOCK): Likewise.
9857 [POSIX] (EOPNOTSUPP): Likewise.
9858 [POSIX] (EOVERFLOW): Likewise.
9859 [POSIX] (EPROTO): Likewise.
9860 [POSIX] (EPROTONOSUPPORT): Likewise.
9861 [POSIX] (EPROTOTYPE): Likewise.
9862 [POSIX] (ESTALE): Likewise.
9863 [POSIX] (ETIME): Likewise.
9864 [POSIX] (ETXTBSY): Likewise.
9865 [POSIX] (EWOULDBLOCK): Likewise.
9866 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9867 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9868 [POSIX] (SEEK_CUR): Likewise.
9869 [POSIX] (SEEK_END): Likewise.
9870 [POSIX || UNIX98] (mode_t): Do not require.
9871 [POSIX] (off_t): Likewise.
9872 [POSIX] (pid_t): Likewise.
9873 [POSIX] (sys/stat.h): Do not allow header.
9874 [POSIX] (unistd.h): Likewise.
9875 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9876 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9877 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9878 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9879 require.
9880 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9881 sigevent): Specify elements.
9882 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9883 entry.
9884 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9885 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9886
9887 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9888 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9889 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9890 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9891 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9892 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9893 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9894 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9895 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9896 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9897 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9898 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9899 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9900 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9901 Likewise.
9902 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9903 Likewise.
9904 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9905 Likewise.
9906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9907 Likewise.
9908 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9909 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9910 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9911 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9912 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9913 Specify lower bound on value.
9914 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9915 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9916 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9917 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9918 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9919 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9920 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9921 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9922 value.
9923 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9924 as optional.
9925 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9926 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9927 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9928 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9929 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9930 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9931 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9932 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9933 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9934 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9935 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9936 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9937 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9938 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9939 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9940 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9941 entry.
9942 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9943 optional.
9944 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9945 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9946 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9947 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9948 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9949 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9950 Likewise.
9951 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9952 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9953 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9954 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9955 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9956 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9957 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9958 as optional.
9959 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9960 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9961 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9962 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9963 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9964 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9965 specify as optional.
9966 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9967 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9968 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9969 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9970 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9971 [XPG3] (NL_LANGMAX): Likewise.
9972 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9973 [POSIX || XPG3] (NL_NMAX): Likewise.
9974 [POSIX || XPG3] (NL_SETMAX): Likewise.
9975 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9976 [XPG3] (NZERO): Likewise.
9977 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9978 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9979 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9980 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9981 (REG_ERANGE): Expect.
9982 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9983 optional-constant.
9984 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9985 Use (void) in prototype.
9986 [POSIX] (*_t): Allow.
9987 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9988 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9989 (WRDE_BADVAL): Expect.
9990
9991 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9992 expect.
9993 [XPG3 || XPG4] (O_RSYNC): Likewise.
9994 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9995 Likewise.
9996 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9997 [XPG3 || XPG4] (sigqueue): Likewise.
9998 [XPG3 || XPG4] (sigtimedwait): Likewise.
9999 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10000 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10001 [XPG3 || XPG4] (vsnprintf): Likewise.
10002 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10003 Likewise.
10004 [XPG3 || XPG4] (blksize_t): Likewise.
10005 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10006 Likewise.
10007 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10008 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10009 [XPG3 || XPG4] (struct itimerspec): Likewise.
10010 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10011 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10012 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10013 [XPG3 || XPG4] (clockid_t): Likewise.
10014 [XPG3 || XPG4] (timer_t): Likewise.
10015 [XPG3 || XPG4] (clock_getres): Likewise.
10016 [XPG3 || XPG4] (clock_gettime): Likewise.
10017 [XPG3 || XPG4] (clock_settime): Likewise.
10018 [XPG3 || XPG4] (nanosleep): Likewise.
10019 [XPG3 || XPG4] (timer_create): Likewise.
10020 [XPG3 || XPG4] (timer_delete): Likewise.
10021 [XPG3 || XPG4] (timer_gettime): Likewise.
10022 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10023 [XPG3 || XPG4] (timer_settime): Likewise.
10024 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10025 [XPG3 || XPG4] (getlogin_r): Likewise.
10026 [XPG3 || XPG4] (pread): Likewise.
10027 [XPG3 || XPG4] (pthread_atfork): Likewise.
10028 [XPG3 || XPG4] (pwrite): Likewise.
10029
10030 [BZ #14835]
10031 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10032 <bits/siginfo.h>.
10033
10034 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10035
10036 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10037 finalizing MALLSTREAM.
10038
10039 * sysdeps/mach/hurd/syncfs.c: New file.
10040
10041 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10042
10043 [BZ #14719]
10044 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10045 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10046 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10047 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10048 (_nss_dns_gethostbyname4_r): Likewise.
10049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10050 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10051
10052 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10053
10054 [BZ #13763]
10055 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10056
10057 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10058
10059 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10060 * elf/cache.c (print_entry): Print ",AArch64" for
10061 FLAG_AARCH64_LIB64
10062
10063 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10064 * elf/cache.c (print_entry): Print ",hard-float" for
10065 FLAG_ARM_LIBHF.
10066
10067 2012-11-18 David S. Miller <davem@davemloft.net>
10068
10069 With help from Joseph Myers.
10070 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10071 cutoff to 2**-13.
10072 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10073 cutoff to 2**-25.
10074 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10075 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10076 small.
10077 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10078 * math/libm-test.inc (y0_test): New tests.
10079 (y1_test): New tests.
10080 * sysdeps/i386/fpu/libm-test-ulps: Update.
10081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10083
10084 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10085
10086 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10087 64-bit targets.
10088 * configure: Regenerated.
10089
10090 2012-11-17 David S. Miller <davem@davemloft.net>
10091
10092 [BZ #14811]
10093 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10094 nonzero exponents with absolute value below 0x1p-128 to +/-
10095 0x1p-128.
10096
10097 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10098
10099 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10100
10101 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10102
10103 * posix/getconf-speclist.c: New file.
10104 * posix/posix-envs.def: Likewise.
10105 * posix/confstr.c (START_ENV_GROUP): New macro.
10106 (END_ENV_GROUP): Likewise.
10107 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10108 (KNOWN_PRESENT_ENV_STRING): Likewise.
10109 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10110 (UNKNOWN_ENVIRONMENT): Likewise.
10111 (confstr): Include posix-envs.def instead of handling
10112 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10113 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10114 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10115 (END_ENV_GROUP): Likewise.
10116 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10117 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10118 (UNKNOWN_ENVIRONMENT): Likewise.
10119 (__sysconf): Include posix-envs.def instead of handling associated
10120 cases directly here.
10121 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10122 preprocessing getconf-speclist.c rather than running getconf or
10123 generating empty file.
10124
10125 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10126
10127 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10128
10129 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10130
10131 [BZ #14672]
10132 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10133
10134 2012-11-16 David S. Miller <davem@davemloft.net>
10135
10136 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10137 smaller than LDBL_EPSILON/2.0L, just return xm1.
10138
10139 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10140
10141 * elf/tst-array1.c (init): Set constructor priority to 1000.
10142 (fini): Set destructor priority to 1000.
10143 * elf/tst-array2dep.c: Likewise.
10144
10145 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10146
10147 [BZ #11741]
10148 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10149 (_IO_new_file_xsputn): Also return EOF if none of the input
10150 data was written when overflow failed.
10151 * libio/iopadn.c (_IO_padn): Likewise.
10152 * libio/iowpadn.c (_IO_wpadn): Likewise.
10153 * stdio-common/tst-put-error.c: Add copyright notice.
10154 (do_test): Add case for printing padded string.
10155 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10156 _IO_padn returned error.
10157 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10158 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10159 return EOF.
10160
10161 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10162
10163 * libio/libioP.h: Add comment note that the references to C++
10164 bits are now obsolete.
10165
10166 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10167
10168 * math/libm-test.inc (check_complex): Use asprintf.
10169
10170 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10171
10172 * debug/pcprofiledump.c (print_version): Update copyright year.
10173 * malloc/memusagestat.c (print_version): Likewise.
10174
10175 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10176
10177 [BZ #14831]
10178 * elf/Makefile (tests): Add tst-audit8.
10179 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10180 ($(objpfx)tst-audit8.out): New target.
10181 (tst-audit8-ENV): New variable.
10182 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10183 audit if l_reloc_result is NULL.
10184 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10185 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10186 * elf/tst-audit8.c: New file.
10187
10188 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10189
10190 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10191 * misc/Makefile (CFLAGS-select.c): Define.
10192 * posix/Makefile (CFLAGS-pause.c): Define.
10193
10194 2012-11-13 David S. Miller <davem@davemloft.net>
10195
10196 * crypt/Makefile: Move test targets after toplevel Rules
10197 inclusion. Grab any necessary sysdep routines when linking.
10198 * crypt/md5.c (md5_process_block): Remove define, we will always
10199 name it __md5_process_block.
10200 (md5_finish_ctx): Update md5_process_block call.
10201 (md5_stream): Likewise.
10202 (md5_process_bytes): Likewise.
10203 (md5_process_block): Rename to __md5_process_block and move to ...
10204 * crypt/md5-block.c: ... here.
10205 * crypt/sha256.c (sha256_process_block): Move to ...
10206 * crypt/sha256-block.c: ... here.
10207 * crypt/sha512.c (sha512_process_block): Move to ...
10208 * crypt/sha512-block.c: ... here.
10209 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10210 path.
10211 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10212 * sysdeps/sparc/sparc64/multiarch/Makefile
10213 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10214 crypt subdir.
10215 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10216 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10217 multiarch changes.
10218 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10219 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10220 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10221 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10222 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10223 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10224 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10225 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10226 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10227 file.
10228 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10229 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10230 file.
10231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10232
10233 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10234
10235 * timezone/tzselect.ksh: Update from tzcode git revision
10236 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10237 * timezone/zdump.c: Likewise.
10238 * timezone/zic.c: Likewise.
10239 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10240 in TZVERSION setting, not $(PKGVERSION).
10241 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10242 REPORT_BUGS_TO settings.
10243
10244 [BZ #14838]
10245 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10246 macro.
10247
10248 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10249
10250 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10251 detection to immediately after _FP_ROUND().
10252 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10253 bits are 0.
10254
10255 2012-11-11 David S. Miller <davem@davemloft.net>
10256
10257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10258 inttypes.h
10259 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10260 __close rather than their public counterparts.
10261
10262 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10263
10264 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10265 file.
10266 [UNIX98] (sem_timedwait): Do not expect.
10267 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10268 [XPG4 || UNIX98] (sockatmark): Do not expect.
10269 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10270 (clock_getcpuclockid): Do not expect.
10271 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10272 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10273 Do not expect.
10274 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10275 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10276 [UNIX98] (vwscanf): Likewise.
10277 [UNIX98] (vswscanf): Likewise.
10278
10279 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10280
10281 * timezone/version.h: Remove file.
10282 * timezone/README: Do not refer to version.h.
10283 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10284 $(objpfx)version.h.
10285 ($(objpfx)zdump.o): Likewise.
10286 ($(objpfx)version.h): New target.
10287
10288 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10289 2012i.
10290 * timezone/README: Don't mention modification to tzselect.ksh.
10291 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10292 work on unmodified tzselect.ksh. Substitute version numbers in
10293 tzselect.ksh.
10294
10295 * Makefile (format-me): Remove.
10296 (INSTALL): Adjust indentation. Use commands directly instead of
10297 using $(format-me).
10298
10299 * aclocal.m4 (ACX_PKGVERSION): New macro.
10300 (ACX_BUGURL): Likewise.
10301 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10302 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10303 (REPORT_BUGS_TO): Likewise.
10304 * configure: Regenerated.
10305 * config.h.in (PKGVERSION): New macro.
10306 (REPORT_BUGS_TO): Likewise.
10307 * config.make.in (PKGVERSION): New variable.
10308 (PKGVERSION_TEXI): Likewise.
10309 (REPORT_BUGS_TO): Likewise.
10310 (REPORT_BUGS_TEXI): Likewise.
10311 * Makefile (format-me): Use -I$(common-objpfx)manual.
10312 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10313 ($(common-objpfx)manual/%): New target.
10314 (manual/%): Remove target.
10315 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10316 (print_version): Use PKGVERSION.
10317 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10318 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10319 and REPORT_BUGS_TO.
10320 ($(objpfx)xtrace): Likewise.
10321 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10322 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10323 (print_version): Use PKGVERSION.
10324 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10325 (do_version): Use PKGVERSION.
10326 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10327 REPORT_BUGS_TO.
10328 (common-ldd-rewrite): Likewise.
10329 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10330 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10331 (print_version): Use PKGVERSION.
10332 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10333 * elf/pldd.c (argp_program_bug_address): Remove variable.
10334 (more_help): New function.
10335 (argp): Use more_help.
10336 (print_version): Use PKGVERSION.
10337 * elf/sln.c (main): Use PKGVERSION.
10338 (usage): Use REPORT_BUGS_TO.
10339 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10340 (top level): Use PKGVERSION.
10341 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10342 (print_version): Use PKGVERSION.
10343 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10344 (print_version): Use PKGVERSION.
10345 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10346 (print_version): Use PKGVERSION.
10347 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10348 (print_version): Use PKGVERSION.
10349 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10350 (print_version): Use PKGVERSION.
10351 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10352 (print_version): Use PKGVERSION.
10353 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10354 and BUGURL.
10355 ($(objpfx)memusage): Likewise.
10356 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10357 (do_version): Use PKGVERSION.
10358 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10359 (print_version): Use PKGVERSION.
10360 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10361 ($PKGVERSION): New variable.
10362 ($REPORT_BUGS_TO): Likewise.
10363 (usage): Use $REPORT_BUGS_TO.
10364 (top level): Use $PKGVERSION.
10365 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10366 ($(objpfx)pkgvers.texi): New rule.
10367 ($(objpfx)stamp-pkgvers): Likewise.
10368 * manual/install.texi: Include pkgvers.texi.
10369 (--with-pkgversion): Document new configure option.
10370 (--with-bugurl): Likewise.
10371 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10372 than necessarily for this particular distribution. Use
10373 REPORT_BUGS_TO for where to report bugs.
10374 * INSTALL: Regenerated.
10375 * manual/libc.texinfo: Include pkgvers.texi.
10376 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10377 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10378 (print_version): Use PKGVERSION.
10379 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10380 (print_version): Use PKGVERSION.
10381 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10382 (print_version): Use PKGVERSION.
10383 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10384 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10385 macro.
10386 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10387 (print_version): Use PKGVERSION.
10388 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10389 (print_version): Use PKGVERSION.
10390 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10391 and PKGVERSION.
10392
10393 * timezone/checktab.awk: Update from tzcode 2012i.
10394 * timezone/ialloc.c: Likewise.
10395 * timezone/private.h: Likewise.
10396 * timezone/scheck.c: Likewise.
10397 * timezone/tzfile.h: Likewise.
10398 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10399 (TZVERSION): Hardcode tzcode version number.
10400 * timezone/zdump.c: Update from tzcode 2012i.
10401 * timezone/zic.c: Likewise.
10402 * timezone/version.h: New file.
10403 * timezone/README: Describe version.h. Update upstream location.
10404
10405 [BZ #14824]
10406 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10407 (mktemp): Enable declaration.
10408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10412 Likewise.
10413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10414 Likewise.
10415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10416 Likewise.
10417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10418 Likewise.
10419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10420 Likewise.
10421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10422 Likewise.
10423
10424 [BZ #14821]
10425 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10426 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10427 for copies of such integer values.
10428 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10429 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10430
10431 2012-11-09 Andreas Jaeger <aj@suse.de>
10432
10433 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10434 definitions and declarations that are provided by
10435 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10436
10437 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10438
10439 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10440 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10441 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10442 definition.
10443
10444 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10445
10446 * elf/elf.h: Update comment before AArch64 relocations.
10447
10448 2012-11-07 David S. Miller <davem@davemloft.net>
10449
10450 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10451 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10452 (__start_context): Declare.
10453 (__makecontext_ret): Delete.
10454 (__makecontext): Hook up __start_context instead of
10455 __makecontext_ret.
10456 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10457 (sysdep_routines): Add __start_context when in stdlib.
10458
10459 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10460
10461 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10462 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10463 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10464 hardcoded "nm".
10465 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10466 (READELF): New variable. Use it instead of hardcoded "readelf".
10467
10468 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10471 * sysdeps/x86/Makefile: Here.
10472 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10473 * sysdeps/x86/tst-xmmymm.sh: This.
10474
10475 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10476
10477 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10478 expectations.
10479 [UNIX98] (pthread_barrier_t): Do not expect.
10480 [UNIX98] (pthread_barrierattr_t): Likewise.
10481 [UNIX98] (pthread_spinlock_t): Likewise.
10482 [UNIX98] (pthread_barrier_destroy): Likewise.
10483 [UNIX98] (pthread_barrier_init): Likewise.
10484 [UNIX98] (pthread_barrier_wait): Likewise.
10485 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10486 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10487 [UNIX98] (pthread_barrierattr_init): Likewise.
10488 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10489 [UNIX98] (pthread_getcpuclockid): Likewise.
10490 [UNIX98] (pthread_mutex_timedlock): Likewise.
10491 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10492 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10493 [UNIX98] (pthread_sigmask): Likewise.
10494 [UNIX98] (pthread_spin_destroy): Likewise.
10495 [UNIX98] (pthread_spin_init): Likewise.
10496 [UNIX98] (pthread_spin_lock): Likewise.
10497 [UNIX98] (pthread_spin_trylock): Likewise.
10498 [UNIX98] (pthread_spin_unlock): Likewise.
10499 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10500 Do not expect.
10501 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10503 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10504 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10505 [XPG3 || XPG4] (pthread_key_t): Likewise.
10506 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10507 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10508 [XPG3 || XPG4] (pthread_once_t): Likewise.
10509 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10510 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10512 [XPG3 || XPG4] (pthread_t): Likewise.
10513
10514 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10515 not expect.
10516 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10517
10518 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10519 Change function return type to int.
10520
10521 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10522 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10523 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10524 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10525 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10526 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10527 [!POSIX] (posix_madvise): Likewise.
10528 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10529 && !UNIX98].
10530 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10531 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10532 (mode_t): Likewise.
10533 (posix_mem_offset): Likewise.
10534 (posix_typed_mem_get_info): Likewise.
10535 (posix_typed_mem_open): Likewise.
10536
10537 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10538 Change condition to [XOPEN2K8].
10539
10540 * conform/conformtest.pl: Preprocess allow-header data with -x c
10541 instead of from stdin.
10542 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10543 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10544 [C99-based standards] (cerfc): Likewise.
10545 [C99-based standards] (cexp2): Likewise.
10546 [C99-based standards] (cexpm1): Likewise.
10547 [C99-based standards] (clog10): Likewise.
10548 [C99-based standards] (clog1p): Likewise.
10549 [C99-based standards] (clog2): Likewise.
10550 [C99-based standards] (clgamma): Likewise.
10551 [C99-based standards] (ctgamma): Likewise.
10552 [C99-based standards] (cerff): Likewise.
10553 [C99-based standards] (cerfcf): Likewise.
10554 [C99-based standards] (cexp2f): Likewise.
10555 [C99-based standards] (cexpm1f): Likewise.
10556 [C99-based standards] (clog10f): Likewise.
10557 [C99-based standards] (clog1pf): Likewise.
10558 [C99-based standards] (clog2f): Likewise.
10559 [C99-based standards] (clgammaf): Likewise.
10560 [C99-based standards] (ctgammaf): Likewise.
10561 [C99-based standards] (cerfl): Likewise.
10562 [C99-based standards] (cerfcl): Likewise.
10563 [C99-based standards] (cexp2l): Likewise.
10564 [C99-based standards] (cexpm1l): Likewise.
10565 [C99-based standards] (clog10l): Likewise.
10566 [C99-based standards] (clog1pl): Likewise.
10567 [C99-based standards] (clog2l): Likewise.
10568 [C99-based standards] (clgammal): Likewise.
10569 [C99-based standards] (ctgammal): Likewise.
10570 * conform/data/inttypes.h-data [C99-based standards]: Include
10571 stdint.h-data. Remove all expectations for stdint.h contents.
10572 [C99-based standards] (PRI*): Do not allow.
10573 [C99-based standards] (SCN*): Likewise.
10574 [C99-based standards] (*_t): Likewise.
10575 [C99-based-standards] (PRId8): Expect macro.
10576 [C99-based-standards] (PRIi8): Likewise.
10577 [C99-based-standards] (PRIo8): Likewise.
10578 [C99-based-standards] (PRIu8): Likewise.
10579 [C99-based-standards] (PRIx8): Likewise.
10580 [C99-based-standards] (PRIX8): Likewise.
10581 [C99-based-standards] (SCNd8): Likewise.
10582 [C99-based-standards] (SCNi8): Likewise.
10583 [C99-based-standards] (SCNo8): Likewise.
10584 [C99-based-standards] (SCNu8): Likewise.
10585 [C99-based-standards] (SCNx8): Likewise.
10586 [C99-based-standards] (PRIdLEAST8): Likewise.
10587 [C99-based-standards] (PRIiLEAST8): Likewise.
10588 [C99-based-standards] (PRIoLEAST8): Likewise.
10589 [C99-based-standards] (PRIuLEAST8): Likewise.
10590 [C99-based-standards] (PRIxLEAST8): Likewise.
10591 [C99-based-standards] (PRIXLEAST8): Likewise.
10592 [C99-based-standards] (SCNdLEAST8): Likewise.
10593 [C99-based-standards] (SCNiLEAST8): Likewise.
10594 [C99-based-standards] (SCNoLEAST8): Likewise.
10595 [C99-based-standards] (SCNuLEAST8): Likewise.
10596 [C99-based-standards] (SCNxLEAST8): Likewise.
10597 [C99-based-standards] (PRIdFAST8): Likewise.
10598 [C99-based-standards] (PRIiFAST8): Likewise.
10599 [C99-based-standards] (PRIoFAST8): Likewise.
10600 [C99-based-standards] (PRIuFAST8): Likewise.
10601 [C99-based-standards] (PRIxFAST8): Likewise.
10602 [C99-based-standards] (PRIXFAST8): Likewise.
10603 [C99-based-standards] (SCNdFAST8): Likewise.
10604 [C99-based-standards] (SCNiFAST8): Likewise.
10605 [C99-based-standards] (SCNoFAST8): Likewise.
10606 [C99-based-standards] (SCNuFAST8): Likewise.
10607 [C99-based-standards] (SCNxFAST8): Likewise.
10608 [C99-based-standards] (PRId16): Likewise.
10609 [C99-based-standards] (PRIi16): Likewise.
10610 [C99-based-standards] (PRIo16): Likewise.
10611 [C99-based-standards] (PRIu16): Likewise.
10612 [C99-based-standards] (PRIx16): Likewise.
10613 [C99-based-standards] (PRIX16): Likewise.
10614 [C99-based-standards] (SCNd16): Likewise.
10615 [C99-based-standards] (SCNi16): Likewise.
10616 [C99-based-standards] (SCNo16): Likewise.
10617 [C99-based-standards] (SCNu16): Likewise.
10618 [C99-based-standards] (SCNx16): Likewise.
10619 [C99-based-standards] (PRIdLEAST16): Likewise.
10620 [C99-based-standards] (PRIiLEAST16): Likewise.
10621 [C99-based-standards] (PRIoLEAST16): Likewise.
10622 [C99-based-standards] (PRIuLEAST16): Likewise.
10623 [C99-based-standards] (PRIxLEAST16): Likewise.
10624 [C99-based-standards] (PRIXLEAST16): Likewise.
10625 [C99-based-standards] (SCNdLEAST16): Likewise.
10626 [C99-based-standards] (SCNiLEAST16): Likewise.
10627 [C99-based-standards] (SCNoLEAST16): Likewise.
10628 [C99-based-standards] (SCNuLEAST16): Likewise.
10629 [C99-based-standards] (SCNxLEAST16): Likewise.
10630 [C99-based-standards] (PRIdFAST16): Likewise.
10631 [C99-based-standards] (PRIiFAST16): Likewise.
10632 [C99-based-standards] (PRIoFAST16): Likewise.
10633 [C99-based-standards] (PRIuFAST16): Likewise.
10634 [C99-based-standards] (PRIxFAST16): Likewise.
10635 [C99-based-standards] (PRIXFAST16): Likewise.
10636 [C99-based-standards] (SCNdFAST16): Likewise.
10637 [C99-based-standards] (SCNiFAST16): Likewise.
10638 [C99-based-standards] (SCNoFAST16): Likewise.
10639 [C99-based-standards] (SCNuFAST16): Likewise.
10640 [C99-based-standards] (SCNxFAST16): Likewise.
10641 [C99-based-standards] (PRId32): Likewise.
10642 [C99-based-standards] (PRIi32): Likewise.
10643 [C99-based-standards] (PRIo32): Likewise.
10644 [C99-based-standards] (PRIu32): Likewise.
10645 [C99-based-standards] (PRIx32): Likewise.
10646 [C99-based-standards] (PRIX32): Likewise.
10647 [C99-based-standards] (SCNd32): Likewise.
10648 [C99-based-standards] (SCNi32): Likewise.
10649 [C99-based-standards] (SCNo32): Likewise.
10650 [C99-based-standards] (SCNu32): Likewise.
10651 [C99-based-standards] (SCNx32): Likewise.
10652 [C99-based-standards] (PRIdLEAST32): Likewise.
10653 [C99-based-standards] (PRIiLEAST32): Likewise.
10654 [C99-based-standards] (PRIoLEAST32): Likewise.
10655 [C99-based-standards] (PRIuLEAST32): Likewise.
10656 [C99-based-standards] (PRIxLEAST32): Likewise.
10657 [C99-based-standards] (PRIXLEAST32): Likewise.
10658 [C99-based-standards] (SCNdLEAST32): Likewise.
10659 [C99-based-standards] (SCNiLEAST32): Likewise.
10660 [C99-based-standards] (SCNoLEAST32): Likewise.
10661 [C99-based-standards] (SCNuLEAST32): Likewise.
10662 [C99-based-standards] (SCNxLEAST32): Likewise.
10663 [C99-based-standards] (PRIdFAST32): Likewise.
10664 [C99-based-standards] (PRIiFAST32): Likewise.
10665 [C99-based-standards] (PRIoFAST32): Likewise.
10666 [C99-based-standards] (PRIuFAST32): Likewise.
10667 [C99-based-standards] (PRIxFAST32): Likewise.
10668 [C99-based-standards] (PRIXFAST32): Likewise.
10669 [C99-based-standards] (SCNdFAST32): Likewise.
10670 [C99-based-standards] (SCNiFAST32): Likewise.
10671 [C99-based-standards] (SCNoFAST32): Likewise.
10672 [C99-based-standards] (SCNuFAST32): Likewise.
10673 [C99-based-standards] (SCNxFAST32): Likewise.
10674 [C99-based-standards] (PRId64): Likewise.
10675 [C99-based-standards] (PRIi64): Likewise.
10676 [C99-based-standards] (PRIo64): Likewise.
10677 [C99-based-standards] (PRIu64): Likewise.
10678 [C99-based-standards] (PRIx64): Likewise.
10679 [C99-based-standards] (PRIX64): Likewise.
10680 [C99-based-standards] (SCNd64): Likewise.
10681 [C99-based-standards] (SCNi64): Likewise.
10682 [C99-based-standards] (SCNo64): Likewise.
10683 [C99-based-standards] (SCNu64): Likewise.
10684 [C99-based-standards] (SCNx64): Likewise.
10685 [C99-based-standards] (PRIdLEAST64): Likewise.
10686 [C99-based-standards] (PRIiLEAST64): Likewise.
10687 [C99-based-standards] (PRIoLEAST64): Likewise.
10688 [C99-based-standards] (PRIuLEAST64): Likewise.
10689 [C99-based-standards] (PRIxLEAST64): Likewise.
10690 [C99-based-standards] (PRIXLEAST64): Likewise.
10691 [C99-based-standards] (SCNdLEAST64): Likewise.
10692 [C99-based-standards] (SCNiLEAST64): Likewise.
10693 [C99-based-standards] (SCNoLEAST64): Likewise.
10694 [C99-based-standards] (SCNuLEAST64): Likewise.
10695 [C99-based-standards] (SCNxLEAST64): Likewise.
10696 [C99-based-standards] (PRIdFAST64): Likewise.
10697 [C99-based-standards] (PRIiFAST64): Likewise.
10698 [C99-based-standards] (PRIoFAST64): Likewise.
10699 [C99-based-standards] (PRIuFAST64): Likewise.
10700 [C99-based-standards] (PRIxFAST64): Likewise.
10701 [C99-based-standards] (PRIXFAST64): Likewise.
10702 [C99-based-standards] (SCNdFAST64): Likewise.
10703 [C99-based-standards] (SCNiFAST64): Likewise.
10704 [C99-based-standards] (SCNoFAST64): Likewise.
10705 [C99-based-standards] (SCNuFAST64): Likewise.
10706 [C99-based-standards] (SCNxFAST64): Likewise.
10707 [C99-based-standards] (PRIdMAX): Likewise.
10708 [C99-based-standards] (PRIiMAX): Likewise.
10709 [C99-based-standards] (PRIoMAX): Likewise.
10710 [C99-based-standards] (PRIuMAX): Likewise.
10711 [C99-based-standards] (PRIxMAX): Likewise.
10712 [C99-based-standards] (PRIXMAX): Likewise.
10713 [C99-based-standards] (SCNdMAX): Likewise.
10714 [C99-based-standards] (SCNiMAX): Likewise.
10715 [C99-based-standards] (SCNoMAX): Likewise.
10716 [C99-based-standards] (SCNuMAX): Likewise.
10717 [C99-based-standards] (SCNxMAX): Likewise.
10718 [C99-based-standards] (PRIdPTR): Likewise.
10719 [C99-based-standards] (PRIiPTR): Likewise.
10720 [C99-based-standards] (PRIoPTR): Likewise.
10721 [C99-based-standards] (PRIuPTR): Likewise.
10722 [C99-based-standards] (PRIxPTR): Likewise.
10723 [C99-based-standards] (PRIXPTR): Likewise.
10724 [C99-based-standards] (SCNdPTR): Likewise.
10725 [C99-based-standards] (SCNiPTR): Likewise.
10726 [C99-based-standards] (SCNoPTR): Likewise.
10727 [C99-based-standards] (SCNuPTR): Likewise.
10728 [C99-based-standards] (SCNxPTR): Likewise.
10729 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10730 allow.
10731 * conform/data/stdint.h-data: Update comments to clarify
10732 requirements.
10733 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10734 type.
10735 [C99-based standards] (INT8_MAX): Likewise.
10736 [C99-based standards] (INT16_MIN): Likewise.
10737 [C99-based standards] (INT16_MAX): Likewise.
10738 [C99-based standards] (INT32_MIN): Likewise.
10739 [C99-based standards] (INT32_MAX): Likewise.
10740 [C99-based standards] (INT64_MIN): Likewise.
10741 [C99-based standards] (INT64_MAX): Likewise.
10742 [C99-based standards] (UINT8_MAX): Likewise.
10743 [C99-based standards] (UINT16_MAX): Likewise.
10744 [C99-based standards] (UINT32_MAX): Likewise.
10745 [C99-based standards] (UINT64_MAX): Likewise.
10746 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10747 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10748 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10749 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10750 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10751 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10752 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10753 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10754 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10755 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10756 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10757 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10758 [C99-based standards] (INT_FAST8_MIN): Likewise.
10759 [C99-based standards] (INT_FAST8_MAX): Likewise.
10760 [C99-based standards] (INT_FAST16_MIN): Likewise.
10761 [C99-based standards] (INT_FAST16_MAX): Likewise.
10762 [C99-based standards] (INT_FAST32_MIN): Likewise.
10763 [C99-based standards] (INT_FAST32_MAX): Likewise.
10764 [C99-based standards] (INT_FAST64_MIN): Likewise.
10765 [C99-based standards] (INT_FAST64_MAX): Likewise.
10766 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10767 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10768 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10769 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10770 [C99-based standards] (INTPTR_MIN): Likewise.
10771 [C99-based standards] (INTPTR_MAX): Likewise.
10772 [C99-based standards] (UINTPTR_MAX): Likewise.
10773 [C99-based standards] (INTMAX_MIN): Likewise.
10774 [C99-based standards] (INTMAX_MAX): Likewise.
10775 [C99-based standards] (UINTMAX_MAX): Likewise.
10776 [C99-based standards] (PTRDIFF_MIN): Likewise.
10777 [C99-based standards] (PTRDIFF_MAX): Likewise.
10778 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10779 [C99-based standards] (SIZE_MAX): Likewise.
10780 [C99-based standards] (WCHAR_MAX): Likewise.
10781 [C99-based standards] (WINT_MAX): Likewise.
10782 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10783 constraint on value.
10784 [C99-based standards] (WCHAR_MIN): Likewise.
10785 [C99-based standards] (WINT_MIN): Likewise.
10786 [C99-based standards] (*_t): Allow.
10787 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10788 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10789 Include math.h-data and complex.h-data. Remove all expectations
10790 of math.h and complex.h contents.
10791 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10792 at end of line.
10793 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10794 (struct tm): Expect tag.
10795 [C99-based-standards] (wcstof): Expect function.
10796 [C99-based-standards] (wcstold): Likewise.
10797 [C99-based-standards] (wcstoll): Likewise.
10798 [C99-based-standards] (wcstoull): Likewise.
10799 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10800 macro-int-constant. Specify type.
10801 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10802 constraint on value.
10803 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10804 Specify type.
10805 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10806 Specify value.
10807 [ISO C standards]: Do not allow headers.
10808 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10809 wcs[abcdefghijklmnopqrstuvwxyz]*.
10810 [ISO C standards] (*_t): Do not allow.
10811 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10812 Expect function.
10813 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10814 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10815 Specify type.
10816 [ISO C standards]: Do not allow headers.
10817 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10818 is[abcdefghijklmnopqrstuvwxyz]*.
10819 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10820 to[abcdefghijklmnopqrstuvwxyz]*.
10821 [ISO C standards] (*_t): Do not allow.
10822 * conform/data/stdalign.h-data: New file.
10823 * conform/data/stdbool.h-data: Likewise.
10824 * conform/data/stdnoreturn.h-data: Likewise.
10825
10826 2012-11-07 Roland McGrath <roland@hack.frob.com>
10827
10828 [BZ #14815]
10829 * manual/filesys.texi (Directory Entries): Typo fix.
10830 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10831
10832 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10833
10834 * elf/elf.h (EM_AARCH64): New macro.
10835 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10836 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10837 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10838 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10839 (R_AARCH64_TLSDESC): Likewise.
10840 (NT_ARM_TLS): Likewise.
10841 (NT_ARM_HW_BREAK): Likewise.
10842 (NT_ARM_HW_WATCH): Likewise.
10843
10844 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10845
10846 [BZ #14811]
10847 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10848 (__ieee754_powl): Saturate nonzero exponents with absolute value
10849 below 0x1p-79 to +/- 0x1p-79.
10850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10851 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10852 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10853 nonzero exponents with absolute value below 0x1p-32 to +/-
10854 0x1p-32.
10855 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10856 (__ieee754_powl): Saturate nonzero exponents with absolute value
10857 below 0x1p-79 to +/- 0x1p-79.
10858 * math/libm-test.inc (pow_test): Add more tests.
10859
10860 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10861
10862 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10863 _dl_s390_cap_flags with kernel. Increase string length.
10864 (_dl_s390_platforms): Add z196 and zEC12.
10865
10866 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10867
10868 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10869 Change XOPEN21K to XOPEN2K.
10870
10871 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10872
10873 * string/memmove.c: Use memcpy when possible.
10874
10875 2012-11-06 Andreas Jaeger <aj@suse.de>
10876
10877 * po/eo.po: Update from translation team.
10878
10879 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10880
10881 [BZ #14793]
10882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10883 exponent and small x and y exponents, scale x or y up. Increase
10884 by 2 the exponent used in scaling up.
10885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10887 * math/libm-test.inc (fma_test): Add more tests.
10888 (fma_test_towardzero): Likewise.
10889 (fma_test_downward): Likewise.
10890 (fma_test_upward): Likewise.
10891
10892 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10893
10894 [BZ #14805]
10895 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10896 fenv_t *.
10897
10898 [BZ #14801]
10899 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10900 namespace for names of struct fields.
10901 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10902 fenv_t fields.
10903 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10904 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10905
10906 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10907
10908 [BZ #3665]
10909 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10910
10911 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10912
10913 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10914 PTR_DEMANGLE.
10915
10916 [BZ #5246]
10917 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10918 PTR_DEMANGLE.
10919
10920 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10921
10922 [BZ #14797]
10923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10924 definitely overflow as x * y not x * y + z.
10925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10927 * math/libm-test.inc (fma_test): Add more tests.
10928 (fma_test_towardzero): Likewise.
10929 (fma_test_downward): Likewise.
10930 (fma_test_upward): Likewise.
10931
10932 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10933
10934 [BZ #157]
10935
10936 * include/stub-tag.h: Remove file.
10937 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10938 '#include' of it.
10939 * manual/maint.texi (Porting): Don't reference it.
10940 * Makerules ($(objpfx)stubs): Likewise.
10941 * dirent/closedir.c: Don't include <stub-tag.h>.
10942 * dirent/dirfd.c: Likewise.
10943 * dirent/fdopendir.c: Likewise.
10944 * dirent/getdents.c: Likewise.
10945 * dirent/getdents64.c: Likewise.
10946 * dirent/opendir.c: Likewise.
10947 * dirent/readdir.c: Likewise.
10948 * dirent/readdir64.c: Likewise.
10949 * dirent/readdir64_r.c: Likewise.
10950 * dirent/readdir_r.c: Likewise.
10951 * dirent/rewinddir.c: Likewise.
10952 * dirent/seekdir.c: Likewise.
10953 * dirent/telldir.c: Likewise.
10954 * gmon/profil.c: Likewise.
10955 * grp/setgroups.c: Likewise.
10956 * inet/if_index.c: Likewise.
10957 * io/access.c: Likewise.
10958 * io/chdir.c: Likewise.
10959 * io/chmod.c: Likewise.
10960 * io/chown.c: Likewise.
10961 * io/close.c: Likewise.
10962 * io/dup.c: Likewise.
10963 * io/dup2.c: Likewise.
10964 * io/dup3.c: Likewise.
10965 * io/euidaccess.c: Likewise.
10966 * io/faccessat.c: Likewise.
10967 * io/fchdir.c: Likewise.
10968 * io/fchmod.c: Likewise.
10969 * io/fchmodat.c: Likewise.
10970 * io/fchown.c: Likewise.
10971 * io/fchownat.c: Likewise.
10972 * io/fcntl.c: Likewise.
10973 * io/flock.c: Likewise.
10974 * io/fstatfs.c: Likewise.
10975 * io/fstatfs64.c: Likewise.
10976 * io/fstatvfs.c: Likewise.
10977 * io/fstatvfs64.c: Likewise.
10978 * io/futimens.c: Likewise.
10979 * io/fxstat.c: Likewise.
10980 * io/fxstat64.c: Likewise.
10981 * io/fxstatat.c: Likewise.
10982 * io/fxstatat64.c: Likewise.
10983 * io/getcwd.c: Likewise.
10984 * io/isatty.c: Likewise.
10985 * io/lchmod.c: Likewise.
10986 * io/lchown.c: Likewise.
10987 * io/link.c: Likewise.
10988 * io/linkat.c: Likewise.
10989 * io/lseek.c: Likewise.
10990 * io/lseek64.c: Likewise.
10991 * io/lxstat64.c: Likewise.
10992 * io/mkdir.c: Likewise.
10993 * io/mkdirat.c: Likewise.
10994 * io/mkfifo.c: Likewise.
10995 * io/mkfifoat.c: Likewise.
10996 * io/open.c: Likewise.
10997 * io/open64.c: Likewise.
10998 * io/openat.c: Likewise.
10999 * io/openat64.c: Likewise.
11000 * io/pipe.c: Likewise.
11001 * io/pipe2.c: Likewise.
11002 * io/poll.c: Likewise.
11003 * io/posix_fadvise.c: Likewise.
11004 * io/posix_fadvise64.c: Likewise.
11005 * io/posix_fallocate.c: Likewise.
11006 * io/posix_fallocate64.c: Likewise.
11007 * io/read.c: Likewise.
11008 * io/readlink.c: Likewise.
11009 * io/readlinkat.c: Likewise.
11010 * io/rmdir.c: Likewise.
11011 * io/sendfile.c: Likewise.
11012 * io/sendfile64.c: Likewise.
11013 * io/statfs.c: Likewise.
11014 * io/statfs64.c: Likewise.
11015 * io/statvfs.c: Likewise.
11016 * io/statvfs64.c: Likewise.
11017 * io/symlink.c: Likewise.
11018 * io/symlinkat.c: Likewise.
11019 * io/ttyname.c: Likewise.
11020 * io/ttyname_r.c: Likewise.
11021 * io/umask.c: Likewise.
11022 * io/unlink.c: Likewise.
11023 * io/unlinkat.c: Likewise.
11024 * io/utime.c: Likewise.
11025 * io/utimensat.c: Likewise.
11026 * io/write.c: Likewise.
11027 * io/xmknod.c: Likewise.
11028 * io/xmknodat.c: Likewise.
11029 * io/xstat.c: Likewise.
11030 * io/xstat64.c: Likewise.
11031 * login/getpt.c: Likewise.
11032 * login/grantpt.c: Likewise.
11033 * login/unlockpt.c: Likewise.
11034 * math/e_acoshl.c: Likewise.
11035 * math/e_acosl.c: Likewise.
11036 * math/e_asinl.c: Likewise.
11037 * math/e_atan2l.c: Likewise.
11038 * math/e_atanhl.c: Likewise.
11039 * math/e_coshl.c: Likewise.
11040 * math/e_expl.c: Likewise.
11041 * math/e_fmodl.c: Likewise.
11042 * math/e_gammal_r.c: Likewise.
11043 * math/e_hypotl.c: Likewise.
11044 * math/e_j0l.c: Likewise.
11045 * math/e_j1l.c: Likewise.
11046 * math/e_jnl.c: Likewise.
11047 * math/e_lgammal_r.c: Likewise.
11048 * math/e_log10l.c: Likewise.
11049 * math/e_log2l.c: Likewise.
11050 * math/e_logl.c: Likewise.
11051 * math/e_powl.c: Likewise.
11052 * math/e_rem_pio2l.c: Likewise.
11053 * math/e_sinhl.c: Likewise.
11054 * math/e_sqrtl.c: Likewise.
11055 * math/fclrexcpt.c: Likewise.
11056 * math/fedisblxcpt.c: Likewise.
11057 * math/feenablxcpt.c: Likewise.
11058 * math/fegetenv.c: Likewise.
11059 * math/fegetexcept.c: Likewise.
11060 * math/fegetround.c: Likewise.
11061 * math/feholdexcpt.c: Likewise.
11062 * math/fesetenv.c: Likewise.
11063 * math/fesetround.c: Likewise.
11064 * math/feupdateenv.c: Likewise.
11065 * math/fgetexcptflg.c: Likewise.
11066 * math/fraiseexcpt.c: Likewise.
11067 * math/fsetexcptflg.c: Likewise.
11068 * math/ftestexcept.c: Likewise.
11069 * math/k_cosl.c: Likewise.
11070 * math/k_rem_pio2l.c: Likewise.
11071 * math/k_sinl.c: Likewise.
11072 * math/k_tanl.c: Likewise.
11073 * math/s_asinhl.c: Likewise.
11074 * math/s_atanl.c: Likewise.
11075 * math/s_cbrtl.c: Likewise.
11076 * math/s_erfl.c: Likewise.
11077 * math/s_expm1l.c: Likewise.
11078 * math/s_log1pl.c: Likewise.
11079 * math/s_tanhl.c: Likewise.
11080 * misc/acct.c: Likewise.
11081 * misc/brk.c: Likewise.
11082 * misc/chflags.c: Likewise.
11083 * misc/chroot.c: Likewise.
11084 * misc/fchflags.c: Likewise.
11085 * misc/fgetxattr.c: Likewise.
11086 * misc/flistxattr.c: Likewise.
11087 * misc/fremovexattr.c: Likewise.
11088 * misc/fsetxattr.c: Likewise.
11089 * misc/fsync.c: Likewise.
11090 * misc/ftruncate.c: Likewise.
11091 * misc/futimes.c: Likewise.
11092 * misc/futimesat.c: Likewise.
11093 * misc/getdomain.c: Likewise.
11094 * misc/getdtsz.c: Likewise.
11095 * misc/gethostid.c: Likewise.
11096 * misc/gethostname.c: Likewise.
11097 * misc/getloadavg.c: Likewise.
11098 * misc/getpagesize.c: Likewise.
11099 * misc/getsysstats.c: Likewise.
11100 * misc/getxattr.c: Likewise.
11101 * misc/gtty.c: Likewise.
11102 * misc/ioctl.c: Likewise.
11103 * misc/lgetxattr.c: Likewise.
11104 * misc/listxattr.c: Likewise.
11105 * misc/llistxattr.c: Likewise.
11106 * misc/lremovexattr.c: Likewise.
11107 * misc/lsetxattr.c: Likewise.
11108 * misc/lutimes.c: Likewise.
11109 * misc/madvise.c: Likewise.
11110 * misc/mincore.c: Likewise.
11111 * misc/mlock.c: Likewise.
11112 * misc/mlockall.c: Likewise.
11113 * misc/mmap.c: Likewise.
11114 * misc/mprotect.c: Likewise.
11115 * misc/msync.c: Likewise.
11116 * misc/munlock.c: Likewise.
11117 * misc/munlockall.c: Likewise.
11118 * misc/munmap.c: Likewise.
11119 * misc/preadv.c: Likewise.
11120 * misc/preadv64.c: Likewise.
11121 * misc/ptrace.c: Likewise.
11122 * misc/pwritev.c: Likewise.
11123 * misc/pwritev64.c: Likewise.
11124 * misc/readv.c: Likewise.
11125 * misc/reboot.c: Likewise.
11126 * misc/remap_file_pages.c: Likewise.
11127 * misc/removexattr.c: Likewise.
11128 * misc/revoke.c: Likewise.
11129 * misc/select.c: Likewise.
11130 * misc/setdomain.c: Likewise.
11131 * misc/setegid.c: Likewise.
11132 * misc/seteuid.c: Likewise.
11133 * misc/sethostid.c: Likewise.
11134 * misc/sethostname.c: Likewise.
11135 * misc/setregid.c: Likewise.
11136 * misc/setreuid.c: Likewise.
11137 * misc/setxattr.c: Likewise.
11138 * misc/sstk.c: Likewise.
11139 * misc/stty.c: Likewise.
11140 * misc/swapoff.c: Likewise.
11141 * misc/swapon.c: Likewise.
11142 * misc/sync.c: Likewise.
11143 * misc/syncfs.c: Likewise.
11144 * misc/syscall.c: Likewise.
11145 * misc/truncate.c: Likewise.
11146 * misc/ualarm.c: Likewise.
11147 * misc/usleep.c: Likewise.
11148 * misc/ustat.c: Likewise.
11149 * misc/utimes.c: Likewise.
11150 * misc/vhangup.c: Likewise.
11151 * misc/writev.c: Likewise.
11152 * posix/_exit.c: Likewise.
11153 * posix/alarm.c: Likewise.
11154 * posix/execve.c: Likewise.
11155 * posix/fexecve.c: Likewise.
11156 * posix/fork.c: Likewise.
11157 * posix/fpathconf.c: Likewise.
11158 * posix/getaddrinfo.c: Likewise.
11159 * posix/getegid.c: Likewise.
11160 * posix/geteuid.c: Likewise.
11161 * posix/getgid.c: Likewise.
11162 * posix/getgroups.c: Likewise.
11163 * posix/getlogin.c: Likewise.
11164 * posix/getlogin_r.c: Likewise.
11165 * posix/getpgid.c: Likewise.
11166 * posix/getpid.c: Likewise.
11167 * posix/getppid.c: Likewise.
11168 * posix/getresgid.c: Likewise.
11169 * posix/getresuid.c: Likewise.
11170 * posix/getsid.c: Likewise.
11171 * posix/getuid.c: Likewise.
11172 * posix/glob64.c: Likewise.
11173 * posix/nanosleep.c: Likewise.
11174 * posix/pathconf.c: Likewise.
11175 * posix/pause.c: Likewise.
11176 * posix/posix_madvise.c: Likewise.
11177 * posix/pread.c: Likewise.
11178 * posix/pread64.c: Likewise.
11179 * posix/pwrite.c: Likewise.
11180 * posix/pwrite64.c: Likewise.
11181 * posix/sched_getaffinity.c: Likewise.
11182 * posix/sched_getp.c: Likewise.
11183 * posix/sched_gets.c: Likewise.
11184 * posix/sched_primax.c: Likewise.
11185 * posix/sched_primin.c: Likewise.
11186 * posix/sched_rr_gi.c: Likewise.
11187 * posix/sched_setaffinity.c: Likewise.
11188 * posix/sched_setp.c: Likewise.
11189 * posix/sched_sets.c: Likewise.
11190 * posix/sched_yield.c: Likewise.
11191 * posix/setgid.c: Likewise.
11192 * posix/setlogin.c: Likewise.
11193 * posix/setpgid.c: Likewise.
11194 * posix/setresgid.c: Likewise.
11195 * posix/setresuid.c: Likewise.
11196 * posix/setsid.c: Likewise.
11197 * posix/setuid.c: Likewise.
11198 * posix/sleep.c: Likewise.
11199 * posix/spawni.c: Likewise.
11200 * posix/sysconf.c: Likewise.
11201 * posix/times.c: Likewise.
11202 * posix/wait.c: Likewise.
11203 * posix/wait3.c: Likewise.
11204 * posix/wait4.c: Likewise.
11205 * posix/waitpid.c: Likewise.
11206 * resolv/gai_sigqueue.c: Likewise.
11207 * resource/getpriority.c: Likewise.
11208 * resource/getrlimit.c: Likewise.
11209 * resource/getrusage.c: Likewise.
11210 * resource/nice.c: Likewise.
11211 * resource/setpriority.c: Likewise.
11212 * resource/setrlimit.c: Likewise.
11213 * resource/ulimit.c: Likewise.
11214 * rt/aio_cancel.c: Likewise.
11215 * rt/aio_fsync.c: Likewise.
11216 * rt/aio_read.c: Likewise.
11217 * rt/aio_sigqueue.c: Likewise.
11218 * rt/aio_suspend.c: Likewise.
11219 * rt/aio_write.c: Likewise.
11220 * rt/clock_getres.c: Likewise.
11221 * rt/clock_gettime.c: Likewise.
11222 * rt/clock_nanosleep.c: Likewise.
11223 * rt/clock_settime.c: Likewise.
11224 * rt/lio_listio.c: Likewise.
11225 * rt/mq_close.c: Likewise.
11226 * rt/mq_getattr.c: Likewise.
11227 * rt/mq_notify.c: Likewise.
11228 * rt/mq_open.c: Likewise.
11229 * rt/mq_receive.c: Likewise.
11230 * rt/mq_send.c: Likewise.
11231 * rt/mq_setattr.c: Likewise.
11232 * rt/mq_timedreceive.c: Likewise.
11233 * rt/mq_timedsend.c: Likewise.
11234 * rt/mq_unlink.c: Likewise.
11235 * rt/shm_open.c: Likewise.
11236 * rt/shm_unlink.c: Likewise.
11237 * rt/timer_create.c: Likewise.
11238 * rt/timer_delete.c: Likewise.
11239 * rt/timer_getoverr.c: Likewise.
11240 * rt/timer_gettime.c: Likewise.
11241 * rt/timer_settime.c: Likewise.
11242 * setjmp/__longjmp.c: Likewise.
11243 * setjmp/setjmp.c: Likewise.
11244 * signal/kill.c: Likewise.
11245 * signal/killpg.c: Likewise.
11246 * signal/raise.c: Likewise.
11247 * signal/sigaction.c: Likewise.
11248 * signal/sigaltstack.c: Likewise.
11249 * signal/sigblock.c: Likewise.
11250 * signal/sigignore.c: Likewise.
11251 * signal/sigintr.c: Likewise.
11252 * signal/signal.c: Likewise.
11253 * signal/sigpause.c: Likewise.
11254 * signal/sigpending.c: Likewise.
11255 * signal/sigqueue.c: Likewise.
11256 * signal/sigreturn.c: Likewise.
11257 * signal/sigset.c: Likewise.
11258 * signal/sigsetmask.c: Likewise.
11259 * signal/sigstack.c: Likewise.
11260 * signal/sigsuspend.c: Likewise.
11261 * signal/sigtimedwait.c: Likewise.
11262 * signal/sigvec.c: Likewise.
11263 * signal/sigwait.c: Likewise.
11264 * signal/sigwaitinfo.c: Likewise.
11265 * signal/sysv_signal.c: Likewise.
11266 * socket/accept.c: Likewise.
11267 * socket/accept4.c: Likewise.
11268 * socket/bind.c: Likewise.
11269 * socket/connect.c: Likewise.
11270 * socket/getpeername.c: Likewise.
11271 * socket/getsockname.c: Likewise.
11272 * socket/getsockopt.c: Likewise.
11273 * socket/isfdtype.c: Likewise.
11274 * socket/listen.c: Likewise.
11275 * socket/recv.c: Likewise.
11276 * socket/recvfrom.c: Likewise.
11277 * socket/recvmsg.c: Likewise.
11278 * socket/send.c: Likewise.
11279 * socket/sendmsg.c: Likewise.
11280 * socket/sendto.c: Likewise.
11281 * socket/setsockopt.c: Likewise.
11282 * socket/shutdown.c: Likewise.
11283 * socket/sockatmark.c: Likewise.
11284 * socket/socket.c: Likewise.
11285 * socket/socketpair.c: Likewise.
11286 * stdio-common/ctermid.c: Likewise.
11287 * stdio-common/cuserid.c: Likewise.
11288 * stdio-common/remove.c: Likewise.
11289 * stdio-common/rename.c: Likewise.
11290 * stdio-common/renameat.c: Likewise.
11291 * stdio-common/tempname.c: Likewise.
11292 * stdlib/getcontext.c: Likewise.
11293 * stdlib/makecontext.c: Likewise.
11294 * stdlib/setcontext.c: Likewise.
11295 * stdlib/swapcontext.c: Likewise.
11296 * stdlib/system.c: Likewise.
11297 * streams/fattach.c: Likewise.
11298 * streams/fdetach.c: Likewise.
11299 * streams/getmsg.c: Likewise.
11300 * streams/getpmsg.c: Likewise.
11301 * streams/putmsg.c: Likewise.
11302 * streams/putpmsg.c: Likewise.
11303 * sysdeps/unix/bsd/getpt.c: Likewise.
11304 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11305 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11306 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11308 Likewise.
11309 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11310 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11311 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11312 * sysvipc/msgctl.c: Likewise.
11313 * sysvipc/msgget.c: Likewise.
11314 * sysvipc/msgrcv.c: Likewise.
11315 * sysvipc/msgsnd.c: Likewise.
11316 * sysvipc/semctl.c: Likewise.
11317 * sysvipc/semget.c: Likewise.
11318 * sysvipc/semop.c: Likewise.
11319 * sysvipc/semtimedop.c: Likewise.
11320 * sysvipc/shmat.c: Likewise.
11321 * sysvipc/shmctl.c: Likewise.
11322 * sysvipc/shmdt.c: Likewise.
11323 * sysvipc/shmget.c: Likewise.
11324 * termios/tcdrain.c: Likewise.
11325 * termios/tcflow.c: Likewise.
11326 * termios/tcflush.c: Likewise.
11327 * termios/tcgetattr.c: Likewise.
11328 * termios/tcgetpgrp.c: Likewise.
11329 * termios/tcsendbrk.c: Likewise.
11330 * termios/tcsetattr.c: Likewise.
11331 * termios/tcsetpgrp.c: Likewise.
11332 * time/adjtime.c: Likewise.
11333 * time/clock.c: Likewise.
11334 * time/getitimer.c: Likewise.
11335 * time/gettimeofday.c: Likewise.
11336 * time/setitimer.c: Likewise.
11337 * time/settimeofday.c: Likewise.
11338 * time/stime.c: Likewise.
11339 * time/time.c: Likewise.
11340
11341 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11342
11343 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11344 /usr/old/bin.
11345
11346 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11347 instead of spaces.
11348 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11349
11350 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11351
11352 [BZ #14796]
11353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11354 FE_TONEAREST before applying Dekker multiplication and Knuth
11355 addition. Clear inexact exceptions and check for exact zero
11356 results afterwards.
11357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11358 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11360 * math/libm-test.inc (fma_test): Add more tests.
11361 (fma_test_towardzero): Likewise.
11362 (fma_test_downward): Likewise.
11363 (fma_test_upward): Likewise.
11364 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11365 function.
11366 (libc_fesetround): New macro.
11367 (libc_fesetroundf): Likewise.
11368 (libc_fesetroundl): Likewise.
11369 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11370 function.
11371 (libc_fesetround_387): Likewise.
11372 (libc_fesetroundf): New macro.
11373 (libc_fesetround): Likewise.
11374 (libc_fesetroundl): Likewise.
11375 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11376 function.
11377 (libc_fesetroundf): New macro.
11378 (libc_fesetround): Likewise.
11379 (libc_fesetroundl): Likewise.
11380 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11381 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11382 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11383 libm_hidden_ver.
11384 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11385 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11386 libm_hidden_def.
11387 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11388 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11389 libm_hidden_ver.
11390 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11391 libm_hidden_def.
11392
11393 [BZ #3439]
11394 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11395 integer constant usable in #if and use that to give value to enum
11396 constant.
11397 (FE_DIVBYZERO): Likewise.
11398 (FE_UNDERFLOW): Likewise.
11399 (FE_OVERFLOW): Likewise.
11400 (FE_INVALID): Likewise.
11401 (FE_INVALID_SNAN): Likewise.
11402 (FE_INVALID_ISI): Likewise.
11403 (FE_INVALID_IDI): Likewise.
11404 (FE_INVALID_ZDZ): Likewise.
11405 (FE_INVALID_IMZ): Likewise.
11406 (FE_INVALID_COMPARE): Likewise.
11407 (FE_INVALID_SOFTWARE): Likewise.
11408 (FE_INVALID_SQRT): Likewise.
11409 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11410 (FE_TONEAREST): Likewise.
11411 (FE_TOWARDZERO): Likewise.
11412 (FE_UPWARD): Likewise.
11413 (FE_DOWNWARD): Likewise.
11414 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11415 (FE_DIVBYZERO): Likewise.
11416 (FE_OVERFLOW): Likewise.
11417 (FE_UNDERFLOW): Likewise.
11418 (FE_INEXACT): Likewise.
11419 (FE_TONEAREST): Likewise.
11420 (FE_DOWNWARD): Likewise.
11421 (FE_UPWARD): Likewise.
11422 (FE_TOWARDZERO): Likewise.
11423 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11424 (FE_UNDERFLOW): Likewise.
11425 (FE_OVERFLOW): Likewise.
11426 (FE_DIVBYZERO): Likewise.
11427 (FE_INVALID): Likewise.
11428 (FE_TONEAREST): Likewise.
11429 (FE_TOWARDZERO): Likewise.
11430 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11431 (FE_OVERFLOW): Likewise.
11432 (FE_UNDERFLOW): Likewise.
11433 (FE_DIVBYZERO): Likewise.
11434 (FE_INEXACT): Likewise.
11435 (FE_TONEAREST): Likewise.
11436 (FE_TOWARDZERO): Likewise.
11437 (FE_UPWARD): Likewise.
11438 (FE_DOWNWARD): Likewise.
11439 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11440 (FE_DIVBYZERO): Likewise.
11441 (FE_OVERFLOW): Likewise.
11442 (FE_UNDERFLOW): Likewise.
11443 (FE_INEXACT): Likewise.
11444 (FE_TONEAREST): Likewise.
11445 (FE_DOWNWARD): Likewise.
11446 (FE_UPWARD): Likewise.
11447 (FE_TOWARDZERO): Likewise.
11448
11449 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11450
11451 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11452
11453 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11454
11455 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11456 commands. Quote $PWD.
11457 (blacklist_exports): Don't use remove_newlines. Replace "declare
11458 -x" by "export".
11459 (remove_newlines): Remove.
11460
11461 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11462
11463 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11464 * stdlib/stdlib.h (atof): Moved to ...
11465 * include/bits/stdlib-float.h: Here. New file.
11466 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11467 * stdlib/bits/stdlib-float.h: New file.
11468 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11469 -mno-sse -mno-mmx.
11470 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11471 <xmmintrin.h>.
11472
11473 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11474
11475 * conform/conformtest.pl (@headers): Add fenv.h.
11476 * conform/data/fenv.h-data: New file.
11477 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11478 include of <math/fenv.h>.
11479
11480 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11481 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11482 && !UNIX98]. Enables tests for XOPEN2K8.
11483 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11484 POSIX2008]: Likewise.
11485
11486 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11487 (struct rusage): Do not expect type or its members.
11488
11489 [BZ #3439]
11490 * math/math.h (FP_NAN): Define macro to integer constant usable in
11491 #if and use that to give value to enum constant.
11492 (FP_INFINITE): Likewise.
11493 (FP_ZERO): Likewise.
11494 (FP_SUBNORMAL): Likewise.
11495 (FP_NORMAL): Likewise.
11496
11497 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11498
11499 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11500 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11501 arguments.
11502
11503 2012-11-02 Roland McGrath <roland@hack.frob.com>
11504
11505 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11506 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11507 autoconf-time if not.
11508 * configure.in: Remove AC_PREREQ.
11509
11510 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11511
11512 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11513 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11514 of the internal implementation.
11515
11516 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11517
11518 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11519 except include of <misc/sys/syslog.h>.
11520
11521 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11522
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11524 function returns with a NULL context exit with zero.
11525
11526 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11527
11528 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11529
11530 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11531
11532 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11533 (run_program_cmd): This.
11534 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11535 (tst_langinfo): New variable. Use it.
11536
11537 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11538
11539 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11540 floating point opcodes.
11541
11542 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11543
11544 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11545 variable.
11546
11547 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11548
11549 * sysdeps/mach/hurd/powerpc: Remove directory.
11550 * sysdeps/mach/powerpc: Likewise.
11551
11552 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11553
11554 * scripts/check-local-headers.sh: Ignore c++ headers.
11555
11556 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11557
11558 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11559 __libc_cleanup_region_start argument.
11560
11561 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11562
11563 [BZ #14784]
11564 [BZ #14785]
11565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11566 x * y using scaling, not as x * y + z.
11567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11569 * math/libm-test.inc (fma_test): Add more tests.
11570 (fma_test_towardzero): Likewise.
11571 (fma_test_downward): Likewise.
11572 (fma_test_upward): Likewise.
11573
11574 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11575
11576 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11577
11578 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11579
11580 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11581 New variable.
11582
11583 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11584
11585 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11586
11587 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11588
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11590 Fix sort order.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11592 Likewise.
11593
11594 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11595
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11597 Fix the order of the list for glibc 2.17.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11599 Likewise.
11600
11601 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11602
11603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11604
11605 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11606
11607 [BZ #14610]
11608 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11609 for low part of x being zero before using __atanl (y).
11610 * math/libm-test.inc (atan2_test): Add another test.
11611
11612 * manual/install.texi (Configuring and compiling): Document
11613 general use of test-wrapper and test-wrapper-env.
11614 * INSTALL: Regenerated.
11615
11616 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11617 (__fma): Do not extract and scale down low bits on after-rounding
11618 systems when result rounded to normal precision would have normal
11619 exponent.
11620 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11621 (__fmal): Do not extract and scale down low bits on after-rounding
11622 systems when result rounded to normal precision would have normal
11623 exponent.
11624 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11625 (__fmal): Do not extract and scale down low bits on after-rounding
11626 systems when result rounded to normal precision would have normal
11627 exponent.
11628 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11629 macro.
11630 (fma_test): Add more tests.
11631 (fma_test_towardzero): Likewise.
11632 (fma_test_downward): Likewise.
11633 (fma_test_upward): Likewise.
11634
11635 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 * sysdeps/i386/tininess.h: Renamed to ...
11638 * sysdeps/x86/tininess.h: This.
11639 * sysdeps/x86_64/tininess.h: Removed.
11640
11641 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11642
11643 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11644 input. Use $(build-program-cmd).
11645 ($(objpfx)tst-array1-static.out): Likewise.
11646 ($(objpfx)tst-array2.out): Likewise.
11647 ($(objpfx)tst-array3.out): Likewise.
11648 ($(objpfx)tst-array4.out): Likewise.
11649 ($(objpfx)tst-array5.out): Likewise.
11650 ($(objpfx)tst-array5-static.out): Likewise.
11651
11652 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11653
11654 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11655 if defined.
11656
11657 * nss/nsswitch.h (nss_interface_function): Provide new
11658 macro for use with NSS functions.
11659 * grp/initgroups.c: Use new macro.
11660 * nss/getXXbyYY.c: Likewise.
11661 * nss/getXXbyYY_r.c: Likewise.
11662 * nss/getXXent.c: Likewise.
11663 * nss/getXXent_r.c: Likewise.
11664 * sysdeps/posix/getaddrinfo.c: Likewise.
11665
11666 2012-10-30 Andreas Jaeger <aj@suse.de>
11667
11668 * po/ru.po: Update Russion translation from translation project.
11669
11670 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11671
11672 [BZ #14152]
11673 [BZ #14783]
11674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11675 result and shift together with sticky bit instead of replicating
11676 round-to-nearest rounding.
11677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11679 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11680 missing underflow exceptions.
11681 (fma_test_towardzero): Add more tests.
11682 (fma_test_downward): Likewise.
11683 (fma_test_upward): Likewise.
11684
11685 [BZ #14047]
11686 * sysdeps/generic/tininess.h: New file.
11687 * sysdeps/i386/tininess.h: Likewise.
11688 * sysdeps/sh/tininess.h: Likewise.
11689 * sysdeps/x86_64/tininess.h: Likewise.
11690 * stdlib/tst-strtod-underflow.c: Likewise.
11691 * stdlib/tst-tininess.c: Likewise.
11692 * stdlib/strtod_l.c: Include <tininess.h>.
11693 (round_and_return): Do not set errno for exact underflow cases.
11694 Force an underflow exception when setting errno for underflow.
11695 Determine underflow based on rounding to normal precision if
11696 TININESS_AFTER_ROUNDING.
11697 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11698 ERANGE for exact underflow cases.
11699 * stdlib/Makefile (tests): Add tst-tininess and
11700 tst-strtod-underflow.
11701 ($(objpfx)tst-tininess): Use $(link-libm).
11702 ($(objpfx)tst-strtod-underflow): Likewise.
11703
11704 2012-10-30 Andreas Jaeger <aj@suse.de>
11705
11706 [BZ#14767]
11707 * elf/Makefile (tests): Remove conditional for have-initfini-array
11708 since this is now always required and the variable does not exist
11709 anymore.
11710 (tests-static): Likewise.
11711 (modules-names): Likewise.
11712
11713 * po/eo.po: Add Esperanto translation from translation project.
11714
11715 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11716 merged with constructor/destructor.
11717 (init_array): Likewise.
11718 * elf/tst-array2dep.c (fini_array): Likewise.
11719 (init_array): Likewise.
11720
11721 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11722
11723 * manual/message.texi: Delete @cartouche tags.
11724
11725 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11726
11727 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11728 EOPNOTSUPP.
11729 * sysdeps/mach/hurd/fsync.c: Likewise.
11730
11731 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11732 [_POSIX_REALTIME_SIGNALS]: Change condition to
11733 [_POSIX_REALTIME_SIGNALS > 0].
11734
11735 2012-10-27 Andreas Jaeger <aj@suse.de>
11736
11737 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11738 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11740 [__WORDSIZE != 64]: Likewise.
11741
11742 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11743
11744 * iconvdata/tst-table.sh: Remove ${SHELL}.
11745 * iconvdata/tst-tables.sh: Likewise.
11746
11747 2012-10-25 David S. Miller <davem@davemloft.net>
11748
11749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11750 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11751 of strtoull.
11752
11753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11754 ifunc-impl-list.c
11755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11756 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11757 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11758 file.
11759
11760 2012-10-25 Roland McGrath <roland@hack.frob.com>
11761
11762 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11763 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11764 __getdirentries.
11765
11766 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11767 Jim Blandy <jimb@codesourcery.com>
11768
11769 * scripts/cross-test-ssh.sh: New file.
11770 * manual/install.texi (Configuring and compiling): Document use of
11771 cross-test-ssh.sh.
11772 * INSTALL: Regenerated.
11773
11774 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11775
11776 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11777 EOPNOTSUPP.
11778
11779 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11780
11781 * Makeconfig (run-program-prefix): Fix comment.
11782
11783 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11784 Jim Blandy <jimb@codesourcery.com>
11785
11786 * Makeconfig (test-wrapper): New variable,
11787 (test-wrapper-env): Likewise.
11788 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11789 (run-built-tests): Define to yes.
11790 (run-program-prefix): Use $(test-wrapper).
11791 (built-program-cmd): Likewise.
11792 * Rules (make-test-out): Use $(test-wrapper-env) and
11793 $(host-built-program-cmd).
11794 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11795 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11796 tst-pathopt.sh.
11797 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11798 $(test-wrapper-env) to tst-rtld-load-self.sh.
11799 ($(objpfx)order2.out): Use $(test-wrapper).
11800 ($(objpfx)tst-initorder.out): Likewise.
11801 ($(objpfx)tst-initorder2.out): Likewise.
11802 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11803 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11804 (test_wrapper_env): New variable. Use it to run ld.so.
11805 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11806 Use it to run ld.so.
11807 (test_wrapper_env): Likewise.
11808 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11809 $(test-wrapper) to run-iconv-test.sh.
11810 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11811 (ICONV): Use $test_wrapper.
11812 * posix/Makefile ($(objpfx)globtest.out): Pass
11813 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11814 globtest.sh, not $(run-program-prefix).
11815 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11816 (test_wrapper): Likewise.
11817 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11818 set together with run_via_rtld_prefix.
11819 (run_program_prefix): Define in terms of test_wrapper and
11820 run_via_rtld_prefix.
11821
11822 2012-10-24 Roland McGrath <roland@hack.frob.com>
11823
11824 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11825 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11826 Targets removed.
11827
11828 [BZ #14743]
11829 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11830 Declare __clock_getres, __clock_gettime, __clock_settime,
11831 __clock_nanosleep, and __clock_getcpuclockid.
11832 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11833 Remove librt_hidden_def (clock_gettime).
11834 * sysdeps/unix/clock_gettime.c: Likewise.
11835 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11837 * rt/clock_getres.c: Define __clock_getres as an alias.
11838 * sysdeps/posix/clock_getres.c: Likewise.
11839 * rt/clock_settime.c: Define __clock_settime as an alias.
11840 * sysdeps/unix/clock_settime.c: Likewise.
11841 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11842 * sysdeps/unix/clock_nanosleep.c: Likewise.
11843 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11844 * rt/clock-compat.c: New file.
11845 * rt/Makefile (librt-routines): Add clock-compat and move
11846 $(clock-routines) to ...
11847 (routines): ... here, new variable.
11848 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11849 Don't add get_clockfreq here.
11850 * rt/Versions (libc: GLIBC_2.17): New version set.
11851 Add clock_* symbols here.
11852 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11853 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11854 (GLIBC_2.17): Add clock_* symbols.
11855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11857 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11859 Likewise.
11860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11861 Likewise.
11862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11866 * NEWS: Mention the move.
11867
11868 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11869 Use __open, __read, __close rather than their public counterparts.
11870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11871 (__get_clockfreq_via_cpuinfo): Likewise.
11872 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11873 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11874
11875 * config.h.in (HAVE_IFUNC): New #undef.
11876 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11877 was successful.
11878 * configure: Regenerated.
11879
11880 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11881
11882 * configure.in: Move READELF check to start of file.
11883 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11884 libc_cv_asm_gnu_indirect_function in the process.
11885 * configure: Regenerated.
11886
11887 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11888
11889 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11890 send the output to /dev/null.
11891 (libc_cv_cc_with_libunwind): Likewise.
11892 (libc_cv_as_noexecstack): Likewise.
11893 * configure: Regenerate.
11894
11895 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11896
11897 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11898
11899 * posix/globtest.sh (TMPDIR): Do not set.
11900 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11901 (testout): Likewise.
11902
11903 2012-10-24 Andreas Jaeger <aj@suse.de>
11904
11905 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11906 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11907 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11908 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11909 posix_fadvise64, posix_fallocate64.
11910
11911 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11912 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11913 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11914 Likewise.
11915 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11916 Likewise.
11917 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11918
11919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11920 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11921 <bits/fcntl-linux.h>.
11922 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11923
11924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11925 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11926 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11927 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11928 [__WORDSIZE != 64]: Likewise.
11929
11930 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11931
11932 * Makeconfig (run-built-tests): New variable.
11933 * Rules [$(cross-compiling) = yes]: Change condition to
11934 [$(run-built-tests) = no].
11935 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11936 to [$(run-built-tests) = yes].
11937 * elf/Makefile [$(cross-compiling) = no]: Likewise
11938 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11939 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11940 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11941 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11942 * io/Makefile [$(cross-compiling) = no]: Likewise.
11943 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11944 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11945 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11946 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11947 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11948 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11949 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11950 * string/Makefile [$(cross-compiling) = no]: Likewise.
11951
11952 * posix/Makefile ($(objpfx)globtest.out): Pass
11953 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11954 $(rtld-installed-name).
11955 * posix/globtest.sh (elf_objpfx): Remove variable.
11956 (rtld_installed_name): Likewise.
11957 (library_path): Likewise.
11958 (run_program_prefix): New variable. Use for running globtest
11959 binary.
11960
11961 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11962 Joseph Myers <joseph@codesourcery.com>
11963
11964 * Makeconfig (host-built-program-cmd): New variable.
11965 * elf/Makefile (tst-stackguard1-ARGS): Use
11966 $(host-built-program-cmd).
11967 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11968 (tst-spawn-ARGS): Likewise.
11969 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11970
11971 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11972 Jim Blandy <jimb@codesourcery.com>
11973
11974 * Makeconfig (run-via-rtld-prefix): New variable.
11975 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11976 (built-program-cmd): Likewise.
11977
11978 2012-10-22 Andreas Jaeger <aj@suse.de>
11979
11980 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11981 __O_RSYNC if it exists, otherwise to O_SYNC.
11982
11983 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11984 Joseph Myers <joseph@codesourcery.com>
11985
11986 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11987 /dev/null.
11988 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11989 from /dev/null
11990 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11991 /dev/null.
11992
11993 2012-10-22 Andreas Jaeger <aj@suse.de>
11994
11995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11996 Define always.
11997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11998
11999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12000 bits/fcntl-linux.h.
12001
12002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12003 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12004
12005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12006 to __O_LARGEFILE.
12007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12008 to __O_LARGEFILE.
12009
12010 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12011 Joseph Myers <joseph@codesourcery.com>
12012
12013 * config.make.in (NM): New variable.
12014
12015 2012-10-21 Andreas Jaeger <aj@suse.de>
12016
12017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12018 definitions and declarations that are provided by
12019 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12020
12021 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 [BZ #14683]
12024 * elf/Makefile (tests-static): Add tst-leaks1-static.
12025 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12026 ($(objpfx)tst-leaks1-static): New rule.
12027 ($(objpfx)tst-leaks1-static-mem): Likewise.
12028 (tst-leaks1-static-ENV): New macro.
12029 * elf/dl-open.c (dl_open_worker): Check the main application
12030 only if SHARED is defined.
12031 * elf/tst-leaks1-static.c: New file.
12032
12033 2012-10-20 Andreas Jaeger <aj@suse.de>
12034
12035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12036 generic values for Linux.
12037 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12038 and declarations that are provided by <bits/fcntl-linux.h> and
12039 include <bits/fcntl-linux.h>.
12040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12041 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12042
12043 2012-10-20 Roland McGrath <roland@hack.frob.com>
12044
12045 * io/fcntl.h: Move include of <bits/types.h> to the top and
12046 include it unconditionally.
12047
12048 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12049
12050 * wcsmbs/Makefile (tests-ifunc): New variable.
12051 (tests): Add $(tests-ifunc).
12052 * wcsmbs/test-wcschr-ifunc.c: New file.
12053 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12054 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12055 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12056 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12057 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12058
12059 * string/Makefile (tests-ifunc): New variable.
12060 (tests): Add $(tests-ifunc).
12061 * string/test-memccpy.c (TEST_NAME): New macro.
12062 * string/test-memchr.c (TEST_NAME): Likewise.
12063 * string/test-memcmp.c (TEST_NAME): Likewise.
12064 * string/test-memcpy.c (TEST_NAME): Likewise.
12065 * string/test-memmem.c (TEST_NAME): Likewise.
12066 * string/test-memmove.c (TEST_NAME): Likewise.
12067 * string/test-memset.c (TEST_NAME): Likewise.
12068 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12069 * string/test-stpcpy.c (TEST_NAME): Likewise.
12070 * string/test-stpncpy.c (TEST_NAME): Likewise.
12071 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12072 * string/test-strcasestr.c (TEST_NAME): Likewise.
12073 * string/test-strcat.c (TEST_NAME): Likewise.
12074 * string/test-strchr.c (TEST_NAME): Likewise.
12075 * string/test-strcmp.c(TEST_NAME): Likewise.
12076 * string/test-strcpy.c (TEST_NAME): Likewise.
12077 * string/test-strcspn.c (TEST_NAME): Likewise.
12078 * string/test-strlen.c (TEST_NAME): Likewise.
12079 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12080 * string/test-strncmp.c (TEST_NAME): Likewise.
12081 * string/test-strncpy.c (TEST_NAME): Likewise.
12082 * string/test-strnlen.c (TEST_NAME): Likewise.
12083 * string/test-strpbrk.c (TEST_NAME): Likewise.
12084 * string/test-strrchr.c (TEST_NAME): Likewise.
12085 * string/test-strspn.c (TEST_NAME): Likewise.
12086 * string/test-strstr.c (TEST_NAME): Likewise.
12087 * string/test-bcopy-ifunc.c: New file.
12088 * string/test-bzero-ifunc.c: Likewise.
12089 * string/test-memccpy-ifunc.c: Likewise.
12090 * string/test-memchr-ifunc.c: Likewise.
12091 * string/test-memcmp-ifunc.c: Likewise.
12092 * string/test-memcpy-ifunc.c: Likewise.
12093 * string/test-memmem-ifunc.c: Likewise.
12094 * string/test-memmove-ifunc.c: Likewise.
12095 * string/test-mempcpy-ifunc.c: Likewise.
12096 * string/test-memset-ifunc.c: Likewise.
12097 * string/test-rawmemchr-ifunc.c: Likewise.
12098 * string/test-stpcpy-ifunc.c: Likewise.
12099 * string/test-stpncpy-ifunc.c: Likewise.
12100 * string/test-strcasecmp-ifunc.c: Likewise.
12101 * string/test-strcasestr-ifunc.c: Likewise.
12102 * string/test-strcat-ifunc.c: Likewise.
12103 * string/test-strchr-ifunc.c: Likewise.
12104 * string/test-strchrnul-ifunc.c: Likewise.
12105 * string/test-strcmp-ifunc.c: Likewise.
12106 * string/test-strcpy-ifunc.c: Likewise.
12107 * string/test-strcspn-ifunc.c: Likewise.
12108 * string/test-strlen-ifunc.c: Likewise.
12109 * string/test-strncasecmp-ifunc.c: Likewise.
12110 * string/test-strncat-ifunc.c: Likewise.
12111 * string/test-strncmp-ifunc.c: Likewise.
12112 * string/test-strncpy-ifunc.c: Likewise.
12113 * string/test-strnlen-ifunc.c: Likewise.
12114 * string/test-strpbrk-ifunc.c: Likewise.
12115 * string/test-strrchr-ifunc.c: Likewise.
12116 * string/test-strspn-ifunc.c: Likewise.
12117 * string/test-strstr-ifunc.c: Likewise.
12118
12119 * debug/Makefile (tests-ifunc): New variable.
12120 (tests): Add $(tests-ifunc).
12121 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12122 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12123 * debug/test-stpcpy_chk-ifunc.c: New file.
12124 * debug/test-strcpy_chk-ifunc.c: Likewise.
12125
12126 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12127
12128 [BZ #13601]
12129 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12130 header is not read in.
12131
12132 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12133
12134 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12135 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12136 directly. Pass built executable to script as
12137 $(built-program-cmd).
12138 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12139 $testprogram without using LD_LIBRARY_PATH and $ldso.
12140
12141 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12142 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12143 $(rtld-installed-name).
12144 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12145 (rtld_installed_name): Likewise.
12146 (library_path): Likewise.
12147 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12148 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12149 $(run-program-prefix) to tst-tables.sh.
12150 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12151 it to run tst-table-from and tst-table-to.
12152 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12153 Pass it to tst-table.sh.
12154 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12155 $(run-program-prefix) to tst-gettext.sh.
12156 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12157 tst-translit.sh.
12158 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12159 tst-gettext2.sh.
12160 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12161 to run tst-gettext.
12162 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12163 to run tst-gettext2.
12164 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12165 to run tst-translit.
12166 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12167 $(run-program-prefix) to tst-mtrace.sh.
12168 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12169 to run tst-mtrace.
12170 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12171 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12172 $(rtld-installed-name).
12173 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12174 (rtld_installed_name): Likewise.
12175 (run_program_prefix): New variable. Use it to run wordexp-test.
12176
12177 * Makeconfig (ARCH): Remove all definitions.
12178 (machine): Likewise.
12179 [ARCH]: Remove conditional code.
12180 [!objdir]: Give error.
12181 [!objdir] (objpfx): Remove.
12182 [!objdir] (common-objpfx): Likewise.
12183 [!objdir] (common-objdir): Likewise.
12184 * configure.in (config_makefile): Remove. Hardcode Makefile in
12185 AC_CONFIG_FILES call.
12186 * configure: Regenerated.
12187
12188 [BZ #13888]
12189 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12190 or TMPDIR.
12191 (testout): Likewise.
12192
12193 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12194 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12195 $(rtld-installed-name).
12196 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12197 (rtld_installed_name): Likwise.
12198 (runit): Remove function.
12199 (run_getconf): New variable, Use it for running getconf binary.
12200
12201 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12202
12203 [BZ #14716]
12204 * string/test-memmem.c (check_result): New function.
12205 (do_one_test): Use it.
12206 (check1): New function.
12207 (test_main): Use it.
12208
12209 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12210
12211 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12212
12213 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12214
12215 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12216 (_G_LSEEK64): Likewise.
12217 (_G_MMAP64): Likewise.
12218 (_G_FSTAT64): Likewise.
12219 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12220 (_G_LSEEK64): Likewise.
12221 (_G_MMAP64): Likewise.
12222 (_G_FSTAT64): Likewise.
12223 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12224 unconditional. Call __mmap64 directly.
12225 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12226 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12227 __lseek64 directly.
12228 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12229 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12230 __mmap64 directly.
12231 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12232 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12233 __lseek64 directly.
12234 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12235 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12236 __lseek64 directly.
12237 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12238 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12239 __lseek64 directly.
12240 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12241 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12242 __fxstat64 directly.
12243 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12244 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12245 unconditional.
12246 (freopen64) [!_G_OPEN64]: Remove conditional code.
12247 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12248 unconditional.
12249 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12250 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12251 unconditional.
12252 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12253 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12254 unconditional.
12255 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12256 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12257 unconditional.
12258 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12259 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12260 unconditional.
12261 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12262 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12263 unconditional.
12264 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12265 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12266 unconditional.
12267 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12268
12269 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12270
12271 [BZ #12140]
12272 * manual/memory.texi (Malloc Tunable Parameters): Add note
12273 about free list pointers overwriting some perturb bytes.
12274 Wording suggested by Roland McGrath.
12275
12276 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12277
12278 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12279 (lgamma_test): Likewise.
12280 (tgamma_test): Likewise.
12281
12282 2012-10-16 Florian Weimer <fweimer@redhat.com>
12283
12284 [BZ #14700]
12285 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12286 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12287
12288 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12289
12290 * NEWS: Mention BZ #14716.
12291 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12292 when removing AVAILABLE1_USES_J macro.
12293
12294 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12297 (__bswap_64): __uint64_t for unsigned 64-bit int.
12298
12299 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12300
12301 * include/string.h (memmem): Declare libc hidden alias.
12302 * string/memmem.c (memmem): Define libc hidden alias.
12303 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12304 __read, __close instead of open, read, close.
12305
12306 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12307
12308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12309 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12310 global and hidden.
12311 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12312 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12313 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12314 Likewise.
12315 (__rawmemchr_sse2): Likewise.
12316 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12317 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12318 (__strchr_sse2): Likewise.
12319 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12320 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12321 (__strcasecmp_sse2): Likewise.
12322 (__strncasecmp_sse2): Likewise.
12323 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12324 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12325 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12326 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12327 (__strrchr_sse2): Likewise.
12328 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12329 ifunc-impl-list.c.
12330 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12331 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12332 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12333 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12334 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12335 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12336 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12337 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12338 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12339 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12340 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12341 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12342 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12343 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12344 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12345 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12346 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12347 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12348 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12349 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12350 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12351 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12352 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12353 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12354 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12355 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12356 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12357 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12358 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12359 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12360
12361 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12362 global and hidden.
12363 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12364 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12365 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12366 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12367 Likewise.
12368 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12369 Likewise.
12370 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12371 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12372 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12373 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12374 ifunc-impl-list.c.
12375 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12376 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12377 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12378 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12379 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12381 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12382 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12383 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12384 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12385 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12386 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12387 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12388 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12389 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12390 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12391 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12392 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12393 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12394 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12396 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12397 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12398 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12399 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12400 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12401 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12402 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12403 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12404 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12405 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12406 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12407 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12408 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12409 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12410 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12411 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12412 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12413 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12414 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12415 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12416
12417 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12418 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12419 * include/ifunc-impl-list.h: New file.
12420 * misc/ifunc-impl-list.c: Likewise.
12421 * misc/Makefile (routines): Add ifunc-impl-list.
12422 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12423 * string/test-string.h: Include <ifunc-impl-list.h>.
12424 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12425 impl_array): New variables.
12426 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12427 are defined.
12428 (test_init): Call __libc_ifunc_impl_list to initialize
12429 func_list if TEST_IFUNC and TEST_NAME are defined.
12430
12431 * string/Makefile (strop-tests): Add bcopy and bzero.
12432 * string/test-bcopy.c: New file.
12433 * string/test-bzero.c: Likewise.
12434 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12435 defined.
12436 * string/test-memset.c: Support bzero test if TEST_BZERO is
12437 defined.
12438 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12439 __libc_memmove.
12440 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12441 __libc_memset.
12442 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12443 of memset.
12444
12445 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12446
12447 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12448 * configure: Regenerated.
12449
12450 * Makeconfig (+link-static-before-libc): Don't include
12451 $(link-static-libc).
12452
12453 * libio/libio.h (_IO_pos_t): Remove.
12454
12455 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12456
12457 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12458 McGrath.
12459
12460 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12461
12462 * crypt/crypt-entry.c: Include fips-private.h.
12463 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12464 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12465 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12466 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12467
12468 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12469
12470 * crypt/crypt-private.h: Include stdbool.h.
12471 (_ufc_setup_salt_r): Return bool.
12472 * crypt/crypt-entry.c: Include errno.h.
12473 (__crypt_r): Return NULL with EINVAL for bad salt.
12474 * crypt/crypt_util.c (bad_for_salt): New.
12475 (_ufc_setup_salt_r): Check that salt is long enough and within
12476 the specified alphabet.
12477 * crypt/badsalttest.c: New file.
12478 * crypt/Makefile (tests): Add it.
12479 ($(objpfx)badsalttest): New.
12480
12481 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12482
12483 * NEWS: Add entry for BZ #14602.
12484
12485 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12486
12487 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12488 type-generic.
12489 * math/libm-test.inc: Update comment listing what functions and
12490 macros are tested.
12491 (isgreater_test): New function.
12492 (isgreaterequal_test): Likewise.
12493 (isless_test): Likewise.
12494 (islessequal_test): Likewise.
12495 (islessgreater_test): Likewise.
12496 (isunordered_test): Likewise.
12497 (main): Call the new functions.
12498
12499 2012-10-09 Roland McGrath <roland@hack.frob.com>
12500
12501 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12502 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12503 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12504 * sysdeps/i386/configure: Regenerated.
12505 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12506 * sysdeps/mach/configure: Regenerated.
12507 * sysdeps/mach/hurd/configure: Regenerated.
12508 * sysdeps/powerpc/configure: Regenerated.
12509 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12510 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12511 * sysdeps/s390/s390-32/configure: Regenerated.
12512 * sysdeps/s390/s390-64/configure: Regenerated.
12513 * sysdeps/sh/configure: Regenerated.
12514 * sysdeps/sparc/configure: Regenerated.
12515 * sysdeps/unix/sysv/linux/configure: Regenerated.
12516 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12517 * sysdeps/x86_64/configure: Regenerated.
12518
12519 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12520 defined. Don't check if MAP is NULL.
12521
12522 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12523
12524 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12525 (_G_stat64): Likewise.
12526 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12527 (_G_stat64): Likewise.
12528 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12529 instead of struct _G_stat64.
12530 * libio/fileops.c (mmap_remap_check): Likewise.
12531 (decide_maybe_mmap): Likewise.
12532 (_IO_new_file_seekoff): Likewise.
12533 (_IO_file_stat): Likewise.
12534 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12535 _G_off64_t.
12536 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12537 instead of struct _G_stat64.
12538 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12539
12540 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12541
12542 [BZ #14602]
12543 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12544 Replace with ...
12545 (CHECK_EOL): New macro.
12546 (two_way_short_needle): Check beginning of haystack for EOL. Use
12547 CHECK_EOL.
12548 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12549 Replace with CHECK_EOL.
12550 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12551 Replace with CHECK_EOL.
12552
12553 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12554
12555 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12556 type-generic.
12557 * math/libm-test.inc: Update comment listing what functions and
12558 macros are tested.
12559 (finite_test): New function.
12560 (isinf_test): Likewise.
12561 (isnan_test): Likewise.
12562 (fpclassify_test): Test subnormal input.
12563 (isfinite_test): Likewise.
12564 (isnormal_test): Likewise.
12565 (main): Call the new functions.
12566
12567 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12568
12569 [BZ #14660]
12570 * Makerules (%.dynsym): Force C locale when running
12571 $(OBJDUMP) --dynamic-syms.
12572
12573 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12574
12575 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12576 <stdint.h>.
12577
12578 2012-10-06 David S. Miller <davem@davemloft.net>
12579
12580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12581 upper 32-bits of the length value in %o2 since we use branch-on-register
12582 tests which consider the entire 64-bit register.
12583
12584 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12585
12586 * string/test-strstr.c (check2): Add a test for page boundary.
12587
12588 2012-10-05 David S. Miller <davem@davemloft.net>
12589
12590 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12591 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12592 file.
12593 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12594 sysdep_routines.
12595 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12596 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12597 and bzero when HWCAP_SPARC_CRYPTO is present.
12598
12599 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12600
12601 [BZ #14602]
12602 * string/test-strstr.c (check2): New function.
12603 (test_main): Call check2.
12604
12605 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12606 and bug-strchr1.
12607 * string/bug-strcasestr1.c (do_test): Moved to ...
12608 * string/test-strcasestr.c (check1): Here. New function.
12609 (do_one_test): Break out result checking code into ...
12610 (check_result): This. New function.
12611 (do_one_test): Call check_result.
12612 (test_main): Call check1.
12613 * string/bug-strchr1.c (do_test): Moved to ...
12614 * string/test-strchr.c (check1): Here. New function.
12615 (do_one_test): Break out result checking code into ...
12616 (check_result): This. New function.
12617 (do_one_test): Call check_result.
12618 (test_main): Call check1.
12619 * string/bug-strstr1.c (main): Moved to ...
12620 * string/test-strstr.c (check1): Here. New function.
12621 (do_one_test): Break out result checking code into ...
12622 (check_result): This. New function.
12623 (do_one_test): Call check_result.
12624 (test_main): Call check1.
12625 * string/bug-strcasestr1.c: Removed.
12626 * string/bug-strchr1.c: Likewise.
12627 * string/bug-strstr1.c: Likewise.
12628
12629 * elf/Makefile (dl-routines): Add hwcaps.
12630 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12631 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12632 (_dl_important_hwcaps): Moved to ...
12633 * elf/dl-hwcaps.c: Here. New file.
12634 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12635
12636 [BZ #14557]
12637 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12638 if IS_IN_rtld isn't defined.
12639
12640 * elf/dl-support.c (_dl_sysinfo_map): New.
12641 Include "get-dynamic-info.h" and "setup-vdso.h".
12642 (_dl_non_dynamic_init): Call setup_vdso.
12643 * elf/dynamic-link.h: Don't include <assert.h>.
12644 (elf_get_dynamic_info): Moved to ...
12645 * elf/get-dynamic-info.h: Here. New file.
12646 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12647 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12648 * elf/setup-vdso.h: Here. New file.
12649 * elf/rtld.c: Include "setup-vdso.h".
12650 (dl_main): Call setup_vdso.
12651
12652 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12653
12654 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12655 creal in comment listing functions tested. List finite, isinf,
12656 isnan, isless, islessequal, isgreater, isgreaterequal,
12657 islessgreater, isunordered, lgamma_r and pow10 as functions and
12658 macros not tested. Mention which functions not tested are aliases
12659 for other functions. Fix typo. Note that signs of NaNs are not
12660 tested.
12661
12662 * scripts/config.guess: Update from config.git.
12663 * scripts/config.sub: Likewise.
12664
12665 2012-10-04 Roland McGrath <roland@hack.frob.com>
12666
12667 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12668 * misc/madvise.c (madvise): Renamed to __madvise.
12669 Make madvise a weak alias.
12670 * include/sys/mman.h: Declare __madvise.
12671 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12672 * sysdeps/unix/syscalls.list
12673 (madvise): Make __madvise the strong name, and madvise a weak alias.
12674 * sysdeps/unix/sysv/linux/syscalls.list
12675 (madvise, mmap): Remove redundant entries.
12676 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12677 * malloc/malloc.c (mtrim): Likewise.
12678 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12679
12680 2012-10-03 Roland McGrath <roland@hack.frob.com>
12681
12682 * sysdeps/mach/hurd/dl-cache.c: File removed.
12683 * config.h.in (USE_LDCONFIG): New #undef.
12684 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12685 * configure: Regenerated.
12686 * elf/Makefile (dl-routines): Add dl-cache only under
12687 [$(use-ldconfig) = yes].
12688 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12689 cache on [USE_LDCONFIG].
12690 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12691 [USE_LDCONFIG].
12692 * elf/rtld.c (dl_main): Likewise.
12693
12694 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12695
12696 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12697 _SC_LEVEL4_CACHE_LINESIZE.
12698
12699 2012-10-03 Roland McGrath <roland@hack.frob.com>
12700
12701 * sysdeps/unix/bsd/confstr.h: File removed.
12702
12703 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12704
12705 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12706 sys/sdt-config.h.
12707
12708 2012-10-02 Roland McGrath <roland@hack.frob.com>
12709
12710 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12711 Make 'mapoff' field ElfW(Off) rather than off_t.
12712
12713 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12714
12715 * nscd/Makefile: Remove nscd-cflags and all its users.
12716 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12717 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12718
12719 [BZ #10631]
12720 * malloc.c (malloc_printerr): Clarify error message.
12721
12722 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12723
12724 [BZ #14648]
12725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12726 Set bit_FMA_Usable if FMA is supported.
12727 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12728 macro.
12729 (bit_FMA4_Usable): Updated.
12730 (index_FMA_Usable): New macro.
12731 (CPUID_FMA): Likewise
12732 (HAS_FMA): Defined with bit_FMA_Usable.
12733
12734 2012-10-01 Roland McGrath <roland@hack.frob.com>
12735
12736 * bits/types.h (__swblk_t): Type removed.
12737 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12738 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12740 (__SWBLK_T_TYPE): Likewise.
12741 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12742 (__SWBLK_T_TYPE): Likewise.
12743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12744 (__SWBLK_T_TYPE): Likewise.
12745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12746 (__SWBLK_T_TYPE): Likewise.
12747
12748 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12749 Honza Horak <hhorak@redhat.com>
12750
12751 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12752 (xdr_mapname): Use YPMAXMAP as maxsize.
12753 (xdr_peername): Use YPMAXPEER as maxsize.
12754 (xdr_keydat): Use YPAXRECORD as maxsize.
12755 (xdr_valdat): Use YPMAXRECORD as maxsize.
12756
12757 2012-10-01 Roland McGrath <roland@hack.frob.com>
12758
12759 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12760
12761 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12762 * csu/init-first.c: ... here.
12763 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12764 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12765 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12766 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12767 * sysdeps/i386/init-first.c: File removed.
12768 * sysdeps/sh/init-first.c: File removed.
12769
12770 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12771
12772 [BZ #14645]
12773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12774 if x * y might underflow to zero and z is zero.
12775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12777 * math/libm-test.inc (min_subnorm_value): New variable.
12778 (fma_test): Add more tests.
12779 (fma_test_towardzero): Likewise.
12780 (fma_test_downward): Likewise
12781 (fma_test_upward): Likewise.
12782 (initialize): Set min_subnorm_value.
12783
12784 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12785
12786 [BZ #14638]
12787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12788 0 + 0.
12789 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12790 mode for addition resulting in exact zero.
12791 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12793 exact 0 + 0.
12794 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12796 * math/libm-test.inc (fma_test): Add more tests.
12797 (fma_test_towardzero): New function.
12798 (fma_test_downward): Likewise.
12799 (fma_test_upward): Likewise.
12800 (main): Call the new functions.
12801
12802 2012-09-28 David S. Miller <davem@davemloft.net>
12803
12804 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12805
12806 2012-09-28 Roland McGrath <roland@hack.frob.com>
12807
12808 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12809 instead of SIGALRM.
12810
12811 * sysdeps/gnu/_G_config.h: Moved to ...
12812 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12813 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12814 * sysdeps/generic/_G_config.h: ... here.
12815
12816 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12817
12818 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12819
12820 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12821 Conditionalize target on [libnss_test1.so-version].
12822
12823 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12824
12825 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12826 (elfobjdir): Move out of conditionals.
12827
12828 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12829 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12830 (__nss_lookup_function): Conditionalize label remove_from_tree on
12831 [!DO_STATIC_NSS || SHARED], matching its only use.
12832
12833 2012-09-28 David S. Miller <davem@davemloft.net>
12834
12835 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12836 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12837 file.
12838 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12839 sysdep_routines.
12840 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12841 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12842 when HWCAP_SPARC_CRYPTO is present.
12843
12844 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12845
12846 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12847
12848 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12849
12850 [BZ #6530]
12851 * stdio-common/vfprintf.c (process_string_arg): Revert
12852 2000-07-22 change.
12853
12854 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12855
12856 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12857 for testcase.
12858 * stdio-common/tst-sprintf.c: Include <locale.h>
12859 (main): Test sprintf's handling of incomplete multibyte
12860 characters.
12861
12862 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12863
12864 * elf/dl-runtime.c (VERSYMIDX): Removed.
12865 * elf/dl-version.c (VERSYMIDX): Likewise.
12866 * elf/do-rel.h (VERSYMIDX): Likewise.
12867 (VALIDX): Likewise.
12868 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12869 * elf/rtld.c (VALIDX): Likewise.
12870 (ADDRIDX): Likewise.
12871 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12872 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12873 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12874 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12875 (VALIDX): Likewise.
12876 (ADDRIDX): Likewise.
12877
12878 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12879
12880 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12881
12882 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12883
12884 [BZ #11438]
12885 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12886 to global scope.
12887 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12888 addresses are in the same scope as 192.0.2/24.
12889 * posix/gai.conf: Document new scope table defaults.
12890
12891 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12892
12893 [BZ #5298]
12894 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12895 for ftell. Compute offsets from write pointers instead.
12896 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12897
12898 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12899
12900 [BZ #14543]
12901 * libio/Makefile (tests): New test case tst-fseek.
12902 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12903 combination works in wide mode.
12904 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12905 state when the external buffer state changes.
12906
12907 2012-09-27 David S. Miller <davem@davemloft.net>
12908
12909 [BZ #14376]
12910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12911 pass reloc->r_addend in as the 'high' argument to
12912 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12913
12914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12915
12916 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12917
12918 * rt/tst-aio2.c: Include <pthread.h>.
12919 * rt/tst-aio3.c: Likewise.
12920
12921 2012-09-27 Steve Ellcey <sellcey@mips.com>
12922
12923 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12924
12925 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12928 contents on [SHARED].
12929
12930 2012-09-26 Marek Polacek <polacek@redhat.com>
12931
12932 [BZ #14530]
12933 [BZ #13741]
12934 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12935 for C++ and GCC <4.3 as well as for non GCC compilers.
12936
12937 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12938
12939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12940
12941 2012-09-25 Roland McGrath <roland@hack.frob.com>
12942
12943 * Makefile.in (all, install): Declare with .PHONY.
12944 Reported by Michael Hope <michael.hope@linaro.org>.
12945
12946 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12947
12948 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12949 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12950 system header.
12951 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12952 Likewise.
12953 (sydep_routines): Add the new and the internal functions.
12954 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12955 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12957 (GLIBC_2.17): Add the new function.
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12959 (GLIBC_2.17): Likewise.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12961 (GLIBC_2.17): Likewise.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12963 (GLIBC_2.17): Likewise.
12964 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12965
12966 2012-09-25 Alan Modra <amodra@gmail.com>
12967
12968 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12969 Add release barrier before setting once_control to say
12970 initialisation is done. Add hints on lwarx. Use macro in
12971 place of isync.
12972 (clear_once_control): Add release barrier.
12973
12974 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12975
12976 [BZ #13629]
12977 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12978 specially.
12979 * math/s_clog10.c (__clog10): Likewise.
12980 * math/s_clog10f.c (__clog10f): Likewise.
12981 * math/s_clog10l.c (__clog10l): Likewise.
12982 * math/s_clogf.c (__clogf): Likewise.
12983 * math/s_clogl.c (__clogl): Likewise.
12984 * math/Makefile (libm-calls): Add x2y2m1.
12985 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12986 (__x2y2m1): Likewise.
12987 (__x2y2m1l): Likewise.
12988 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12989 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12992 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12993 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12994 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12995 * sysdeps/i386/fpu/libm-test-ulps: Update.
12996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12997
12998 [BZ #14621]
12999 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13000 int as type of variable DEPTH.
13001 (glob): Use size_t instead of int as type of variables NEWCOUNT
13002 and OLD_PATHC.
13003
13004 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13005
13006 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13007 Add s_sincosf-sse2.
13008 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13009 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13010 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13011 macros for using routine as __sincosf_ia32.
13012 Use macro for function declaration and weak_alias.
13013 * sysdeps/i386/fpu/libm-test-ulps: Update.
13014
13015 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13017
13018 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13019 subnormal argument.
13020 * math/s_cexpf.c (__cexpf): Likewise.
13021 * math/s_csinf.c (__csinf): Likewise.
13022 * math/s_csinhf.c (__csinhf): Likewise.
13023 * math/s_ctanf.c (__ctanf): Likewise.
13024 * math/s_ctanhf.c (__ctanhf): Likewise.
13025 * math/s_ccosh.c (__ccoshf): Likewise.
13026 * math/s_cexp.c (__cexpl): Likewise.
13027 * math/s_csin.c (__csin): Likewise.
13028 * math/s_csinh.c (__csinh): Likewise.
13029 * math/s_ctan.c (__ctan): Likewise.
13030 * math/s_ctanh.c (ctanh): Likewise.
13031 * math/s_ccoshl.c (__ccoshl): Likewise.
13032 * math/s_cexpl.c (__cexpl): Likewise.
13033 * math/s_csinl.c (__csinl): Likewise.
13034 * math/s_csinhl.c (__csinhl): Likewise.
13035 * math/s_ctanl.c (__ctanl): Likewise.
13036 * math/s_ctanhl.c (__ctanhl): Likewise.
13037
13038 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13039
13040 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13041 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13042 (_IO_off_t): Define to __off_t, not _G_off_t.
13043 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13044 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13045 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13046 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13047 type of __dummy and __dummy2 fields.
13048 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13049 (_G_ssize_t): Likewise.
13050 (_G_off_t): Likewise.
13051 (_G_pid_t): Likewise.
13052 (_G_uid_t): Likewise.
13053 (_G_wchar_t): Likewise.
13054 (_G_wint_t): Likewise.
13055 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13056 (_G_ssize_t): Likewise.
13057 (_G_off_t): Likewise.
13058 (_G_pid_t): Likewise.
13059 (_G_uid_t): Likewise.
13060 (_G_wchar_t): Likewise.
13061 (_G_wint_t): Likewise.
13062 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13063 (_G_ssize_t): Likewise.
13064 (_G_off_t): Likewise.
13065 (_G_pid_t): Likewise.
13066 (_G_uid_t): Likewise.
13067 (_G_wchar_t): Likewise.
13068 (_G_wint_t): Likewise.
13069
13070 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13071
13072 * malloc/arena.c: Include malloc-sysdep.h.
13073 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13074 is sufficient to shrink the heap or an unmap is needed.
13075 * sysdeps/generic/malloc-sysdep.h: New file. Define
13076 new function check_may_shrink_heap.
13077 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13078 new function check_may_shrink_heap.
13079
13080 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13081
13082 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13083 comments.
13084
13085 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13086
13087 * catgets/test-gencat.sh: Add "set -e".
13088 * elf/tst-pathopt.sh: Likewise.
13089 * grp/tst_fgetgrent.sh: Likewise.
13090 * iconvdata/run-iconv-test.sh: Likewise.
13091 * intl/tst-gettext.sh: Likewise.
13092 * intl/tst-gettext2.sh: Likewise.
13093 * intl/tst-gettext4.sh: Likewise.
13094 * intl/tst-gettext6.sh: Likewise.
13095 * intl/tst-translit.sh: Likewise.
13096 * io/ftwtest-sh: Likewise.
13097 * libio/test-freopen.sh: Likewise.
13098 * malloc/tst-mtrace.sh: Likewise.
13099 * posix/globtest.sh: Likewise.
13100 * posix/tst-getconf.sh: Likewise.
13101 * posix/wordexp-tst.sh: Likewise.
13102 * stdio-common/tst-printf.sh: Likewise.
13103 * stdio-common/tst-unbputc.sh: Likewise.
13104 * stdlib/tst-fmtmsg.sh: Likewise.
13105 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13106 * catgets/Makefile: Do not specify -e option when running
13107 testsuite shell scripts.
13108 * elf/Makefile: Likewise.
13109 * grp/Makefile: Likewise.
13110 * iconvdata/Makefile: Likewise.
13111 * intl/Makefile: Likewise.
13112 * io/Makefile: Likewise.
13113 * libio/Makefile: Likewise.
13114 * malloc/Makefile: Likewise.
13115 * posix/Makefile: Likewise.
13116 * stdio-common/Makefile: Likewise.
13117 * stdlib/Makefile: Likewise.
13118 * sysdeps/x86_64/Makefile: Likewise.
13119
13120 * io/ftwtest-sh: Add copyright header.
13121 * posix/globtest.sh: Likewise.
13122 * posix/tst-getconf.sh: Likewise.
13123 * posix/wordexp-tst.sh: Likewise.
13124 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13125
13126 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13127
13128 [BZ #13679]
13129 * Makeconfig (+link): Defined as $(+link-static) if
13130 $(build-shared) isn't yes.
13131 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13132 isn't yes.
13133 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13134
13135 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13136
13137 [BZ #14562]
13138 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13139 new chunk size with MALLOC_ALIGN_MASK.
13140
13141 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13142
13143 [BZ #5044]
13144 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13145 <rounding-mode.h>.
13146 (__printf_fphex): Determine rounding using get_rounding_mode and
13147 round_away.
13148 * stdio-common/tst-printf-round.c (struct hex_test): New
13149 structure.
13150 (hex_tests): New variable.
13151 (test_hex_in_one_mode): New function.
13152 (do_test): Also run tests for hex float output.
13153
13154 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13155
13156 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13157 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13158 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13159 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13160 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13161 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13162 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13163 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13164
13165 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13166
13167 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13168 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13169 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13170 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13171
13172 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13173
13174 [BZ #14579]
13175 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13176 mode only.
13177 * elf/tst-rtld-load-self.sh: New test.
13178 * elf/Makefile: Run it.
13179
13180 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13181
13182 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13183 (tst-writev-ENV): Remove.
13184 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13185
13186 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13187
13188 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13189
13190 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13191
13192 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13193 unconditional.
13194 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13195 Likewise.
13196 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13197 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13198 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13199 Likewise.
13200
13201 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13202
13203 [BZ #14587]
13204 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13205 * config.make.in (have-cpp-asm-debuginfo): Removed.
13206 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13207 * configure: Regenerated.
13208
13209 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #5044]
13212 * stdio-common/printf_fp.c: Include <stdbool.h> and
13213 <rounding-mode.h>.
13214 (___printf_fp): Determine rounding using get_rounding_mode and
13215 round_away.
13216 * stdio-common/tst-printf-round.c: New file.
13217 * stdio-common/Makefile (tests): Add tst-printf-round.
13218 (link-libm): New variable.
13219 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13220
13221 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13222
13223 [BZ #14576]
13224 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13225 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13226 Likewise.
13227 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13228 Likewise.
13229
13230 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13231
13232 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13233 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13234 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13235 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13236
13237 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13238
13239 [BZ #14518]
13240 * include/rounding-mode.h: New file.
13241 * sysdeps/generic/get-rounding-mode.h: Likewise.
13242 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13243 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13244 (MAX_VALUE): New macro.
13245 (MIN_VALUE): Likewise.
13246 (overflow_value): New function.
13247 (underflow_value): Likewise.
13248 (round_and_return): Use overflow_value and underflow_value to
13249 determine return values in overflow and underflow cases. Use
13250 round_away to determine rounding depending on rounding mode.
13251 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13252 determine return values in overflow and underflow cases.
13253 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13254 (struct test_results): New structure.
13255 (struct test): Use struct test_results to store expected results
13256 for all rounding modes.
13257 (TEST): Include expected results for all rounding modes.
13258 (test_in_one_mode): New function.
13259 (do_test): Use test_in_one_mode to compute and check results.
13260 Check results for all rounding modes.
13261 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13262 $(link-libm).
13263
13264 2012-12-09 Allan McRae <allan@archlinux.org>
13265
13266 * sysdeps/i386/fpu/libm-test-ulps: Update
13267
13268 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13269
13270 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13271 (_G_int32_t): Likewise.
13272 (_G_uint16_t): Likewise.
13273 (_G_uint32_t): Likewise.
13274 (_G_HAVE_BOOL): Likewise.
13275 (_G_HAVE_ATEXIT): Likewise.
13276 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13277 (_G_HAVE_IO_FILE_OPEN): Likewise.
13278 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13279 (_G_int32_t): Likewise.
13280 (_G_uint16_t): Likewise.
13281 (_G_uint32_t): Likewise.
13282 (_G_HAVE_BOOL): Likewise.
13283 (_G_HAVE_ATEXIT): Likewise.
13284 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13285 (_G_HAVE_IO_FILE_OPEN): Likewise.
13286 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13287 (_G_int32_t): Likewise.
13288 (_G_uint16_t): Likewise.
13289 (_G_uint32_t): Likewise.
13290 (_G_HAVE_BOOL): Likewise.
13291 (_G_HAVE_ATEXIT): Likewise.
13292 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13293 (_G_HAVE_IO_FILE_OPEN): Likewise.
13294
13295 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13296
13297 * csu/libc-tls.c: Update copyright years.
13298
13299 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13300
13301 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13302 [!_G_USING_THUNKS]: Remove conditional code.
13303 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13304 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13305
13306 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13307 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13308 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13309 (_G_VTABLE_LABEL_PREFIX): Likewise.
13310 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13311 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13312 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13313 (_G_VTABLE_LABEL_PREFIX): Likewise.
13314 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13315 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13316 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13317 (_G_VTABLE_LABEL_PREFIX): Likewise.
13318 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13319
13320 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13321
13322 * libio/Makefile: Include ../Makeconfig before tests.
13323 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13324 only if $(build-shared) is yes.
13325
13326 * iconv/gconv_db.c: Update copyright years.
13327
13328 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13329
13330 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13331 unwind info if defined PIC. Fix special cases description.
13332 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13333
13334 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13335 DP_HI_MASK entry.
13336 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13337
13338 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13339
13340 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13341
13342 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13343 is NULL.
13344
13345 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13346 (LDLIBS-tst-chk4): This.
13347 (LDFLAGS-tst-chk5): Renamed to ...
13348 (LDLIBS-tst-chk5): This.
13349 (LDFLAGS-tst-chk6): Renamed to ...
13350 (LDLIBS-tst-chk6): This.
13351 (LDFLAGS-tst-lfschk4): Renamed to ...
13352 (LDLIBS-tst-lfschk4): This.
13353 (LDFLAGS-tst-lfschk5): Renamed to ...
13354 (LDLIBS-tst-lfschk5): This.
13355 (LDFLAGS-tst-lfschk6): Renamed to ...
13356 (LDLIBS-tst-lfschk6): This.
13357
13358 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13359 on $(common-objpfx)soversions.mk.
13360
13361 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13362
13363 [BZ #10014]
13364 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13365 example host name.
13366
13367 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13368
13369 * malloc/arena.c (arena_get_retry): New function that gets
13370 another arena for the caller to try its request on.
13371 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13372 current arena cannot fulfill the request.
13373 (__libc_memalign): Likewise.
13374 (__libc_memalign): Likewise.
13375 (__libc_pvalloc): Likewise.
13376 (__libc_calloc): Likewise.
13377
13378 2012-09-05 John Tobey <john.tobey@gmail.com>
13379
13380 [BZ #13542]
13381 * manual/arith.texi (Operations on Complex): Fix description
13382 of carg branch cut.
13383
13384 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13385
13386 [BZ #10014]
13387 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13388 host name.
13389
13390 [BZ #10038]
13391 * manual/memory.texi (Memory): Make order of menu items match
13392 order of sections.
13393
13394 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13397 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13398 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13399
13400 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13401
13402 * csu/libc-tls.c (static_dtv): Renamed to ...
13403 (_dl_static_dtv): This. Make it global.
13404 (_dl_initial_dtv): Removed.
13405 (__libc_setup_tls): Updated.
13406 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13407 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13408 DL_INITIAL_DTV.
13409
13410 2012-09-06 Petr Machata <pmachata@redhat.com>
13411
13412 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13413 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13414 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13415 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13416
13417 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13418
13419 [BZ #14545]
13420 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13421 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13422 freeing dtv[-1].
13423
13424 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13425
13426 [BZ #14544]
13427 * Makeconfig (link-static-before-libc): Replace $(+prector)
13428 with $(+prectorT).
13429 (link-static-after-libc): Replace $(+postctor) with
13430 $(+postctorT).
13431 (link-bounded): Replace $(+prector)/$(+postctor) with
13432 $(+prectorT)/$(+postctorT).
13433 (+prectorT): New macro.
13434 (+postctorT): Likewise.
13435
13436 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13437
13438 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13439 (round_str): Handle values above the maximum for IBM long double
13440 as inexact.
13441 * stdlib/tst-strtod-round.c (tests): Regenerated.
13442
13443 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13444
13445 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13446 assembler flag.
13447 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13448 zarch_nohighgprs around the zarch optimized routines.
13449 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13450 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13451 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13452 for zarch.
13453
13454 2012-09-05 David S. Miller <davem@davemloft.net>
13455
13456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13457
13458 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13459 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13460 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13461 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13462 entries.
13463
13464 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13465
13466 * malloc/arena.c: Fold copyright years.
13467 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13468
13469 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13470
13471 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13472
13473 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13474
13475 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13476
13477 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13478
13479 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13480 change internal state upon failure.
13481
13482 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13483
13484 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13485 * malloc/memusage.c (mmap): Likewise.
13486 (mmap64, mremap): Likewise. Adjust name in comment.
13487
13488 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13489
13490 * libio/fileops.c: Fix typos in comments.
13491 * libio/oldfileops.c: Likewise.
13492 * libio/wfileops.c: Likewise.
13493
13494 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13495
13496 [BZ #1349]
13497 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13498 (tst-malloc-usable-ENV): Set environment for test case.
13499 * malloc/hooks.c (malloc_check_get_size): New function to get
13500 requested size.
13501 * malloc/malloc.c (musable): Use malloc_check_get_size.
13502 * malloc/tst-malloc-usable.c: New test case.
13503
13504 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13505
13506 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13507
13508 2012-09-05 Allan McRae <allan@archlinux.org>
13509
13510 [BZ #13966]
13511 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13512 determine header location.
13513 * configure: Regenerated.
13514
13515 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13516
13517 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13518 float format.
13519 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13520 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13521 format.
13522 (test): Regenerate.
13523
13524 2012-09-04 David S. Miller <davem@davemloft.net>
13525
13526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13528 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13529
13530 2012-09-04 Florian Weimer <fweimer@redhat.com>
13531
13532 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13533 failures.
13534
13535 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13536
13537 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13538
13539 [BZ #9914]
13540 * libio/iogetdelim.c: Include <limits.h>.
13541 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13542 + len + 1 would overflow.
13543
13544 2012-09-03 Andreas Jaeger <aj@suse.de>
13545
13546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13547 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548
13549 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13550
13551 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13552 Add s_sinf-sse2, s_conf-sse2.
13553
13554 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13555 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13556 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13557 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13558
13559 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13560 for using routine as __sinf_ia32.
13561 Use macro for function declaration and weak_alias.
13562 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13563 for using routine as __cosf_ia32.
13564 Use macro for function declaration and weak_alias.
13565
13566 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13567 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13568
13569 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13570 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13572
13573 * math/libm-test.inc (cos_test): Add more test cases.
13574 (sin_test): Likewise.
13575 (sincos_test): Likewise.
13576
13577 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13578
13579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13580 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13581 hidden.
13582 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13583
13584 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13585
13586 [BZ #14538]
13587 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13588 first element of the GOT.
13589 (elf_machine_load_address): Return the difference between
13590 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13591
13592 2012-09-01 Allan McRae <allan@archlinux.org>
13593
13594 [BZ #13412]
13595 * configure.in (AWK): Require gawk version 3.0 or later.
13596 * configure: Regenerated.
13597
13598 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13599
13600 * sysdeps/unix/sysv/linux/kernel-features.h
13601 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13602 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13603 [__NR_clock_getres]: Make code unconditional.
13604 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13605 (clock_getcpuclockid): Remove code left unreachable by removal of
13606 conditionals.
13607 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13608 code unconditional.
13609 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13610 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13611 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13612 Make code unconditional.
13613 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13614 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13615 * sysdeps/unix/sysv/linux/clock_settime.c
13616 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13617 conditional code.
13618 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13619 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13620
13621 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13622
13623 [BZ #14476]
13624 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13625 scripts/test-installation.pl.
13626
13627 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13628 and $ld_so_version if it is set.
13629
13630 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13631
13632 [BZ #14516]
13633 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13634 failure if reading from procfs failed.
13635 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13636
13637 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13638
13639 * sysdeps/unix/sysv/linux/kernel-features.h
13640 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13641 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13642 Remove conditional code.
13643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13644 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13645 Remove conditional code.
13646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13647 * sysdeps/unix/sysv/linux/i386/fxstat.c
13648 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13650 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13653 * sysdeps/unix/sysv/linux/i386/lxstat.c
13654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13656 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13657 Remove conditional code.
13658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13659 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13660 Remove conditional code.
13661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13663 <kernel-features.h>.
13664 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13665 Remove.
13666 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13667 Remove conditional code.
13668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13669 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13670 Remove conditional.
13671
13672 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13673
13674 [BZ #5400]
13675 * NEWS: Add fixed bug number.
13676
13677 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13678
13679 [BZ #14519]
13680 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13681 underflowing exponent in case of negative sign.
13682 * stdlib/tst-strtod-round-data: Add more tests.
13683 * stdlib/tst-strtod-round.c (tests): Regenerated.
13684
13685 [BZ #3479]
13686 * stdlib/strtod_l.c (NDIG): Remove.
13687 (HEXNDIG): Likewise.
13688 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13689 smallest representable value.
13690 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13691 lie within an exact representation of 1/2 ulp of the result.
13692 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13693 unconditionally.
13694 (TENS_P9_IDX): Define unconditionally.
13695 (TENS_P9_SIZE): Likewise.
13696 (TENS_P10_IDX): Likewise.
13697 (TENS_P10_SIZE): Likewise.
13698 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13699 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13700 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13701 entries for 10^2^13 and 10^2^14.
13702 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13703 (TENS_P13_IDX): Define.
13704 (TENS_P13_SIZE): Likewise.
13705 (TENS_P14_IDX): Likewise.
13706 (TENS_P14_SIZE): Likewise.
13707 (_fpioconst_pow10): Change array size to
13708 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13709 unconditional.
13710 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13711 1024]: Add entries for 10^2^13 and 10^2^14.
13712 [LAST_POW10 > _LAST_POW10]: Remove #error.
13713 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13714 (_fpioconst_pow10): Change array size to
13715 FPIOCONST_POW10_ARRAY_SIZE.
13716 * stdlib/gen-fpioconst.c: New file.
13717 * stdlib/gen-tst-strtod-round.c: Likewise.
13718 * stdlib/tst-strtod-round-data: Likewise.
13719 * stdlib/tst-strtod-round.c: Likewise.
13720 * stdlib/Makefile (tests): Add tst-strtod-round.
13721
13722 [BZ #14459]
13723 * stdlib/strtod_l.c: Include <stdint.h>.
13724 (NDEBUG): Do not define.
13725 (round_and_return): Change EXPONENT parameter to type intmax_t.
13726 Rearrange calculations to avoid internal overflow possibilities.
13727 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13728 Rearrange calculations to avoid internal overflow possibilities.
13729 Assert that number fits inside MPNSIZE limbs.
13730 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13731 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13732 calculations and add assertions to avoid internal overflow
13733 possibilities. Add casts to avoid signed/unsigned operations.
13734 * stdlib/tst-strtod-overflow.c: New file.
13735 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13736
13737 2012-08-25 Marek Polacek <polacek@redhat.com>
13738
13739 * time/time.h: Fix some typos in comments.
13740
13741 2012-08-23 Roland McGrath <roland@hack.frob.com>
13742
13743 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13744 * posix/tst-rfc3484-2.c: Likewise.
13745 * posix/tst-rfc3484-3.c: Likewise.
13746
13747 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13748
13749 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13750 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13751
13752 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13753
13754 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13755 #include of fxstatat64.c.
13756
13757 2012-08-22 Roland McGrath <roland@hack.frob.com>
13758
13759 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13760 * shadow/getspent_r.c: Likewise.
13761 * shadow/getspnam.c: Likewise.
13762 * shadow/getspnam_r.c: Likewise.
13763 * gshadow/getsgent.c: Likewise.
13764 * gshadow/getsgent_r.c: Likewise.
13765 * gshadow/getsgnam.c: Likewise.
13766 * gshadow/getsgnam_r.c: Likewise.
13767 * inet/getnetbyad.c: Likewise.
13768 * inet/getnetbyad_r.c: Likewise.
13769 * inet/getnetbynm.c: Likewise.
13770 * inet/getnetbynm_r.c: Likewise.
13771 * inet/getnetent.c: Likewise.
13772 * inet/getnetent_r.c: Likewise.
13773 * inet/getproto.c: Likewise.
13774 * inet/getproto_r.c: Likewise.
13775 * inet/getprtent.c: Likewise.
13776 * inet/getprtent_r.c: Likewise.
13777 * inet/getprtname.c: Likewise.
13778 * inet/getprtname_r.c: Likewise.
13779 * inet/getrpcbyname.c: Likewise.
13780 * inet/getrpcbyname_r.c: Likewise.
13781 * inet/getrpcbynumber.c: Likewise.
13782 * inet/getrpcbynumber_r.c: Likewise.
13783 * inet/getrpcent.c: Likewise.
13784 * inet/getrpcent_r.c: Likewise.
13785 * inet/getaliasent.c: Likewise.
13786 * inet/getaliasent_r.c: Likewise.
13787 * inet/getaliasname.c: Likewise.
13788 * inet/getaliasname_r.c: Likewise.
13789 * nscd/getgrgid_r.c: Likewise.
13790 * nscd/getgrnam_r.c: Likewise.
13791 * nscd/gethstbyad_r.c: Likewise.
13792 * nscd/gethstbynm3_r.c: Likewise.
13793 * nscd/getpwnam_r.c: Likewise.
13794 * nscd/getpwuid_r.c: Likewise.
13795 * nscd/getsrvbynm_r.c: Likewise.
13796 * nscd/getsrvbypt_r.c: Likewise.
13797 * nscd/gai.c: Likewise.
13798
13799 * configure.in (build_nscd): New substituted variable, set
13800 by --disable-build-nscd and defaults to $use_nscd.
13801 * configure: Regenerated.
13802 * config.make.in (build-nscd): New substituted variable.
13803 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13804 Change conditional to require [$(build-nscd) = yes] as well.
13805 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13806
13807 [BZ# 13696]
13808 * configure.in (use_nscd): New substituted variable, set by
13809 --disable-nscd. If enabled, define USE_NSCD.
13810 * configure: Regenerated.
13811 * config.h.in: Add USE_NSCD.
13812 * config.make.in (use-nscd): New substituted variable.
13813 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13814 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13815 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13816 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13817 (CFLAGS-getgrnam_r.c): Likewise.
13818 (CFLAGS-initgroups.c): Likewise.
13819 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13820 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13821 Variables removed.
13822 * inet/getnetgrent_r.c
13823 (nscd_setnetgrent): New function, broken out of ...
13824 (setnetgrent): ... here. Call it.
13825 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13826 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13827 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13828 * nscd/Makefile (routines, aux): Move definitions after include of
13829 Makeconfig. Conditionalize on [$(use-nscd) != no].
13830 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13831 Conditionalize on [USE_NSCD].
13832 (is_nscd, nscd_init_cb): Likewise.
13833 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13834 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13835 * nss/nss_db/db-init.c: Likewise.
13836 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13837 [USE_NSCD].
13838 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13839 (make_request): Use it.
13840 (cache_valid_p): New function.
13841 (__check_pf): Use it.
13842 * NEWS: Add item for --disable-nscd.
13843
13844 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13845
13846 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13847 to support sed >= 4.2.1-20-ga9bf076.
13848 * configure: Regenerated.
13849
13850 2012-08-22 Roland McGrath <roland@hack.frob.com>
13851
13852 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13853 Conditionalize whole body on [IREL].
13854
13855 2012-08-22 Jeff Law <law@redhat.com>
13856
13857 [BZ #14505]
13858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13859 if the family is PF_UNSPEC.
13860
13861 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13862
13863 * Makerules (lib-version): Rename from V.
13864 (install-lib-nosubdir): Change V to lib-version.
13865
13866 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13867
13868 [BZ #14252]
13869 * powerpc32/power6/wcschr.c: New file.
13870 * powerpc32/power6/wcscpy.c: New file.
13871 * powerpc32/power6/wcsrchr.c: New file.
13872 * powerpc64/power6/wcschr.c: New file.
13873 * powerpc64/power6/wcscpy.c: New file.
13874 * powerpc64/power6/wcsrchr.c: New file.
13875
13876 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13877
13878 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13879 (two_way_short_needle): Use it.
13880 * string/strstr.c (AVAILABLE1_USES_J): Define.
13881 * string/strcasestr.c: Likewise.
13882
13883 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13884 array references.
13885 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13886
13887 [BZ #11607]
13888 * NEWS: Add an entry.
13889 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13890 define their defaults.
13891 (two_way_short_needle): Detect end-of-string on-the-fly.
13892 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13893 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13894 * string/bug-strcasestr1.c: New test.
13895 * string/Makefile: Run it.
13896
13897 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13898
13899 [BZ #11607]
13900 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13901 the first character.
13902
13903 2012-08-21 Roland McGrath <roland@hack.frob.com>
13904
13905 * csu/elf-init.c (__libc_csu_irel): Function removed.
13906 * csu/libc-start.c (apply_irel): New function.
13907 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13908
13909 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13910
13911 * sysdeps/unix/sysv/linux/kernel-features.h
13912 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13913 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13914 <kernel-features.h>.
13915 [__NR_fadvise64_64]: Make code unconditional.
13916 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13917 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13918 !__NR_fadvise64_64)]: Likewise.
13919 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13920 !__NR_fadvise64_64))]: Likewise.
13921 [__NR_fadvise64]: Make code unconditional.
13922 [!__NR_fadvise64]: Remove conditional code.
13923 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13924 <kernel-features.h>.
13925 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13926 unconditional.
13927 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13928 conditional code.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13930 not include <kernel-features.h>.
13931 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13932 unconditional.
13933 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13934 conditional code.
13935 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13936 include <kernel-features.h>.
13937 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13938 unconditional.
13939 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13940 conditional code.
13941
13942 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13943
13944 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13945 slight instruction rearrangements per scrollpipe analysis.
13946 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13947
13948 2012-08-20 Roland McGrath <roland@hack.frob.com>
13949
13950 * manual/syslog.texi (syslog; vsyslog, closelog):
13951 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13952 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13953
13954 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13955 DSOCAPS to match condition on defining it.
13956
13957 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13958
13959 * sysdeps/unix/sysv/linux/kernel-features.h
13960 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13962 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13963 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13970
13971 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13972 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13973
13974 * sysdeps/unix/sysv/linux/kernel-features.h
13975 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13976 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13977 unconditional.
13978 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13979 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13980 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13981 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13982 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13983 Make code unconditional.
13984 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13985 (__mmap64) [!__NR_mmap2]: Likewise.
13986 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13987 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13988 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13989 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13990 [__NR_mmap2]: Make code unconditional.
13991 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13992 (__mmap64) [!__NR_mmap2]: Likewise.
13993
13994 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13995
13996 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13997
13998 2012-08-18 Andreas Jaeger <aj@suse.de>
13999
14000 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14001
14002 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14003
14004 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14005 * include/unistd.h (__have_sock_cloexec): Likewise.
14006 (__have_pipe2): Likewise.
14007 (__have_dup3): Likewise.
14008
14009 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14010
14011 [BZ #9685]
14012 * include/unistd.h (__have_pipe2): Change define into an extern int.
14013 (__have_dup3): Likewise.
14014 * socket/have_sock_cloexec.c: Include fcntl.h.
14015 (__have_pipe2): New variable.
14016 (__have_dup3): Likewise.
14017
14018 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14019
14020 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14021
14022 2012-08-17 Marek Polacek <polacek@redhat.com>
14023
14024 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14025 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14026
14027 2012-08-17 Roland McGrath <roland@hack.frob.com>
14028
14029 * configure.in: Add AC_SUBST for sysheaders.
14030 * configure: Regenerated.
14031 * config.make.in (sysheaders): New substituted variable.
14032
14033 * sysdeps/unix/mkfifo.c: Moved ...
14034 * sysdeps/posix/mkfifo.c: ... here.
14035 * sysdeps/unix/mkfifoat.c: Moved ...
14036 * sysdeps/posix/mkfifoat.c: ... here.
14037
14038 * sysdeps/unix/utime.c: Moved ...
14039 * sysdeps/posix/utime.c: ... here.
14040
14041 * sysdeps/unix/time.c: Moved ...
14042 * sysdeps/posix/time.c: ... here.
14043 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14044 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14045
14046 * sysdeps/unix/nice.c: Moved ...
14047 * sysdeps/posix/nice.c: ... here.
14048
14049 * sysdeps/unix/alarm.c: Moved ...
14050 * sysdeps/posix/alarm.c: ... here.
14051
14052 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14053
14054 2012-08-17 Jeff Law <law@redhat.com>
14055
14056 * intl/Makefile (codeset_mo): New variable.
14057 ($(codeset_mo)): New target.
14058 (tst-codeset.out): Depend on that. Remove explicit rule.
14059 (tst-gettext3.out, tst-gettext5.out): Likewise.
14060 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14061 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14062 * intl/tst-codeset.sh: Remove.
14063 * intl/tst-gettext3.sh: Likewise.
14064 * intl/tst-gettext5.sh: Likewise.
14065
14066 2012-08-17 Roland McGrath <roland@hack.frob.com>
14067
14068 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14069 * sysdeps/unix/syscalls.list: ... here.
14070
14071 * sysdeps/posix/getaddrinfo.c
14072 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14073 (gaiconf_init, gaiconf_reload): Use them.
14074 [!_STATBUF_ST_NSEC]
14075 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14076 Define using time_t rather than struct timespec.
14077
14078 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14079 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14080 Macros removed.
14081 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14082 [!NO_THREADS].
14083 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14084 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14085 Likewise.
14086
14087 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14088 __libc_cleanup_push argument.
14089
14090 * bits/param.h: New file.
14091 * misc/sys/param.h: New file.
14092 * include/sys/param.h: New file.
14093 * misc/Makefile (headers): Add bits/param.h.
14094 * sysdeps/generic/sys/param.h: File removed.
14095 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14096 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14097 * sysdeps/mach/hurd/bits/param.h: New file.
14098 * sysdeps/mach/hurd/sys/param.h: File removed.
14099
14100 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14101 last change.
14102
14103 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14104 [_IO_MTSAFE_IO].
14105 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14106 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14107 New macros.
14108
14109 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14110 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14111 rather than -D_IO_MTSAFE_IO conditionally.
14112 * stdio-common/Makefile (CPPFLAGS): Likewise.
14113 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14114 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14115 Use $(libio-mtsafe).
14116 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14117 of -D_IO_MTSAFE_IO.
14118 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14119 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14120 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14121 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14122 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14123 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14124 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14125 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14126 (CFLAGS-fread_u_chk.c): Likewise.
14127 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14128 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14129 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14130 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14131 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14132 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14133 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14134 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14135 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14136
14137 * libio/Makefile: Test [$(libc-reentrant) = yes]
14138 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14139
14140 * Makeconfig
14141 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14142 * sysdeps/pthread/configure: File removed.
14143 * sysdeps/pthread/Makeconfig: New file.
14144 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14145 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14146
14147 2012-08-16 Gary Benson <gbenson@redhat.com>
14148
14149 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14150 unmapping the first object in a namespace.
14151
14152 2012-08-16 Roland McGrath <roland@hack.frob.com>
14153
14154 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14155 (__internal_setnetgrent): ... this. Add internal_function to
14156 definition. Add libc_hidden_def.
14157 (setnetgrent): Update caller.
14158 (internal_endnetgrent): Renamed to ...
14159 (__internal_endnetgrent): ... this. Add internal_function to
14160 definition. Add libc_hidden_def.
14161 (endnetgrent): Update caller.
14162 (internal_getnetgrent_r): Renamed to ...
14163 (__internal_getnetgrent_r): ... this. Add internal_function to
14164 definition. Add libc_hidden_def.
14165 (__getnetgrent_r): Update caller.
14166 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14167
14168 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14169
14170 * stdlib/longlong.h: Update from GCC.
14171
14172 2012-08-16 Roland McGrath <roland@hack.frob.com>
14173
14174 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14175 on _QL, which is set by umul_ppmm but never used.
14176 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14177 variables, which are set by GMP macros but never used.
14178 * stdio-common/_itowa.c (_itowa): Likewise.
14179 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14180 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14181
14182 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14183
14184 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14185 struct La_sh_regs is not constant.
14186 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14187 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14188 and struct La_sparc64_regs are not constant.
14189
14190 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14191
14192 * sysdeps/unix/sysv/linux/kernel-features.h
14193 (__ASSUME_POSIX_TIMERS): Remove.
14194 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14195 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14196 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14197 Make code unconditional.
14198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14199 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14200 Make code unconditional.
14201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14202 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14203 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14205 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14206 Make code unconditional.
14207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14208 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14209 (__libc_missing_posix_timers): Remove.
14210
14211 2012-08-15 Roland McGrath <roland@hack.frob.com>
14212
14213 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14214 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14215
14216 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14217
14218 * elf/dl-sym.c: Include <stdlib.h>.
14219
14220 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14221 constants, which avoids warnings in 32-bit builds.
14222
14223 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14224 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14225
14226 * misc/lseek.c: File moved to ...
14227 * io/lseek.c: ... here.
14228
14229 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14230
14231 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14232 shifting LEN more than 31 bits at once.
14233
14234 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14235
14236 [BZ #14195]
14237 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14238 segmentation fault for a case of two empty input strings.
14239 * string/test-strncasecmp.c (check1): Renamed to...
14240 (bz12205): ...this.
14241 (bz14195): Add new testcase for two empty input strings and N > 0.
14242 (test_main): Call new testcase, adapt for renamed function.
14243
14244 2012-08-15 Andreas Jaeger <aj@suse.de>
14245
14246 [BZ #14090]
14247 * crypt/md5test2.c: New test, based on test supplied by Serge
14248 Belyshev <belyshev@depni.sinp.msu.ru>.
14249 * crypt/Makefile (xtests): Add md5test-giant..
14250 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14251
14252 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14253
14254 [BZ #14090]
14255 * crypt/md5.c (md5_process_block): Don't assume the buffer
14256 length is less than 2**32.
14257 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14258 length is less than 2**64.
14259
14260 2012-08-15 Roland McGrath <roland@hack.frob.com>
14261
14262 * string/str-two-way.h: Include <sys/param.h>.
14263 (MAX): Macro removed.
14264
14265 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14266 Move #define and #undef of memmove to just before and after
14267 including <string.h>.
14268
14269 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14270 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14271 and after including <string.h>. Move declarations of
14272 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14273 to before #include "string/memmove.c".
14274
14275 * include/dirent.h: Declare __getdirentries.
14276
14277 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14278 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14279
14280 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14281
14282 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14283 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14284 * sysdeps/i386/configure: Regenerated.
14285 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14286 STABS_CURRENT_FILE, and STABS_FUN.
14287 (END): Remove call to STABS_FUN_END.
14288 (STABS_CURRENT_FILE1): Delete.
14289 (STABS_CURRENT_FILE): Likewise.
14290 (STABS_FUN): Likewise.
14291 (STABS_FUN_END): Likewise.
14292 (STABS_FUN2): Likewise.
14293 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14294 * sysdeps/x86_64/configure: Regenerated.
14295
14296 2012-08-14 Roland McGrath <roland@hack.frob.com>
14297
14298 * elf/dl-open.c: Include <atomic.h>.
14299 * elf/dl-lookup.c: Likewise.
14300
14301 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14302
14303 * sysdeps/unix/sysv/linux/kernel-features.h
14304 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14305 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14306 unconditionally.
14307 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14308 unconditionally.
14309 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14310 condition on __ASSUME_CLONE_THREAD_FLAGS.
14311
14312 2012-08-14 Andreas Jaeger <aj@suse.de>
14313
14314 * sysdeps/i386/fpu/libm-test-ulps: Update.
14315
14316 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14317
14318 * include/atomic.h (atomic_exchange_and_add): Split into ...
14319 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14320 New atomic macros.
14321
14322 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14323
14324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14325
14326 2012-08-13 Jeff Law <law@redhat.com>
14327
14328 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14329 null byte in the output string.
14330
14331 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14332
14333 * sysdeps/unix/sysv/linux/kernel-features.h
14334 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14335 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14336 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14337 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14338 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14339 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14340 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14341
14342 2012-08-09 Jeff Law <law@redhat.com>
14343
14344 [BZ #13939]
14345 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14346 When avoid_arena is set, don't retry in the that arena. Pick the
14347 next one, whatever it might be.
14348 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14349 (arena_lock): Pass in new parameter to arena_get2.
14350 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14351 arena_get2.
14352 (__libc_malloc): Unify retrying after main arena failure with
14353 __libc_memalign version.
14354 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14355
14356 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 [BZ #14166]
14359 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14360 to __redirect_strstr.
14361 (__strstr_sse42): Use typeof __redirect_strstr.
14362 (__strstr_ia32): Likewise.
14363 (__libc_strstr): New prototype.
14364 (strstr): Renamed to ...
14365 (__libc_strstr): This.
14366 (strstr): New strong alias of __libc_strstr.
14367 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14368 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14369 __redirect_time.
14370 Include <time.h>.
14371 (__libc_time): New prototype.
14372 (time_ifunc): Replace time with __libc_time.
14373 (time): New strong alias and hidden definition of __libc_time.
14374 (__GI_time): Remove strong alias.
14375 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14376 Include <stddef.h>.
14377 (memmove): Redefined to __redirect_memmove.
14378 (__memmove_sse2): Use typeof __redirect_memmove.
14379 (__memmove_ssse3): Likewise.
14380 (__memmove_ssse3_back): Likewise.
14381 (__libc_memmove): New prototype.
14382 (memmove): Renamed to ...
14383 (__libc_memmove): This.
14384 (memmove): New strong alias of __libc_memmove.
14385
14386 2012-08-08 Mark Salter <msalter@redhat.com>
14387
14388 * elf/elf.h
14389 (R_MN10300_TLS_GD): Define.
14390 (R_MN10300_TLS_LD): Likewise.
14391 (R_MN10300_TLS_LDO): Likewise.
14392 (R_MN10300_TLS_GOTIE): Likewise.
14393 (R_MN10300_TLS_IE): Likewise.
14394 (R_MN10300_TLS_LE): Likewise.
14395 (R_MN10300_TLS_DTPMOD): Likewise.
14396 (R_MN10300_TLS_DTPOFF): Likewise.
14397 (R_MN10300_TLS_TPOFF): Likewise.
14398 (R_MN10300_SYM_DIFF): Likewise.
14399 (R_MN10300_ALIGN): Likewise.
14400 (R_MN10300_NUM): Update.
14401
14402 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14403
14404 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14405 Remove.
14406
14407 2012-08-08 Roland McGrath <roland@hack.frob.com>
14408
14409 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14410
14411 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14412 sysdeps/unix -> sysdeps/posix move.
14413 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14414
14415 2012-08-07 Allan McRae <allan@archlinux.org>
14416
14417 [BZ #14303]
14418 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14419 (SUNOS_CPP): Likewise.
14420 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14421 not found.
14422 (open_input): Call CPP using execvp.
14423
14424 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14425
14426 * sysdeps/unix/sysv/linux/kernel-features.h
14427 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14428 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14429 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14430 (__ASSUME_WAITID_SYSCALL): Likewise.
14431 * sysdeps/unix/sysv/linux/dl-execstack.c
14432 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14433 code unconditional.
14434 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14435 conditional code.
14436 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14437 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14438 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14439 code.
14440 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14441 unconditional.
14442 [__ASSUME_WAITID_SYSCALL]: Likewise.
14443 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14444
14445 2012-08-07 Roland McGrath <roland@hack.frob.com>
14446
14447 * sysdeps/unix/closedir.c: Renamed to ...
14448 * sysdeps/posix/closedir.c: ... here.
14449 * sysdeps/unix/dirfd.c: Renamed to ...
14450 * sysdeps/posix/dirfd.c: ... here.
14451 * sysdeps/unix/dirstream.h: Renamed to ...
14452 * sysdeps/posix/dirstream.h: ... here.
14453 * sysdeps/unix/fdopendir.c: Renamed to ...
14454 * sysdeps/posix/fdopendir.c: ... here.
14455 * sysdeps/unix/opendir.c: Renamed to ...
14456 * sysdeps/posix/opendir.c: ... here.
14457 * sysdeps/unix/readdir.c: Renamed to ...
14458 * sysdeps/posix/readdir.c: ... here.
14459 * sysdeps/unix/readdir_r.c: Renamed to ...
14460 * sysdeps/posix/readdir_r.c: ... here.
14461 * sysdeps/unix/rewinddir.c: Renamed to ...
14462 * sysdeps/posix/rewinddir.c: ... here.
14463 * sysdeps/unix/seekdir.c: Renamed to ...
14464 * sysdeps/posix/seekdir.c: ... here.
14465 * sysdeps/unix/telldir.c: Renamed to ...
14466 * sysdeps/posix/telldir.c: ... here.
14467 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14468 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14469 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14470 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14471
14472 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14473 * bits/fcntl.h: ... here.
14474
14475 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14476 not 0.
14477 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14478 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14479 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14480 (struct flock): Move l_start, l_len to the beginning.
14481 Use __pid_t for l_pid.
14482 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14483 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14484 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14485 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14486 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14487 [__USE_LARGEFILE64] (struct flock64): New type.
14488 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14489
14490 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14491 * bits/dirent.h: ... here.
14492
14493 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14494 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14495
14496 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14497
14498 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14499 Change from 2.6.0 to 2.6.16.
14500 * sysdeps/unix/sysv/linux/configure: Regenerated.
14501 * sysdeps/unix/sysv/linux/kernel-features.h
14502 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14503 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14504 version.
14505 (__ASSUME_UTIMES): Likewise.
14506 (__ASSUME_CLONE_STOPPED): Remove.
14507 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14508 architectures, not kernel version.
14509 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14510 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14511 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14512 (__ASSUME_WAITID_SYSCALL): Likewise.
14513 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14514 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14515 * README: State 2.6.16 as minimum Linux kernel version. Do not
14516 refer to older versions.
14517
14518 2012-08-06 Roland McGrath <roland@hack.frob.com>
14519
14520 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14521 Define alphasort64 as an alias.
14522 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14523 Define versionsort64 as an alias.
14524 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14525 Define scandir64 as an alias.
14526 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14527 Define scandirat64 as an alias.
14528 * dirent/alphasort64.c (alphasort64):
14529 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14530 * dirent/versionsort64.c: Likewise.
14531 * dirent/scandir64.c: Likewise.
14532 * dirent/scandirat64.c: Likewise.
14533 * sysdeps/wordsize-64/alphasort.c: File removed.
14534 * sysdeps/wordsize-64/alphasort64.c: File removed.
14535 * sysdeps/wordsize-64/scandir.c: File removed.
14536 * sysdeps/wordsize-64/scandir64.c: File removed.
14537 * sysdeps/wordsize-64/scandirat.c: File removed.
14538 * sysdeps/wordsize-64/scandirat64.c: File removed.
14539 * sysdeps/wordsize-64/versionsort.c: File removed.
14540 * sysdeps/wordsize-64/versionsort64.c: File removed.
14541 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14542 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14543 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14544 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14545 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14546 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14547 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14548 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14549
14550 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14552 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14554 [defined __arch64__ || defined __sparcv9]
14555 (__INO_T_MATCHES_INO64_T): New macro.
14556 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14557 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14558 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14559 * sysdeps/unix/sysv/linux/bits/dirent.h
14560 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14561 (_DIRENT_MATCHES_DIRENT64): New macro.
14562
14563 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14564 Define lockf64 as an alias.
14565 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14566 Define fseeko64 as an alias.
14567 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14568 Define ftello64 as an alias.
14569 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14570 Define _IO_fgetpos64 and fgetpos64 as aliases.
14571 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14572 Define _IO_fsetpos64 and fsetpos64 as aliases.
14573 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14574 Conditionalize body on this.
14575 * libio/fseeko64.c: Likewise.
14576 * libio/ftello64.c: Likewise.
14577 * libio/iofgetpos64.c: Likewise.
14578 * libio/iofsetpos64.c: Likewise.
14579 * sysdeps/wordsize-64/lockf.c: File removed.
14580 * sysdeps/wordsize-64/lockf64.c: File removed.
14581 * sysdeps/wordsize-64/fseeko.c: File removed.
14582 * sysdeps/wordsize-64/fseeko64.c: File removed.
14583 * sysdeps/wordsize-64/ftello.c: File removed.
14584 * sysdeps/wordsize-64/ftello64.c: File removed.
14585 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14586 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14587 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14588 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14589 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14590 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14591 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14592 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14593 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14594 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14595 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14596 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14597 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14598 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14599
14600 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14602 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14604 [defined __arch64__ || defined __sparcv9]
14605 (__OFF_T_MATCHES_OFF64_T): New macro.
14606 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14607 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14609 (__OFF_T_MATCHES_OFF64_T): New macro.
14610
14611 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14612
14613 * stdlib/secure-getenv.c (__secure_getenv): Replace
14614 GLIBC_2_16 with GLIBC_2_17.
14615
14616 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14619 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14620
14621 2012-08-03 David S. Miller <davem@davemloft.net>
14622
14623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14624
14625 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14626
14627 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14628 Remove.
14629 (__ASSUME_CORRECT_SI_PID): Likewise.
14630 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14631 (__ASSUME_TMPFS_NAME): Likewise.
14632 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14633 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14634 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14635 (HAVE_AUX_SECURE): Make definition unconditional.
14636 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14637 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14638
14639 2012-08-03 Roland McGrath <roland@hack.frob.com>
14640
14641 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14642 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14643 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14644 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14645 __eloop_threshold instead of SYMLOOP_MAX.
14646
14647 * sysdeps/generic/eloop-threshold.h: New file.
14648 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14649 of MAXSYMLINKS.
14650 * elf/chroot_canon.c (chroot_canon): Likewise.
14651
14652 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14653
14654 [BZ #13717]
14655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14656 Change to 2.6.0 everywhere.
14657 * sysdeps/unix/sysv/linux/configure: Regenerated.
14658 * sysdeps/unix/sysv/linux/kernel-features.h
14659 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14660 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14661 kernel versions.
14662 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14663 (__ASSUME_FUTEX_REQUEUE): Remove.
14664 (__ASSUME_STATFS64): Define unconditionally.
14665 (__ASSUME_AT_SECURE): Likewise.
14666 (__ASSUME_CORRECT_SI_PID): Likewise.
14667 (__ASSUME_TGKILL): Define without depending on kernel version for
14668 i386.
14669 (__ASSUME_UTIMES): Likewise.
14670 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14671 kernel version.
14672 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14673 (__ASSUME_TMPFS_NAME): Likewise.
14674 * README: Update reference to Linux kernel versions.
14675
14676 2012-08-02 Marek Polacek <polacek@redhat.com>
14677
14678 [BZ# 14150]
14679 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14680 libc_cv_asm_type_prefix with %.
14681 * configure: Regenerated.
14682 * include/libc-symbols.h: Remove comment about
14683 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14684 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14685 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14686 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14687 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14688 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14689 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14690 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14691 * elf/tst-unique2mod1.c: Likewise.
14692 * elf/tst-unique1mod2.c: Likewise.
14693 * elf/tst-unique1mod1.c: Likewise.
14694 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14695 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14696 Replace ASM_TYPE_DIRECTIVE with .type.
14697 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14698 * sysdeps/i386/sysdep.h: Likewise.
14699 * sysdeps/x86_64/sysdep.h: Likewise.
14700 * sysdeps/sh/sysdep.h: Likewise.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14702 Do not define ASM_TYPE_DIRECTIVE.
14703 * sysdeps/powerpc/sysdep.h: Likewise.
14704 * sysdeps/powerpc/powerpc32/sysdep.h:
14705 Replace ASM_TYPE_DIRECTIVE with .type.
14706 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14707 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14708 * sysdeps/i386/fpu/e_powf.S: Likewise.
14709 * sysdeps/i386/fpu/e_expl.S: Likewise.
14710 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14711 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14712 * sysdeps/i386/fpu/e_pow.S: Likewise.
14713 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14714 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14715 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14716 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14717 * sysdeps/i386/fpu/e_log2.S: Likewise.
14718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14719 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14720 * sysdeps/i386/fpu/e_powl.S: Likewise.
14721 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14722 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14723 * sysdeps/i386/fpu/e_logl.S: Likewise.
14724 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14725 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14726 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14728 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14729 * sysdeps/i386/fpu/e_log.S: Likewise.
14730 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14731 * sysdeps/i386/fpu/e_logf.S: Likewise.
14732 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14733 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14734 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14735 * sysdeps/i386/fpu/e_log10.S: Likewise.
14736 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14737 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14738 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14739 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14740 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14741 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14742 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14743 * sysdeps/i386/i686/strtok.S: Likewise.
14744 * sysdeps/i386/i386-mcount.S: Likewise.
14745 * sysdeps/i386/strtok.S: Likewise.
14746 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14747 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14749 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14750 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14751 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14752 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14753 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14754 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14755 * sysdeps/x86_64/_mcount.S: Likewise.
14756 * sysdeps/x86_64/strtok.S: Likewise.
14757 * sysdeps/sh/_mcount.S: Likewise.
14758
14759 2012-08-01 Roland McGrath <roland@hack.frob.com>
14760
14761 * libio/iofopen.c: Include <fcntl.h>.
14762 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14763 (_IO_fopen64, fopen64): Define as aliases.
14764 * libio/iofopen64.c: Include <fcntl.h>.
14765 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14766 Conditionalize body on this.
14767 * sysdeps/wordsize-64/iofopen.c: File removed.
14768 * sysdeps/wordsize-64/iofopen64.c: File removed.
14769
14770 2012-08-01 Marek Polacek <polacek@redhat.com>
14771
14772 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14773 Use dlfcn directly instead of a variable.
14774 (binfmt-subdir): Do not define.
14775 (dlfcn): Likewise.
14776
14777 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14778
14779 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14780 Remove all definitions.
14781 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14782 <kernel-features.h>.
14783 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14784 (miss_F_GETOWN_EX): Remove all definitions.
14785 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14786 macro definition.
14787 [!__ASSUME_FCNTL64]: Remove conditional code.
14788 [__ASSUME_FCNTL64]: Make code unconditional.
14789 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14790 <kernel-features.h>.
14791 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14792 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14793 (lockf64) [__NR_fcntl64]: Make code unconditional.
14794 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14795
14796 * sysdeps/unix/sysv/linux/kernel-features.h
14797 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14798 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14799 Make code unconditional.
14800 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14801 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14803 [__NR_vfork]: Make code unconditional.
14804 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14805 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14807 [__NR_vfork]: Make code unconditional.
14808 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14809 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14810
14811 2012-08-01 Roland McGrath <roland@hack.frob.com>
14812
14813 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14814 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14815
14816 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14817 Define mkstemp64 as an alias.
14818 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14819 Define mkstemps64 as an alias.
14820 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14821 Define mkostemp64 as an alias.
14822 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14823 Define mkostemps64 as an alias.
14824 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14825 Conditionalize body on this.
14826 * misc/mkostemp64.c: Likewise.
14827 * misc/mkostemps64.c: Likewise.
14828 * misc/mkstemps64.c: Likewise.
14829 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14830 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14831 * sysdeps/wordsize-64/mkostemp.c: File removed.
14832 * sysdeps/wordsize-64/mkstemp.c: File removed.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14834 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14835 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14837
14838 [BZ #14138]
14839 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14840 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14841 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14842 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14843
14844 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14845 compat_symbol macros from <shlib-compat.h> rather than the underlying
14846 default_symbol_version and symbol_version macros, so that DEFAULT
14847 lines in shlib-versions are respected.
14848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14849
14850 2012-08-01 Florian Weimer <fweimer@redhat.com>
14851
14852 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14853 Declare with warn_unused_result.
14854 (setgid, setregid, setegid, setresgid): Likewise.
14855 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14856 Likewise.
14857 * WUR-REPORT: Remove set*id functions.
14858
14859 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14860
14861 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14862
14863 2012-07-31 Roland McGrath <roland@hack.frob.com>
14864
14865 [BZ #10191]
14866 * include/sys/socket.h (__libc_accept, __libc_accept4):
14867 Add attribute_hidden.
14868 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14869
14870 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14871 use of PTR_MANGLE.
14872 * inet/getnetgrent_r.c (setup): Likewise.
14873
14874 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14875
14876 2012-07-31 David S. Miller <davem@davemloft.net>
14877
14878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14879
14880 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14881
14882 [BZ #13629]
14883 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14884 value between 1.0 and 2.0 and smaller part has absolute value less
14885 than 1.0.
14886 * math/s_clog10.c (__clog10): Likewise.
14887 * math/s_clog10f.c (__clog10f): Likewise.
14888 * math/s_clog10l.c (__clog10l): Likewise.
14889 * math/s_clogf.c (__clogf): Likewise.
14890 * math/s_clogl.c (__clogl): Likewise.
14891 * math/libm-test.inc (clog_test): Add more tests.
14892 (clog10_test): Likewise.
14893 * sysdeps/i386/fpu/libm-test-ulps: Update.
14894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14895
14896 2012-07-31 Florian Weimer <fweimer@redhat.com>
14897
14898 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14899 Exit with zero in case no suitable GID is found, and write a
14900 message to standard error.
14901
14902 2012-07-30 Roland McGrath <roland@hack.frob.com>
14903
14904 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14905 rather than to 1.
14906 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14907 (MAXPATHLEN): Removed.
14908 (NOGROUP, NODEV): New macros.
14909 (setbit, clrbit, isset, isclr): New macros.
14910 (howmany, roundup, powerof2): New macros.
14911 (DEV_BSIZE): New macro.
14912
14913 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14914 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14915
14916 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14917 definition on [!__NO_LONG_DOUBLE_MATH].
14918
14919 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14920 PTR_MANGLE and PTR_DEMANGLE.
14921
14922 * socket/accept4.c (accept4): Rename to __libc_accept4.
14923 Define accept4 as a weak alias.
14924
14925 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14926 on [_DIRENT_HAVE_D_TYPE].
14927 * io/ftw.c (ftw_dir): Likewise.
14928
14929 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14930
14931 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14932
14933 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14934 Use the BSD numbers rather than the arbitrary ones we had.
14935 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14936 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14937 (SIGXCPU, SIGXFSZ): New macros.
14938 (_NSIG): Now 32.
14939
14940 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14941 initializer on [_LIBC_REENTRANT].
14942
14943 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14944 definitions inside [_POSIX_MAPPED_FILES].
14945
14946 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14947
14948 * dirent/opendir.c: Include <fcntl.h>.
14949
14950 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14951 (__libc_getspecific): Likewise.
14952 (__libc_key_create): Likewise.
14953
14954 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14955 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14956 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14957 (tmpfile64): Define as alias.
14958 * sysdeps/wordsize-64/tmpfile.c: File removed.
14959 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14960 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14961 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14962
14963 * stdio-common/vfscanf.c: Include <stdbool.h>.
14964 * nss/makedb.c: Likewise.
14965 * stdio-common/_i18n_number.h: Likewise.
14966 * argp/argp-help.c: Likewise.
14967 * posix/wordexp.c: Likewise.
14968 * sysdeps/posix/spawni.c: Likewise.
14969 * nss/nss_files/files-initgroups.c: Likewise.
14970 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14971 * nss/nss_files/files-initgroups.c: Likewise.
14972 * nss/nss_db/db-netgrp.c: Likewise.
14973 * nss/nss_db/db-initgroups.c: Likewise.
14974 * io/fchmodat.c: Include <sys/stat.h>.
14975
14976 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14977 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14978
14979 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14980 [HAVE_MMAP].
14981
14982 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14983 Add multiple inclusion protection.
14984
14985 2012-07-27 David S. Miller <davem@davemloft.net>
14986
14987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14988
14989 2012-07-27 Gary Benson <gbenson@redhat.com>
14990
14991 [BZ #14298]
14992 * elf/rtld.c: Include <stap-probe.h>.
14993 (dl_main): Added static probes "init_start" and "init_complete".
14994 * elf/dl-load.c: Include <stap-probe.h>.
14995 (lose): Take new parameter "nsid".
14996 Added static probe "map_failed".
14997 (_dl_map_object_from_fd): Pass namespace id to lose.
14998 Added static probe "map_start".
14999 (open_verify): Pass namespace id to lose.
15000 * elf/dl-open.c: Include <stap-probe.h>.
15001 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15002 and "reloc_complete".
15003 * elf/dl-close.c: Include <stap-probe.h>.
15004 (_dl_close_worker): Added static probes "unmap_start" and
15005 "unmap_complete".
15006 * elf/rtld-debugger-interface.txt: New file documenting the above.
15007
15008 2012-07-26 Roland McGrath <roland@hack.frob.com>
15009
15010 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15011 rather than a string variable.
15012 * sunrpc/rpc_main.c (h_output): Likewise.
15013 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15014
15015 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15016
15017 * inet/check_native.c: New file.
15018
15019 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15020
15021 [BZ #13629]
15022 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15023 if larger part has absolute value 1.0.
15024 * math/s_clog10.c (__clog10): Likewise.
15025 * math/s_clog10f.c (__clog10f): Likewise.
15026 * math/s_clog10l.c (__clog10l): Likewise.
15027 * math/s_clogf.c (__clogf): Likewise.
15028 * math/s_clogl.c (__clogl): Likewise.
15029 * math/libm-test.inc (clog_test): Add more tests.
15030 (clog10_test): Likewise.
15031 * sysdeps/i386/fpu/libm-test-ulps: Update.
15032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15033
15034 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15035 (pltexit): Likewise.
15036 (La_regs): Likewise.
15037 (La_retval): Likewise.
15038 (int_retval): Likewise.
15039 Update #error for removed macros to refer only to definitions in
15040 tst-audit.h.
15041 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15042 macro.
15043 (pltexit): Likewise.
15044 (La_regs): Likewise.
15045 (La_retval): Likewise.
15046 (int_retval): Likewise.
15047 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15048 macro.
15049 (pltexit): Likewise.
15050 (La_regs): Likewise.
15051 (La_retval): Likewise.
15052 (int_retval): Likewise.
15053 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15054 macro.
15055 (pltexit): Likewise.
15056 (La_regs): Likewise.
15057 (La_retval): Likewise.
15058 (int_retval): Likewise.
15059 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15060 macro.
15061 (pltexit): Likewise.
15062 (La_regs): Likewise.
15063 (La_retval): Likewise.
15064 (int_retval): Likewise.
15065 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15066 macro.
15067 (pltexit): Likewise.
15068 (La_regs): Likewise.
15069 (La_retval): Likewise.
15070 (int_retval): Likewise.
15071 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15072 macro.
15073 (pltexit): Likewise.
15074 (La_regs): Likewise.
15075 (La_retval): Likewise.
15076 (int_retval): Likewise.
15077 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15078 macro definitions in tst-audit.h.
15079 * sysdeps/i386/tst-audit.h: New file.
15080 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15081 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15082 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15083 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15084 * sysdeps/sh/tst-audit.h: Likewise.
15085 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15086 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15087 * sysdeps/x86_64/tst-audit.h: Likewise.
15088
15089 2012-07-26 Andreas Jaeger <aj@suse.de>
15090
15091 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15092 ptrace.
15093
15094 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15095 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15096 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15097 PTRACE_O_MASK.
15098 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15099 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15100 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15101
15102 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15103 value.
15104
15105 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15106 _sigsys.
15107 (si_call_addr, si_syscall, si_arch): Define new macro.
15108 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15109 _sigsys.
15110 (si_call_addr, si_syscall, si_arch): Define new marcro.
15111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15112 _sigsys.
15113 (si_call_addr, si_syscall, si_arch): Define new macro.
15114 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15115 _sigsys.
15116 (si_call_addr, si_syscall, si_arch): Define new macro.
15117
15118 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15119
15120 [BZ #13717]
15121 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15122 Change to 2.4.21 where previously 2.4.1.
15123 * sysdeps/unix/sysv/linux/configure: Regenerated.
15124 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15125 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15126 Linux kernel version.
15127 (__ASSUME_STD_AUXV): Remove.
15128 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15129 kernel version.
15130 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15131 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15132 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15133 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15134 (__ASSUME_NETLINK_SUPPORT): Likewise.
15135 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15136 (__no_netlink_support): Remove conditional definition.
15137 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15138 Remove.
15139 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15140 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15141 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15142 (if_nameindex_ioctl): Remove.
15143 (if_nameindex_netlink): Do not handle __no_netlink_support.
15144 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15145 code.
15146 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15147 Remove conditional code.
15148 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15149 code.
15150 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15151 unconditional.
15152 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15153 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15154 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15155 Remove.
15156 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15157 [!__ASSUME_STD_AUXV]: Remove conditional code.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15159 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15160 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15162 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15163 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15164 code.
15165 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15167 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15168 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15169 conditional code.
15170 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15172 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15173 code.
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15175 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15176 conditional code.
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15178 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15179 code unconditional.
15180 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15181 conditional code.
15182 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15183 unconditional.
15184 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15185 conditional code.
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15187 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15188 unconditional.
15189 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15190 conditional code.
15191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15192 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15193 code unconditional.
15194 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15195 conditional code.
15196 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15197 unconditional.
15198 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15199 conditional code.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15201 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15202 code unconditional.
15203 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15204 conditional code.
15205 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15206 unconditional.
15207 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15208 conditional code.
15209
15210 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15211
15212 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15213 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15214 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15215 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15216 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15217 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15218 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15219 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15220 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15221 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15222 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15223 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15224 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15225 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15226 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15227 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15228 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15229 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15230 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15232 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15233 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15235
15236 2012-07-25 Florian Weimer <fweimer@redhat.com>
15237
15238 * Versions.def: Add GLIBC_2.17.
15239 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15240 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15241 Introduce __libc_secure_getenv.
15242 * stdlib/Versions (2.17): Add secure_getenv
15243 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15244 * stdlib/secure-getenv.c: Rename __secure_getenv to
15245 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15246 symbol __secure_getenv for GLIBC_2.0.
15247 * stdlib/tst-secure-getenv.c: New.
15248 * stdlib/Makefile (tests): Add testcase.
15249 * manual/startup.texi (Environment Access): Document
15250 secure_getenv.
15251 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15252 __libc_secure_getenv.
15253 * inet/ruserpass.c (ruserpass): Likewise.
15254 * malloc/mtrace.c (mtrace): Likewise.
15255 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15256 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15257 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15258 * sysdeps/posix/tempname.c: Likewise. Evaluate
15259 HAVE_SECURE_GETENV.
15260 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15261 __secure_getenv to __libc_secure_getenv.
15262 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15264 Likewise.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15266 Likewise.
15267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15269 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15274
15275 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15276
15277 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15278 (struct La_i86_retval): Likewise.
15279 (struct La_x86_64_regs): Likewise.
15280 (struct La_x86_64_retval): Likewise.
15281 (struct La_x32_regs): Likewise.
15282 (struct La_x32_retval): Likewise.
15283 (struct La_ppc32_regs): Likewise.
15284 (struct La_ppc32_retval): Likewise.
15285 (struct La_ppc64_regs): Likewise.
15286 (struct La_ppc64_retval): Likewise.
15287 (struct La_sh_regs): Likewise.
15288 (struct La_sh_retval): Likewise.
15289 (struct La_s390_32_regs): Likewise.
15290 (struct La_s390_32_retval): Likewise.
15291 (struct La_s390_64_regs): Likewise.
15292 (struct La_s390_64_retval): Likewise.
15293 (struct La_sparc32_regs): Likewise.
15294 (struct La_sparc32_retval): Likewise.
15295 (struct La_sparc64_regs): Likewise.
15296 (struct La_sparc64_retval): Likewise.
15297 (struct audit_ifaces): Remove architecture-specific pltenter and
15298 pltexit members.
15299 * sysdeps/i386/ldsodefs.h: New file.
15300 * sysdeps/powerpc/ldsodefs.h: Likewise.
15301 * sysdeps/s390/ldsodefs.h: Likewise.
15302 * sysdeps/sh/ldsodefs.h: Likewise.
15303 * sysdeps/sparc/ldsodefs.h: Likewise.
15304 * sysdeps/x86_64/ldsodefs.h: Likewise.
15305
15306 2012-07-25 Marek Polacek <polacek@redhat.com>
15307
15308 [BZ #6808]
15309 * math/libm-test.inc (yn_test): Add another test.
15310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15311 to ERANGE when the result is +-Inf.
15312 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15313 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15314 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15315 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15316
15317 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15318
15319 * conform/data/time.h-data (NULL): Use macro-constant. Require
15320 equal to 0.
15321 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15322 clock_t.
15323 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15324
15325 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15326
15327 * configure.in <sysdeps resolving>: Correct printing
15328 Implies_before.
15329 * configure: Regenerate.
15330
15331 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15332
15333 * math/w_ilogb.c: Include <limits.h>.
15334 * math/w_ilogbl.c: Likewise.
15335
15336 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15337
15338 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15339 va_copy. Document allowing for unavailable va_copy only as
15340 pre-C99 compatibility.
15341 * manual/string.texi (Copying and Concatenation): Use va_copy
15342 instead of __va_copy in concat example.
15343
15344 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15345
15346 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15347 (__sendto): Use create_address_port. Initialize APORT and deallocate
15348 it if not null.
15349
15350 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15351 with O_NOLINK passed to __file_name_lookup.
15352
15353 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15354 with O_NOLINK passed to __file_name_lookup.
15355
15356 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15357 negative N or less than NGIDS.
15358
15359 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15360 type to string_t. Set ERANGE as errno and return it if NAME is not big
15361 enough. Use memcpy instead of strncpy.
15362
15363 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15364
15365 * elf/Makefile (check-data): Remove.
15366 (localplt.data): New vpath directive.
15367 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15368 instead of $(check-data).
15369 * scripts/data/localplt-generic.data: Move to ...
15370 * sysdeps/generic/localplt.data: ... here.
15371 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15372 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15373 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15375 ... here.
15376 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15378 ... here.
15379 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15381 ... here.
15382 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15384 ... here.
15385 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15387 ... here.
15388 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15390 ... here.
15391
15392 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15393
15394 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15395 PPC32 and PPC64 files.
15396 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15397 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15398
15399 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15400
15401 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15402 __makecontext_ret to ...
15403 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15404 ... here and call exit if uc_link is NULL. New file.
15405 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15406 __makecontext_ret.S.
15407 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15408 __makecontext_ret to ...
15409 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15410 ... here and call exit if uc_link is NULL. New file.
15411 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15412 __makecontext_ret.S.
15413
15414 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15415
15416 * elf/elf.h (R_390_IRELATIVE): New definition.
15417 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15418 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15419 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15420 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15421 (elf_machine_lazy_rel): Likewise.
15422 * sysdeps/s390/dl-irel.h: New file.
15423 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15424 * sysdeps/s390/s390-64/memset.S: New asm code.
15425 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15426 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15427 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15428 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15429 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15430 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15431 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15432 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15433 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15434 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15435 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15436 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15437 * sysdeps/s390/s390-32/memset.S: New asm code.
15438 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15439
15440 2012-07-17 Marek Polacek <polacek@redhat.com>
15441
15442 [BZ #14349]
15443 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15444 * sysdeps/s390/s390-64/configure.in: Likewise.
15445 * sysdeps/sparc/configure.in: Likewise.
15446 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15447 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15448 * sysdeps/i386/configure.in: Likewise.
15449 * sysdeps/x86_64/configure.in: Likewise.
15450 * sysdeps/sh/configure.in: Likewise.
15451 * sysdeps/s390/s390-32/configure: Regenerated.
15452 * sysdeps/s390/s390-64/configure: Likewise.
15453 * sysdeps/x86_64/configure: Likewise.
15454 * sysdeps/sh/configure: Likewise.
15455 * sysdeps/powerpc/powerpc64/configure: Likewise.
15456 * sysdeps/powerpc/powerpc32/configure: Likewise.
15457 * sysdeps/sparc/configure: Likwise.
15458 * sysdeps/i386/configure: Likewise.
15459
15460 * elf/dl-open.c: Comment fixes.
15461
15462 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15463
15464 * Makefile [CXX] (check-data): Remove.
15465 [CXX] (c++-types.data): New vpath directive.
15466 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15467 vpath. Do not allow for C++ type data being missing.
15468 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15469 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15470 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15471 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15472 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15473 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15474 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15476 ... here.
15477 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15479 ... here.
15480 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15482 ... here.
15483 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15485 ... here.
15486 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15488 ... here.
15489 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15491 ... here.
15492 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15494 ... here.
15495 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15497
15498 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15499 definitions to architecture-specific files.
15500 (TLS_IE): Likewise.
15501 (TLS_LD): Likewise.
15502 (TLS_GD): Likewise.
15503 * sysdeps/i386/tls-macros.h: New file.
15504 * sysdeps/powerpc/tls-macros.h: Likewise.
15505 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15506 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15507 * sysdeps/sh/tls-macros.h: Likewise.
15508 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15509 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15510 * sysdeps/x86_64/tls-macros.h: Likewise.
15511
15512 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15513
15514 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15515 zero value for regular exit case.
15516
15517 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15518 (__start_context): Preserve zero value for regular exit case.
15519
15520 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15521 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15522
15523 * manual/setjmp.texi (setcontext): Clarify normal process
15524 termination when uc_link is the null pointer.
15525 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15526 exit call.
15527
15528 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15529
15530 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15531 preprocessor. Test for each exception mask separately.
15532
15533 2012-07-16 Andreas Jaeger <aj@suse.de>
15534
15535 * po/ru.po: Update from translation team.
15536
15537 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15538
15539 * conform/data/string.h-data (NULL): Use macro-constant. Require
15540 equal to 0.
15541 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15542 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15543 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15544 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15545 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15546
15547 2012-07-13 Andreas Jaeger <aj@suse.de>
15548
15549 * po/fr.po: Update from translation team.
15550
15551 2012-07-12 Marek Polacek <polacek@redhat.com>
15552
15553 [BZ #14173]
15554 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15555 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15556 loop condition.
15557
15558 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15559
15560 [BZ #13717]
15561 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15562 Change to 2.4.1 where previously 2.4.0.
15563 * sysdeps/unix/sysv/linux/configure: Regenerated.
15564 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15565 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15566 version.
15567 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15568 (__ASSUME_AT_CLKTCK): Remove.
15569 (__ASSUME_AT_PAGESIZE): Likewise.
15570 (__ASSUME_AT_XID): Likewise.
15571 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15572 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15573 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15574 unconditionally.
15575 (HAVE_AUX_PAGESIZE): Likewise.
15576 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15577 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15578 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15579
15580 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15581
15582 [BZ #14307]
15583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15584 the temporary buffer used to invoke __gethostbyname2_r,
15585 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15586 host_data / struct gaih_addrtuple.
15587 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15588 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15589 header file nss/nsswitch.h.
15590 * nss/nsswitch.h (global scope): Add definition of implementation
15591 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15592 resolv/nss_dns/dns-host.c).
15593
15594 2012-07-11 Andreas Jaeger <aj@suse.de>
15595
15596 * po/fr.po: Update from translation team.
15597
15598 * po/sv.po: Update from translation team
15599 * po/fr.po: Another update from translation team.
15600
15601 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15602
15603 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15604 for subnormals or multiply small sinh result by itself.
15605 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15607
15608 2012-07-11 David S. Miller <davem@davemloft.net>
15609
15610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15611
15612 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15613
15614 [BZ #14347]
15615 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15616 (INTERNAL_MARK): Shift it here.
15617
15618 2012-07-10 Marek Polacek <polacek@redhat.com>
15619
15620 [BZ #14151]
15621 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15622 libc_cv_asm_global_directive with .globl.
15623 * configure: Regenerated.
15624 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15625 with .globl.
15626 * sysdeps/i386/configure: Regenerated.
15627 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15628 with .globl.
15629 * sysdeps/x86_64/configure: Regenerated.
15630 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15631 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15632 * elf/tst-unique2mod2.c: Likewise.
15633 * elf/tst-unique2mod1.c: Likewise.
15634 * elf/tst-unique1mod2.c: Likewise.
15635 * elf/tst-unique1mod1.c: Likewise.
15636 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15637 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15639 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15640 * sysdeps/mach/sysdep.h: Likewise.
15641 * sysdeps/i386/sysdep.h: Likewise.
15642 * sysdeps/i386/i386-mcount.S: Likewise.
15643 * sysdeps/x86_64/_mcount.S: Likewise.
15644 * sysdeps/x86_64/sysdep.h: Likewise.
15645 * sysdeps/sh/_mcount.S: Likewise.
15646 * sysdeps/sh/sysdep.h: Likewise.
15647 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15648 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15649 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15650 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15651 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15652 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15653 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15654 * locale/localeinfo.h: Likewise.
15655 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15656 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15657
15658 2012-07-09 Roland McGrath <roland@hack.frob.com>
15659
15660 [BZ #14336]
15661 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15662 system".
15663 * manual/message.texi (The Uniforum approach): Likewise.
15664 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15665 (glibc iconv Implementation): Likewise.
15666
15667 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15668
15669 [BZ #14337]
15670 * math/s_clog.c (__clog): Avoid scaling a value down where that
15671 could result in underflow.
15672 * math/s_clog10.c (__clog10): Likewise.
15673 * math/s_clog10f.c (__clog10f): Likewise.
15674 * math/s_clog10l.c (__clog10l): Likewise.
15675 * math/s_clogf.c (__clogf): Likewise.
15676 * math/s_clogl.c (__clogl): Likewise.
15677 * math/libm-test.inc (clog_test): Add more tests.
15678 (clog10_test): Likewise.
15679 * sysdeps/i386/fpu/libm-test-ulps: Update.
15680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15681
15682 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15683
15684 [BZ #14283]
15685 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15686 by 7 not 8 to examine high bit of fractional part.
15687
15688 [BZ #14042]
15689 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15690 for call to __mcount_internal.
15691 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15692 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15693 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15694
15695 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15696
15697 [BZ #14154]
15698 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15699 approximation for values within 0x1p-13f of an odd multiple of
15700 pi/4.
15701 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15702 exception. Add more tests.
15703 * sysdeps/i386/fpu/libm-test-ulps: Update.
15704
15705 [BZ #6778]
15706 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15707 inputs and return -1 for them. Do not check for +Inf in case not
15708 reachable for +Inf.
15709 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15710 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15711 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15712 and return -1 for them. Do not check for +Inf in case not
15713 reachable for +Inf.
15714 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15715 define.
15716 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15717 and return -1 for them. Do not check for +Inf in case not
15718 reachable for +Inf.
15719 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15720 spurious underflow.
15721 * sysdeps/i386/fpu/libm-test-ulps: Update.
15722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15723
15724 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15725
15726 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15727
15728 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15729
15730 [BZ #14157]
15731 [BZ #14331]
15732 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15733 could result in spurious underflow. Scale down values above
15734 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15735 * math/s_csqrtf.c (__csqrtf): Likewise.
15736 * math/s_csqrtl.c (__csqrtl): Likewise.
15737 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15738 spurious underflow.
15739 * sysdeps/i386/fpu/libm-test-ulps: Update.
15740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741
15742 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15743
15744 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15745 xopen-msg.sed.
15746 * catgets/xopen-msg.awk: New file.
15747 * catgets/xopen-msg.sed: Removed.
15748
15749 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15750 po2text.sed.
15751 * intl/po2test.awk: New file.
15752 * intl/po2test.sed: Removed.
15753
15754 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15755
15756 [BZ #14328]
15757 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15758 or multiply small sinh result by itself.
15759 * math/s_ctanf.c (__ctanf): Likewise.
15760 * math/s_ctanh.c (__ctanh): Likewise.
15761 * math/s_ctanhf.c (__ctanhf): Likewise.
15762 * math/s_ctanhl.c (__ctanhl): Likewise.
15763 * math/s_ctanl.c (__ctanl): Likewise.
15764 * math/libm-test.inc (ctan_test_tonearest): New function.
15765 (ctan_test_towardzero): Likewise.
15766 (ctan_test_downward): Likewise.
15767 (ctan_test_upward): Likewise.
15768 (ctanh_test_tonearest): Likewise.
15769 (ctanh_test_towardzero): Likewise.
15770 (ctanh_test_downward): Likewise.
15771 (ctanh_test_upward): Likewise.
15772 (main): Call these new functions.
15773 * sysdeps/i386/fpu/libm-test-ulps: Update.
15774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775
15776 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15777
15778 * .gitignore: Delete /ports entry.
15779
15780 2012-07-03 Andreas Jaeger <aj@suse.de>
15781
15782 * po/bg.po: Update from translation team.
15783 * po/cs.po: Likewise.
15784 * po/de.po: Likewise.
15785 * po/hr.po: Likewise.
15786 * po/nl.pl: Likewise.
15787 * po/pl.po: Likewise.
15788 * po/vi.po: Likewise.
15789
15790 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15791
15792 * Makeconfig [!+link] (+link-before-libc): New variable.
15793 [!+link] (+link-after-libc): Likewise.
15794 [!+link] (+link-tests): Likewise.
15795 [!+link] (+link): Define in terms of $(+link-before-libc) and
15796 $(+link-after-libc).
15797 [!+link-static] (+link-static-before-libc): New variable.
15798 [!+link-static] (+link-static-after-libc): Likewise.
15799 [!+link-static] (+link-static-tests): Likewise.
15800 [!+link-static] (+link-static): Define in terms of
15801 $(+link-static-before-libc) and $(+link-static-after-libc).
15802 [build-shared] (link-libc-before-gnulib): New variable.
15803 [build-shared] (link-libc-tests): Likewise.
15804 [build-shared] (link-libc): Define in terms of
15805 $(link-libc-before-gnulib).
15806 [!build-shared] (link-libc-tests): New variable.
15807 (link-libc-static-tests): New variable.
15808 [!gnulib] (gnulib-arch): New variable.
15809 [!gnulib] (gnulib-tests): Likewise.
15810 [!gnulib] (static-gnulib-arch): Likewise.
15811 [!gnulib] (static-gnulib-tests): Likewise.
15812 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15813 Define with "=" instead of ":=".
15814 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15815 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15816 * Rules (binaries-all-notests): New variable.
15817 (binaries-all-tests): Likewise.
15818 (binaries-static-notests): Likewise.
15819 (binaries-static-tests): Likewise.
15820 (binaries-all): Define using $(binaries-all-notests) and
15821 $(binaries-all-tests).
15822 (binaries-static): Define using $(binaries-static-notests) and
15823 $(binaries-static-tests).
15824 (binaries-shared-tests): New variable.
15825 (binaries-shared-notests): Likewise.
15826 (binaries-shared): Remove variable.
15827 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15828 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15829 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15830 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15831 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15832 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15833 * elf/Makefile (sln-modules): New variable.
15834 (extra-objs): Add $(sln-modules:=.o).
15835 (ldconfig-modules): Add static-stubs.
15836 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15837 * elf/static-stubs.c: New file.
15838
15839 [BZ #14283]
15840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15841 by 7 not 8 to examine high bit of fractional part. Use volatile
15842 variables when splitting into final array of floats if
15843 __FLT_EVAL_METHOD__ != 0.
15844 * math/libm-test.inc (cos_test): Add another test.
15845 (sin_test): Likewise.
15846 * sysdeps/i386/fpu/libm-test-ulps: Update.
15847
15848 [BZ #14273]
15849 * math/libm-test.inc (cosh_test): Add more tests.
15850
15851 * version.h (RELEASE): Set to "development".
15852 (VERSION): Set to "2.16.90".
15853
15854 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15855
15856 * NEWS: Update copyright. Remove last-updated date.
15857 Mention math library bug fixes and timezone data changes.
15858 * README: Mention GNU/Hurd, x32, and HPPA support status.
15859
15860 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15861
15862 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15863
15864 2012-06-27 Andreas Jaeger <aj@suse.de>
15865
15866 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15867
15868 2012-06-25 Andreas Jaeger <aj@suse.de>
15869
15870 * sysdeps/s390/fpu/libm-test-ulps: Update.
15871
15872 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15873 Thomas Schwinge <thomas@codesourcery.com>
15874
15875 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15876 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15877 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15878 fanotify_mark.
15879
15880 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15881
15882 * sysdeps/mach/start.c: Remove file.
15883 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15884 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15885 * sysdeps/sh/init-first.c: Likewise.
15886
15887 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15888 registers for frame unwinding purposes, add CFI directives.
15889 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15890 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15891 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15892 Likewise.
15893
15894 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15895 __fortify_fail returning.
15896 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15897
15898 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15899 sysdeps/sh/____longjmp_chk.S.
15900 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15901 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15902 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15903 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15904
15905 * sysdeps/sh/abort-instr.h: New file.
15906 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15907 process in case exit returns.
15908
15909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15910 initialize the GOT register before use.
15911
15912 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15913 calculation of ARGC > 4.
15914
15915 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15916 meaningful names to some local labels.
15917
15918 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15919 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15920
15921 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15922 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15923 (__arch_compare_and_exchange_val_16_acq): Likewise.
15924 (__arch_compare_and_exchange_val_32_acq): Likewise.
15925 (atomic_exchange_and_add): Fix gUSA sequence.
15926 (atomic_add): Likewise.
15927 (atomic_add_negative): Likewise.
15928 (atomic_add_zero): Likewise.
15929 (atomic_bit_test_set): Likewise.
15930
15931 2012-06-22 Andreas Schwab <schwab@redhat.com>
15932
15933 [BZ #13579]
15934 * include/link.h (struct link_map): Add l_free_initfini.
15935 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15936 l_initfini.
15937 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15938 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15939 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15940 set.
15941
15942 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15943
15944 * configure.in: Use AC_LANG_SOURCE.
15945 * configure: Regenerate.
15946
15947 2012-06-22 Roland McGrath <roland@hack.frob.com>
15948
15949 * configure.in (libc_cv_localstatedir): New substituted variable.
15950 * configure: Regenerated.
15951 * config.make.in (localstatedir): New variable, substituted from
15952 libc_cv_localstatedir.
15953 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15954 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15955 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15956 * sysdeps/gnu/configure: Regenerated.
15957
15958 2012-06-21 Jeff Law <law@redhat.com>
15959
15960 [BZ #14277]
15961 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15962 free. Simplify list management for _LIBC case.
15963
15964 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15965
15966 [BZ #14273]
15967 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15968 Clear sign bit of 64-bit integer value before comparing against
15969 overflow value.
15970
15971 * sysdeps/mach/configure: Regenerated.
15972
15973 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 [BZ #14278]
15976 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15977
15978 2012-06-21 Jeff Law <law@redhat.com>
15979
15980 [BZ #13882]
15981 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15982 uint16_t for elements in the "seen" array to avoid char overflows.
15983 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15984 * elf/dl-open.c (dl_open_worker): Likewise.
15985
15986 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15987
15988 * scripts/list-sources.sh: Scan PORTS for translations.
15989 * po/libc.pot: Regenerated.
15990
15991 2012-06-21 Andreas Jaeger <aj@suse.de>
15992
15993 [BZ #12194]
15994 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15995 warning.
15996 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15997 * bits/byteswap-16.h (__bswap_16): Likewise.
15998 * bits/byteswap.h (__bswap_constant_16): Likewise.
15999
16000 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16001
16002 [BZ #14117]
16003 * sysdeps/i386/fpu_control.h: Removed.
16004 * sysdeps/x86_64/fpu_control.h: Moved to ...
16005 * sysdeps/x86/fpu_control.h: Here.
16006
16007 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16008 (_FPU_SETCW): Likewise.
16009
16010 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16011
16012 [BZ #14117]
16013 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16014 * sysdeps/x86/fpu/bits/mathinline.h: This.
16015 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16016
16017 [BZ #14050]
16018 [BZ #14117]
16019 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16020 functions if __x86_64__ is defined.
16021
16022 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16023
16024 * string/endian.h: Add !__ASSEMBLER__ condition for including
16025 conversion interfaces.
16026
16027 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16028
16029 [BZ #14241]
16030 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16031 of ABS(x) in calculating zero to negative powers other than odd
16032 integers.
16033 * math/libm-test.inc (pow_test): Add more tests.
16034
16035 2012-06-15 Andreas Jaeger <aj@suse.de>
16036
16037 * manual/contrib.texi (Contributors): Update entry of Liubov
16038 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16039 Machado Filho.
16040
16041 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16042
16043 * string/string.h: Add __wur to GNU version of strerror_r.
16044
16045 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16046
16047 [BZ #14229]
16048 * string/Makefile (tests): Add tst-strtok_r.
16049 * string/tst-strtok_r.c: New file.
16050 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16051 RAX_LP/RDX_LP on SAVE_PTR.
16052
16053 2012-06-14 Roland McGrath <roland@hack.frob.com>
16054
16055 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16056
16057 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16058
16059 * libm_test.inc (csqrt_test): Allow more spurious underflow
16060 exceptions.
16061 (j0_test): Likewise.
16062 (j1_test): Likewise.
16063 (y0_test): Likewise.
16064 (y1_test): Likewise.
16065
16066 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16067
16068 * po/Makefile (libc.pot): Use UTF-8 charset.
16069
16070 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16071
16072 [BZ #14210]
16073 Suppress sign-conversion warning from FD_SET.
16074 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16075 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16076 not unsigned long int.
16077 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16078
16079 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16080
16081 [BZ #14050]
16082 [BZ #14117]
16083 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16084 __extern_always_inline instead of __extern_inline.
16085 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16086 (__signbit): Likewise.
16087 (__signbitl): Support C++ namespace.
16088 (lrintf): New inline function.
16089 (lrint): Likewise.
16090 (llrintf): Likewise.
16091 (llrint): Likewise.
16092 (fmaxf): Likewise.
16093 (fmax): Likewise.
16094 (fminf): Likewise.
16095 (fmin): Likewise.
16096 (rint): Likewise.
16097 (rintf): Likewise.
16098 (ceil): Likewise.
16099 (ceilf): Likewise.
16100 (floor): Likewise.
16101 (floorf): Likewise.
16102 (nearbyint): Likewise.
16103 (nearbyintf): Likewise.
16104
16105 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16106
16107 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16108 non-default versions.
16109
16110 2012-06-11 Roland McGrath <roland@hack.frob.com>
16111
16112 [BZ #14218]
16113 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16114
16115 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16116
16117 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16118 (FE_UPWARD, FE_DOWNWARD): Don't define.
16119 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16120 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16121
16122 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16123 reading it.
16124 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16125 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16126
16127 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16128
16129 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16131 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16132 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16133
16134 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16135
16136 [BZ #14117]
16137 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16138 * sysdeps/i386/fpu/Implies: New file.
16139 * sysdeps/x86_64/fpu/Implies: Likewise.
16140 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16141 * sysdeps/x86/fpu/bits/fenv.h: This.
16142
16143 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16144 __SSE_MATH__.
16145
16146 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16147
16148 [BZ #14134]
16149 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16150 character 0xffff that matches the last element of the
16151 conversion table.
16152
16153 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16154
16155 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16156 fmodl commit.
16157
16158 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16159
16160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16161 values higher than 25.6283.
16162
16163 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16164
16165 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16166 subnormal exponent extraction and add some __builtin_expect.
16167 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16168 Fix for subnormal mantissa calculation.
16169
16170 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16171
16172 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16173 cpu2 is -1 and errno is not ENOSYS.
16174
16175 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16176
16177 [BZ #14117]
16178 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16179 * sysdeps/x86/bits/string.h: This.
16180 * sysdeps/x86_64/bits/string.h: Removed.
16181
16182 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16183 if not compiling for x86-64, but compiling for >= i486.
16184
16185 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16186 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16187
16188 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16189 New macro from Linux kernel 3.4.0.
16190 (FP_XSTATE_MAGIC2): Likewise.
16191 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16192 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16193 (struct _fpx_sw_bytes): New struct.
16194 (struct _xsave_hdr): Likewise.
16195 (struct _ymmh_state): Likewise.
16196 (struct _xstate): Likewise.
16197
16198 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16199 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16200 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16201 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16202 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16203 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16204
16205 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16206 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16207 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16208 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16209 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16210 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16211
16212 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16213
16214 [BZ #13743]
16215 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16216 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16217 (sysdep_headers): Include sys/platform/ppc.h.
16218 * sysdeps/powerpc/test-gettimebase.c: Test for
16219 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16220 * manual/Makefile (appendices): Include platform.texi.
16221 * manual/contrib.texi (Contributors): Update @node pointers.
16222 * manual/maint.texi (Maintenance): Likewise.
16223 (Platform): New node.
16224 * manual/platform.texi: New file. Document the new features.
16225
16226 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16227 Jakub Jelinek <jakub@redhat.com>
16228
16229 [BZ #14188]
16230 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16231 where __builtin_expect is unavailable.
16232
16233 2012-06-03 David S. Miller <davem@davemloft.net>
16234
16235 * stdlib/longlong.h: Updated from GCC.
16236
16237 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16238
16239 [BZ #14042]
16240 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16241 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16242 __mcount_internal.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16244 (GLIBC_2.16): Likewise.
16245
16246 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16247
16248 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16249
16250 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16251
16252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16253 (default-abi): New variable.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16255 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16256 variable.
16257 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16258 Likewise.
16259 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16260 Likewise.
16261 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16262 Likewise.
16263
16264 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16265 definition. Document in comment.
16266
16267 2012-06-01 David S. Miller <davem@davemloft.net>
16268
16269 * stdlib/longlong.h: Updated from GCC.
16270
16271 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16272
16273 [BZ #14117]
16274 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16275 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16276 sys/debugreg.h sys/io.h here.
16277 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16278 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16279 sys/io.h.
16280 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16281 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16282 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16283 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16284 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16285 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16286
16287 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16288 Define only if __x86_64__ is defined.
16289
16290 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16291
16292 [BZ #14048]
16293 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16294 Use int64_t for variable i.
16295 * math/libm-test.inc (fmod_test): Add more tests.
16296
16297 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16298 z computation is not scheduled after fetestexcept.
16299 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16300 Use math_force_eval instead of asm to ensure calculation scheduled
16301 before exception test.
16302 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16303 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16304
16305 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16306
16307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16308 computation is not scheduled after fetestexcept.
16309
16310 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16311
16312 [BZ #14117]
16313 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16314 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16315
16316 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16317
16318 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16319 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16320
16321 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16322
16323 [BZ #14117]
16324 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16325 <bits/wordsize.h>.
16326 (__WCHAR_MIN): Support __WORDSIZE == 64.
16327 (__WCHAR_MAX): Likewise.
16328
16329 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16330 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16331
16332 [BZ #14183]
16333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16334 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16335
16336 [BZ #14117]
16337 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16338 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16339
16340 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16341 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16342
16343 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16344 Defined to 1 if __x86_64__ isn't defined.
16345 (_STAT_VER_LINUX_OLD): New.
16346 (st_atime): Remove duplicate.
16347 (st_mtime): Likewise.
16348 (st_ctime): Likewise.
16349
16350 2012-05-31 David S. Miller <davem@davemloft.net>
16351
16352 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16353 entries.
16354
16355 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16356
16357 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16358 gen-libm-test.pl.
16359
16360 [BZ #14132]
16361 * elf/dl-reloc.c: Include <_itoa.h>.
16362 (_dl_reloc_bad_type): Remove use of INTUSE.
16363 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16364 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16365 * stdio-common/psiginfo.c (psiginfo): Likewise.
16366 * stdio-common/psignal.c (psignal): Likewise.
16367 * string/strsignal.c (strsignal): Likewise.
16368 * include/signal.h (_sys_siglist): Declare hidden proto.
16369 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16370 INTVARDEF with libc_hidden_data_def.
16371 * stdio-common/itoa-udigits.c: Likewise.
16372 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16373 (_itoa_lower_digits_internal): Remove declaration.
16374 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16375 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16376 (_sys_sigabbrev_internal): Remove aliases.
16377 (_sys_siglist): Define hidden alias.
16378
16379 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16380
16381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16382 bits/sysctl.h.
16383
16384 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16385
16386 [BZ #14117]
16387 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16388 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16389
16390 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16391 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16392 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16393 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16394 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16395 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16396
16397 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16398 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16399 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16400
16401 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16402 with __addr.
16403 (insw): Likewise.
16404 (insl): Likewise.
16405 (outsb): Likewise.
16406 (outsw): Likewise.
16407 (outsl): Likewise.
16408
16409 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16410 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16411 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16412
16413 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16414 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16415 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16416 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16417 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16418 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16419
16420 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16421 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16422
16423 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16424 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16425
16426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16429
16430 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16431 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16432 to ...
16433 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16434
16435 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16436 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16437 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16438
16439 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16440 for x86-64.
16441 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16442
16443 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16444
16445 * math/math.h (M_El): Use two more decimal places.
16446 (M_LOG2El): Likewise.
16447 (M_LOG10El): Likewise.
16448 (M_LN2l): Likewise.
16449 (M_LN10l): Likewise.
16450 (M_PIl): Likewise.
16451 (M_PI_2l): Likewise.
16452 (M_PI_4l): Likewise.
16453 (M_1_PIl): Likewise.
16454 (M_2_PIl): Likewise.
16455 (M_2_SQRTPIl): Likewise.
16456 (M_SQRT2l): Likewise.
16457 (M_SQRT1_2l): Likewise.
16458
16459 2012-05-31 David S. Miller <davem@davemloft.net>
16460
16461 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16462 values between float registers.
16463 * sysdeps/sparc/sparc64/memset.S: Likewise.
16464 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16465
16466 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16467
16468 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16469 -D_FORTIFY_SOURCE=1.
16470 (CPPFLAGS-tst-longjmp_chk.c): Define.
16471 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16472 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16473 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16474 CFLAGS-tst-wchar-h.c.
16475
16476 2012-05-31 Marek Polacek <polacek@redhat.com>
16477
16478 [BZ #14132]
16479 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16480 __endmntent_internal): Remove declaration.
16481 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16482 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16483 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16484
16485 2012-05-30 David S. Miller <davem@davemloft.net>
16486
16487 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16488 (___Q_simulate_exceptions): Use real FP ops rather than writing
16489 into the %fsr.
16490 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16491 Likewise.
16492
16493 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16494
16495 [BZ #14117]
16496 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16497 * sysdeps/x86/bits/xtitypes.h: This.
16498
16499 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16500 * sysdeps/x86/bits/wordsize.h: This.
16501
16502 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16503 * sysdeps/x86/bits/huge_vall.h: This.
16504
16505 * sysdeps/i386/bits/select.h: Removed.
16506 * sysdeps/x86_64/bits/select.h: Renamed to ...
16507 * sysdeps/x86/bits/select.h: This.
16508
16509 * sysdeps/i386/bits/setjmp.h: Removed.
16510 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16511 * sysdeps/x86/bits/setjmp.h: This.
16512
16513 * sysdeps/i386/bits/mathdef.h: Removed.
16514 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16515 * sysdeps/x86/bits/mathdef.h: This.
16516
16517 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16518
16519 [BZ #14132]
16520 * include/sys/socket.h (__connect_internal)
16521 (__libc_sa_len_internal): Remove declaration.
16522 (__connect, __libc_sa_len): Declare hidden_proto.
16523 (SA_LEN): Remove use of INTUSE.
16524 * socket/connect.c: Add libc_hidden_def.
16525 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16526 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16527 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16528 alias.
16529 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16530 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16531 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16532 of adding _internal alias.
16533
16534 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16535
16536 [BZ #14117]
16537 * sysdeps/i386/bits/link.h: Removed.
16538 * sysdeps/i386/bits/linkmap.h: Likewise.
16539 * sysdeps/x86_64/bits/link.h: Renamed to ...
16540 * sysdeps/x86/bits/link.h: This.
16541 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16542 * sysdeps/x86/bits/linkmap.h: This.
16543
16544 * sysdeps/i386/bits/endian.h: Removed.
16545 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16546 * sysdeps/x86/bits/endian.h: This.
16547
16548 * sysdeps/i386/bits/byteswap.h: Removed.
16549 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16550 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16551 * sysdeps/x86/bits/byteswap.h: This.
16552 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16553 * sysdeps/x86/bits/byteswap-16.h: This.
16554 * sysdeps/i386/Implies: Add x86.
16555 * sysdeps/x86_64/Implies: Likewise.
16556
16557 2012-05-30 David S. Miller <davem@davemloft.net>
16558
16559 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16560 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16561 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16562 (FP_TRAPPING_EXCEPTIONS): Define.
16563 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16564 (FP_TRAPPING_EXCEPTIONS): Define.
16565 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16566 subnormals only when inexact has been signalled or underflow
16567 exceptions are enabled.
16568 (_FP_PACK_CANONICAL): Likewise.
16569
16570 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16571
16572 [BZ #14183]
16573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16574 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16575
16576 2012-05-30 Richard Henderson <rth@twiddle.net>
16577
16578 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16579 with #ifndef NOT_IN_libc.
16580
16581 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16582 marked to avoid plt entry.
16583
16584 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16585
16586 [BZ #14112]
16587 * Makeconfig (default-abi): New macro.
16588 (abi-includes): Likewise.
16589 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16590 $(abi-$(default-abi)-lib-soname) for soname if defined.
16591 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16592 abi-variants.
16593 * Makefile (installed-stubs): Likewise.
16594 * include/stubs-biarch.h: Removed.
16595 * scripts/lib-names.awk: Only handle one library at a time.
16596 * scripts/soversions.awk: Remove WORDSIZE support.
16597 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16598 entries.
16599 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16600 Removed.
16601 (syscall-list-default-condition): Likewise.
16602 (syscall-list-default-condition): Likewise.
16603 (syscall-list-includes): Likewise.
16604 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16605 syscall-list-* with abi-*. Handle undefined abi-variants.
16606 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16607 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16608 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16609 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16610 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16611 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16612 Removed.
16613 (syscall-list-32-options): Likewise.
16614 (syscall-list-32-condition): Likewise.
16615 (syscall-list-64-options): Likewise.
16616 (syscall-list-64-condition): Likewise.
16617 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16618 macro.
16619 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16620 Renamed to ...
16621 (abi-*): This.
16622 (abi-64-ld-soname): New macro.
16623 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16625 Renamed to ...
16626 (abi-*): This.
16627 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16628 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16629
16630 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16631
16632 * sysdeps/unix/sysv/linux/kernel-features.h
16633 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16634 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16635 include <kernel-features.h>.
16636 [!__NR_ftruncate64]: Remove conditional code.
16637 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16638 [__NR_ftruncate64]: Make code unconditional.
16639 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16640 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16641 include <kernel-features.h>.
16642 [!__NR_ftruncate64]: Remove conditional code.
16643 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16644 [__NR_ftruncate64]: Make code unconditional.
16645 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16647 include <kernel-features.h>.
16648 [!__NR_ftruncate64]: Remove conditional code.
16649 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16650 [__NR_ftruncate64]: Make code unconditional.
16651 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16653 include <kernel-features.h>.
16654 [!__NR_ftruncate64]: Remove conditional code.
16655 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16656 [__NR_ftruncate64]: Make code unconditional.
16657 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16658
16659 * configure.in (libc_cv_fpie): Weaken to a compile test using
16660 LIBC_TRY_CC_OPTION.
16661 * configure: Regenerated.
16662
16663 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16664
16665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16669 Refreshed.
16670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16676 Refreshed.
16677
16678 2012-05-27 David S. Miller <davem@davemloft.net>
16679
16680 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16681 (___Q_zero): New.
16682 (__Q_simulate_exceptions): Return void. Change to simulate
16683 exceptions by writing into the %fsr.
16684 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16685 (__Qp_handle_exceptions): Likewise.
16686 (numbers): Delete.
16687 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16688 __Qp_handle_exceptions.
16689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16690 __Qp_handle_exceptions.
16691 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16692 as unused and give dummy FP_RND_NEAREST initializer.
16693 (FP_INHIBIT_RESULTS): Define.
16694 (___Q_simulate_exceptions): Update declaration.
16695 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16696 formatting.
16697 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16698 as unused and give dummy FP_RND_NEAREST initializer.
16699 (__Qp_handle_exceptions): Update declaration.
16700 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16701 formatting.
16702
16703 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16704
16705 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16706 the temporary FPU control word.
16707 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16708 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16709 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16710 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16711 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16712 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16713 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16714 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16715 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16716 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16717 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16718
16719 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16720
16721 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16722 fields.
16723
16724 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16725
16726 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16727 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16728 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16729 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16730 Likewise.
16731 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16732 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16733 Likewise.
16734
16735 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16736
16737 * po/h.po: Update from translation team.
16738
16739 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16740
16741 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16742
16743 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16744 handling of denormals.
16745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16746 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16747 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16752 Likewise.
16753
16754 2012-05-26 Marek Polacek <polacek@redhat.com>
16755
16756 [BZ #14152]
16757 * math/libm-test.inc (fma_test): Don't always expect underflow
16758 exception.
16759
16760 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16761
16762 [BZ #12416]
16763 * elf/tst-execstack.c: Include stackinfo.h.
16764 (do_test): Adjust test case to ensure that pthread_getattr_np
16765 behaviour remains the same after marking stack executable.
16766
16767 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16768
16769 * sysdeps/unix/sysv/linux/kernel-features.h
16770 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16771 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16772 kernel-features.h.
16773 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16774 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16775 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16776 kernel-features.h.
16777 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16778 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16779
16780 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16781
16782 * configure.in: Define the default includes to being none.
16783 * configure: Regenerated.
16784
16785 2012-05-25 Roland McGrath <roland@hack.frob.com>
16786
16787 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16788 * sysdeps/x86_64/setjmp.S: Likewise.
16789 * sysdeps/i386/bsd-setjmp.S: Likewise.
16790 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16791 * sysdeps/i386/setjmp.S: Likewise.
16792 * sysdeps/i386/__longjmp.S: Likewise.
16793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16794 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16795
16796 * include/stap-probe.h: New file.
16797 * configure.in: Handle --enable-systemtap.
16798 * configure: Regenerated.
16799 * config.h.in (USE_STAP_PROBE): New #undef.
16800 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16801 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16802 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16803
16804 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16805
16806 [BZ #13717]
16807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16808 to 2.4.0 where earlier.
16809 * sysdeps/unix/sysv/linux/configure: Regenerated.
16810 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16811 <kernel-features.h>.
16812 [__ASSUME_32BITUIDS]: Make code unconditional.
16813 [!__ASSUME_32BITUIDS]: Remove conditional code.
16814 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16815 <kernel-features.h>.
16816 [__ASSUME_32BITUIDS]: Make code unconditional.
16817 [!__ASSUME_32BITUIDS]: Remove conditional code.
16818 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16819 [__ASSUME_32BITUIDS]: Make code unconditional.
16820 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16821 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16822 <kernel-features.h>.
16823 [__ASSUME_32BITUIDS]: Make code unconditional.
16824 [!__ASSUME_32BITUIDS]: Remove conditional code.
16825 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16826 <kernel-features.h>.
16827 [__ASSUME_32BITUIDS]: Make code unconditional.
16828 [!__ASSUME_32BITUIDS]: Remove conditional code.
16829 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16830 <kernel-features.h>.
16831 [__ASSUME_32BITUIDS]: Make code unconditional.
16832 [!__ASSUME_32BITUIDS]: Remove conditional code.
16833 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16834 <kernel-features.h>.
16835 [__ASSUME_32BITUIDS]: Make code unconditional.
16836 [!__ASSUME_32BITUIDS]: Remove conditional code.
16837 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16838 <kernel-features.h>.
16839 [__ASSUME_32BITUIDS]: Make code unconditional.
16840 [!__ASSUME_32BITUIDS]: Remove conditional code.
16841 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16842 <kernel-features.h>.
16843 [__ASSUME_32BITUIDS]: Make code unconditional.
16844 [!__ASSUME_32BITUIDS]: Remove conditional code.
16845 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16846 <kernel-features.h>.
16847 [__ASSUME_32BITUIDS]: Make code unconditional.
16848 [!__ASSUME_32BITUIDS]: Remove conditional code.
16849 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16850 <kernel-features.h>.
16851 [__ASSUME_32BITUIDS]: Make code unconditional.
16852 [!__ASSUME_32BITUIDS]: Remove conditional code.
16853 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16854 <kernel-features.h>.
16855 [__ASSUME_32BITUIDS]: Make code unconditional.
16856 [!__ASSUME_32BITUIDS]: Remove conditional code.
16857 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16858 <kernel-features.h>.
16859 [__ASSUME_32BITUIDS]: Make code unconditional.
16860 [!__ASSUME_32BITUIDS]: Remove conditional code.
16861 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16862 <kernel-features.h>.
16863 [__NR_setresgid] (__setresgid): Do not declare.
16864 [__ASSUME_32BITUIDS]: Make code unconditional.
16865 [!__ASSUME_32BITUIDS]: Remove conditional code.
16866 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16867 <kernel-features.h>.
16868 [__NR_setresuid] (__setresuid): Do not declare.
16869 [__ASSUME_32BITUIDS]: Make code unconditional.
16870 [!__ASSUME_32BITUIDS]: Remove conditional code.
16871 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16872 <kernel-features.h>.
16873 [__ASSUME_32BITUIDS]: Make code unconditional.
16874 [!__ASSUME_32BITUIDS]: Remove conditional code.
16875 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16876 <kernel-features.h>.
16877 [__ASSUME_32BITUIDS]: Make code unconditional.
16878 [!__ASSUME_32BITUIDS]: Remove conditional code.
16879 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16880 <kernel-features.h>.
16881 [__ASSUME_32BITUIDS]: Make code unconditional.
16882 [!__ASSUME_32BITUIDS]: Remove conditional code.
16883 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16884 <kernel-features.h>.
16885 [__ASSUME_32BITUIDS]: Make code unconditional.
16886 [!__ASSUME_32BITUIDS]: Remove conditional code.
16887 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16888 <kernel-features.h>.
16889 [__ASSUME_32BITUIDS]: Make code unconditional.
16890 [!__ASSUME_32BITUIDS]: Remove conditional code.
16891 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16892 <kernel-features.h>.
16893 [__ASSUME_32BITUIDS]: Make code unconditional.
16894 [!__ASSUME_32BITUIDS]: Remove conditional code.
16895 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16896 <kernel-features.h>.
16897 [__ASSUME_32BITUIDS]: Make code unconditional.
16898 [!__ASSUME_32BITUIDS]: Remove conditional code.
16899 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16900 <kernel-features.h>.
16901 [__ASSUME_32BITUIDS]: Make code unconditional.
16902 [!__ASSUME_32BITUIDS]: Remove conditional code.
16903 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16904 <kernel-features.h>.
16905 [__ASSUME_32BITUIDS]: Make code unconditional.
16906 [!__ASSUME_32BITUIDS]: Remove conditional code.
16907 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16908 <kernel-features.h>.
16909 [__ASSUME_32BITUIDS]: Make code unconditional.
16910 [!__ASSUME_32BITUIDS]: Remove conditional code.
16911 * sysdeps/unix/sysv/linux/kernel-features.h
16912 (__ASSUME_SETRESUID_SYSCALL): Remove.
16913 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16914 (__ASSUME_32BITUIDS): Likewise.
16915 (__ASSUME_LDT_WORKS): Likewise.
16916 (__ASSUME_O_DIRECTORY): Likewise.
16917 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16918 architecture but not kernel version.
16919 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16920 (__ASSUME_MMAP2_SYSCALL): Likewise.
16921 (__ASSUME_STAT64_SYSCALL): Likewise.
16922 (__ASSUME_IPC64): Likewise.
16923 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16924 <kernel-features.h>.
16925 [__ASSUME_32BITUIDS]: Make code unconditional.
16926 [!__ASSUME_32BITUIDS]: Remove conditional code.
16927 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16928 <kernel-features.h>.
16929 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16930 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16931 132096]: Remove conditional code.
16932 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16933 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16934 <kernel-features.h>.
16935 [__ASSUME_32BITUIDS]: Make code unconditional.
16936 [!__ASSUME_32BITUIDS]: Remove conditional code.
16937 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16938 <kernel-features.h>.
16939 [__ASSUME_32BITUIDS]: Make code unconditional.
16940 [!__ASSUME_32BITUIDS]: Remove conditional code.
16941 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16942 <kernel-features.h>.
16943 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16944 unconditional.
16945 (__setresgid): Do not declare.
16946 [__ASSUME_32BITUIDS]: Make code unconditional.
16947 [!__ASSUME_32BITUIDS]: Remove conditional code.
16948 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16949 <kernel-features.h>.
16950 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16951 unconditional.
16952 (__setresuid): Do not declare.
16953 [__ASSUME_32BITUIDS]: Make code unconditional.
16954 [!__ASSUME_32BITUIDS]: Remove conditional code.
16955 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16956 <kernel-features.h>.
16957 [__ASSUME_32BITUIDS]: Make code unconditional.
16958 [!__ASSUME_32BITUIDS]: Remove conditional code.
16959 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16960 <kernel-features.h>.
16961 [__ASSUME_32BITUIDS]: Make code unconditional.
16962 [!__ASSUME_32BITUIDS]: Remove conditional code.
16963
16964 2012-05-25 Richard Henderson <rth@twiddle.net>
16965
16966 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16967 dl_hwcap to ifunc resolver.
16968 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16969 elf_ifunc_invoke.
16970 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16971 dl_hwcap to ifunc resolver.
16972 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16973
16974 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16975
16976 [BZ #14153]
16977 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16978 for |x| <= 2**-26, not 2**-57.
16979 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16980 exception.
16981
16982 2012-05-24 Jeff Law <law@redhat.com>
16983
16984 * stdio-common/Makefile (tests): Add bug25.
16985 * stdio-common/bug25.c: New test.
16986
16987 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16988
16989 [BZ #13576]
16990 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16991 multiple of MALLOC_ALIGNMENT in size.
16992 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16993
16994 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16995
16996 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16997 Require >= 256.
16998 (FILENAME_MAX): Use macro-int-constant.
16999 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17000 (_IOFBF): Use macro-int-constant.
17001 (_IOLBF): Likewise.
17002 (_IONBF): Likewise.
17003 (SEEK_CUR): Likewise.
17004 (SEEK_END): Likewise.
17005 (SEEK_SET): Likewise.
17006 (TMP_MAX): Likewise.
17007 (EOF): Use macro-int-constant. Require < 0.
17008 (NULL): Use macro-constant. Require == 0.
17009 (stdin): Require type to be FILE *.
17010 (stdout): Likewise.
17011 (stderr): Likewise.
17012 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17013 macro-int-constant.
17014 (EXIT_SUCCESS): Likewise.
17015 (NULL): Use macro-constant. Require == 0.
17016 (RAND_MAX): Use macro-int-constant.
17017 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17018 [C99-based standards] (strtof): Require function.
17019 [C99-based standards] (strtold): Likewise.
17020 [C99-based standards] (strtoll): Likewise.
17021 [C99-based standards] (strtoull): Likewise.
17022 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17023 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17024 [ISO || ISO99 || ISO11] (math.h): Likewise.
17025 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17026 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17028
17029 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17030
17031 [BZ #14132]
17032 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17033 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17034 * intl/dgettext.c (DCGETTEXT): Likewise.
17035 * intl/gettext.c (DCGETTEXT): Likewise.
17036 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17037 * posix/regex_internal.h (gettext): Likewise.
17038 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17039 Remove declaration.
17040 * include/argz.h (__argz_count_internal)
17041 (__argz_stringify_internal): Remove declaration.
17042 (__argz_count, __argz_stringify): Declare hidden proto.
17043 * intl/dcgettext.c: Remove use of INTDEF.
17044 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17045 * string/argz-stringify.c: Likewise.
17046 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17047 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17048 Declare hidden proto.
17049 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17050 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17051 Declare hidden proto.
17052 * include/stdio.h (__asprintf_internal): Don't declare.
17053 (__asprintf): Don't define as macro. Declare hidden proto.
17054 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17055 (__fsetlocking): Declare hidden proto.
17056 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17057 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17058 hidden proto.
17059 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17060 (_IO_setlinebuf): Remove use of INTUSE.
17061 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17062 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17063 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17064 Remove declaration.
17065 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17066 (_IO_do_flush): Remove use of INTUSE.
17067 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17068 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17069 (_IO_adjust_column, _IO_least_wmarker)
17070 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17071 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17072 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17073 (_IO_default_doallocate, _IO_wdefault_doallocate)
17074 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17075 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17076 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17077 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17078 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17079 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17080 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17081 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17082 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17083 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17084 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17085 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17086 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17087 proto.
17088 (_IO_flush_all_internal, _IO_adjust_column_internal)
17089 (_IO_default_uflow_internal, _IO_default_finish_internal)
17090 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17091 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17092 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17093 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17094 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17095 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17096 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17097 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17098 (_IO_file_close_internal, _IO_file_close_it_internal)
17099 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17100 (_IO_file_init_internal, _IO_file_attach_internal)
17101 (_IO_file_fopen_internal, _IO_file_read_internal)
17102 (_IO_file_sync_internal, _IO_file_seek_internal)
17103 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17104 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17105 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17106 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17107 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17108 (_IO_list_all_internal, _IO_link_in_internal)
17109 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17110 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17111 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17112 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17113 (_IO_do_write_internal, _IO_padn_internal)
17114 (_IO_getline_info_internal, _IO_getline_internal)
17115 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17116 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17117 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17118 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17119 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17120 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17121 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17122 with libc_hidden_ver, remove use of INTUSE.
17123 * libio/genops.c: Likewise.
17124 * libio/freopen.c: Likewise.
17125 * libio/freopen64.c: Likewise.
17126 * libio/iofclose.c: Likewise.
17127 * libio/iofdopen.c: Likewise.
17128 * libio/iofflush.c: Likewise.
17129 * libio/iofflush_u.c: Likewise.
17130 * libio/iofgets.c: Likewise.
17131 * libio/iofgets_u.c: Likewise.
17132 * libio/iofopen.c: Likewise.
17133 * libio/iofopncook.c: Likewise.
17134 * libio/iofread.c: Likewise.
17135 * libio/iofread_u.c: Likewise.
17136 * libio/ioftell.c: Likewise.
17137 * libio/iofwrite.c: Likewise.
17138 * libio/iogetline.c: Likewise.
17139 * libio/iogets.c: Likewise.
17140 * libio/iogetwline.c: Likewise.
17141 * libio/iopadn.c: Likewise.
17142 * libio/iopopen.c: Likewise.
17143 * libio/ioseekoff.c: Likewise.
17144 * libio/ioseekpos.c: Likewise.
17145 * libio/iosetbuffer.c: Likewise.
17146 * libio/iosetvbuf.c: Likewise.
17147 * libio/ioungetc.c: Likewise.
17148 * libio/ioungetwc.c: Likewise.
17149 * libio/iovdprintf.c: Likewise.
17150 * libio/iovsprintf.c: Likewise.
17151 * libio/iovsscanf.c: Likewise.
17152 * libio/memstream.c: Likewise.
17153 * libio/obprintf.c: Likewise.
17154 * libio/oldfileops.c: Likewise.
17155 * libio/oldiofclose.c: Likewise.
17156 * libio/oldiofdopen.c: Likewise.
17157 * libio/oldiofopen.c: Likewise.
17158 * libio/oldiopopen.c: Likewise.
17159 * libio/oldstdfiles.c: Likewise.
17160 * libio/putc.c: Likewise.
17161 * libio/setbuf.c: Likewise.
17162 * libio/setlinebuf.c: Likewise.
17163 * libio/stdfiles.c: Likewise.
17164 * libio/strops.c: Likewise.
17165 * libio/vasprintf.c: Likewise.
17166 * libio/vscanf.c: Likewise.
17167 * libio/vsnprintf.c: Likewise.
17168 * libio/vswprintf.c: Likewise.
17169 * libio/wfiledoalloc.c: Likewise.
17170 * libio/wfileops.c: Likewise.
17171 * libio/wgenops.c: Likewise.
17172 * libio/wmemstream.c: Likewise.
17173 * libio/wstrops.c: Likewise.
17174 * libio/__fpurge.c: Likewise.
17175 * libio/__fsetlocking.c: Likewise.
17176 * assert/assert.c: Likewise.
17177 * debug/fgets_chk.c: Likewise.
17178 * debug/fgets_u_chk.c: Likewise.
17179 * debug/fread_chk.c: Likewise.
17180 * debug/fread_u_chk.c: Likewise.
17181 * debug/gets_chk.c: Likewise.
17182 * debug/obprintf_chk.c: Likewise.
17183 * debug/vasprintf_chk.c: Likewise.
17184 * debug/vdprintf_chk.c: Likewise.
17185 * debug/vsnprintf_chk.c: Likewise.
17186 * debug/vsprintf_chk.c: Likewise.
17187 * malloc/mtrace.c: Likewise.
17188 * misc/error.c: Likewise.
17189 * misc/syslog.c: Likewise.
17190 * stdio-common/asprintf.c: Likewise.
17191 * stdio-common/fxprintf.c: Likewise.
17192 * stdio-common/getw.c: Likewise.
17193 * stdio-common/isoc99_fscanf.c: Likewise.
17194 * stdio-common/isoc99_scanf.c: Likewise.
17195 * stdio-common/isoc99_vfscanf.c: Likewise.
17196 * stdio-common/isoc99_vscanf.c: Likewise.
17197 * stdio-common/isoc99_vsscanf.c: Likewise.
17198 * stdio-common/printf-prs.c: Likewise.
17199 * stdio-common/printf_fp.c: Likewise.
17200 * stdio-common/printf_fphex.c: Likewise.
17201 * stdio-common/printf_size.c: Likewise.
17202 * stdio-common/putw.c: Likewise.
17203 * stdio-common/scanf.c: Likewise.
17204 * stdio-common/sprintf.c: Likewise.
17205 * stdio-common/tmpfile.c: Likewise.
17206 * stdio-common/vfprintf.c: Likewise.
17207 * stdio-common/vfscanf.c: Likewise.
17208 * stdlib/strfmon_l.c: Likewise.
17209 * sunrpc/openchild.c: Likewise.
17210 * sunrpc/xdr_stdio.c: Likewise.
17211 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17212 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17213
17214 2012-05-24 Roland McGrath <roland@hack.frob.com>
17215
17216 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17217
17218 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17219 in the third column, to generate for the shared library an IFUNC
17220 that uses _dl_vdso_vsym.
17221 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17222 * Makeconfig (object-suffixes-noshared): New variable.
17223
17224 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17225 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17226 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17227 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17228
17229 [BZ #14132]
17230 * include/sys/time.h (__gettimeofday): Remove macro.
17231 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17232 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17233 Remove INTDEF.
17234 (__gettimeofday): Add libc_hidden_def.
17235 (gettimeofday): Add libc_hidden_weak.
17236 * sysdeps/mach/gettimeofday.c: Likewise.
17237 * sysdeps/posix/gettimeofday.c: Likewise.
17238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17239 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17241 (__gettimeofday_internal): Remove strong_alias.
17242 (__gettimeofday): Add libc_hidden_def.
17243 (gettimeofday): Add libc_hidden_weak.
17244 * sysdeps/unix/syscalls.list (gettimeofday):
17245 Remove __gettimeofday_internal alias.
17246
17247 2012-05-24 Daniel Jacobowitz <drow@false.org>
17248 H.J. Lu <hongjiu.lu@intel.com>
17249
17250 [BZ #12495]
17251 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17252 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17253 (largebin_index_32_big): New.
17254 (largebin_index): Use it for 16-byte alignment.
17255 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17256 correction with front_misalign.
17257
17258 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17259
17260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17262 Likewise.
17263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17264 Likewise.
17265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17266 Likewise.
17267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17268 Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17270 Likewise.
17271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17272 Likewise.
17273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17274 Likewise.
17275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17276 Likewise.
17277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17278 Likewise.
17279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17280 Likewise.
17281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17282 Likewise.
17283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17284 Likewise.
17285
17286 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17287 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17288
17289 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17290
17291 [BZ #10846]
17292 [BZ #14036]
17293 * math/libm-test.inc (exp_test): Add test from bug 14036.
17294 (pow_test): Add test from bug 10846.
17295
17296 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17297 and other flags.
17298 (special_function): Do not include flags in test name.
17299 (parse_args): Likewise.
17300 * sysdeps/i386/fpu/libm-test-ulps: Update.
17301 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17302 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17303 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17305
17306 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17307 exceptions.
17308 * math/libm-test.inc ("Philosophy"): Update comment about
17309 exception testing.
17310 (UNDERFLOW_EXCEPTION): New macro.
17311 (UNDERFLOW_EXCEPTION_OK): Likewise.
17312 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17313 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17314 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17315 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17316 (INVALID_EXCEPTION_OK): Update value.
17317 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17318 (OVERFLOW_EXCEPTION_OK): Likewise.
17319 (IGNORE_ZERO_INF_SIGN): Likewise.
17320 (test_exceptions): Handle underflow exceptions.
17321 (acos_test): Update for underflow exception expectations.
17322 (cexp_test): Likewise.
17323 (clog_test): Likewise.
17324 (clog10_test): Likewise.
17325 (csqrt_test): Likewise.
17326 (ctan_test): Likewise.
17327 (ctanh_test): Likewise.
17328 (exp_test): Likewise.
17329 (exp10_test): Likewise.
17330 (exp2_test): Likewise.
17331 (expm1_test): Likewise.
17332 (fma_test): Likewise.
17333 (j0_test): Likewise.
17334 (jn_test): Likewise.
17335 (nexttoward_test): Likewise.
17336 (pow_test): Likewise.
17337 (scalbn_test): Likewise.
17338 (scalbln_test): Likewise.
17339 (tan_test): Likewise.
17340 (y1_test): Likewise.
17341 * sysdeps/i386/fpu/libm-test-ulps: Update.
17342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17343
17344 2012-05-23 David S. Miller <davem@davemloft.net>
17345
17346 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17347 (__libc_sigaction): Remove unused local variables.
17348
17349 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17350
17351 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17352
17353 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17354
17355 mktime: avoid signed integer overflow
17356 * time/mktime.c (__mktime_internal): Do not mishandle the case
17357 where diff == INT_MIN.
17358
17359 mktime: simplify computation of average
17360 * time/mktime.c (ranged_convert): Use new time_t_avg function
17361 instead of rolling our own (probably-slower) code.
17362
17363 mktime: do not assume signed right shift propagates sign bit
17364 * time/mktime.c (isdst_differ): New static function.
17365 (__mktime_internal): No need to normalize tm_isdst now.
17366 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17367 tm_isdst values.
17368
17369 mktime: merge another wrapv change from gnulib
17370 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17371 from some compilers.
17372
17373 mktime: remove incorrect attempt at unusual arithmetics
17374 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17375 The code didn't really work on such machines anyway.
17376 (TYPE_MINIMUM): Assume two's complement.
17377 (twos_complement_arithmetic): Verify that long_int and time_t
17378 are two's complement (or unsigned, in the latter case).
17379
17380 mktime: check signed shifts on long_int and time_t, too
17381 * time/mktime.c (SHR): Check that shifts work as desired
17382 on the types long_int and time_t too, as SHR is used on
17383 such types.
17384
17385 mktime: do not assume 'long' is wide enough
17386 * time/mktime.c (verify): Move decl up.
17387 (long_int): New type.
17388 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17389 to remove assumption in the code that 'long' is wide enough to
17390 store year values. This assumption is not true on x32 and on
17391 some non-glibc platforms.
17392
17393 mktime: merge wrapv change from gnulib
17394 * time/mktime.c (WRAPV): New macro.
17395 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17396 (guess_time_tm, __mktime_internal): Do not assume that signed
17397 integer overflow wraps around; modern compilers generate code
17398 where this assumption is no longer valid.
17399
17400 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17401
17402 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17403 Replace "jmp L(pseudo_end)" with "ret".
17404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17405 Likewise.
17406
17407 2012-05-23 Andreas Jaeger <aj@suse.de>
17408
17409 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17410 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17411
17412 2012-05-23 Andreas Jaeger <aj@suse.de>
17413 Maximilian Attems <max@stro.at>
17414
17415 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17416 New macros.
17417
17418 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17419
17420 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17421 code so that pseudo_end is just ret and the stack pointer is
17422 correct also for static library in error case.
17423
17424 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17425
17426 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17427 move to syscalls.list.
17428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17432
17433 * manual/install.texi (Running make install): Do not mention Linux
17434 kernel version for which pt_chown is not needed.
17435 (Linux): Do not mention problems with nscd with 2.0 kernels.
17436 * INSTALL: Regenerated.
17437
17438 2012-05-23 Andreas Jaeger <aj@suse.de>
17439
17440 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17441 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17442 macro.
17443 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17444 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17445 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17446 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17447 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17448 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17449 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17451 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17453 * sysdeps/unix/sysv/linux/bits/in.h
17454 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17455
17456 2012-05-22 Roland McGrath <roland@hack.frob.com>
17457
17458 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17459 (PREPARE_VERSION): Just use assert instead, it will be elided
17460 under [NDEBUG] anyway.
17461
17462 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * sysdeps/unix/sysv/linux/Makefile: Include
17465 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17466 (sysdep_routines): Remove sysctl.
17467 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17468 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17469 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17470 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17471 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17472
17473 2012-05-22 Andreas Jaeger <aj@suse.de>
17474
17475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17476 that pseudo_end is just ret and the stack pointer is correct also
17477 for static library in error case.
17478
17479 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17480
17481 [BZ #14122]
17482 * nss/nsswitch.c (defconfig_entries): New variable.
17483 (__nss_database_lookup): Don't leak defconfig entries.
17484 (nss_parse_service_list): Don't leak on error paths.
17485 (free_database_entries): New function.
17486 (free_defconfig): New function.
17487 (free_mem): Move common code to free_database_entries.
17488
17489 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17490
17491 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17492 Add arch_prctl.
17493 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17494
17495 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17496 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17498 New macro.
17499 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17500 (INTERNAL_SYSCALL_TYPES): Likewise.
17501 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17502 (LOAD_REGS_TYPES_[1-6]): Likewise.
17503 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17504 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17505
17506 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17507
17508 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17509 copysignl for GLIBC_2_0.
17510 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17511 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17513 logbl for GLIBC_2_0.
17514 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17515 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17516
17517 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17518
17519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17520 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17521
17522 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17523 Use "neg %eax".
17524
17525 * time/mktime.c: Update copyright years.
17526
17527 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17528
17529 mktime: merge comment-quoting-style change from gnulib
17530 * time/mktime.c: Quote 'like this' in comments.
17531 The GNU coding standards suggest that we no longer quote `like this',
17532 as "`" and "'" are typically rendered asymmetrically nowadays.
17533 The typical gnulib style is to quote 'like this' when quoting
17534 code, and "like this" when quoting English.
17535
17536 * time/mktime.c (compile-command): Add "-I.".
17537
17538 mktime: merge mktime-internal.h change from gnulib
17539 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17540
17541 mktime: merge time_r change from gnulib
17542 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17543
17544 mktime: merge DEBUG change from gnulib
17545 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17546 case system <time.h> has a #define.
17547
17548 mktime: merge <sys/types.h> change from gnulib
17549 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17550 since <time.t> is now guaranteed to define time_t.
17551
17552 mktime: merge HAVE_CONFIG_H change from gnulib
17553 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17554
17555 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17556
17557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17558 Use "neg %eax".
17559
17560 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17561 __rlim_t cast.
17562 (struct rusage): Use anonymous union to pad each field to
17563 __syscall_slong_t.
17564
17565 2012-05-21 David S. Miller <davem@davemloft.net>
17566
17567 * Makefules (o-iterator): Remove .s cases.
17568 (compile-command.s): Delete.
17569 (COMPILE.s): Delete.
17570 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17571
17572 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17573
17574 * configure.in (libc_cv_predef_stack_protector): Only consider
17575 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17576 * configure: Regenerated.
17577
17578 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17581 New macro. Use R*LP on int and pointer.
17582 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17583 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17584 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17585 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17586
17587 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17588 [__WORDSIZE_TIME64_COMPAT32] instead of
17589 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17590 (struct utmp): Likewise.
17591 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17592 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17593 Renamed to ...
17594 (__WORDSIZE_TIME64_COMPAT32): This.
17595 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17596 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17597 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17598 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17599 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17600 (__WORDSIZE_TIME64_COMPAT32): New macro.
17601
17602 2012-05-21 Andreas Jaeger <aj@suse.de>
17603
17604 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17605 only if [SHARED]. Add prototype for __wcschr_ia32.
17606
17607 2012-05-21 Roland McGrath <roland@hack.frob.com>
17608
17609 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17610 of %rbp unmolested in the jmp_buf while mangling the low bits.
17611 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17612 unmolested high bits of %rbp while demangling the low bits.
17613 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17614
17615 2012-05-21 Andreas Jaeger <aj@suse.de>
17616
17617 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17618 * sunrpc/svc_simple.c: Use it for registerrpc.
17619 * sunrpc/xcrypt.c: Use it for passwd2des.
17620
17621 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17622
17623 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17624
17625 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17626 Don't define if [__SYSCALL_WORDSIZE != 32].
17627 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17628 New macro.
17629
17630 2012-05-21 Bruno Haible <bruno@clisp.org>
17631 Andreas Jaeger <aj@suse.de>
17632
17633 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17634 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17635 inptr and inend for must_buffer_ch.
17636 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17637 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17638 * stdio-common/Makefile (tests): Remove bug15.
17639 (bug15-ENV): Remove macro.
17640 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17641 anymore.
17642
17643 2012-05-19 Andreas Jaeger <aj@suse.de>
17644 Roland McGrath <roland@hack.frob.com>
17645
17646 * manual/contrib.texi: Completely rewritten. It contains now an
17647 alphabetical list of contributors and their contributions.
17648
17649 2012-05-21 Richard Henderson <rth@twiddle.net>
17650
17651 * misc/getauxval.c (__getauxval): Use unsigned long int.
17652 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17653 (getauxval): Use unsigned long int.
17654
17655 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17656
17657 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17658
17659 2012-05-21 Roland McGrath <roland@hack.frob.com>
17660
17661 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17662 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17663 __alignof__ (long double).
17664
17665 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17666
17667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17668
17669 2012-05-20 Richard Henderson <rth@twiddle.net>
17670
17671 * misc/getauxval.c: New file.
17672 * misc/sys/auxv.h: New file.
17673 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17674 (routines): Add getauxval.
17675 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17676 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17677 * elf/dl-sysdep.c (_dl_auxv): Remove.
17678 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17679 * elf/dl-support.c (_dl_auxv): New variable.
17680 (_dl_aux_init): Initialize it.
17681 * manual/startup.texi (Auxiliary Vector): New node.
17682 * sysdeps/generic/bits/hwcap.h: New file.
17683 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17684 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17685 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17686 * sysdeps/sparc/sysdep.h: ... here. Include it.
17687 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17688 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17690 Update.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17699
17700 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17701
17702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17703
17704 2012-05-19 David S. Miller <davem@davemloft.net>
17705
17706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17707
17708 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17709
17710 [BZ #14123]
17711 * math/s_ccosh.c: Include <float.h>
17712 (__ccosh): Avoid internal overflow calculating sinh and cosh
17713 values before multiplying by sin and cos values.
17714 * math/s_ccoshf.c: Likewise.
17715 * math/s_ccoshl.c: Likewise.
17716 * math/s_csin.c: Likewise.
17717 * math/s_csinf.c: Likewise.
17718 * math/s_csinl.c: Likewise.
17719 * math/s_csinh.c: Likewise.
17720 * math/s_csinhf.c: Likewise.
17721 * math/s_csinhl.c: Likewise.
17722 * math/libm-test.inc (ccos_test): Add more tests.
17723 (ccosh_test): Likewise.
17724 (csin_test): Likewise.
17725 (csinh_test): Likewise.
17726 * sysdeps/i386/fpu/libm-test-ulps: Update.
17727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17728
17729 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17730
17731 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17732 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17733
17734 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17735
17736 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17737
17738 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17739 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17740 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17741 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17742 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17743 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17744 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17745 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17746 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17747 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17748 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17749 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17750 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17751 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17752 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17753 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17754 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17755 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17756 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17757 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17758 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17759 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17760 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17761 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17762 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17763 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17764 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17765 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17766 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17767 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17768 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17769
17770 2012-05-18 Andreas Jaeger <aj@suse.de>
17771
17772 * csu/.gitignore: Delete.
17773
17774 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17775
17776 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17777 (timex): Use __syscall_slong_t.
17778
17779 2012-05-18 Andreas Jaeger <aj@suse.de>
17780 Carlos O'Donell <carlos_odonell@mentor.com>
17781
17782 * manual/install.texi (Configuring and compiling): Update
17783 description about files modified in the source directory.
17784 * INSTALL: Regenerated.
17785
17786 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17787
17788 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17789 value. Use "or" to set return value to -1.
17790 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17791 negate return value.
17792
17793 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17794
17795 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17796 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17797 failure if the compiler has Graphite support disabled.
17798 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17799 Likewise.
17800 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17801 CFLAGS-memmove.c): Likewise.
17802 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17803 Likewise.
17804
17805 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17806
17807 * sysdeps/x86_64/x32/_itoa.h: New file.
17808
17809 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17810 getdents system call only if kernel and user dirents have the
17811 same d_ino and d_off.
17812
17813 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17814 LLONG_MAX != LONG_MAX.
17815 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17816 (_fitoa_word): Likewise.
17817
17818 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17819 years.
17820 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17821 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17822 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17823
17824 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17825 include <bits/wordsize.h>. Check __x86_64__ instead of
17826 __WORDSIZE.
17827 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17828 if __x86_64__ is defined. Use anonymous union on fpstate.
17829
17830 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17831 anonymous union.
17832
17833 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17834
17835 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17836 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17837 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17838 Refer to _rtld_local_ro instead of _rtld_global_ro.
17839 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17840 Likewise.
17841 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17842 Likewise.
17843 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17844 Likewise.
17845 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17846 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17847 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17848
17849 * sysdeps/powerpc/powerpc32/dl-machine.c
17850 (__elf_machine_runtime_setup) [PROF]: Don't reference
17851 _dl_prof_resolve.
17852
17853 2012-05-18 Andreas Jaeger <aj@suse.de>
17854
17855 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17856 function only available for GCCs before 3.4 since GCC 3.4
17857 introduced a builtin.
17858 (lrint): Likewise.
17859 (llrintf): Likewise.
17860 (llrint): Likewise.
17861 (fmaxf): Likewise.
17862 (fmax): Likewise.
17863 (fminf): Likewise.
17864 (fmin): Likewise.
17865 (rint): Likewise.
17866 (rintf): Likewise.
17867 (nearbyint): Likewise.
17868 (nearbyintf): Likewise.
17869 (ceil): Likewise.
17870 (ceilf): Likewise.
17871 (floor): Likewise.
17872 (floorf): Likewise.
17873
17874 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17877 on both fields and cast pointer to __syscall_ulong_t.
17878
17879 * bits/types.h (__fsword_t): New type.
17880 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17881 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17883 (__FSWORD_T_TYPE): Likewise.
17884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17885 (__FSWORD_T_TYPE): Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17887 (__FSWORD_T_TYPE): Likewise.
17888 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17889 (__FSWORD_T_TYPE): Likewise.
17890 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17891 __SWORD_TYPE with __fsword_t.
17892 (statfs64): Likewise.
17893
17894 2012-05-17 David S. Miller <davem@davemloft.net>
17895
17896 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17897
17898 2012-05-17 Andreas Jaeger <aj@suse.de>
17899
17900 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17901 warning.
17902
17903 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17904
17905 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17906
17907 2012-05-17 Andreas Jaeger <aj@suse.de>
17908
17909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17910 when it is used.
17911
17912 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17913
17914 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17915
17916 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17917
17918 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17919 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17920
17921 2012-05-17 Andreas Jaeger <aj@suse.de>
17922 Carlos O'Donell <carlos_odonell@mentor.com>
17923
17924 [BZ #14059]
17925 * sysdeps/x86_64/multiarch/init-arch.h
17926 (bit_YMM_Usable): Rename to...
17927 (bit_AVX_Usable): ... this.
17928 (bit_FMA4_Usable): New macro.
17929 (bit_XMM_state): New macro.
17930 (bit_YMM_state): New macro.
17931 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17932 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17933 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17934 (CPUID_OSXSAVE): New macro.
17935 (CPUID_AVX): New macro.
17936 (CPUID_FMA4): New macro.
17937 (index_YMM_Usable): Rename to...
17938 (index_AVX_Usable): ... this.
17939 (HAS_AVX): Use HAS_ARCH_FEATURE.
17940 (HAS_FMA4): Likewise.
17941 (HAS_YMM_USABLE): Remove.
17942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17943 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17944 are present.
17945 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17946 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17947 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17948 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17949 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17950
17951 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17952
17953 * math/libm-test.c: Support platforms without multiple rounding modes.
17954 * math/bug-nextafter.c: Support platforms without FP exceptions.
17955 * math/bug-nexttoward.c: Likewise.
17956 * math/test-fenv.c: Likewise.
17957 * math/test-misc.c: Likewise.
17958 * stdlib/bug-getcontext.c: Likewise.
17959
17960 2012-05-17 Andreas Jaeger <aj@suse.de>
17961
17962 * manual/examples/search.c (critter_cmp): Change signature to
17963 avoid warnings.
17964 * manual/string.texi (Collation Functions): Likewise.
17965
17966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17967
17968 * bits/types.h: Fold copyright years.
17969 * bits/typesizes.h: Likewise.
17970 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17974 * time/time.h: Likewise.
17975
17976 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17977
17978 [BZ #208]
17979 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17980 in instead of returning them. Return void.
17981 (__libc_mallinfo): Accumulate over all arenas.
17982 (__malloc_stats): Adjust for change in int_mallinfo interface.
17983
17984 2012-05-16 Roland McGrath <roland@hack.frob.com>
17985
17986 [BZ #10375]
17987 * configure.in (NM): Add AC_CHECK_TOOL for it.
17988 (libc_extra_cflags): New substituted variable.
17989 Check for -fstack-protector being used implicitly.
17990 * configure: Regenerated.
17991 * config.make.in (config-extra-cflags): New variable,
17992 gets @libc_extra_cflags@.
17993 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17994
17995 [BZ #10375]
17996 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17997 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17998 * configure: Regenerated.
17999 * config.make.in (CPPUNDEFS): New substituted variable.
18000 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18001 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18002 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18003
18004 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18005
18006 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18007 (mq_attr): Use __syscall_slong_t.
18008
18009 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18010
18011 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18012 Check __x86_64__ instead of __WORDSIZE.
18013 (_STAT_VER_LINUX): Likewise.
18014 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18015 __syscall_ulong_t and __syscall_slong_t.
18016 (stat64): Likewise.
18017
18018 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18019
18020 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18021
18022 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18023
18024 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18025
18026 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18027
18028 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18029 __syscall_ulong_t.
18030
18031 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18032 include <bits/wordsize.h>. Check __x86_64__ instead of
18033 __WORDSIZE.
18034 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18035 defined.
18036 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18037
18038 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18039 include <bits/wordsize.h>. Check __x86_64__ instead of
18040 __WORDSIZE.
18041 (user_regs_struct): Use "__extension__ unsigned long long"
18042 instead of "unsigned long" if __x86_64__ is defined.
18043 (user): Likewise. Pad after pointer field if __ILP32__ is
18044 defined.
18045
18046 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18047
18048 * configure.in (makeinfo): Require version 4.5 or later. Allow
18049 versions 5 to 9.
18050 * configure: Regenerated.
18051 * manual/install.texi (texinfo): Increase version requirement to
18052 4.5 or later.
18053 * INSTALL: Regenerated.
18054
18055 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18056
18057 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18058
18059 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18060
18061 * sysdeps/x86_64/x32/ffs.c: New file.
18062
18063 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18064 __syscall_ulong_t.
18065 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18066 defined. Use __syscall_ulong_t.
18067 (shminfo): Use __syscall_ulong_t.
18068 (shm_info): Likewise.
18069
18070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18071 __syscall_ulong_t.
18072
18073 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18074 <bits/wordsize.h>.
18075 (msgqnum_t): Use __syscall_ulong_t.
18076 (msglen_t): Likewise.
18077 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18078 __syscall_ulong_t.
18079
18080 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18081 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18082
18083 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18084
18085 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18086 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18087
18088 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18089 __syscall_slong_t.
18090
18091 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18092 include <bits/wordsize.h>. Check __x86_64__ instead of
18093 __WORDSIZE.
18094
18095 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18096 "unsigned long long int" if __x86_64__ is defined.
18097 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18098
18099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18100 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18101 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18102
18103 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18104 <stdint.h>.
18105 (GET_PC): Cast to uintptr_t first.
18106 (GET_FRAME): Likewise.
18107 (GET_STACK): Likewise.
18108
18109 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18110 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18111 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18112 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18113 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18114 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18115 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18116 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18119 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18120 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18121 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18122 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18123 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18124 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18125 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18126 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18127 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18128 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18129 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18130 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18131 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18132 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18133 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18134 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18135 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18136 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18137 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18138
18139 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18140
18141 * Makerules (+depfiles): Also collect depfiles from .oS in
18142 $(extra-objs).
18143 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18144 .oS, $(libnldbl-routines)).
18145
18146 * Makerules (native-compile-mkdep-flags): Define.
18147 * sunrpc/Makefile (extra-objs): Add $(addprefix
18148 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18149 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18150 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18151 calling $(make-target-directory).
18152
18153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18154
18155 * bits/types.h (__snseconds_t): Removed.
18156 * time/time.h (struct timespec): Replace __snseconds_t with
18157 __syscall_slong_t.
18158 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18159 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18160 Likewise.
18161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18162 (__SNSECONDS_T_TYPE): Likewise.
18163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18164 (__SNSECONDS_T_TYPE): Likewise.
18165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18166 (__SNSECONDS_T_TYPE): Likewise.
18167
18168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18169
18170 * sysdeps/mach/hurd/bits/typesizes.h
18171 (__SYSCALL_SLONG_TYPE): New macro.
18172 (__SYSCALL_ULONG_TYPE): Likewise.
18173
18174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18175
18176 * bits/types.h (__syscall_slong_t): New type.
18177 (__syscall_ulong_t): Likewise.
18178
18179 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18180 (__SYSCALL_ULONG_TYPE): Likewise.
18181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18182 (__SYSCALL_SLONG_TYPE): Likewise.
18183 (__SYSCALL_ULONG_TYPE): Likewise.
18184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18185 (__SYSCALL_SLONG_TYPE): Likewise.
18186 (__SYSCALL_ULONG_TYPE): Likewise.
18187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18188 (__SYSCALL_SLONG_TYPE): Likewise.
18189 (__SYSCALL_ULONG_TYPE): Likewise.
18190
18191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18192
18193 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18194 Add sigaltstack-offsets.sym.
18195 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18196 <sigaltstack-offsets.h>.
18197 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18198 longjmp_msg pointer.
18199 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18200 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18201 signal stack.
18202 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18203
18204 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18205
18206 * elf/stackguard-macros.h: Remove file.
18207 * sysdeps/generic/stackguard-macros.h: New file.
18208 * sysdeps/i386/stackguard-macros.h: Likewise.
18209 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18210 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18211 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18212 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18213 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18214 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18215 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18216 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18217 <elf/stackguard-macros.h>.
18218
18219 [BZ #14109]
18220 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18221 __aligned__ in attribute.
18222 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18223 (gregset_t): Likewise.
18224
18225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18226
18227 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18228 * sysdeps/x86_64/64/Implies-after: Here. New file.
18229 * sysdeps/x86_64/x32/Implies-after: New file.
18230
18231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18232
18233 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18234 and access return value for _dl_profile_fixup. Use R10_LP to
18235 load frame size.
18236
18237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18238
18239 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18240
18241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18242
18243 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18244 * sysdeps/x86_64/x32/sysdep.h: New file.
18245
18246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18247
18248 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18249 * sysdeps/x86_64/setjmp.S: Likewise.
18250
18251 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18252
18253 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18254 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18255 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18256 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18257 remove unused global constant.
18258
18259 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18260
18261 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18262 include of <not-cancel.h>.
18263
18264 2012-05-15 Roland McGrath <roland@hack.frob.com>
18265
18266 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18267
18268 2012-05-15 Jeff Law <law@redhat.com>
18269 Andreas Jaeger <aj@suse.de>
18270
18271 [BZ #13594]
18272 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18273 out from...
18274 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18275 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18276 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18277 code changing __hst_map_handle.map.
18278
18279 2012-05-15 Roland McGrath <roland@hack.frob.com>
18280
18281 * configure.in (sysnames): Look for Implies-before and Implies-after
18282 files.
18283 * configure: Regenerated.
18284
18285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18286
18287 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18288 8-byte data alignment with LP_SIZE alignment.
18289
18290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18291
18292 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18293 into R10_LP.
18294
18295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18296
18297 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18298
18299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18300
18301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18302 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18303 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18304 Likewise.
18305 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18306
18307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18308
18309 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18310 (stackinfo_sub_sp): Likewise.
18311
18312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18315 RAX_LP.
18316
18317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18318
18319 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18320 into R*_LP.
18321
18322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18323
18324 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18325 sizes into R*_LP.
18326
18327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18328
18329 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18330
18331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18332
18333 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18334 into R11_LP and load __x86_64_shared_cache_size_half into
18335 R8_LP.
18336
18337 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18338
18339 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18340 R8_LP.
18341
18342 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18343
18344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18345 logb for POWER7.
18346 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18347 logbf for POWER7.
18348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18349 logbl for POWER7.
18350 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18351 powerpc32/power7/fpu/s_logb.c via #include.
18352 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18353 powerpc32/power7/fpu/s_logbf.c via #include.
18354 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18355 powerpc32/power7/fpu/s_logbl.c via #include.
18356
18357 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18358
18359 * README.libm: Remove file.
18360
18361 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18362
18363 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18364 count for x32. Use R*_LP and omit operand-size suffix.
18365
18366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18367
18368 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18369 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18370 * sysdeps/x86_64/x32/shlib-versions: New file.
18371
18372 2012-05-14 Roland McGrath <roland@hack.frob.com>
18373
18374 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18375 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18376 Use _dl_fatal_printf instead.
18377
18378 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18379
18380 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18381 set if not set by the user. Do not allow for being unset.
18382 * sysdeps/unix/sysv/linux/configure: Regenerated.
18383
18384 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18385
18386 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18387 the `q' suffix from lea and replace .quad with ASM_ADDR.
18388
18389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18390
18391 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18392 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18393 instead of $17.
18394 (PTR_DEMANGLE): Likewise.
18395
18396 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18397
18398 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18399 (LP_OP): Likewise.
18400 (ASM_ADDR): Likewise.
18401 (RAX_LP): Likewise.
18402 (RBP_LP): Likewise.
18403 (RBX_LP): Likewise.
18404 (RCX_LP): Likewise.
18405 (RDI_LP): Likewise.
18406 (RSI_LP): Likewise.
18407 (RSP_LP): Likewise.
18408 (R8_LP): Likewise.
18409 (R9_LP): Likewise.
18410 (R10_LP): Likewise.
18411 (R10_LP): Likewise.
18412 (R11_LP): Likewise.
18413 (R12_LP): Likewise.
18414 (R13_LP): Likewise.
18415 (R14_LP): Likewise.
18416 (R15_LP): Likewise.
18417
18418 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18419
18420 * sysdeps/x86_64/x32/dl-machine.h: New file.
18421
18422 2012-05-14 Andreas Jaeger <aj@suse.de>
18423
18424 * manual/Makefile (subdir): Remove export of subdir.
18425 (all): Remove target.
18426 (.PHONY): Remove all from list.
18427 (mkinstalldirs): Remove.
18428 (.PHONY): Remove installdirs from list.
18429 ($(inst_infodir)/libc.info): Use make-target-directory.
18430 (installdirs): Remove.
18431 (subdir_%): Remove.
18432 (glibc-targets): Remove.
18433 (lib): Remove.
18434 (stubs): Remove.
18435 ($(objpfx)stubs ../po/manual.pot): Remove.
18436 ($(objpfx)stamp%): Remove.
18437 (make-target-directory): Remove.
18438 (subdir_install): Remove.
18439 (routines): Remove.
18440 (aux): Remove.
18441 (sources): Remove.
18442 (objects): Remove.
18443 (headers): Remove.
18444
18445 [BZ #13750]
18446 * manual/.gitignore: Remove, it's not needed anymore.
18447 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18448 all files in it.
18449 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18450 directory.
18451 (texis): Renamed to $(objpfx)texis.
18452 (texis-path): New, contains path to generated files.
18453 (chapters.%): Use texis-path for complete path, add extra argument
18454 libc-texinfo.sh.
18455 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18456 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18457 (summary,texi, stamp-summary): Use complete path of
18458 files. Generate files in build dir.
18459 (dir-add.texi): Build in build dir.
18460 (libm-err.texi,stamp-libm-err): Likewise.
18461 (version.texi, stamp-version): Likewise.
18462 (.%c.texi): Likewise.
18463 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18464 (mostlyclean): Remove target.
18465 (realclean): Remove target.
18466 (generated): Add new variable with contents from mostlyclean and
18467 realclean, remove entries duplicated in common-mostlyclean, add
18468 stamp-libm-err and stamp-version.
18469 (generated-dirs): Add libc directory.
18470 ($(inst_infodir)/libc.info): Install files from build dir.
18471
18472 * manual/install.texi (Configuring and compiling): Adjust since
18473 the info files are not part of the tar ball anymore.
18474
18475 2012-05-14 Andreas Jaeger <aj@suse.de>
18476
18477 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18478 variable.
18479
18480 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18481
18482 [BZ #13717]
18483 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18484 to 2.2.0 where earlier.
18485 * sysdeps/unix/sysv/linux/configure: Regenerated.
18486 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18487 Remove conditional code.
18488 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18489 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18490 Remove conditional code.
18491 [!__NR_lchown]: Likewise.
18492 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18493 [__NR_lchown]: Likewise.
18494 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18495 comment referencing __ASSUME_LCHOWN_SYSCALL.
18496 * sysdeps/unix/sysv/linux/i386/sigaction.c
18497 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18498 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18499 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18500 Remove conditional code.
18501 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18502 (__protocol_available): Remove #if 0 code.
18503 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18504 conditional code.
18505 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18506 * sysdeps/unix/sysv/linux/kernel-features.h
18507 (__ASSUME_GETCWD_SYSCALL): Don't define.
18508 (__ASSUME_REALTIME_SIGNALS): Likewise.
18509 (__ASSUME_PREAD_SYSCALL): Likewise.
18510 (__ASSUME_PWRITE_SYSCALL): Likewise.
18511 (__ASSUME_POLL_SYSCALL): Likewise.
18512 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18513 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18514 non-SPARC.
18515 (__ASSUME_SIOCGIFNAME): Don't define.
18516 (__ASSUME_MSG_NOSIGNAL): Likewise.
18517 (__ASSUME_SENDFILE): Define unconditionally.
18518 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18519 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18520 conditional code.
18521 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18522 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18523 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18524 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18525 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18526 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18527 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18529 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18535 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18541 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18544 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18547 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18552 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18553 Remove conditional code.
18554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18555 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18556 Remove conditional code.
18557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18558 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18559 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18560 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18561 Remove conditional code.
18562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18563 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18564 Remove conditional code.
18565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18566 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18567 Remove conditional code.
18568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18569 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18570 Remove conditional code.
18571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18572 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18573 Remove conditional code.
18574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18575 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18576 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18578 * sysdeps/unix/sysv/linux/sigaction.c
18579 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18580 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18581 * sysdeps/unix/sysv/linux/sigpending.c
18582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18584 * sysdeps/unix/sysv/linux/sigprocmask.c
18585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18587 * sysdeps/unix/sysv/linux/sigsuspend.c
18588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18591 (__libc_missing_rt_sigs): Remove.
18592 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18593 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18594 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18595 Remove conditional code.
18596 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18597 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18598 return 1.
18599 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18600 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18601 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18602 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18603
18604 2012-05-14 Andreas Jaeger <aj@suse.de>
18605
18606 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18607 it's not used in glibc.
18608 (__coshm1): Likewise.
18609 (__acosh1p): Likewise.
18610 (__sgn): Likewise.
18611
18612 * manual/string.texi (Copying and Concatenation): Add missing
18613 variable in concat example.
18614 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18615
18616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18617
18618 [BZ #14103]
18619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18620 __builtin_clzl with __builtin_clzll.
18621
18622 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18623
18624 [BZ #14104]
18625 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18626 libc_freeres_ptr.
18627
18628 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18629
18630 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18631 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18632 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18633 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18634
18635 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18636
18637 * NEWS: Update ia64 info.
18638
18639 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18640
18641 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18642 used as bcopy.
18643
18644 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18645
18646 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18647 * sysdeps/unix/syscalls.list (dup3): Likewise.
18648 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18649 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18650
18651 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18652
18653 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18654 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18655
18656 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18657
18658 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18659 thread pointer.
18660 (TLS_IE): Use mov/add instead of movq/addq to load thread
18661 pointer.
18662 (TLS_GD_PREFIX): New.
18663 (TLS_GD): Use it.
18664
18665 2012-05-11 David S. Miller <davem@davemloft.net>
18666
18667 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18668 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18669 (_FPU_SETCW): Likewise.
18670
18671 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18674 is 32-byte aligned.
18675
18676 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18677
18678 [BZ #11837]
18679 * iconvdata/gb18030.c: Update tables.
18680 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18681 characters specially.
18682 (BODY for TO_LOOP): Add encoding of missing ranges.
18683
18684 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18685
18686 [BZ #13673]
18687 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18688 * sysdeps/mach/hurd/dup3.c: Likewise.
18689 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18690 * sysdeps/powerpc/memmove.c:: Likewise.
18691
18692 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18693
18694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18695 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18696
18697 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18698
18699 * elf/elf.h (R_X86_64_RELATIVE64): New.
18700 (R_X86_64_NUM): Updated.
18701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18702 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18703 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18704 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18705 tst-quad1pie tst-quad2pie
18706 (modules-names): Add tst-quadmod1 tst-quadmod2.
18707 ($(objpfx)tst-quad1): New dependency.
18708 ($(objpfx)tst-quad2): Likewise.
18709 ($(objpfx)tst-quad1pie): Likewise.
18710 ($(objpfx)tst-quad2pie): Likewise.
18711 * sysdeps/x86_64/tst-quad1.c: New file.
18712 * sysdeps/x86_64/tst-quad1pie.c: New file.
18713 * sysdeps/x86_64/tst-quad2.c: Likewise.
18714 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18715 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18716 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18717 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18718 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18719
18720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18721
18722 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18723 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18724 * streams/stropts.h (t_scalar_t): Define type.
18725
18726 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18727 (_PATH_PRESERVE): Set to "/var/lib".
18728 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18729
18730 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18731 instead of int.
18732
18733 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18734 if __dir_mkfile succeeded.
18735
18736 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18737 checking for _hurd_dtablesize. Unlock it right after having
18738 finished _hurd_dtable allocation.
18739
18740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18741
18742 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18743 * sysdeps/mach/hurd/configure: Regenerated.
18744 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18745 special-casing to...
18746 * sysdeps/gnu/configure.in: ... this new file.
18747 * sysdeps/unix/sysv/linux/configure: Regenerated.
18748 * sysdeps/gnu/configure: New generated file.
18749
18750 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18751 for Linux: use nsec instead of usec, as well as:
18752 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18753 members of type struct timespec.
18754 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18755 New macros.
18756 (struct stat64): Likewise.
18757 (_STATBUF_ST_NSEC): New macro.
18758 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18759
18760 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18761 __strtoul_internal rather than strtoul.
18762
18763 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18764
18765 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18766 and reject them.
18767
18768 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18769
18770 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18771 which preserves existing values.
18772 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18773
18774 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18775
18776 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18777 TIMEOUT values. Return EINVAL for NFDS values either negative or
18778 greater than FD_SETSIZE.
18779
18780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18781
18782 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18783 allocated, call __vm_protect to finish enabling the existing space, and
18784 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18785 allocate the remainder.
18786
18787 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18788
18789 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18790 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18791
18792 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18793
18794 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18795 sysdeps/mach/hurd/readlink.c.
18796
18797 * posix/tst-sysconf.c (posix_options): Only use
18798 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18799 _POSIX_SYNCHRONIZED_IO when they are defined
18800 * sysdeps/mach/hurd/bits/posix_opt.h:
18801 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18802 (_XOPEN_REALTIME): Undefine macro.
18803 (_XOPEN_REALTIME_THREADS): Undefine macro.
18804 (_XOPEN_SHM): Undefine macro.
18805 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18806 macro to -1.
18807 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18808 macro to -1.
18809 (_POSIX_ASYNC_IO): Undefine macro.
18810 (_POSIX_PRIORITIZED_IO): Undefine macro.
18811 (_POSIX_SPIN_LOCKS): Define macro to -1.
18812
18813 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18814 SA_NODEFER, SA_RESETHAND.
18815 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18816 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18817 F_DUPFD_CLOEXEC.
18818
18819 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18820
18821 * elf/Makefile (pldd-modules): Define unconditionally.
18822
18823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18824
18825 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18826
18827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18828
18829 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18830 Return ENOENT when name is empty.
18831 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18832
18833 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18834
18835 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18836
18837 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18838
18839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18840
18841 Fix mlock in all cases except non-readable pages.
18842 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18843 instead of VM_PROT_ALL as parameter to __vm_wire function.
18844
18845 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18846 (__mkdir): When path is `/', just fail with EEXIST.
18847 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18848
18849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18850
18851 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18852 <sys/uio.h> (for writev).
18853 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18854 and <sys/param.h> (for MIN).
18855
18856 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18857
18858 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18859 REQUESTED_TIME. Properly set the remaining time and return EINTR
18860 if interrupted.
18861
18862 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18863
18864 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18865 Depend on against $(link-rpcuserlibs).
18866
18867 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18868
18869 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18870 (__libc_stack_end): Do not use attribute_relro.
18871 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18872 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18873 to libthread-provided value.
18874 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18875 attribute_relro.
18876
18877 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18878
18879 [BZ #3748]
18880 * bits/libc-lock.h (__libc_once_get): New macro.
18881 * sysdeps/mach/bits/libc-lock.h: Likewise.
18882 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18884 instead of using implementation details.
18885
18886 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18887 * libio/freopen.c: Likewise.
18888 * libio/freopen64.c: Likewise.
18889 * misc/syslog.c: Likewise.
18890 * nscd/connections.c: Likewise.
18891 * nscd/netgroupcache.c: Likewise.
18892 * sysdeps/posix/getcwd.c: Likewise.
18893
18894 2012-05-10 Roland McGrath <roland@hack.frob.com>
18895
18896 * math/w_ilogbf.c: Add #include <limits.h>.
18897
18898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18899
18900 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18901 path instead of returning without unlocking.
18902
18903 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18904 immediate-write ioctls.
18905 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18906
18907 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18908
18909 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18910 __builtin_frame_address instead of making assumptions about the
18911 location of the return address relative to DATA. Force early load of
18912 the return address.
18913 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18914 __builtin_frame_address.
18915
18916 dup3 for GNU Hurd.
18917 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18918 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18919 implement dup3 and do some further code clean-ups.
18920 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18921 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18922
18923 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18924
18925 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18926
18927 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18928 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18929 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18930 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18931 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18932 d->port.lock.
18933
18934 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18935 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18936 when handler == SIG_ERR, not when handler != SIG_ERR.
18937
18938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18939
18940 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18941 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18942 definitions.
18943
18944 accept4 for GNU Hurd.
18945 * include/sys/socket.h (__libc_accept4): New prototype.
18946 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18947 to implement __libc_accept4.
18948 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18949 __libc_accept4.
18950 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18951
18952 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18953 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18954 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18955 signal-defines.sym.
18956
18957 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18958
18959 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18960
18961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18962
18963 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18964 assertion on O_CLOEXEC flag.
18965 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18966 * hurd/intern-fd.c: Likewise.
18967 * hurd/port2fd.c: Likewise.
18968
18969 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18970
18971 [BZ #3906]
18972 * bits/in.h (IPV6_PKTINFO): Define new macro.
18973 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18974
18975 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18976
18977 [BZ #13954]
18978 [BZ #13955]
18979 [BZ #13956]
18980 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18981 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18982 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18983 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18985 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18986 * math/libm-test.inc (logb_test) : Additional logb tests.
18987
18988 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18989 Andreas Jaeger <aj@suse.de>
18990
18991 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18992 * configure: Regenerated.
18993 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18994 * config.make.in (link-obsolete-rpc): New substituted variable.
18995 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18996 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18997 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18998 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18999 so that libc.a contains the symbols.
19000 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19001 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19002 * sunrpc/auth_none.c: Likewise.
19003 * sunrpc/auth_unix.c: Likewise.
19004 * sunrpc/authdes_prot.c: Likewise.
19005 * sunrpc/authuxprot.c: Likewise.
19006 * sunrpc/clnt_gen.c: Likewise.
19007 * sunrpc/clnt_perr.c: Likewise.
19008 * sunrpc/clnt_raw.c: Likewise.
19009 * sunrpc/clnt_simp.c: Likewise.
19010 * sunrpc/clnt_tcp.c: Likewise.
19011 * sunrpc/clnt_udp.c: Likewise.
19012 * sunrpc/clnt_unix.c: Likewise.
19013 * sunrpc/des_crypt.c: Likewise.
19014 * sunrpc/des_soft.c: Likewise.
19015 * sunrpc/get_myaddr.c: Likewise.
19016 * sunrpc/key_call.c: Likewise.
19017 * sunrpc/key_prot.c: Likewise.
19018 * sunrpc/netname.c: Likewise.
19019 * sunrpc/pm_getmaps.c: Likewise.
19020 * sunrpc/pm_getport.c: Likewise.
19021 * sunrpc/pmap_clnt.c: Likewise.
19022 * sunrpc/pmap_prot.c: Likewise.
19023 * sunrpc/pmap_prot2.c: Likewise.
19024 * sunrpc/pmap_rmt.c: Likewise.
19025 * sunrpc/publickey.c: Likewise.
19026 * sunrpc/rpc_cmsg.c: Likewise.
19027 * sunrpc/rpc_common.c: Likewise.
19028 * sunrpc/rpc_dtable.c: Likewise.
19029 * sunrpc/rpc_prot.c: Likewise.
19030 * sunrpc/rpc_thread.c: Likewise.
19031 * sunrpc/rtime.c: Likewise.
19032 * sunrpc/svc.c: Likewise.
19033 * sunrpc/svc_auth.c: Likewise.
19034 * sunrpc/svc_raw.c: Likewise.
19035 * sunrpc/svc_run.c: Likewise.
19036 * sunrpc/svc_tcp.c: Likewise.
19037 * sunrpc/svc_udp.c: Likewise.
19038 * sunrpc/svc_unix.c: Likewise.
19039 * sunrpc/svcauth_des.c: Likewise.
19040 * sunrpc/xcrypt.c: Likewise.
19041 * sunrpc/xdr.c: Likewise.
19042 * sunrpc/xdr_array.c: Likewise.
19043 * sunrpc/xdr_float.c: Likewise.
19044 * sunrpc/xdr_intXX_t.c: Likewise.
19045 * sunrpc/xdr_mem.c: Likewise.
19046 * sunrpc/xdr_rec.c: Likewise.
19047 * sunrpc/xdr_ref.c: Likewise.
19048 * sunrpc/xdr_sizeof.c: Likewise.
19049 * sunrpc/xdr_stdio.c: Likewise.
19050
19051 2012-05-10 Roland McGrath <roland@hack.frob.com>
19052
19053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19054 change. Update copyright years.
19055
19056 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19057
19058 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19059
19060 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19061 Joseph Myers <joseph@codesourcery.com>
19062 Paul Pluzhnikov <ppluzhnikov@google.com>
19063
19064 [BZ #14012]
19065 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19066 requiring rpcgen.
19067 [cross-compiling] (extra-libs): Likewise.
19068 [cross-compiling] (extra-libs-others): Likewise.
19069 [cross-compiling] (librpcsvc-routines): Likewise.
19070 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19071 [cross-compiling] (omit-deps): Likewise.
19072 (sunrpc-CPPFLAGS): New variable.
19073 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19074 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19075 (cross-rpcgen-objs): New variable.
19076 (extra-objs): Append $(cross-rpcgen-objs).
19077 ($(cross-rpcgen-objs)): New rule.
19078 ($(objpfx)cross-rpcgen): Likewise.
19079 (rpcgen-cmd): Define to use $(built-program-file). Expand
19080 comment.
19081 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19082 ($(objpfx)x%.stmp): Likewise.
19083 * sunrpc/proto.h [IS_IN_build] (_): Define.
19084 [IS_IN_build] (_libc_intl_domainname): Likewise.
19085
19086 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19087
19088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19089 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19090 and R_X86_64_TPOFF64.
19091
19092 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19093
19094 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19095 sysdeps/unix/sysv/syscalls.list.
19096 (stime): Likewise.
19097 (utime): Likewise.
19098 * sysdeps/unix/sysv/syscalls.list: Remove file.
19099
19100 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19101
19102 [BZ #3440]
19103 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19104 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19105 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19106 (__LC_IDENTIFICATION): Make these macros useful in #if
19107 expressions, as required by C99.
19108
19109 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19110
19111 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19112 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19113 after this.
19114
19115 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19116
19117 * stdlib/longlong.h: Updated from GCC.
19118
19119 2012-05-09 Andreas Jaeger <aj@suse.de>
19120
19121 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19122 default is first entry.
19123 (run_mode): Set type.
19124 (main): Remove informal message about syslog.
19125 (options): Fix typo.
19126
19127 [BZ #14053]
19128 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19129 to asm.
19130 (lrint): Likewise.
19131 (llrintf): Likewise.
19132 (llrint): Likewise.
19133 (rint): Likewise.
19134 (rintf): Likewise.
19135 (nearbyint): Likewise.
19136 (nearbyintf): Likewise.
19137
19138 2012-05-09 Andreas Jaeger <aj@suse.de>
19139 Pedro Alves <palves@redhat.com>
19140
19141 * nscd/nscd.c (run_mode): Use enum.
19142 (main): Cleanup coding style issue.
19143
19144 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19145 Andreas Jaeger <aj@suse.de>
19146
19147 * nscd/nscd.c (go_background): Replaced with...
19148 (run_mode): ... this.
19149 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19150 (options): Add -F --foreground.
19151 (main): Implement it.
19152 (parse_opt): Parse it.
19153
19154 2012-05-09 Andreas Jaeger <aj@suse.de>
19155
19156 [BZ #14083]
19157 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19158 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19159 -Wconversion warning.
19160 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19161 Likewise.
19162
19163 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19164
19165 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19166 == 0.
19167 (LC_ALL): Use macro-int-constant.
19168 (LC_COLLATE): Likewise.
19169 (LC_CTYPE): Likewise.
19170 (LC_MESSAGES): Likewise.
19171 (LC_MONETARY): Likewise.
19172 (LC_NUMERIC): Likewise.
19173 (LC_TIME): Likewise.
19174 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19175 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19177 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19178 Specify type.
19179 [C99-based standards] (float_t): Expect type.
19180 [C99-based standards] (double_t): Expect type.
19181 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19182 type.
19183 [C99-based standards] (HUGE_VALL): Likewise.
19184 [C99-based standards] (INFINITY): Likewise.
19185 [C99-based standards] (NAN): Likewise.
19186 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19187 [C99-based standards] (FP_NAN): Likewise.
19188 [C99-based standards] (FP_NORMAL): Likewise.
19189 [C99-based standards] (FP_SUBNORMAL): Likewise.
19190 [C99-based standards] (FP_ZERO): Likewise.
19191 [C99-based standards] (FP_FAST_FMA): Use
19192 optional-macro-int-constant. Specify type. Require == 1.
19193 [C99-based standards] (FP_FAST_FMAF): Likewise.
19194 [C99-based standards] (FP_FAST_FMAL): Likewise.
19195 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19196 [C99-based standards] (FP_ILOGBNAN): Likewise.
19197 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19198 Specify type.
19199 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19200 [C99-based standards] (math_errhandling): Specify type.
19201 [ISO99 || ISO11] (signgam): Do not allow.
19202 [non-C99-based standards] (copysignf): Do not allow.
19203 [non-C99-based standards] (exp2f): Likewise.
19204 [non-C99-based standards] (log2f): Likewise.
19205 [non-C99-based standards] (modff): Allow.
19206 [non-C99-based standards] (erff): Do not allow.
19207 [non-C99-based standards] (erfcf): Likewise.
19208 [non-C99-based standards] (gammaf): Likewise.
19209 [non-C99-based standards] (hypotf): Likewise.
19210 [non-C99-based standards] (j0f): Likewise.
19211 [non-C99-based standards] (j1f): Likewise.
19212 [non-C99-based standards] (jnf): Likewise.
19213 [non-C99-based standards] (lgammaf): Likewise.
19214 [non-C99-based standards] (tgammaf): Likewise.
19215 [non-C99-based standards] (y0f): Likewise.
19216 [non-C99-based standards] (y1f): Likewise.
19217 [non-C99-based standards] (ynf): Likewise.
19218 [non-C99-based standards] (isnanf): Likewise.
19219 [non-C99-based standards] (acoshf): Likewise.
19220 [non-C99-based standards] (asinhf): Likewise.
19221 [non-C99-based standards] (atanhf): Likewise.
19222 [non-C99-based standards] (cbrtf): Likewise.
19223 [non-C99-based standards] (expm1f): Likewise.
19224 [non-C99-based standards] (ilogbf): Likewise.
19225 [non-C99-based standards] (log1pf): Likewise.
19226 [non-C99-based standards] (logbf): Likewise.
19227 [non-C99-based standards] (nextafterf): Likewise.
19228 [non-C99-based standards] (remainderf): Likewise.
19229 [non-C99-based standards] (rintf): Likewise.
19230 [non-C99-based standards] (scalbf): Likewise.
19231 [non-C99-based standards] (copysignl): Likewise.
19232 [non-C99-based standards] (exp2l): Likewise.
19233 [non-C99-based standards] (log2l): Likewise.
19234 [non-C99-based standards] (modfl): Allow.
19235 [non-C99-based standards] (erfl): Do not allow.
19236 [non-C99-based standards] (erfcl): Likewise.
19237 [non-C99-based standards] (gammal): Likewise.
19238 [non-C99-based standards] (hypotl): Likewise.
19239 [non-C99-based standards] (j0l): Likewise.
19240 [non-C99-based standards] (j1l): Likewise.
19241 [non-C99-based standards] (jnl): Likewise.
19242 [non-C99-based standards] (lgammal): Likewise.
19243 [non-C99-based standards] (tgammal): Likewise.
19244 [non-C99-based standards] (y0l): Likewise.
19245 [non-C99-based standards] (y1l): Likewise.
19246 [non-C99-based standards] (ynl): Likewise.
19247 [non-C99-based standards] (isnanl): Likewise.
19248 [non-C99-based standards] (acoshl): Likewise.
19249 [non-C99-based standards] (asinhl): Likewise.
19250 [non-C99-based standards] (atanhl): Likewise.
19251 [non-C99-based standards] (cbrtl): Likewise.
19252 [non-C99-based standards] (expm1l): Likewise.
19253 [non-C99-based standards] (ilogbl): Likewise.
19254 [non-C99-based standards] (log1pl): Likewise.
19255 [non-C99-based standards] (logbl): Likewise.
19256 [non-C99-based standards] (nextafterl): Likewise.
19257 [non-C99-based standards] (remainderl): Likewise.
19258 [non-C99-based standards] (rintl): Likewise.
19259 [non-C99-based standards] (scalbl): Likewise.
19260 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19261 [non-C99-based standards] (FP_*): Do not allow.
19262 [C99-based standards] (FP_*): Change to
19263 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19264 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19265 allow.
19266 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19267 (SIG_ERR): Likewise.
19268 [X/Open-based standards] (SIG_HOLD): Likewise.
19269 (SIG_IGN): Likewise.
19270 (SIGABRT): Use macro-int-constant. Specify type. Require
19271 positive value.
19272 (SIGFPE): Likewise.
19273 (SIGILL): Likewise.
19274 (SIGINT): Likewise.
19275 (SIGSEGV): Likewise.
19276 (SIGTER): Likewise.
19277 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19278 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19279 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19280 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19281 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19283 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19285 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19286 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19287 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19288 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19289 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19290 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19291 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19292 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19293 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19294 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19295 [X/Open-based standards] (SIGTRAP): Likewise.
19296 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19297 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19298 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19299 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19300 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19301 allow.
19302
19303 2012-05-08 Ian Wienand <ianw@vmware.com>
19304
19305 [BZ #14080]
19306 * time/tzset.c (__tzset_parse_tz): Update default rules for
19307 daylight time changes in the Energy Policy Act of 2005.
19308
19309 2012-05-09 Andreas Jaeger <aj@suse.de>
19310
19311 [BZ #13983]
19312 * elf/ldconfig.c (parse_conf): Change string to make clear that
19313 ldconfig only issued a warning if ld.so.conf does not exist.
19314
19315 2012-05-08 David S. Miller <davem@davemloft.net>
19316
19317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19318 movxtod instead of popping the value on the stack.
19319
19320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19321
19322 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19323
19324 * config.h.in: Add HAVE_ARM_PCS_VFP.
19325
19326 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19327
19328 [BZ #13979]
19329 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19330 checking but the checks are disabled for any reason.
19331
19332 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19333
19334 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19335 and ELF64_R_TYPE with ELFW(R_TYPE).
19336
19337 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19338
19339 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19340 (ulimit): Likewise.
19341
19342 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19343 (settimeofday): Likewise.
19344
19345 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19346
19347 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19348 a struct th_u2 inside the union, and move tu_block/tu_code into
19349 a new th_u3 union of tu_block/tu_code inside of that. Move
19350 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19351 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19352 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19353 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19354 (th_stuff): Change to th_u1.tu_stuff.
19355 (th_data): Define.
19356 (th_msg): Change to th_u1.th_u2.tu_data.
19357
19358 2012-05-07 David S. Miller <davem@davemloft.net>
19359
19360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19361
19362 [BZ #14074]
19363 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19364 (SETUP_PIC_REG): Use it.
19365 (SETUP_PIC_REG_LEAF): Use it.
19366
19367 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19368
19369 [BZ #13885]
19370 [BZ #13923]
19371 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19372 USE_AS_EXPM1L.
19373 (EXPL_FINITE): Likewise.
19374 (FLDLOG): Likewise.
19375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19376 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19377 e_expl.S.
19378 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19379 USE_AS_EXPM1L.
19380 (EXPL_FINITE): Likewise.
19381 (FLDLOG): Likewise.
19382 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19383 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19384 e_expl.S.
19385 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19386 test of -max_value argument for long double.
19387 * sysdeps/i386/fpu/libm-test-ulps: Update.
19388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19389
19390 2012-05-06 David S. Miller <davem@davemloft.net>
19391
19392 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19393 quad soft-float symbols whose references which are compiler
19394 generated.
19395 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19396
19397 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19398
19399 [BZ #13884]
19400 [BZ #13914]
19401 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19402 USE_AS_EXP10L.
19403 (EXPL_FINITE): Likewise.
19404 (FLDLOG): Likewise.
19405 (c0): Likewise.
19406 (c1): Likewise.
19407 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19408 Adjust comments for base varying.
19409 (__expl_finite): Change alias to EXPL_FINITE.
19410 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19411 e_expl.S.
19412 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19413 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19415 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19416 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19417 USE_AS_EXP10L.
19418 (EXPL_FINITE): Likewise.
19419 (FLDLOG): Likewise.
19420 (c0): Likewise.
19421 (c1): Likewise.
19422 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19423 Adjust comments for base varying.
19424 (__expl_finite): Change alias to EXPL_FINITE.
19425 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19426 tests for bugs.
19427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19428
19429 [BZ #14064]
19430 * math/libm-test.inc (check_float_internal): Correct ulp
19431 calculation for subnormal expected results.
19432
19433 2012-05-06 Andreas Jaeger <aj@suse.de>
19434
19435 * Makeconfig (+math-flags): New, set to -frounding-math.
19436 (+cflags): Add +math-flags so that all of glibc gets compiled with
19437 it.
19438
19439 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19440
19441 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19442
19443 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19444 Disable one test.
19445
19446 [BZ #13787]
19447 [BZ #13922]
19448 [BZ #14036]
19449 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19450 (__ieee754_expl): Allow for and saturate large arguments.
19451 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19452 (u_threshold): Likewise.
19453 (__exp): Call __ieee754_exp before checking for overflow and
19454 underflow.
19455 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19456 (u_threshold): Likewise.
19457 (__expf): Call __ieee754_expf before checking for overflow and
19458 underflow.
19459 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19460 (u_threshold): Likewise.
19461 (__expl): Call __ieee754_expl before checking for overflow and
19462 underflow.
19463 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19464 (__ieee754_expl): Allow for and saturate large arguments.
19465 * math/libm-test.inc (exp_test): Add another test. Do not allow
19466 missing overflow exception on overflow.
19467 (expm1_test): Do not allow missing overflow exception on overflow.
19468
19469 * sysdeps/i386/fpu/e_expl.c: Move to ...
19470 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19471 rather than using inline asm.
19472 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19473 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19474 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19475
19476 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19477 (nice): Likewise.
19478 (poll): Likewise.
19479 (signal): Likewise.
19480 (time): Likewise.
19481 (times): Likewise.
19482
19483 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19484
19485 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19486 sysdeps/unix/common/syscalls.list.
19487 (fchmod): Likewise.
19488 (fchown): Likewise.
19489 (ftruncate): Likewise.
19490 (getrusage): Likewise.
19491 (gettimeofday): Likewise.
19492 (setpgid): Likewise.
19493 (setregid): Likewise.
19494 (setreuid): Likewise.
19495 (sigaction): Likewise.
19496 (truncate): Likewise.
19497 (vhangup): Likewise.
19498 * sysdeps/unix/common/syscalls.list: Remove file.
19499 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19500 * sysdeps/unix/sysv/linux/Implies: Likewise.
19501
19502 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19503
19504 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19506 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19507 Moved to ...
19508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19509 Here.
19510 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19511 to ...
19512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19513 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19514 to ...
19515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19516 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19517 to ...
19518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19519 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19520 to ...
19521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19522 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19523 to ...
19524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19525 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19526 to ...
19527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19528 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19529 to ...
19530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19531 Here.
19532 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19533 to ...
19534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19535 Here.
19536 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19537 to ...
19538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19539 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19540 Moved to ...
19541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19542 Here.
19543 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19544 to ...
19545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19546
19547 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19548
19549 * sysdeps/unix/common/bits/dirent.h: Remove file.
19550 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19551
19552 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19553 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19554 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19555 * sysdeps/unix/bsd/isatty.c: Likewise.
19556 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19557 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19558 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19559
19560 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19561
19562 [BZ #13563]
19563 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19564 long double comparison inaccuracies.
19565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19567
19568 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19569
19570 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19571 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19572
19573 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19574
19575 [BZ #14049]
19576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19577 nonzero digits before rounding a hex value.
19578 * stdlib/tst-strtod.c (tests): Add another test.
19579
19580 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19581
19582 * sysdeps/s390/fpu/libm-test-ulps: Update.
19583
19584 2012-05-03 Andreas Jaeger <aj@suse.de>
19585
19586 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19587 does not get optimized out.
19588 (malloc_opt_barrier): New.
19589
19590 2012-05-03 Andreas Jaeger <aj@suse.de>
19591 Roland McGrath <roland@hack.frob.com>
19592
19593 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19594 intermediate file deletion.
19595 (generated): Add .symlist files.
19596
19597 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19598
19599 [BZ #13775]
19600 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19601 Redirect under this condition.
19602 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19603 [__USE_GNU] (__dprintf_chk): Not under this condition.
19604 [__USE_GNU] (__vdprintf_chk): Likewise.
19605 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19606 under this condition.
19607 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19608 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19609 [__USE_XOPEN2K8] (vdprintf): Likewise.
19610 [__USE_GNU] (__dprintf_chk): Not under this condition.
19611 [__USE_GNU] (__vdprintf_chk): Likewise.
19612 [__USE_GNU] (dprintf): Likewise.
19613 [__USE_GNU] (vdprintf): Likewise.
19614
19615 2012-05-03 Roland McGrath <roland@hack.frob.com>
19616
19617 * elf/Makefile (common-generated): Set this instead of generated for
19618 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19619 $(all-built-dso)-derived lists.
19620
19621 2012-05-03 Andreas Jaeger <aj@suse.de>
19622
19623 * sysdeps/i386/fpu/libm-test-ulps: Update.
19624
19625 * FAQ: Removed.
19626 * FAQ.in: Likewise.
19627 * scripts/gen-FAQ.pl: Likewise.
19628 * manual/install.texi (Installation): Point to online location of
19629 FAQ.
19630 * Makefile (files-for-dist): Remove FAQ.
19631 (FAQ): Remove.
19632
19633 2012-05-02 Allan McRae <allan@archlinux.org>
19634
19635 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19636 (LDFLAGS-reldepmod5.so): Likewise.
19637 (LDFLAGS-reldep6mod1.so): Likewise.
19638 (LDFLAGS-reldep6mod4.so): Likewise.
19639 (LDFLAGS-reldep8mod3.so): Likewise.
19640 (LDFLAGS-unload4mod1.so): Likewise.
19641 (LDFLAGS-unload4mod2.so): Likewise.
19642 (LDFLAGS-tst-initorder): Likewise.
19643 (LDFLAGS-tst-initordera2.so): Likewise.
19644 (LDFLAGS-tst-initordera3.so): Likewise.
19645 (LDFLAGS-tst-initordera4.so): Likewise.
19646 (LDFLAGS-tst-initorderb2.so): Likewise.
19647 (LDFLAGS-noload): Likewise.
19648 (LDFLAGS-next): Likewise.
19649 (LDFLAGS-order2mod1.so): Likewise.
19650 (LDFLAGS-order2mod2.so): Likewise.
19651 (LDFLAGS-tst-initorder2): Likewise.
19652 (LDFLAGS-tst-initorder2a.so): Likewise.
19653 (LDFLAGS-tst-initorder2b.so): Likewise.
19654 (LDFLAGS-tst-initorder2c.so): Likewise.
19655 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19656
19657 2012-05-02 David S. Miller <davem@davemloft.net>
19658
19659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19660
19661 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19662
19663 [BZ #14055]
19664 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19665
19666 2012-05-02 Andreas Jaeger <aj@suse.de>
19667
19668 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19669 since we manipulate rounding mode.
19670 (CPPFLAGS-test-idouble.c): Likewise.
19671 (CPPFLAGS-test-ifloat.c): Likewise.
19672 (CFLAGS-test-ldouble.c): Likewise.
19673 (CFLAGS-test-double.c): Likewise.
19674 (CFLAGS-test-float.c): Likewise.
19675 (CFLAGS-test-misc.c): Likewise.
19676 (CFLAGS-test-test-fenv.c): Likewise.
19677
19678 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19679
19680 [BZ #2550]
19681 [BZ #2570]
19682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19683 comparisons to determine direction to adjust input.
19684
19685 2012-05-01 Roland McGrath <roland@hack.frob.com>
19686
19687 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19688 output to the target.
19689
19690 * scripts/localplt.awk: New file.
19691 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19692 (check-localplt-CFLAGS): Variable removed.
19693 ($(all-built-dso:=.jmprel)): New static pattern rule.
19694 (generated): Add those targets.
19695 (localplt-built-dso): New variable.
19696 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19697
19698 * elf/check-localplt.c: File removed.
19699
19700 * scripts/check-execstack.awk: New file.
19701 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19702 (check-execstack-CFLAGS): Variable removed.
19703 ($(objpfx)check-execstack.h): Target removed.
19704 ($(objpfx)execstack-default): New target.
19705 (generated): Add that instead of check-execstack.h.
19706 ($(all-built-dso:=.phdr)): New static pattern rule.
19707 (generated): Add those targets.
19708 * elf/check-execstack.c: File removed.
19709
19710 * scripts/check-textrel.awk: New file.
19711 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19712 (check-textrel-CFLAGS): Variable removed.
19713 (all-built-dso): Use := to define.o
19714 ($(all-built-dso:=.dyn)): New static pattern rule.
19715 (generated): Add those targets.
19716 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19717 * config.make.in (READELF): New substituted variable.
19718 * elf/check-textrel.c: File removed.
19719
19720 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19721
19722 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19723 allow.
19724 * conform/data/ctype.h-data [C99-based standards] (isblank):
19725 Expect function.
19726 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19727 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19729 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19730 Specify type. Require positive value.
19731 (EILSEQ): Likewise.
19732 (ERANGE): Likewise.
19733 [ISO || POSIX] (EILSEQ): Do not expect.
19734 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19735 Specify type. Require positive value.
19736 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19737 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19738 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19739 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19740 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19741 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19742 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19743 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19744 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19745 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19746 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19747 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19748 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19749 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19750 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19751 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19752 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19753 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19754 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19755 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19756 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19757 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19758 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19759 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19760 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19761 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19762 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19763 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19764 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19765 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19766 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19767 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19768 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19769 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19770 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19771 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19772 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19773 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19774 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19775 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19776 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19777 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19778 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19779 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19780 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19781 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19782 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19783 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19784 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19785 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19786 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19787 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19788 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19789 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19790 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19791 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19792 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19793 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19794 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19795 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19796 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19797 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19798 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19799 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19800 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19801 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19802 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19803 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19804 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19805 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19806 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19807 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19808 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19809 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19810 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19811 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19812 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19813 Require >= 2.
19814 (FLT_ROUNDS): Expect as macro, not constant.
19815 (FLT_MANT_DIG): Use macro-int-constant.
19816 (DBL_MANT_DIG): Likewise.
19817 (LDBL_MANT_DIG): Likewise.
19818 (FLT_DIG): Likewise.
19819 (DBL_DIG): Likewise.
19820 (LDBL_DIG): Likewise.
19821 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19822 (DBL_MIN_EXP): Likewise.
19823 (LDBL_MIN_EXP): Likewise.
19824 (FLT_MAX_EXP): Use macro-int-constant.
19825 (DBL_MAX_EXP): Likewise.
19826 (LDBL_MAX_EXP): Likewise.
19827 (FLT_MAX_10_EXP): Likewise.
19828 (DBL_MAX_10_EXP): Likewise.
19829 (LDBL_MAX_10_EXP): Likewise.
19830 (FLT_MAX): Use macro-constant.
19831 (DBL_MAX): Likewise.
19832 (LDBL_MAX): Likewise.
19833 (FLT_EPSILON): Use macro-constant. Give upper bound.
19834 (DBL_EPSILON): Likewise.
19835 (LDBL_EPSILON): Likewise.
19836 (FLT_MIN): Likewise.
19837 (DBL_MIN): Likewise.
19838 (LDBL_MIN): Likewise.
19839 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19840 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19841 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19842 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19843 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19844 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19845 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19846 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19847 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19848 [ISO11] (FLT_TRUE_MIN): Likewise.
19849 [ISO11] (LDBL_TRUE_MIN): Likewise.
19850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19851 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19852 (SCHAR_MIN): Use macro-int-constant. Specify type.
19853 (SCHAR_MAX): Likewise.
19854 (UCHAR_MAX): Likewise.
19855 (CHAR_MIN): Likewise.
19856 (CHAR_MAX): Likewise.
19857 (MB_LEN_MAX): Use macro-int-constant.
19858 (SHRT_MIN): Use macro-int-constant. Specify type.
19859 (SHRT_MAX): Likewise.
19860 (USHRT_MAX): Likewise.
19861 (INT_MAX): Likewise.
19862 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19863 bound negative.
19864 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19865 bound with "U".
19866 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19867 bound with "L".
19868 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19869 bound negative. Suffix upper bound with "L".
19870 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19871 bound with "UL".
19872 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19873 Specify type.
19874 [C99-based standards] (LLONG_MAX): Likewise.
19875 [C99-based standards] (ULLONG_MAX): Likewise.
19876 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19877 == 0.
19878 [ISO11] (max_align_t): Require type.
19879 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19880
19881 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19882 from $CFLAGS, without defining away __attribute__ calls.
19883 (checknamespace): Use $CFLAGS_namespace.
19884
19885 * conform/conformtest.pl (@keywords): Only include C99 keywords
19886 for standards based on C99 or C11.
19887
19888 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19889 Disable tests.
19890 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19891 UNIX98]: Likewise.
19892
19893 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19894 usability of symbols in #if.
19895
19896 * conform/conformtest.pl: If macro or constant types start
19897 "promoted:", expect the symbol to be of the following type
19898 promoted by the integer promotions.
19899
19900 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19901 in one place. Also handle "macro-constant".
19902
19903 * conform/conformtest.pl: Only accept expected macro values with
19904 "==". Parse all "macro" lines in one place.
19905 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19906
19907 * conform/conformtest.pl: Handle braced types on "constant" lines
19908 instead of handling "typed-constant".
19909 * conform/data/signal.h-data: Use "constant" instead of
19910 "typed-constant".
19911
19912 * conform/conformtest.pl: Handle "optional-" at start of lines in
19913 one place rather than duplicating several cases. Handle each
19914 format of "macro" line with initial "optional-".
19915
19916 * conform/conformtest.pl: Only accept expected constant or
19917 optional-constant values with "==". Parse all "constant" lines in
19918 one place. Parse all "optional-constant" lines in one place.
19919 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19920 * conform/data/fmtmsg.h-data: Likewise.
19921 * conform/data/netinet/in.h-data: Likewise.
19922 * conform/data/tar.h-data: Likewise.
19923 * conform/data/limits.h-data: Use "==" form on "constant" and
19924 "optional-constant" lines.
19925
19926 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19927 Use -std=c99 for XOPEN2K.
19928 (@knownproblems): Remove.
19929 (newtoken): Don't check %isknown.
19930
19931 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19932 Do not expect macro.
19933 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19934 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19935 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19936 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19937 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19938 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19939 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19940 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19941 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19942 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19943 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19944 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19945 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19946 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19947 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19948 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19949 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19950 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19951 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19952 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19953 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19954 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19955 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19956 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19957 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19958 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19959 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19960 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19961 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19962 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19963 [XPG3] (acosh): Likewise.
19964 [XPG3] (asinh): Likewise.
19965 [XPG3] (atanh): Likewise.
19966 [XPG3] (cbrt): Likewise.
19967 [XPG3] (expm1): Likewise.
19968 [XPG3] (ilogb): Likewise.
19969 [XPG3] (log1p): Likewise.
19970 [XPG3] (logb): Likewise.
19971 [XPG3] (nextafter): Likewise.
19972 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19973 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19974 [XPG3] (remainder): Likewise.
19975 [XPG3] (rint): Likewise.
19976 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19977 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19978 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19979 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19980 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19981 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19982 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19983 [UNIX98 || XOPEN2K] (scalb): Expect.
19984 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19985 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19986 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19987 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19988 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19989 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19990 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19991 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19992 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19993 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19994 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19995 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19996 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19997 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19998 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19999 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20000 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20001 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20002 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20003 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20004 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20005 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20006 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20007 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20008 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20009 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20010 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20011 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20012 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20013 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20014 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20015 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20016 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20017 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20018 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20019 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20020 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20021 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20022 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20023 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20024 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20025 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20026 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20027 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20028 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20029 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20030 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20031 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20032 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20033 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20034 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20035 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20036 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20037 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20038 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20039 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20040 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20041 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20042 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20043 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20044 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20045 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20046 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20047 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20048 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20049 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20050 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20051 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20052 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20053 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20054 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20055 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20056 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20057 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20058 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20059 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20060 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20061 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20062 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20063 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20064 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20065 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20066 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20067 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20068 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20069 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20070 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20071 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20072 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20073 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20074 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20075 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20076 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20077 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20078 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20079 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20080 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20081 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20082 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20083 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20084 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20085 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20086 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20087 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20088 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20089 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20090 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20091 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20092 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20093 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20094 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20095 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20096 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20097 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20098 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20099 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20100 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20101 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20102 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20103 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20104 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20105 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20106 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20107 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20108 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20109 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20110 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20111 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20112 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20113 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20114 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20115 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20116 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20117 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20118 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20119 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20120 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20121
20122 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20123 _XOPEN_SOURCE_EXTENDED for XPG4.
20124
20125 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20126
20127 * Makeconfig (localtime): Remove variable.
20128 (inst_localtime-file): Likewise.
20129
20130 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20131
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20133 Update.
20134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20135 Update.
20136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20137 Update.
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20139 Update.
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20141 Update.
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20143 Update.
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20145 Update.
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20147 Update.
20148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20149 Update.
20150
20151 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20152
20153 [BZ #2550]
20154 [BZ #2570]
20155 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20156 comparisons to determine direction to adjust input.
20157 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20158 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20159 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20160 Likewise.
20161 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20162 Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20164 Likewise.
20165 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20166 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20167 Likewise.
20168 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20169 Likewise.
20170 * math/libm-test.inc (nexttoward_test): Add more tests.
20171
20172 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20173
20174 [BZ #14040]
20175 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20176 in version GLIBC_2.1, not GLIBC_2.0.
20177 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20178 Likewise.
20179
20180 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20181
20182 [BZ #13942]
20183 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20184 (1 - x) * (1 + x).
20185 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20186 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20187 * math/libm-test.inc (acos_test): Add more tests.
20188 (asin_test): Likewise.
20189 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20191
20192 [BZ #14034]
20193 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20194 of square root.
20195 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20196 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20197 * math/libm-test.inc (acos_test_tonearest): New function.
20198 (acos_test_towardzero): Likewise.
20199 (acos_test_downward): Likewise.
20200 (acos_test_upward): Likewise.
20201 (asin_test_tonearest): Likewise.
20202 (asin_test_towardzero): Likewise.
20203 (asin_test_downward): Likewise.
20204 (asin_test_upward): Likewise.
20205 (main): Call the new functions.
20206 * sysdeps/i386/fpu/libm-test-ulps: Update.
20207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20208
20209 [BZ #13884]
20210 [BZ #13924]
20211 * math/e_exp10.c: Include <float.h>.
20212 (__ieee754_exp10): Handle underflow here rather than multiplying
20213 large negative argument by M_LN10.
20214 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20215 of __ieee754_expf.
20216 * math/e_exp10l.c: Include <float.h>.
20217 (__ieee754_exp10l): Handle underflow here rather than multiplying
20218 large negative argument by M_LN10l.
20219 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20220 spurious overflow exception on underflow.
20221
20222 2012-04-29 Marek Polacek <polacek@redhat.com>
20223
20224 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20225 (__fortify_function): New macro.
20226 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20227 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20228 __extern_always_inline.
20229 * libio/bits/stdio2.h: Likewise.
20230 * libio/bits/stdio.h: Likewise.
20231 * string/string.h: Likewise.
20232 * string/bits/string3.h: Likewise.
20233 * include/stdio.h: Likewise.
20234 * stdlib/bits/stdlib.h: Likewise.
20235 * stdlib/stdlib.h: Likewise.
20236 * rt/bits/mqueue2.h: Likewise.
20237 * rt/mqueue.h: Likewise.
20238 * posix/bits/unistd.h: Likewise.
20239 * posix/unistd.h: Likewise.
20240 * io/bits/poll2.h: Likewise.
20241 * io/bits/fcntl2.h: Likewise.
20242 * io/fcntl.h: Likewise.
20243 * io/sys/poll.h: Likewise.
20244 * misc/bits/syslog.h: Likewise.
20245 * misc/bits/syslog-ldbl.h: Likewise.
20246 * misc/sys/syslog.h: Likewise.
20247 * socket/bits/socket2.h: Likewise.
20248 * socket/sys/socket.h: Likewise.
20249 * debug/tst-chk1.c: Likewise.
20250 * wcsmbs/bits/wchar2.h: Likewise.
20251 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20252 * wcsmbs/wchar.h: Likewise.
20253
20254 2012-04-29 Andreas Jaeger <aj@suse.de>
20255
20256 * Makerules (tests): Remove enable-check-abi protection.
20257 (check-abi-warn): Remove.
20258 (check-abi-%): Remove check-abi-warn usage.
20259
20260 * configure.in: Remove check-abi configure option.
20261 * configure: Regenerated.
20262 * config.make.in (enable-check-abi): Remove.
20263
20264 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20265
20266 [BZ #14033]
20267 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20268 double functions to double *_finite functions.
20269
20270 [BZ #13941]
20271 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20272 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20273 LDBL_MIN_EXP.
20274 * stdio-common/Makefile (tests): Add tst-sprintf3.
20275 * stdio-common/tst-sprintf3.c: New file.
20276
20277 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20278 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20279
20280 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20281
20282 * conform/conformtest.pl: Remove duplicate typed-constant
20283 handling.
20284
20285 2012-04-28 David S. Miller <davem@davemloft.net>
20286
20287 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20288 (check-abi-%): Remove AWK script prerequisite and explicit
20289 abilist directory.
20290 (check-abi): Rewrite to just diff the symlist with the abilist.
20291 (config-tls, config-abi-config): Delete, no longer used.
20292 (update-abi-%): Remove AWK script and explicit abilist directory.
20293 (update-abi): Rewrite to simply compare and conditionally copy the
20294 symlist and the sysdep abilist file. Remove update-abi-config
20295 checks.
20296 * abilist/ld.abilist: Remove.
20297 * abilist/libBrokenLocale.abilist: Remove.
20298 * abilist/libanl.abilist: Remove.
20299 * abilist/libcrypt.abilist: Remove.
20300 * abilist/libdl.abilist: Remove.
20301 * abilist/librt.abilist: Remove.
20302 * abilist/libthread_db.abilist: Remove.
20303 * abilist/libutil.abilist: Remove.
20304 * scripts/extract-abilist.awk: Remove.
20305 * scripts/merge-abilist.awk: Remove.
20306 * sysdeps/generic/libcidn.abilist: New file.
20307 * sysdeps/generic/libnss_compat.abilist: New file.
20308 * sysdeps/generic/libnss_db.abilist: New file.
20309 * sysdeps/generic/libnss_dns.abilist: New file.
20310 * sysdeps/generic/libnss_files.abilist: New file.
20311 * sysdeps/generic/libnss_hesiod.abilist: New file.
20312 * sysdeps/generic/libnss_nis.abilist: New file.
20313 * sysdeps/generic/libnss_nisplus.abilist: New file.
20314 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20315 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20316 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20317 file.
20318 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20319 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20320 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20321 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20322 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20323 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20324 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20325 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20326 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20327 file.
20328 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20329 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20330 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20331 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20332 file.
20333 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20334 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20335 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20336 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20337 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20338 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20339 file.
20340 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20341 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20342 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20343 file.
20344 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20346 New file.
20347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20348 New file.
20349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20350 New file.
20351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20352 New file.
20353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20354 New file.
20355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20356 New file.
20357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20358 New file.
20359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20360 New file.
20361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20362 New file.
20363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20364 New file.
20365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20366 New file.
20367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20368 New file.
20369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20370 New file.
20371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20372 file.
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20374 New file.
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20376 New file.
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20378 file.
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20380 New file.
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20382 New file.
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20384 file.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20386 New file.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20388 New file.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20390 New file.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20392 New file.
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20394 New file.
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20396 New file.
20397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20399 file.
20400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20401 New file.
20402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20403 file.
20404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20405 file.
20406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20407 file.
20408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20409 file.
20410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20411 file.
20412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20413 New file.
20414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20415 file.
20416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20417 file.
20418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20419 New file.
20420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20421 file.
20422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20424 file.
20425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20426 New file.
20427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20428 file.
20429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20430 file.
20431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20432 file.
20433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20434 file.
20435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20436 file.
20437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20438 New file.
20439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20440 file.
20441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20442 file.
20443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20444 New file.
20445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20446 file.
20447 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20448 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20449 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20450 file.
20451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20452 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20453 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20454 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20455 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20456 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20457 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20458 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20459 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20460 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20463 file.
20464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20465 New file.
20466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20467 file.
20468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20469 file.
20470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20471 file.
20472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20473 file.
20474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20475 file.
20476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20477 New file.
20478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20479 New file.
20480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20481 file.
20482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20483 New file.
20484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20485 file.
20486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20488 file.
20489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20490 New file.
20491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20492 file.
20493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20494 file.
20495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20496 file.
20497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20498 file.
20499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20500 file.
20501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20502 New file.
20503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20504 New file.
20505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20506 file.
20507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20508 New file.
20509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20510 file.
20511
20512 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20513
20514 * conform/conformtest.pl: Fix typo in handling typed-constant from
20515 allow-header.
20516
20517 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20518
20519 * README: Cut down references to pre-2.6 Linux kernels and
20520 Linuxthreads. Update lists of configurations in libc and ports
20521 and sort alphabetically. Say "or newer" with Linux kernel version
20522 requirements.
20523
20524 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20525
20526 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20527
20528 [BZ #887]
20529 * math/libm-test.inc (logb_test_downward): New test to expose
20530 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20531 rounding mode.
20532
20533 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20534
20535 [BZ #14027]
20536 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20537 to be done.
20538 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20539 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20540
20541 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20542
20543 * sysdeps/unix/i386/brk.S: Remove file.
20544 * sysdeps/unix/i386/dl-brk.S: Likewise.
20545 * sysdeps/unix/i386/pipe.S: Likewise.
20546 * sysdeps/unix/i386/sigreturn.S: Likewise.
20547 * sysdeps/unix/i386/syscall.S: Likewise.
20548 * sysdeps/unix/i386/vfork.S: Likewise.
20549 * sysdeps/unix/i386/wait.S: Likewise.
20550
20551 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20552 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20553
20554 * configure.in (arm*-none*): Do not allow without
20555 --enable-hacker-mode.
20556 (netbsd*): Remove case setting base_os.
20557 (386bsd*): Likewise.
20558 (freebsd*): Likewise.
20559 (bsdi*): Likewise.
20560 (osf*): Likewise.
20561 (sunos*): Likewise.
20562 (ultrix*): Likewise.
20563 (newsos*): Likewise.
20564 (dynix*): Likewise.
20565 (*bsd*): Likewise.
20566 (sysv*): Likewise.
20567 (isc*): Likewise.
20568 (esix*): Likewise.
20569 (sco*): Likewise.
20570 (minix*): Likewise.
20571 (irix4*): Likewise.
20572 (irix6*): Likewise.
20573 (solaris[2-9]*): Likewise.
20574 (none): Likewise.
20575 * configure: Regenerated.
20576
20577 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20578
20579 [BZ #11521]
20580 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20581 overflow or cancellation in calculating denominator.
20582 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20584 down expression to avoid unexpected rounding in newer GCCs.
20585 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20586
20587 2012-04-26 David S. Miller <davem@davemloft.net>
20588
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20590 long-double compat symbols.
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20604
20605 2012-04-25 David S. Miller <davem@davemloft.net>
20606
20607 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20608 HWCAP_* values only after the memory barriers have been defined.
20609 (atomic_full_barrier): Define.
20610 (atomic_read_barrier): Define.
20611 (atomic_write_barrier): Define.
20612
20613 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20614
20615 * shlib-versions: Add libgcc_s version information.
20616 * sysdeps/generic/libgcc_s.h: Remove.
20617 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20618 libgcc_s.h.
20619 * sysdeps/gnu/unwind-resume.c: Likewise.
20620 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20621
20622 2012-04-25 David S. Miller <davem@davemloft.net>
20623
20624 * sysdeps/unix/sparc/brk.S: Delete.
20625 * sysdeps/unix/sparc/dl-brk.S: Delete.
20626 * sysdeps/unix/sparc/pipe.S: Delete.
20627 * sysdeps/unix/sparc/sysdep.S: Delete.
20628 * sysdeps/unix/sparc/sysdep.h: Delete.
20629 * sysdeps/unix/sparc/vfork.S: Delete.
20630 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20631 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20632 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20633 ret_ERRVAL, r0, r1, MOVE): Define.
20634 (JUMPTARGET): Remove.
20635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20636 sysdeps/unix/sparc/sysdep.h
20637 (ENTRY, END): Remove.
20638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20639
20640 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20641
20642 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20643 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20644 -DIS_IN_build.
20645
20646 * timezone/README: Update upstream location and email address for
20647 tzcode and tzdata.
20648 * timezone/zdump.c: Update from tzcode 2012b.
20649 * timezone/zic.c: Likewise.
20650
20651 * configure.in (libc_cv_as_needed): Remove test.
20652 * configure: Regenerated.
20653 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20654 conditional definition.
20655 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20656 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20657 * config.make.in (have-as-needed): Remove variable.
20658
20659 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20660 Paul Pluzhnikov <ppluzhnikov@google.com>
20661
20662 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20663 strings correctly.
20664
20665 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20666
20667 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20668 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20669 * sysdeps/sh/strlen.S: Likewise.
20670
20671 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20672
20673 * sysdeps/unix/fork.S: Remove file.
20674 * sysdeps/unix/i386/fork.S: Likewise.
20675 * sysdeps/unix/sparc/fork.S: Likewise.
20676
20677 * sysdeps/unix/system.c: Remove file.
20678 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20679
20680 * sysdeps/unix/getegid.S: Remove file.
20681 * sysdeps/unix/geteuid.S: Likewise.
20682
20683 2012-04-24 Roland McGrath <roland@hack.frob.com>
20684
20685 * scripts/check-localplt.awk: New file.
20686 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20687 of diff.
20688 * scripts/data/localplt-generic.data: Add a comment.
20689
20690 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20691 NODE when __dir_mkfile failed.
20692 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20693 Reported by Ludovic Courtès <ludo@gnu.org>.
20694
20695 2012-04-24 Andreas Jaeger <aj@suse.de>
20696
20697 * Makerules (common-clean): Also remove gen-as-const-headers
20698 files.
20699
20700 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20701
20702 * Makerules (native-compile): Do not change working directory for
20703 build. Use $(OUTPUT_OPTION) in command.
20704 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20705
20706 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20707
20708 [BZ #13886]
20709 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20710 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20711 * math/libm-test.inc (floor_test): Add more tests.
20712 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20713
20714 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20715
20716 * sysdeps/unix/getdents.c: Remove file.
20717 * sysdeps/unix/sysv/getdents.c: Likewise.
20718 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20719
20720 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20721 sysdeps/unix/mman/syscalls.list.
20722 (mmap): Likewise.
20723 (mprotect): Likewise.
20724 (msync): Likewise.
20725 (munmap): Likewise.
20726 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20727 * sysdeps/unix/mman/syscalls.list: Remove.
20728 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20729
20730 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20731 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20732 * configure: Regenerated.
20733 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20734 $(libgcc_s_suffix).
20735 * config.make.in (libgcc_s_suffix): Remove variable.
20736
20737 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20738
20739 * sysdeps/unix/sysv/gethostname.c: Move to ...
20740 * sysdeps/posix/gethostname.c: ... here.
20741
20742 * sysdeps/unix/execve.S: Remove file.
20743
20744 * sysdeps/unix/_exit.S: Remove file.
20745
20746 2012-04-23 Andreas Jaeger <aj@suse.de>
20747
20748 [BZ #13739]
20749 * manual/Makefile: Remove make dist support, there's no
20750 need for a stand-alone documentation tar ball.
20751 (TEXI2DVI): Define always, it's not in Makeconfig.
20752 (dist): Removed.
20753 (tar-it): Removed.
20754 (edition): Removed.
20755 (glibc-doc-$(edition).tar): Removed
20756 (%.Z): Removed.
20757 (%.gz): Removed.
20758 (%.uu): Removed.
20759 (ETAGS): Remove, it's in Makeconfig.
20760 (move-if-change): Remove, it's in Makeconfig.
20761
20762 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20763
20764 [BZ #13970]
20765 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20766 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20767 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20768 (strtod_l, strtof_l, strtold_l): Remove __wur.
20769 It is not necessarily an error to ignore strtol's return value.
20770 One can reliably look at the stored endptr to decide whether
20771 the number had valid syntax.
20772
20773 2012-04-21 Andreas Jaeger <aj@suse.de>
20774
20775 [BZ #13739]
20776 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20777
20778 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20779
20780 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20781 * sysdeps/unix/sysv/Versions: Remove file.
20782
20783 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20784
20785 [BZ #13927]
20786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20787
20788 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20789
20790 [BZ #7064]
20791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20792 version from __vm86.
20793
20794 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20795
20796 * sysdeps/unix/common/lxstat.c: Remove file.
20797 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20798
20799 * sysdeps/unix/sysv/Makefile: Remove file.
20800
20801 * sysdeps/unix/sysv/direct.h: Remove file.
20802
20803 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20804 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20805 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20806 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20807 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20808 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20809 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20810
20811 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20812
20813 * sysdeps/unix/xmknod.c: Remove file.
20814 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20815
20816 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20817
20818 * sysdeps/unix/sysv/i386/time.S: Remove file.
20819
20820 * sysdeps/unix/fxstat.c: Remove file.
20821 * sysdeps/unix/xstat.c: Likewise.
20822 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20823
20824 * sysdeps/unix/sysv/sigaction.c: Remove file.
20825
20826 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20827 (sysdep_headers): Remove variable.
20828 [termio.h not in sysdep_headers] (generated): Likewise.
20829 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20830 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20831 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20832 * sysdeps/unix/sysv/tcflow.c: Likewise.
20833 * sysdeps/unix/sysv/tcflush.c: Likewise.
20834 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20835 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20836 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20837 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20838 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20839
20840 * sysdeps/unix/siglist.c: Remove file.
20841
20842 * sysdeps/unix/getppid.S: Remove file.
20843
20844 * sysdeps/unix/mkdir.c: Remove file.
20845 * sysdeps/unix/rmdir.c: Likewise.
20846
20847 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20848
20849 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20850 ERR_MAX value.
20851 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20852 errlist-compat value.
20853
20854 2012-04-18 David S. Miller <davem@davemloft.net>
20855
20856 * sysdeps/generic/memcopy.h (reg_char): Delete.
20857 * debug/strcat_chk.c: Use char, not reg_char.
20858 * debug/strcpy_chk.c: Likewise.
20859 * debug/strncat_chk.c: Likewise.
20860 * debug/strncpy_chk.c: Likewise.
20861 * string/memchr.c: Likewise.
20862 * string/memrchr.c: Likewise.
20863 * string/rawmemchr.c: Likewise.
20864 * string/strcat.c: Likewise.
20865 * string/strchr.c: Likewise.
20866 * string/strchrnul.c: Likewise.
20867 * string/strcmp.c: Likewise.
20868 * string/strcpy.c: Likewise.
20869 * string/strncat.c: Likewise.
20870 * string/strncmp.c: Likewise.
20871 * string/strncpy.c: Likewise.
20872
20873 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20874
20875 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20876 __builtin_memcopy is called when src and dest ranges are known to not
20877 overlap.
20878
20879 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20880
20881 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20882 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20883 fwd_align_merge macro call.
20884 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20885 bwd_align_merge macro call.
20886 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20887
20888 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20889
20890 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20891 bwd_align_merge macros.
20892 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20893 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20894 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20895
20896 2012-04-18 David S. Miller <davem@davemloft.net>
20897
20898 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20899
20900 2012-04-18 Andreas Jaeger <aj@suse.de>
20901
20902 [BZ# 6794]
20903 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20904 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20905 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20906
20907 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20908 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20909 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20910
20911 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20912 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20913 Adjust for changed ldbl-128 files.
20914
20915 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20916 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20917 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20918
20919 2012-04-17 David S. Miller <davem@davemloft.net>
20920
20921 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20922
20923 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20924
20925 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20926 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20927 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20928 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20929 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20930 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20931
20932 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20933
20934 [BZ #6794]
20935 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20936 * math/libm-test.inc: Add ilogb errno and exception tests.
20937 * math/w_ilogb.c: New file: ilogb wrapper.
20938 * math/w_ilogbf.c: New file: ilogbf wrapper.
20939 * math/w_ilogbl.c: New file: ilogbl wrapper.
20940 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20941 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20942 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20943 exception being thrown with 0.0 as argument.
20944 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20945 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20946 exception being thrown with 0.0 as argument.
20947 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20948 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20949 exception being thrown with 0.0 as argument.
20950 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20951 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20952 exception being thrown with 0.0 as argument.
20953 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20954 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20955 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20956 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20957 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20958 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20959 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20960 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20961 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20962
20963 2012-04-17 Petr Baudis <pasky@ucw.cz>
20964
20965 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20966 with altivec.
20967
20968 2012-04-16 Marek Polacek <polacek@redhat.com>
20969
20970 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20971
20972 2012-04-16 Marek Polacek <polacek@redhat.com>
20973
20974 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20975 operands of fdivp instruction.
20976
20977 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20978
20979 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20980 * elf/tst-auditmod3b.c: Likewise.
20981 * elf/tst-auditmod4b.c: Likewise.
20982 * elf/tst-auditmod5b.c: Likewise.
20983 * elf/tst-auditmod6b.c: Likewise.
20984 * elf/tst-auditmod6c.c: Likewise.
20985 * elf/tst-auditmod7b.c: Likewise.
20986 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20987 * sysdeps/x86_64/preconfigure.in: Likewise.
20988 * sysdeps/x86_64/preconfigure: Regenerated.
20989
20990 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20991
20992 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20993 __ILP32__.
20994
20995 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20996
20997 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20998 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20999
21000 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21001
21002 [BZ #13973]
21003 * locale/iso-639.def: Fix gl language name. Spotted by
21004 Yaron Shahrabani.
21005
21006 2012-04-12 Roland McGrath <roland@hack.frob.com>
21007
21008 [BZ #2074]
21009 * libio/libio.h (__io_write_fn): Update comment.
21010
21011 2012-04-12 Petr Baudis <pasky@ucw.cz>
21012
21013 [BZ #2074]
21014 * stdio.texi (Hook Functions): The user provided writer function
21015 is not allowed to return -1.
21016
21017 2012-04-11 David S. Miller <davem@davemloft.net>
21018
21019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21020
21021 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21022
21023 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21024 Add a leading slash to rtkaio.
21025
21026 2012-04-11 Jim Meyering <meyering@redhat.com>
21027
21028 [BZ #11959]
21029 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21030 It is not necessarily an error to ignore fwrite's return
21031 value. One can reliably use ferror to test for errors after
21032 the fact.
21033
21034 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21035
21036 * bits/types.h (__snseconds_t): New type.
21037 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21038
21039 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21041 (__SNSECONDS_T_TYPE): Likewise.
21042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21043 (__SNSECONDS_T_TYPE): Likewise.
21044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21045 (__SNSECONDS_T_TYPE): Likewise.
21046
21047 2012-04-10 Andreas Jaeger <aj@suse.de>
21048
21049 [BZ #2636]
21050 * manual/time.texi (Processor Time): Return type of times is
21051 elapsed real time since an arbitrary point in the past.
21052 (CPU Time): Move CLK_TCK from here...
21053 (Processor Time): ...to here. Correct description.
21054 * manual/conf.texi (Constants for Sysconf): Correct description of
21055 _SC_CLK_TCK.
21056
21057 2012-04-10 David S. Miller <davem@davemloft.net>
21058
21059 [BZ #13967]
21060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21061 where the is a gap between DT_REL(A) and DT_JMPREL.
21062
21063 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21064
21065 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21066 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21067 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21068
21069 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21070
21071 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21072 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21073 (dl_main): Handle --inhibit-cache.
21074 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21075 _dl_inhibit_cache.
21076 * elf/dl-load.c (_dl_map_object): Use it.
21077 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21078
21079 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21080
21081 [BZ #13872]
21082 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21083 (__ieee754_powl): Saturate large exponents rather than testing for
21084 overflow of y*log2(x).
21085 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21086 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21087 exceptions.
21088
21089 [BZ #11521]
21090 * math/s_ctan.c: Include <float.h>.
21091 (__ctan): Avoid internal overflow or cancellation in calculating
21092 denominator.
21093 * math/s_ctanf.c: Likewise.
21094 * math/s_ctanl.c: Likewise.
21095 * math/s_ctanh.c: Likewise.
21096 * math/s_ctanhf.c: Likewise.
21097 * math/s_ctanhl.c: Likewise.
21098 * math/libm-test.inc (ctan_test): Add more tests.
21099 (ctanh_test): Likewise.
21100 * sysdeps/i386/fpu/libm-test-ulps: Update.
21101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21102
21103 2012-04-09 Andreas Jaeger <aj@suse.de>
21104
21105 [BZ #6894]
21106 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21107 is an optional BSD extension.
21108
21109 [BZ #10254]
21110 * manual/stdio.texi (Opening Streams): Document additional fopen
21111 parameters.
21112
21113 2012-04-09 Roland McGrath <roland@hack.frob.com>
21114
21115 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21116 %eax without telling the compiler.
21117
21118 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21119
21120 [BZ # 13963]
21121 * manual/install.texi: Use sourceware.org.
21122
21123 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21124
21125 [BZ #13873]
21126 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21127 (__ieee754_pow): Generate overflow and underflow using huge*huge
21128 and tiny*tiny rather than just returning constant infinity or zero
21129 for large exponents.
21130 * math/libm-test.inc (pow_test): Require overflow exceptions for
21131 applicable cases of large exponents.
21132
21133 [BZ #706]
21134 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21135 (__ieee754_pow): Use iterative multiplication algorithm only for
21136 integer exponents with absolute value below 1024. Check for odd
21137 integer exponents when using algorithm for real exponents.
21138 * math/libm-test.inc (pow_test): Add more tests.
21139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21140
21141 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21142
21143 [BZ #13705]
21144 * math/libm-test.inc (exp_test): Do not allow overflow exception
21145 on underflow test.
21146
21147 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21148
21149 [BZ #13705]
21150 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21151 instead of __kernel_standard_f.
21152
21153 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21154
21155 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21156 * sysdeps/x86_64/memset_chk.S: Likewise.
21157
21158 2012-04-08 Andreas Jaeger <aj@suse.de>
21159
21160 [BZ #10153]
21161 * manual/startup.texi (Environment Access): Describe return value
21162 for putenv and setenv.
21163
21164 [BZ #6895]
21165 * manual/filesys.texi (Directory Entries): Add description for
21166 DT_LNK.
21167
21168 [BZ #6890]
21169 * manual/filesys.texi (Directory Entries): Clarify that it's file
21170 system not operating system in the description of DT_UNKNOWN.
21171
21172 [BZ #6578]
21173 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21174
21175 2012-04-08 Stephen Compall <s11@member.fsf.org>
21176
21177 [BZ #6649]
21178 * manual/llio.texi (Opening and Closing Files): Add cross
21179 reference to explain mode argument.
21180
21181 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21182
21183 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21184 * sysdeps/x86_64/memset_chk.S: Likewise.
21185
21186 2012-04-07 David S. Miller <davem@davemloft.net>
21187
21188 * elf/elf.h (R_SPARC_WDISP10): Define.
21189 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21190 R_SPARC_SIZE32.
21191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21192 R_SPARC_SIZE64 and R_SPARC_H34.
21193
21194 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21195
21196 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21197 conditions and remove no longer applicable assertion.
21198
21199 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21200
21201 * bits/byteswap.h: Include <features.h>.
21202 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21203 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21204
21205 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21206
21207 * bits/byteswap.h (__bswap_16): Removed.
21208 Include <bits/byteswap-16.h> to get __bswap_16.
21209 * sysdeps/i386/bits/byteswap.h: Likewise.
21210 * sysdeps/s390/bits/byteswap.h: Likewise.
21211 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21212 * bits/byteswap-16.h: New file.
21213 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21214 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21215 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21216 * string/Makefile (headers): Add bits/byteswap-16.h.
21217
21218 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21219
21220 [BZ #13895]
21221 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21222 extra indirection.
21223 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21224 * nss/tst-nss-static.c: New.
21225
21226 2012-04-06 Robert Millan <rmh@gnu.org>
21227
21228 [BZ #6486]
21229 * manual/llio.texi (File Position Primitive): lseek
21230 refers to WHENCE when it really means OFFSET.
21231
21232 2012-04-06 Andreas Jaeger <aj@suse.de>
21233
21234 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21235 strncmp declarations.
21236
21237 * abilist/libc.abilist: Add __poll and __ppoll.
21238
21239 2012-04-05 David S. Miller <davem@davemloft.net>
21240
21241 * scripts/check-local-headers.sh: Accept a host triplet in the
21242 path matched by the exclude regexp.
21243
21244 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21245 definition.
21246 * sysdeps/powerpc/powerpc32/dl-machine.h
21247 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21248 * sysdeps/s390/s390-32/dl-machine.h
21249 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21250 * sysdeps/sparc/sparc32/dl-machine.h
21251 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21252 * sysdeps/sparc/sparc64/dl-machine.h
21253 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21254
21255 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21256 lazy binding.
21257 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21258 undefined symbol errors.
21259
21260 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21261 DT_NEEDED entries.
21262
21263 2012-04-05 Michael Matz <matz@suse.de>
21264
21265 [BZ #13592]
21266 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21267
21268 2012-04-05 Andreas Jaeger <aj@suse.de>
21269
21270 [BZ #13908]
21271 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21272 comment.
21273
21274 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21275
21276 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21277 which ROUND is no valid rounding mode.
21278
21279 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21280
21281 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21282 read again.
21283 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21284
21285 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21286
21287 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21288 an exception using FPU order intentionally.
21289
21290 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21291
21292 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21293 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21294 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21295 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21296
21297 2012-04-05 Simon Josefsson <simon@josefsson.org>
21298
21299 [BZ #12340]
21300 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21301 EINVAL when BUFLEN is too smal.
21302
21303 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21304
21305 [BZ #13553]
21306 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21307 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21308
21309 2012-04-03 Andreas Jaeger <aj@suse.de>
21310
21311 [BZ #13938]
21312 * manual/setjmp.texi (System V contexts): Fix sentence.
21313
21314 [BZ #13926]
21315 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21316 New macro for this case.
21317 [!__GNUC__] (__bswap_64): New inline function for this case.
21318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21319 * bits/byteswap.h: Likewise.
21320 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21321 ull, guard with __GLIBC_HAVE_LONG_LONG.
21322
21323 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21324 __GLIBC_HAVE_LONG_LONG.
21325
21326 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21327 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21328
21329 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21330
21331 [BZ #13691]
21332 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21333 inptr and inend, rather than using last_ch.
21334
21335 2012-04-02 David S. Miller <davem@davemloft.net>
21336
21337 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21338 * stdio-common/printf-parse.h (read_int): Change return type to
21339 'int', return -1 on INT_MAX overflow.
21340 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21341 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21342 overflows INT_MAX. Check for overflow of in-format-string precision
21343 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21344 SIZE_MAX not INT_MAX for integer overflow test.
21345 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21346 skip the construct in the format string but do not record anything.
21347 * stdio-common/bug22.c: Adjust to test both width/prevision
21348 INT_MAX overflow as well as total length INT_MAX overflow. Check
21349 explicitly for proper errno values.
21350
21351 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21352
21353 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21354 CHAR_MAX.
21355 * string/test-strcmp.c [! WIDE]: Likewise.
21356 * time/tst-mktime2.c: Likewise for INT_MAX.
21357 * string/test-string.h: #include <sys/param.h> for MIN.
21358
21359 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21360 * sysdeps/i386/init-first.c (init): Likewise.
21361 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21362 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21363 * sysdeps/sh/init-first.c (init): Likewise.
21364
21365 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21366
21367 * po/ru.po: Update from translation team.
21368 * po/vi.po: Likewise.
21369
21370 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21371
21372 * resolv/nss_dns/dns-host.c: Merge copyright years.
21373
21374 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21375
21376 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21377 Optimize memcpy with prefetch if
21378 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21379 src, dst pointers have unequal 16 byte alignments.
21380
21381 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21382
21383 [BZ #13928]
21384 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21385 from a CNAME entry and return the minimum ttl for the query.
21386 (gaih_getanswer_slice): Likewise.
21387
21388 2012-03-30 Jeff Law <law@redhat.com>
21389
21390 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21391 due to long keys.
21392 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21393 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21394
21395 * resolv/nss_dns/dns-host.c: Update copyright year.
21396
21397 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21398
21399 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21400 requests to save a system call. Fix check that all bytes are sent.
21401
21402 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21403 comments for sendmmsg.
21404
21405 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21406
21407 [BZ #13691]
21408 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21409 with only 1 character between 0x0041 and 0x01b0.
21410 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21411 * wcsmbs/tst-mbsnrtowcs.c: New file.
21412
21413 2012-03-29 David S. Miller <davem@davemloft.net>
21414
21415 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21416 small copies by hand.
21417
21418 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21419
21420 [BZ #13761]
21421 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21422 _nss_compat_initgroups_dyn): Fall back to malloc/free
21423 for large group memberships.
21424
21425 2012-03-28 David S. Miller <davem@davemloft.net>
21426
21427 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21428 that branches into memcpy.
21429 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21431 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21432 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21434 bits.
21435 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21436 implementation too.
21437 * sysdeps/sparc/mempcpy.S: New file.
21438
21439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21440 the IFUNC routine in the libc case.
21441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21442
21443 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21444 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21445 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21446 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21447 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21448 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21449 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21450 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21451
21452 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21453 loop to 256 bytes instead of 64 bytes and fix test signedness.
21454
21455 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21456 * sysdeps/sparc/sparc32/Makefile: rather than here...
21457 * sysdeps/sparc/sparc64/Makefile: and here.
21458
21459 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21460
21461 * malloc/mallocbug.c: Avoid warnings about unused variables.
21462
21463 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21464
21465 [BZ #13760]
21466 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21467 in the right place. Discard and retry query if response is
21468 larger than input buffer size.
21469
21470 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21471
21472 [BZ #369]
21473 [BZ #2678]
21474 [BZ #3866]
21475 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21476 x for large integer exponent.
21477 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21478 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21479 sign of result as needed afterwards.
21480 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21481 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21482 result for underflowing pow the same as for overflow.
21483 (__kernel_standard_l): Handle powl overflow and underflow here
21484 rather than calling __kernel_standard.
21485 * math/libm-test.inc (pow_test): Add more tests.
21486
21487 [BZ #3868]
21488 [BZ #13879]
21489 [BZ #13910]
21490 [BZ #13911]
21491 [BZ #13912]
21492 [BZ #13913]
21493 [BZ #13915]
21494 [BZ #13916]
21495 [BZ #13917]
21496 [BZ #13918]
21497 [BZ #13919]
21498 [BZ #13920]
21499 [BZ #13921]
21500 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21501 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21502 (__kernel_standard_l): New function.
21503 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21504 __kernel_standard.
21505 * math/w_acosl.c (__acosl): Likewise.
21506 * math/w_asinl.c (__asinl): Likewise.
21507 * math/w_atan2l.c (__atan2l): Likewise.
21508 * math/w_atanhl.c (__atanhl): Likewise.
21509 * math/w_coshl.c (__coshl): Likewise.
21510 * math/w_exp10l.c (__exp10l): Likewise.
21511 * math/w_exp2l.c (__exp2l): Likewise.
21512 * math/w_fmodl.c (__fmodl): Likewise.
21513 * math/w_hypotl.c (__hypotl): Likewise.
21514 * math/w_j0l.c (__j0l, __y0l): Likewise.
21515 * math/w_j1l.c (__j1l, __y1l): Likewise.
21516 * math/w_jnl.c (__jnl, __ynl): Likewise.
21517 * math/w_lgammal.c (__lgammal): Likewise.
21518 * math/w_log10l.c (__log10l): Likewise.
21519 * math/w_log2l.c (__log2l): Likewise.
21520 * math/w_logl.c (__logl): Likewise.
21521 * math/w_powl.c (__powl): Likewise.
21522 * math/w_remainderl.c (__remainderl): Likewise.
21523 * math/w_scalbl.c (sysv_scalbl): Likewise.
21524 * math/w_sinhl.c (__sinhl): Likewise.
21525 * math/w_sqrtl.c (__sqrtl): Likewise.
21526 * math/w_tgammal.c (__tgammal): Likewise.
21527 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21528 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21529 * math/libm-test.inc (acos_test): Add more tests.
21530 (acosh_test): Likewise.
21531 (asin_test): Likewise.
21532 (atanh_test): Likewise.
21533 (exp_test): Likewise.
21534 (exp10_test): Likewise.
21535 (exp2_test): Likewise.
21536 (expm1_test): Likewise.
21537 (lgamma_test): Likewise.
21538 (log_test): Likewise.
21539 (log10_test): Likewise.
21540 (log1p_test): Likewise.
21541 (log2_test): Likewise.
21542 (pow_test): Do not allow some spurious overflow exceptions.
21543 (sqrt_test): Add more tests.
21544 (tgamma_test): Likewise.
21545 (y0_test): Likewise.
21546 (y1_test): Likewise.
21547 (yn_test): Likewise.
21548
21549 2012-03-27 Anton Blanchard <anton@samba.org>
21550
21551 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21552 MAP_HUGETLB.
21553 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21554 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21555 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21556
21557 2012-03-27 David S. Miller <davem@davemloft.net>
21558
21559 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21560
21561 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21562 have-as-vis3 check.
21563
21564 2012-03-27 Andreas Jaeger <aj@suse.de>
21565
21566 * sysdeps/x86_64/elf/configure.in: Moved to ...
21567 * sysdeps/x86_64/configure.in: ... here.
21568 * sysdeps/x86_64/elf/start.S: Moved to ...
21569 * sysdeps/x86_64/start.S: ... here.
21570 * sysdeps/x86_64/elf/configure: Delete.
21571
21572 * sysdeps/x86_64/configure.in: Merge contents from
21573 sysdeps/i386/configure.in (without i686 check).
21574
21575 * sysdeps/i386/elf/Versions: Merge into ...
21576 * sysdeps/i386/Versions: ... this.
21577 * sysdeps/i386/elf/Versions: Delete file.
21578 * sysdeps/i386/elf/start.S: Moved to ...
21579 * sysdeps/i386/start.S: ...here.
21580 * sysdeps/i386/elf/configure.in: Merge into...
21581 * sysdeps/i386/configure.in: ...here.
21582 * sysdeps/i386/elf/configure.in: Delete file.
21583 * sysdeps/i386/elf/configure: Delete file.
21584
21585 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21586 * debug/backtracesyms.c: ... here.
21587 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21588 * debug/backtracesymsfd.c: ... here.
21589 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21590 * sysdeps/generic/ifunc-sel.h: ... here.
21591
21592 * sysdeps/unix/i386/start.c: Delete file.
21593 * sysdeps/unix/sparc/start.c: Delete file.
21594 * sysdeps/unix/start.c: Delete file.
21595
21596 * sysdeps/sh/elf/configure.in: Moved to ...
21597 * sysdeps/sh/configure.in: ... here.
21598 * sysdeps/sh/elf/start.S: Moved to ...
21599 * sysdeps/sh/start.S: ... here.
21600 * sysdeps/sh/elf/configure: Delete file.
21601
21602 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21603 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21604 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21605 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21606 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21607 * sysdeps/powerpc/powerpc64/start.S: here.
21608 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21609 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21610 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21611 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21612 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21613
21614 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21615 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21616 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21617 * sysdeps/powerpc/powerpc32/start.S: ... here.
21618 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21619 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21620 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21621
21622 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21623 * sysdeps/powerpc/ifunc-sel.h: ... here.
21624 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21625 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21626
21627 * sysdeps/sparc/elf/configure.in: Moved to ...
21628 * sysdeps/sparc/configure.in: ... here.
21629 * sysdeps/sparc/elf/configure: Delete file.
21630 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21631 * sysdeps/sparc/sparc32/start.S: ... here.
21632 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21633 * sysdeps/sparc/sparc64/start.S: ... here.
21634 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21635 * sysdeps/sparc/sparc32/Makefile: ... this.
21636 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21637 * sysdeps/sparc/sparc64/Makefile: ... this.
21638
21639 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21640 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21641 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21642 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21643 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21644 * sysdeps/s390/s390-32/setjmp.S: ... here.
21645 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21646 * sysdeps/s390/s390-32/configure.in: ... here.
21647 * sysdeps/s390/s390-32/elf/configure: Delete file.
21648 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21649 * sysdeps/s390/s390-32/start.S: ... here.
21650
21651 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21652 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21653 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21654 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21655 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21656 * sysdeps/s390/s390-64/setjmp.S: ... here.
21657 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21658 * sysdeps/s390/s390-64/configure.in: ... here
21659 * sysdeps/s390/s390-64/elf/configure: Delete file.
21660 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21661 * sysdeps/s390/s390-64/start.S: ... here.
21662 * sysdeps/s390/s390-64/elf/configure: Delete.
21663
21664 * configure.in: Remove support for elf directories in sysdeps.
21665
21666 * configure: Regenerated.
21667 * sysdeps/i386/configure: Regenerated.
21668 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21669 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21670 * sysdeps/s390/s390-32/configure: Regenerated.
21671 * sysdeps/s390/s390-64/configure: Regenerated.
21672 * sysdeps/sh/configure: Regenerated.
21673 * sysdeps/sparc/configure: Regenerated.
21674 * sysdeps/x86_64/configure: Regenerated.
21675
21676 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21677
21678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21679
21680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21681 denormal result into account.
21682
21683 2012-03-25 Roland McGrath <roland@hack.frob.com>
21684
21685 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21686 Reported by Allan McRae <allan@archlinux.org>.
21687
21688 2012-03-23 Jeff Law <law@redhat.com>
21689
21690 * nss/getnssent.c (__nss_getent): Fix typo.
21691
21692 2012-03-23 David S. Miller <davem@davemloft.net>
21693
21694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21695
21696 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21697
21698 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21699 to pad to uint64_t for each field.
21700 (dl_tls_index): Replace unsigned long with uint64_t.
21701
21702 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21703 Paul Pluzhnikov <ppluzhnikov@google.com>
21704
21705 [BZ #6528]
21706 * grp/Makefile (otherlibs): Don't set it.
21707 * inet/Makefile (otherlibs): Likewise.
21708 * login/Makefile (otherlibs): Likewise.
21709 * nscd/Makefile (otherlibs): Likewise.
21710 * posix/Makefile (otherlibs): Likewise.
21711 * pwd/Makefile (otherlibs): Likewise.
21712 * rt/Makefile (otherlibs): Likewise.
21713 * sunrpc/Makefile (otherlibs): Likewise.
21714 * nss/Makefile (otherlibs): Likewise.
21715 Add libnss_files to routines and static-only-routines.
21716 ($(objpfx)getent): Remove rule.
21717 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21718 static-only-routines.
21719
21720 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21721
21722 [BZ #13892]
21723 * math/s_cexp.c: Include <float.h>.
21724 (__cexp): Handle exp result overflowing not necessarily
21725 overflowing both real and imaginary parts of result.
21726 * math/s_cexpf.c: Likewise.
21727 * math/s_cexpl.c: Likewise.
21728 * math/libm-test.inc (cexp_test): Add more tests.
21729 * sysdeps/i386/fpu/libm-test-ulps: Update.
21730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21731
21732 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21733
21734 * include/link.h (ELFW): New macro.
21735 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21736 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21737
21738 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21739
21740 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21741 with uint64_t.
21742
21743 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21746 declaration.
21747 (struct La_x32_retval): Likewise.
21748
21749 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21750
21751 * sysdeps/x86_64/preconfigure.in: New file.
21752 * sysdeps/x86_64/preconfigure: New generated file.
21753
21754 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21755
21756 [BZ #13824]
21757 * math/e_exp2l.c: Include <float.h>.
21758 (__ieee754_exp2l): Handle overflow and underflow cases
21759 separately. Only pass fractional part of argument to
21760 __ieee754_expl.
21761 * math/libm-test.inc (exp2_test): Add more tests.
21762
21763 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21764 negating x to take absolute value.
21765 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21766 Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21769 Likewise.
21770 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21771 computing low part if x was negated.
21772 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21773
21774 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21775
21776 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21777 la_x32_gnu_pltexit.
21778 (pltexit): Cast int_retval to ptrdiff_t.
21779 * elf/tst-auditmod3b.c: Likewise.
21780 * elf/tst-auditmod4b.c: Likewise.
21781 * elf/tst-auditmod5b.c: Likewise.
21782 * elf/tst-auditmod6b.c: Likewise.
21783 * elf/tst-auditmod6c.c: Likewise.
21784 * elf/tst-auditmod7b.c: Likewise.
21785
21786 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21787 and x32_gnu_pltexit.
21788
21789 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21790 __ELF_NATIVE_CLASS.
21791 (La_x32_regs): New macro.
21792 (La_x32_retval): Likewise.
21793 (la_x32_gnu_pltenter): New function prototype.
21794 (la_x32_gnu_pltexit): Likewise.
21795
21796 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21797
21798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21799 exponent.
21800
21801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21802
21803 * configure.in (libc_cv_cc_nofma): Check for option to disable
21804 generation of FMA instructions.
21805 * configure: Regenerate.
21806 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21807 * sysdeps/ieee754/dbl-64/Makefile: New file.
21808 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21809 Remove brandred-fma4.
21810 (CFLAGS-brandred-fma4.c): Remove.
21811 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21812 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21813 define.
21814 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21815 define.
21816
21817 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21818
21819 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21820 LLONG_MAX != LONG_MAX.
21821 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21822 (_fitoa_word): Likewise.
21823 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21824 LLONG_MAX != LONG_MAX.
21825 * stdio-common/_itowa.h: Include <_itoa.h>.
21826 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21827 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21828 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21829 only if not defined.
21830 (_ITOA_WORD_TYPE): Likewise.
21831 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21832 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21833
21834 2012-03-21 David S. Miller <davem@davemloft.net>
21835
21836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21837
21838 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21839
21840 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21841 of x86_64 when setting libc_cv_slibdir, libdir and
21842 libc_cv_localedir.
21843 * sysdeps/unix/sysv/linux/configure: Regenerated.
21844
21845 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21846
21847 * manual/lang.texi (Old Varargs): Remove section.
21848 (How Variadic): Update menu.
21849 (va_start): Do not mention varargs.h.
21850
21851 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21852 Joseph Myers <joseph@codesourcery.com>
21853
21854 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21855 link test.
21856 * configure: Regenerated.
21857
21858 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21859
21860 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21861 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21862 conformtest.pl
21863
21864 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21865
21866 * NOTES: Remove.
21867 * Makefile (files-for-dist): Remove NOTES.
21868 (NOTES): Remove rule.
21869 * README: Don't refer to NOTES.
21870 * manual/creature.texi: Don't include macros.texi.
21871 * manual/intro.texi (creature.texi): Remove comment referring to
21872 NOTES.
21873
21874 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21875 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21876 * configure: Regenerated.
21877 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21878 LIBC_TRY_CC_OPTION.
21879 (libc_cv_as_i686): Likewise.
21880 (libc_cv_cc_avx): Likewise.
21881 (libc_cv_cc_sse2avx): Likewise.
21882 (libc_cv_cc_fma4): Likewise.
21883 (libc_cv_cc_novzeroupper): Likewise.
21884 * sysdeps/i386/configure: Regenerated.
21885
21886 [BZ #13883]
21887 * sysdeps/i386/fpu/s_cexp.S: Remove.
21888 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21889 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21890 * math/libm-test.inc (cexp_test): Add more tests.
21891 * sysdeps/i386/fpu/libm-test-ulps: Update.
21892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21893
21894 2012-03-21 Allan McRae <allan@archlinux.org>
21895
21896 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21897
21898 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21899
21900 [BZ #13871]
21901 * math/w_exp2.c: Do not include <float.h>.
21902 (o_threshold, u_threshold): Remove.
21903 (__exp2): Calculate result before checking finiteness and calling
21904 __kernel_standard.
21905 * math/w_exp2f.c: Likewise.
21906 * math/w_exp2l.c: Likewise.
21907 * math/libm-test.inc (exp2_test): Require overflow exception for
21908 1e6 input.
21909
21910 [BZ #3866]
21911 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21912 range of signed 64-bit integers before using fistpll. Remove
21913 checks for whether integers fit in mantissa bits.
21914 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21915 the range of signed 32-bit integers before using fistpl. Remove
21916 checks for whether integers fit in mantissa bits.
21917 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21918 (__ieee754_powl): Test for y outside the range of signed 64-bit
21919 integers before using fistpll. Reduce 64-bit values to 63-bit
21920 ones as needed.
21921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21922 divide-by-zero is raised for zero to large negative powers.
21923 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21924 (__ieee754_powl): Test for y outside the range of signed 64-bit
21925 integers before using fistpll. Reduce 64-bit values to 63-bit
21926 ones as needed.
21927 * math/libm-test.inc (pow_test): Add more tests.
21928
21929 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21930
21931 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21932 <stdio-common/_itoa.h>.
21933 * debug/segfault.c: Likewise.
21934 * elf/dl-cache.c: Likewise.
21935 * elf/dl-minimal.c: Likewise.
21936 * elf/dl-misc.c: Likewise.
21937 * elf/dl-sysdep.c: Likewise.
21938 * elf/dl-version.c: Likewise.
21939 * elf/rtld.c: Likewise.
21940 * hurd/hurdsock.c: Likewise.
21941 * hurd/lookup-retry.c: Likewise.
21942 * malloc/malloc.c: Likewise.
21943 * malloc/mtrace.c: Likewise.
21944 * nscd/nscd_getgr_r.c: Likewise.
21945 * nscd/nscd_getpw_r.c: Likewise.
21946 * nscd/nscd_getserv_r.c: Likewise.
21947 * posix/getopt_init.c: Likewise.
21948 * posix/wordexp.c: Likewise.
21949 * stdio-common/_itoa.c: Likewise.
21950 * stdio-common/printf_fphex.c: Likewise.
21951 * stdio-common/vfprintf.c: Likewise.
21952 * string/_strerror.c: Likewise.
21953 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21954 * sysdeps/i386/i686/hp-timing.h: Likewise.
21955 * sysdeps/mach/_strerror.c: Likewise.
21956 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21957 * sysdeps/mach/hurd/sethostid.c: Likewise.
21958 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21959 * sysdeps/mach/xpg-strerror.c: Likewise.
21960 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21961 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21962 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21963 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21964 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21965 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21966 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21967 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21968 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21969 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21970 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21971 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21972 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21973 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21974 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21975 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21976 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21977 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21978 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21979 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21980 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21981
21982 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21983
21984 * stdio-common/_itoa.h: Moved to ...
21985 * sysdeps/generic/_itoa.h: Here.
21986
21987 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21988
21989 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21990 instead of "_itoa.h" and "_itowa.h".
21991 * stdio-common/vfprintf.: Likewise.
21992
21993 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21996 <bits/wordsize.h>.
21997 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21998 (__signbit): Likwise.
21999 (llrintf): Likwise.
22000 (llrint): Likwise.
22001
22002 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22005 __WORDSIZE != 64.
22006
22007 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22008
22009 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22010 OVERFLOW_EXCEPTION_OK.
22011 * math/libm-test.inc ("Philosophy"): Update comment about
22012 exception testing.
22013 (OVERFLOW_EXCEPTION): Define.
22014 (OVERFLOW_EXCEPTION_OK): Likewise.
22015 (INVALID_EXCEPTION_OK): Renumber.
22016 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22017 (IGNORE_ZERO_INF_SIGN): Likewise.
22018 (test_exceptions): Handle FE_OVERFLOW.
22019 (exp10_test): Expect overflow exceptions.
22020 (exp2_test): Likewise.
22021 (expm1_test): Likewise.
22022 (nextafter_test): Likewise.
22023 (pow_test): Likewise.
22024 (scalbn_test): Likewise.
22025 (scalbln_test): Likewise.
22026
22027 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22028
22029 * sysdeps/x86_64/bits/atomic.h
22030 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22031 64bit integer.
22032 (atomic_exchange_acq): Likewise.
22033 (__arch_exchange_and_add_body): Likewise.
22034 (__arch_add_body): Likewise.
22035 (atomic_add_negative): Likewise.
22036 (atomic_add_zero): Likewise.
22037
22038 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22039
22040 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22041 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22042
22043 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22044
22045 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22046 Check __x86_64__ instead of __WORDSIZE.
22047
22048 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22049
22050 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22051
22052 2012-03-19 David S. Miller <davem@davemloft.net>
22053
22054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22055
22056 * sysdeps/sparc/fpu/fenv_private.h: New file.
22057 * sysdeps/sparc/fpu/math_private.h: Use it.
22058 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22059 Remove.
22060 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22061 (libc_feholdexcept_setroundl): Remove.
22062 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22063 Remove.
22064 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22065 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22066
22067 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22068
22069 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22070 int64_t instead of long int.
22071 (INSERT_WORDS64): Likwise.
22072
22073 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22074
22075 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22076 _Unwind_GetCFA return to _Unwind_Ptr first.
22077
22078 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22079
22080 [BZ #13629]
22081 * math/s_clog.c: Include <float.h>.
22082 (__clog): Scale large or subnormal inputs.
22083 * math/s_clogf.c: Likewise.
22084 * math/s_clogl.c: Likewise.
22085 * math/s_clog10.c: Include <float.h>.
22086 (M_LOG10_2): Define.
22087 (__clog10): Scale large or subnormal inputs.
22088 * math/s_clog10f.c: Likewise.
22089 * math/s_clog10l.c: Likewise.
22090 * math/libm-test.inc (clog_test): Add more tests.
22091 (clog10_test): Likewise.
22092 * sysdeps/i386/fpu/libm-test-ulps: Update.
22093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22094
22095 [BZ #11451]
22096 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22097 x and y.
22098 * math/libm-test.inc (atan2_test): Add another test.
22099
22100 * Makerules (common-objdir-compile): Remove.
22101 * sysdeps/unix/Makefile (config-generated): Do not add
22102 $(unix-generated) to variable.
22103 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22104 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22105 Remove rule.
22106 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22107 Likewise.
22108 [generic bits/local_lim.h] (before-compile): Do not append to
22109 variable.
22110 [generic bits/local_lim.h] (common-generated): Likewise.
22111 [generic sys/param.h] (before-compile): Do not append to variable.
22112 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22113 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22114 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22115 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22116 include.
22117 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22118 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22119 [generic sys/param.h] ($(addprefix
22120 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22121 [generic sys/param.h] (common-generated): Do not append to
22122 variable.
22123 [generic sys/param.h] (sysdep_headers): Likewise.
22124 [generic bits/errno.h] (before-compile): Do not append to
22125 variable.
22126 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22127 rule.
22128 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22129 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22130 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22131 [generic bits/errno.h] (common-generated): Do not append to
22132 variable.
22133 [generic bits/ioctls.h] (before-compile): Do not append to
22134 variable.
22135 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22136 rule.
22137 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22138 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22139 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22140 rule.
22141 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22142 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22143 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22144 [generic bits/ioctls.h] (common-generated): Do not append to
22145 variable.
22146 [generic sys/syscall.h] (syscall.h): Remove variable.
22147 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22148 rule.
22149 [generic sys/syscall.h] (before-compile): Do not append to
22150 variable.
22151 [generic sys/syscall.h] (common-generated): Likewise.
22152 * sysdeps/unix/errnos-tmpl.c: Remove file.
22153 * sysdeps/unix/errnos.awk: Likewise.
22154 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22155 * sysdeps/unix/ioctls.awk: Likewise.
22156 * sysdeps/unix/mk-local_lim.c: Likewise.
22157 * sysdeps/unix/snarf-ioctls: Likewise.
22158
22159 2012-03-19 Richard Henderson <rth@twiddle.net>
22160
22161 * sysdeps/i386/fpu/fenv_private.h: New file.
22162 * sysdeps/i386/fpu/math_private.h: Use it.
22163 (math_opt_barrier, math_force_eval): Remove.
22164 (libc_feholdexcept_setround_53bit): Remove.
22165 (libc_feupdateenv_53bit): Remove.
22166 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22167 (math_opt_barrier, math_force_eval): Remove.
22168 (libc_feholdexcept): Remove.
22169 (libc_feholdexcept_setround): Remove.
22170 (libc_fetestexcept, libc_fesetenv): Remove.
22171 (libc_feupdateenv_test): Remove.
22172 (libc_feupdateenv, libc_feholdsetround): Remove.
22173 (libc_feresetround): Remove.
22174
22175 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22176 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22177
22178 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22179 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22180 (libc_feupdateenv_testl): New.
22181 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22182 (libc_feupdateenv_testf): New.
22183 (libc_feupdateenv): Use libc_feupdateenv_test.
22184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22185 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22186
22187 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22188 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22189 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22190 (libc_feresetround_noex): New.
22191 (libc_feresetround_noexf): New.
22192 (libc_feresetround_noexl): New.
22193 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22194 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22195 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22196 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22197 SET_RESTORE_ROUND.
22198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22199 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22200 (__cos): Likewise.
22201 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22202 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22203 SET_RESTORE_ROUND_NOEX.
22204 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22205 SET_RESTORE_ROUND_NOEXF.
22206 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22207 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22208 (libc_feholdsetroundf): New.
22209 (libc_feresetround, libc_feresetroundf): New.
22210
22211 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22212 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22213 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22214
22215 * sysdeps/generic/math_private.h: Include <fenv.h>.
22216 (default_libc_feholdexcept): New.
22217 (default_libc_feholdexcept_setround): New.
22218 (default_libc_fesetenv, default_libc_feupdateenv): New.
22219 (libc_feholdexcept): Only define if undefined.
22220 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22221 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22222 (libc_feholdexcept_setroundl): Likewise.
22223 (libc_feholdexcept_setround_53bit): Likewise.
22224 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22225 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22226 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22227 (libc_feupdateenv_53bit): Likewise.
22228 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22229 (libc_feholdexcept): Convert from macro to inline function.
22230 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22231 (libc_fesetenv, libc_feupdateenv): Likewise.
22232
22233 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22234 not previously defined.
22235 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22236 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22237 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22238 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22239 * sysdeps/ieee754/flt-32/math_private.h: New file.
22240 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22241 math_private.h below SET_FLOAT_WORD.
22242 (__isnan, __isinf_ns, __finite): Remove.
22243 (__isnanf, __isinf_nsf, __finitef): Remove.
22244
22245 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22246
22247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22248
22249 2012-03-17 David S. Miller <davem@davemloft.net>
22250
22251 [BZ #6471]
22252 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22253 for 2.16.
22254
22255 2012-03-16 David S. Miller <davem@davemloft.net>
22256
22257 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22258 warnings.
22259
22260 [BZ #6471]
22261 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22262 properly.
22263 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22264 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22265 sysdep_routines when subdir is sysvipc.
22266 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22267 __getshmlba helper.
22268
22269 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22270
22271 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22272
22273 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22274 [__LP64__].
22275
22276 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22277
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22279 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22280 (__lround): Renamed to ...
22281 (__llround): This. Replace long int with long long int.
22282 Define lround functions as aliases of llround functions.
22283 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22284
22285 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22286
22287 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22288 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22289 adresses to uintptr_t. Replace "long int" and "unsigned long
22290 int" with "greg_t" on va_arg.
22291
22292 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22293
22294 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22295 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22296
22297 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22298 Move e_machine check before EI_CLASS check. Handle x32
22299 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22300 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22301 SKIP_EM_IA_64 and include
22302 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22303
22304 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22305 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22306 (add_system_dir): New macro.
22307
22308 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22309 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22310
22311 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22312
22313 [BZ #2551]
22314 [BZ #2552]
22315 [BZ #2553]
22316 [BZ #2554]
22317 [BZ #2562]
22318 [BZ #2563]
22319 [BZ #2565]
22320 [BZ #2566]
22321 [BZ #2576]
22322 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22323 (y0): Likewise.
22324 * math/w_j0f.c (j0f): Likewise.
22325 (y0f): Likewise.
22326 * math/w_j0l.c (__j0l): Likewise.
22327 (__y0l): Likewise.
22328 * math/w_j1.c (j1): Likewise.
22329 (y1): Likewise.
22330 * math/w_j1f.c (j1f): Likewise.
22331 (y1f): Likewise.
22332 * math/w_j1l.c (__j1l): Likewise.
22333 (__y1l): Likewise.
22334 * math/w_jn.c (jn): Likewise.
22335 (yn): Likewise.
22336 * math/w_jnf.c (jnf): Likewise.
22337 (ynf): Likewise.
22338 * math/w_jnl.c (__jnl): Likewise.
22339 (__ynl): Likewise.
22340 * math/libm-test.inc (j0_test): Add more tests.
22341 (j1_test): Likewise.
22342 (jn_test): Likewise. Add trailing semicolon to existing test.
22343 (y0_test): Likewise.
22344 (y1_test): Likewise.
22345 * sysdeps/i386/fpu/libm-test-ulps: Update.
22346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22347
22348 [BZ #13851]
22349 [BZ #13854]
22350 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22351 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22352 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22353 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22354 (__tanl): Set errno for infinite argument.
22355 * sysdeps/i386/fpu/mptan.c: Remove.
22356 * sysdeps/i386/fpu/s_tan.S: Likewise.
22357 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22358 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22359 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22360 * math/libm-test.inc (tan_test): Add more tests and enable more
22361 tests for double and long double.
22362 * sysdeps/i386/fpu/libm-test-ulps: Update.
22363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22364
22365 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22366
22367 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22368 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22369
22370 2012-03-16 Roland McGrath <roland@hack.frob.com>
22371
22372 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22373 * configure.in: Use it for both main tree and add-ons.
22374 * configure: Regenerated.
22375
22376 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22377
22378 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22379
22380 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22381
22382 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22383 in comment.
22384
22385 [BZ #13851]
22386 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22387 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22388 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22389 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22390 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22391 infinite argument.
22392 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22393 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22394 != 0 for prec == 2.
22395 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22396 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22397 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22398 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22399 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22400 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22401 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22402 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22403 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22404 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22405 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22406 * math/libm-test.inc (cos_test): Add more tests and enable more
22407 tests for long double.
22408 (sin_test): Likewise.
22409 (sincos_test): Likewise.
22410 * sysdeps/i386/fpu/libm-test-ulps: Update.
22411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22412
22413 2012-03-16 David S. Miller <davem@davemloft.net>
22414
22415 * sysdeps/sparc/fpu/math_private.h: New file.
22416
22417 2012-03-15 David S. Miller <davem@davemloft.net>
22418
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22420 file.
22421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22423 file.
22424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22430 sysdep routines.
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22432
22433 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22434 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22435
22436 * sysdeps/sparc/sparc-ifunc.h: New file.
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22438 sparc-ifunc.h
22439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22441 Likewise.
22442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22443 Likewise.
22444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22448 Likewise.
22449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22454 Likewise.
22455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22456 Likewise.
22457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22464 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22478 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22481
22482 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22483
22484 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22485 scaling.
22486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22487
22488 2012-03-15 Andreas Jaeger <aj@suse.de>
22489
22490 [BZ #13852]
22491 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22492 ieee754/flt-32 implementation for sin, cos and sincos.
22493 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22494 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22495 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22496 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22497 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22498 ieee754/flt-32 implementation for tan.
22499
22500 * math/libm-test.inc (cos_test): Enable some large input tests for
22501 float as well
22502 (sin_test): Likewise.
22503 (sincos_test): Likewise.
22504 (tan_test): Add tests for large input.
22505
22506 * sysdeps/i386/fpu/libm-test-ulps: Update.
22507
22508 2012-03-15 Andreas Jaeger <aj@suse.de>
22509
22510 [BZ #13658]
22511 * math/libm-test.inc (cos_test): Add more test cases.
22512 (sin_test): Likewise.
22513 (sincos_test): Likewise.
22514
22515 2012-03-15 Andreas Jaeger <aj@suse.de>
22516
22517 [BZ #13837]
22518 * math/libm-test.inc (cos_test): Add a test case for large input
22519 value.
22520 (sin_test): Likewise.
22521 (sincos_test): Likewise.
22522
22523 2012-03-15 Andreas Jaeger <aj@suse.de>,
22524 Joseph Myers <joseph@codesourcery.com>
22525
22526 [BZ #13658]
22527 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22528 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22529 * sysdeps/i386/fpu/branred.c: Likewise.
22530 * sysdeps/i386/fpu/dosincos.c: Likewise.
22531 * sysdeps/i386/fpu/mpa.c: Likewise.
22532 * sysdeps/i386/fpu/s_cos.S: Likewise.
22533 * sysdeps/i386/fpu/s_sin.S: Likewise.
22534 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22535 * sysdeps/i386/fpu/sincos32.c: Likewise.
22536
22537 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22538 Define.
22539 (libc_feupdateenv_53bit): Define.
22540 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22541 Define.
22542 (libc_feupdateenv_53bit): Define.
22543
22544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22545 53 bit (without extend i386 double precision).
22546
22547 * math/libm-test.inc (sincos_test): Add tests for large input.
22548 (sin): Likewise.
22549 (cos): Likewise.
22550
22551 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22552
22553 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22554
22555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22556
22557 2012-03-15 David S. Miller <davem@davemloft.net>
22558
22559 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22560 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22561 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22562 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22575 file.
22576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22578 file.
22579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22581 file.
22582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22584 file.
22585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22587 fmin/fmax sysdep routines.
22588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22589
22590 2012-03-14 David S. Miller <davem@davemloft.net>
22591
22592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22598 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22614 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22617 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22620 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22621 routines.
22622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22623 file.
22624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22626 file.
22627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22629 file.
22630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22632 file.
22633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22635 file.
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22638 file.
22639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22640 file.
22641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22642 file.
22643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22644 file.
22645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22646 New file.
22647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22648 file.
22649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22650 file.
22651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22653 file.
22654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22656 file.
22657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22659 file.
22660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22662 VIS3 routines.
22663
22664 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22665 New file.
22666
22667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22668
22669 * sysdeps/sparc/configure.in: New file.
22670 * sysdeps/sparc/configure: Generate.
22671 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22672 * configure: Regenerate.
22673 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22674 * config.make.in (have-as-vis3): New.
22675 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22676 available use -Av9d instead of -Av9a.
22677 * sysdeps/sparc/sparc64/Makefile: Likewise.
22678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22680 New file.
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22682 file.
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22684 New file.
22685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22686 file.
22687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22689 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22690 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22692
22693 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22694 fzeros/fnegs to load 0x80000000 into a float register instead of
22695 using the stack.
22696 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22697
22698 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22699
22700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22701 bits/syscall.h.
22702 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22703 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22704 ($(inst_includedir)/bits/syscall.h): Remove rule.
22705 ($(objpfx)bits/syscall.d): Include instead of
22706 $(objpfx)syscall-list.d.
22707 (generated): Change syscall-list.h and syscall-list.d to
22708 bits/syscall.h and bits/syscall.d.
22709
22710 2012-03-14 Roland McGrath <roland@hack.frob.com>
22711
22712 [BZ #13846]
22713 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22714
22715 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22716
22717 [BZ #13841]
22718 * math/s_csqrt.c: Include <float.h>.
22719 (__csqrt): Scale large or subnormal inputs.
22720 * math/s_csqrtf.c: Likewise.
22721 * math/s_csqrtl.c: Likewise.
22722 * math/libm-test.inc (csqrt_test): Add more tests.
22723 * sysdeps/i386/fpu/libm-test-ulps: Update.
22724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22725
22726 [BZ #13840]
22727 * math/libm-test.inc (hypot_test): Add more tests.
22728
22729 2012-03-13 David S. Miller <davem@davemloft.net>
22730
22731 [BZ #13840]
22732 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22733 double-precision for the calculation instead of scaling.
22734
22735 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22736
22737 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22738 manipulate bits before adding and subtracting TWO52[sx].
22739 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22740 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22741 Likewise.
22742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22743
22744 2012-03-13 David S. Miller <davem@davemloft.net>
22745
22746 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22747 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22749 rtld-global-offsets.h
22750 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22751
22752 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22753 large parameters.
22754
22755 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22756
22757 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22758 'err' in the ifdef scope in which it is actually used.
22759
22760 * nss/nss_db/db-init.c: Include string.h
22761
22762 2012-03-12 David S. Miller <davem@davemloft.net>
22763
22764 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22765 masking out of the most significant byte of random value used.
22766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22767 Fix coding style in previous change.
22768
22769 * sysdeps/unix/sysv/linux/kernel-features.h
22770 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22771 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22772 expression.
22773 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22774 later.
22775
22776 2012-03-11 David S. Miller <davem@davemloft.net>
22777
22778 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22779 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22780 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22781 for 'resultvar' otherwise things get truncated on 64-bit.
22782
22783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22784 Fix masking out of the most significant byte of random value used.
22785
22786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22787
22788 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22789
22790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22791
22792 2012-03-09 David S. Miller <davem@davemloft.net>
22793
22794 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22795 variables with appropriate CPP guards.
22796 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22797 frame pointer, not the stack pointer. Correct layout comments. Fix test
22798 on resulting framesize and the management of the outregs buffer for pltexit.
22799 Preserve floating point return values across _dl_call_pltexit call.
22800 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22801 framesize and the management of the outregs buffer for pltexit.
22802 Preserve floating point return values across _dl_call_pltexit
22803 call.
22804 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22805 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22806 (print_exit): Fix format string for return register value.
22807
22808 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22809
22810 * sunrpc/Makefile (others): Add rpcgen.
22811 ($(objpfx)rpcgen): Remove special build rule and dependency on
22812 libc.
22813 * sunrpc/rpcgen.c: New file.
22814
22815 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22816
22817 [BZ #13673]
22818 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22819 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22820 * sysdeps/i386/crti.S: Likewise.
22821 * sysdeps/i386/crtn.S: Likewise.
22822 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22823 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22824 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22825 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22826 * sysdeps/sh/crti.S: Likewise.
22827 * sysdeps/sh/crtn.S: Likewise.
22828 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22829
22830 [BZ #13673]
22831 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22832 with URL.
22833 * locale/programs/locfile-kw.gperf: Likewise.
22834 * locale/programs/charmap-kw.h: Regenerated.
22835 * locale/programs/locfile-kw.h: Likewise.
22836
22837 [BZ #13673]
22838 * intl/plural.y: Replace FSF snail mail address with URL.
22839 * intl/plural.c: Regenerated.
22840
22841 2012-03-09 Richard Henderson <rth@twiddle.net>
22842
22843 * include/math_private.h: Remove file.
22844 * math/math_private.h: Move file ...
22845 * sysdeps/generic/math_private.h: ... here.
22846
22847 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22848 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22849 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22850
22851 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22852 and <math_private.h>.
22853 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22854 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22855 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22856 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22857 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22858 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22864 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22865 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22867 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22868 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22869 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22871 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22872 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22874 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22875 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22877 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22879 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22883 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22885 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22891 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22893 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22894 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22895 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22896 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22898 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22900 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22901 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22902 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22903 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22904 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22905 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22906 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22907 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22908 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22910 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22911 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22912 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22917 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22918 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22919 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22920 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22921 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22922 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22924 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22926 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22927 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22930 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22932 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22933 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22934 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22936 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22937 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22940 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22941 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22942 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22943 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22944 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22946 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22947 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22948 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22949 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22950 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22951 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22953 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22954 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22955 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22956 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22958 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22959 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22960 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22961 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22963 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22964 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22965 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22966 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22967 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22968 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22969 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22970 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22971 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22972 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22973 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22974 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22975 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22978 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22980 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22981 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22982 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22983 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22984 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22986 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22987 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22988 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22989 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22990 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22991 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22992 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22993 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22994 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22995 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22996 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22997 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22998 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22999 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23000 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23001 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23002 * sysdeps/ieee754/k_standard.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23061 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23065 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23066 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23070 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23075 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23076 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23080 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23083 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23084 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23085 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23086 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23087 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23088 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23089 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23090 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23091 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23092 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23093 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23094 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23096 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23097 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23098 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23099 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23100 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23101 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23102 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23103 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23104 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23106 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23107 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23108 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23109 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23113 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23114 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23115 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23116 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23117 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23118 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23119 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23120 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23122 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23123 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23124 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23125 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23126 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23127 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23128 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23129 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23130 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23131 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23132 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23133 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23134 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23135 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23137 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23138 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23139 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23142 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23143 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23144 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23145 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23147 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23148 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23149 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23150 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23151 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23152 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23153 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23154 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23155 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23156 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23157 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23158 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23159 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23161 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23162 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23163 * sysdeps/ieee754/s_lib_version.c: Likewise.
23164 * sysdeps/ieee754/s_matherr.c: Likewise.
23165 * sysdeps/ieee754/s_signgam.c: Likewise.
23166 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23167 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23168 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23169 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23170 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23171 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23172 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23173 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23174 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23175 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23176 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23177 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23178 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23179 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23180 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23181 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23182 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23183 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23184 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23187
23188 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23189
23190 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23191 * sunrpc/rpc_main.c: Likewise.
23192 * sunrpc/rpc_svcout.c: Likewise.
23193
23194 2012-03-09 David S. Miller <davem@davemloft.net>
23195
23196 * include/math_private.h: New file.
23197
23198 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23199
23200 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23201 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23202 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23203 from <bits/socket_type.h>.
23204 (enum __socket_type): Don't define here.
23205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23207 bits/socket_type.h.
23208
23209 [BZ #13566]
23210 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23211 checking __USE_GNU.
23212
23213 * Makerules ($(inst_includedir)/%.h): New rule.
23214 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23215 (install-others): Remove variable setting.
23216 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23217
23218 2012-03-08 Richard Henderson <rth@twiddle.net>
23219
23220 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23221 from macro to inline function; merge with the
23222 !__LIBC_INTERNAL_MATH_INLINES version.
23223 (__ieee754_sqrtf): Likewise.
23224
23225 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23226 to inline function.
23227 (__rintf, __floor, __floorf): Likewise.
23228
23229 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23230 macro to inline function.
23231 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23232
23233 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23234 not <math/math_private.h>.
23235
23236 2012-03-08 David S. Miller <davem@davemloft.net>
23237
23238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23239 copyright year.
23240 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23241
23242 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23243
23244 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23245 normalization.
23246 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23247 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23248
23249 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23250
23251 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23252 be defined individually, they must be defined as a block. Define
23253 S for printing a string instead of hidint the different by using a
23254 macro for adding the 'l'.
23255 * stdio-common/tst-fphex-wide.c: Adjust.
23256
23257 2012-03-07 Marek Polacek <polacek@redhat.com>
23258
23259 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23260
23261 2012-03-08 Marek Polacek <polacek@redhat.com>
23262
23263 [BZ #13806]
23264 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23265 * stdio-common/tst-fphex.c: Define a few macros to make the
23266 test reusable. Use them.
23267 * stdio-common/tst-fphex-wide.c: New file.
23268
23269 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23270
23271 [BZ #6911]
23272 * manual/macros.texi (gnusystems): New macro.
23273 (nongnusystems): Likewise.
23274 (gnulinuxhurdsystems): Likewise.
23275 (gnuhurdsystems): Likewise..
23276 (gnulinuxsystems): Likewise.
23277 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23278 variants of the GNU system, not "GNU system".
23279 * manual/conf.texi: Likewise.
23280 * manual/errno.texi: Likewise. Update example of errno macro
23281 expansion.
23282 * manual/filesys.texi: Likewise.
23283 (getumask): Document as specific to GNU/Hurd.
23284 * manual/install.texi: Likewise. Reword some references to
23285 GNU/Linux.
23286 * manual/intro.texi: Likewise.
23287 * manual/io.texi: Likewise.
23288 (File Name Portability): Detail which constraints are inapplicable
23289 to all GNU systems and which are only inapplicable to GNU/Hurd.
23290 * manual/job.texi: Likewise.
23291 * manual/llio.texi: Likewise.
23292 (O_NOCTTY): Document as present on GNU/Linux.
23293 * manual/maint.texi: Likewise.
23294 * manual/memory.texi: Likewise.
23295 * manual/pattern.texi: Likewise.
23296 * manual/pipe.texi: Likewise.
23297 * manual/process.texi: Likewise.
23298 * manual/resource.texi: Likewise.
23299 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23300 child on GNU/Hurd.
23301 * manual/setjmp.texi: Likewise.
23302 * manual/signal.texi: Likewise.
23303 * manual/startup.texi: Likewise.
23304 * manual/stdio.texi: Likewise.
23305 * manual/terminal.texi: Likewise.
23306 (ONLCR): Document as POSIX.
23307 (OXTABS): Document availability on GNU/Linux as XTABS.
23308 (ONOEOT): Document availability separately from other bits.
23309 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23310 * manual/time.texi: Likewise.
23311 * manual/users.texi: Likewise.
23312 * INSTALL: Regenerated.
23313 * sysdeps/gnu/errlist.c: Regenerated.
23314
23315 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23316 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23317 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23318 puts.
23319 * configure: Regenerated.
23320
23321 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23322
23323 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23324 default includes instead of AC_HEADER_CHECK.
23325 * sysdeps/i386/configure: Regenerated.
23326
23327 [BZ #10716]
23328 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23329 * math/s_cacoshf.c (__cacoshf): Likewise.
23330 * math/s_cacoshl.c (__cacoshl): Likewise.
23331 * math/s_casinh.c (__casinh): Set signs of result from argument.
23332 * math/s_casinhf.c (__casinhf): Likewise.
23333 * math/s_casinhl.c (__casinhl): Likewise.
23334 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23335 (casinh_test): Add more tests.
23336 * sysdeps/i386/fpu/libm-test-ulps: Update.
23337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23338
23339 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23340
23341 * po/zh_TW.po: Update from translation team.
23342
23343 * login/Makefile (distribute): Remove variable.
23344 * catgets/Makefile: Likewise.
23345 * mach/Makefile: Likewise.
23346 * malloc/Makefile: Likewise.
23347 * misc/Makefile: Likewise.
23348 * iconv/Makefile: Likewise.
23349 * nscd/Makefile: Likewise.
23350 * hurd/Makefile: Likewise.
23351 * manual/Makefile: Likewise.
23352 * locale/Makefile: Likewise.
23353 * intl/Makefile: Likewise.
23354 * conform/Makefile: Likewise.
23355 * nss/Makefile: Likewise.
23356 * time/Makefile: Likewise.
23357 * soft-fp/Makefile: Likewise.
23358 * dirent/Makefile: Likewise.
23359 * gmon/Makefile: Likewise.
23360 * po/Makefile: Likewise.
23361 * rt/Makefile: Likewise.
23362 * socket/Makefile: Likewise.
23363 * math/Makefile: Likewise.
23364 * signal/Makefile: Likewise.
23365 * debug/Makefile: Likewise.
23366 * elf/Makefile: Likewise.
23367 * timezone/Makefile: Likewise.
23368 * stdlib/Makefile: Likewise.
23369 * iconvdata/Makefile: Likewise.
23370 * sunrpc/Makefile: Likewise.
23371 * io/Makefile: Likewise.
23372 * argp/Makefile: Likewise.
23373 * inet/Makefile: Likewise.
23374 * hesiod/Makefile: Likewise.
23375 * grp/Makefile: Likewise.
23376 * csu/Makefile: Likewise.
23377 * wctype/Makefile: Likewise.
23378 * crypt/Makefile: Likewise.
23379 * libio/Makefile: Likewise.
23380 * string/Makefile: Likewise.
23381 * nis/Makefile: Likewise.
23382 * resolv/Makefile: Likewise.
23383 * stdio-common/Makefile: Likewise.
23384 * wcsmbs/Makefile: Likewise.
23385 * dlfcn/Makefile: Likewise.
23386 * posix/Makefile: Likewise.
23387
23388 [BZ #6959]
23389 * timezone/Makefile: Don't install timezone files, just the programs
23390 and scripts.
23391
23392 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23393
23394 * nss/databases.def: Add missing gshadow entry.
23395
23396 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23397
23398 2012-03-06 Marek Polacek <polacek@redhat.com>
23399
23400 [BZ #13726]
23401 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23402 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23403 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23404 * stdio-common/tst-long-dbl-fphex.c: New file.
23405
23406 2012-03-06 David S. Miller <davem@davemloft.net>
23407
23408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23409 (set_obp_int): New function.
23410 (get_obp_int): New function.
23411 (__get_clockfreq_via_dev_openprom): Likewise.
23412 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23413 Avoid unused variable warnings on 'val' and use builtin_expect.
23414 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23415 __builtin_expect.
23416 (INLINE_CLONE_SYSCALL): Likewise.
23417
23418 2012-03-05 David S. Miller <davem@davemloft.net>
23419
23420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23421
23422 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23423
23424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23425
23426 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23427 only for |x| >= 40.
23428 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23429
23430 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23431
23432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23433 Replace gettimeofday with __vdso_gettimeofday.
23434
23435 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23436 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23437 __vdso_clock_gettime and __vdso_getcpu.
23438
23439 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23440 time with __vdso_time.
23441
23442 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23443
23444 * manual/lang.texi (size_t): Note types to which size_t may be
23445 equivalent with the GNU C Library, but do not describe when
23446 differences between them are significant.
23447
23448 2012-03-05 Andreas Jaeger <aj@suse.de>
23449
23450 * sysdeps/i386/fpu/libm-test-ulps: Update.
23451
23452 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23453
23454 [BZ #3976]
23455 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23456 (__ieee754_pow): Save and restore rounding mode and use
23457 round-to-nearest for main computations.
23458 * math/libm-test.inc (pow_test_tonearest): New function.
23459 (pow_test_towardzero): Likewise.
23460 (pow_test_downward): Likewise.
23461 (pow_test_upward): Likewise.
23462 (main): Call the new functions.
23463 * sysdeps/i386/fpu/libm-test-ulps: Update.
23464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23465
23466 [BZ #3976]
23467 * math/libm-test.inc (cosh_test_tonearest): New function.
23468 (cosh_test_towardzero): Likewise.
23469 (cosh_test_downward): Likewise.
23470 (cosh_test_upward): Likewise.
23471 (sinh_test_tonearest): Likewise.
23472 (sinh_test_towardzero): Likewise.
23473 (sinh_test_downward): Likewise.
23474 (sinh_test_upward): Likewise.
23475 (main): Call the new functions.
23476 * sysdeps/i386/fpu/libm-test-ulps: Update.
23477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23478
23479 2012-03-05 Tom de Vries <tom@codesourcery.com>
23480
23481 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23482 default stack guard is set in last bytes.
23483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23484
23485 2012-03-05 Kees Cook <keescook@chromium.org>
23486
23487 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23488
23489 [BZ #13656]
23490 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23491 possibly allocate from heap instead of stack.
23492 * stdio-common/bug-vfprintf-nargs.c: New file.
23493 * stdio-common/Makefile (tests): Add nargs overflow test.
23494
23495 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23496
23497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23498
23499 2012-03-03 Marek Polacek <polacek@redhat.com>
23500
23501 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23502 * math/math_private.h: Likewise.
23503 * stdlib/tst-strtod.c: Likewise.
23504 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23505 * sysdeps/x86_64/bits/atomic.h: Likewise.
23506
23507 2012-03-02 David S. Miller <davem@davemloft.net>
23508
23509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23513 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23514 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23515 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23516 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23517
23518 2012-03-02 Roland McGrath <roland@hack.frob.com>
23519
23520 [BZ #13792]
23521 * manual/examples/README: New file, says the example source files
23522 can be used under GPL>=2.
23523 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23524 line containing just "*/".
23525 * manual/examples/add.c: Add copyright header (GPL>=2).
23526 * manual/examples/argp-ex1.c: Likewise.
23527 * manual/examples/argp-ex2.c: Likewise.
23528 * manual/examples/argp-ex3.c: Likewise.
23529 * manual/examples/argp-ex4.c: Likewise.
23530 * manual/examples/atexit.c: Likewise.
23531 * manual/examples/db.c: Likewise.
23532 * manual/examples/dir.c: Likewise.
23533 * manual/examples/dir2.c: Likewise.
23534 * manual/examples/execinfo.c: Likewise.
23535 * manual/examples/filecli.c: Likewise.
23536 * manual/examples/filesrv.c: Likewise.
23537 * manual/examples/fmtmsgexpl.c: Likewise.
23538 * manual/examples/genpass.c: Likewise.
23539 * manual/examples/inetcli.c: Likewise.
23540 * manual/examples/inetsrv.c: Likewise.
23541 * manual/examples/isockad.c: Likewise.
23542 * manual/examples/longopt.c: Likewise.
23543 * manual/examples/memopen.c: Likewise.
23544 * manual/examples/memstrm.c: Likewise.
23545 * manual/examples/mkfsock.c: Likewise.
23546 * manual/examples/mkisock.c: Likewise.
23547 * manual/examples/mygetpass.c: Likewise.
23548 * manual/examples/pipe.c: Likewise.
23549 * manual/examples/popen.c: Likewise.
23550 * manual/examples/rprintf.c: Likewise.
23551 * manual/examples/search.c: Likewise.
23552 * manual/examples/select.c: Likewise.
23553 * manual/examples/setjmp.c: Likewise.
23554 * manual/examples/sigh1.c: Likewise.
23555 * manual/examples/sigusr.c: Likewise.
23556 * manual/examples/stpcpy.c: Likewise.
23557 * manual/examples/strdupa.c: Likewise.
23558 * manual/examples/strftim.c: Likewise.
23559 * manual/examples/strncat.c: Likewise.
23560 * manual/examples/subopt.c: Likewise.
23561 * manual/examples/swapcontext.c: Likewise.
23562 * manual/examples/termios.c: Likewise.
23563 * manual/examples/testopt.c: Likewise.
23564 * manual/examples/testpass.c: Likewise.
23565 * manual/examples/timeval_subtract.c: Likewise.
23566
23567 [BZ #13792]
23568 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23569 function to ...
23570 * manual/timeval_subtract.c.texi: ... here, new file.
23571
23572 2012-03-02 David S. Miller <davem@davemloft.net>
23573
23574 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23575
23576 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23577
23578 [BZ #3976]
23579 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23580 (__sin): Save and restore rounding mode and use round-to-nearest
23581 for all computations.
23582 (__cos): Save and restore rounding mode and use round-to-nearest
23583 for all computations.
23584 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23585 <fenv.h>.
23586 (tan): Save and restore rounding mode and use round-to-nearest for
23587 all computations.
23588 * math/libm-test.inc (cos_test_tonearest): New function.
23589 (cos_test_towardzero): Likewise.
23590 (cos_test_downward): Likewise.
23591 (cos_test_upward): Likewise.
23592 (sin_test_tonearest): Likewise.
23593 (sin_test_towardzero): Likewise.
23594 (sin_test_downward): Likewise.
23595 (sin_test_upward): Likewise.
23596 (tan_test_tonearest): Likewise.
23597 (tan_test_towardzero): Likewise.
23598 (tan_test_downward): Likewise.
23599 (tan_test_upward): Likewise.
23600 (main): Call the new functions.
23601 * sysdeps/i386/fpu/libm-test-ulps: Update.
23602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23603
23604 [BZ #10135]
23605 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23606 small n, then large n, before computing and testing k+n.
23607 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23609 Likewise.
23610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23611 Likewise.
23612 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23613 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23614 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23615 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23618 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23619 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23620 * math/libm-test.inc (scalbn_test): Add more tests.
23621 (scalbln_test): Likewise.
23622
23623 * manual/filesys.texi (mode_t): Describe constraints on size and
23624 signedness, not exact equivalence to a particular type.
23625 (ino_t): Likewise.
23626 (ino64_t): Likewise.
23627 (dev_t): Likewise.
23628 (nlink_t): Likewise.
23629 (blkcnt_t): Likewise.
23630 (blkcnt64_t): Likewise.
23631 * manual/llio.texi (off_t): Likewise.
23632
23633 [BZ #3976]
23634 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23635 (__ieee754_exp): Save and restore rounding mode and use
23636 round-to-nearest for all computations.
23637 * math/libm-test.inc (exp_test_tonearest): New function.
23638 (exp_test_towardzero): Likewise.
23639 (exp_test_downward): Likewise.
23640 (exp_test_upward): Likewise.
23641 (main): Call the new functions.
23642 * sysdeps/i386/fpu/libm-test-ulps: Update.
23643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23644
23645 2012-03-01 Chris Demetriou <cgd@google.com>
23646
23647 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23648 have predictable order.
23649
23650 2012-03-01 David S. Miller <davem@davemloft.net>
23651
23652 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23653
23654 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23655 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23656 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23657 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23658
23659 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23660 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23661 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23663 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23664 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23665 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23666 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23667 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23668
23669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23670
23671 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23672 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23673 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23674
23675 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23676 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23677 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23678 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23679 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23682 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23683 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23684 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23685 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23686 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23688 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23689 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23691 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23692 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23693 * sysdeps/sparc/elf/configure: Regenerated.
23694
23695 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23696
23697 * configure.in (AS, LD): Require binutils 2.20 or later.
23698 * configure: Regenerated.
23699 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23700 as required minimum version.
23701 * INSTALL: Regenerated.
23702
23703 [BZ #2541]
23704 [BZ #4108]
23705 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23706 before squaring exponent.
23707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23708 bottom long double and 27 bits of top long double before squaring
23709 exponent.
23710 * math/libm-test.inc (erfc_test): Add more tests.
23711 * sysdeps/i386/fpu/libm-test-ulps: Update.
23712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23714
23715 2012-03-01 Kai Tietz <ktietz@redhat.com>
23716
23717 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23718 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23719 containing bit-fields.
23720 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23721 * soft-fp/single.h (_FP_UNION_S): Likewise.
23722 * soft-fp/double.h (_FP_UNION_D): Likewise.
23723
23724 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23725
23726 [BZ #13786]
23727 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23728 not include ../strcmp.S.
23729 [USE_AS_STRNCASECMP_L]: Likewise.
23730 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23731 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23732 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23733 (__strncasecmp_l_ia32): Define as alias to
23734 __strncasecmp_l_nonascii.
23735
23736 [BZ #5794]
23737 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23738 * sysdeps/i386/fpu/libm-test-ulps: Update.
23739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23740
23741 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23743
23744 2012-02-29 Jeff Law <law@redhat.com>
23745
23746 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23747 out of bounds read.
23748
23749 2012-02-29 Marek Polacek <polacek@redhat.com>
23750
23751 [BZ #13706]
23752 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23753 * elf/Makefile: Add rules to run tst-unused-dep.out.
23754
23755 2012-02-28 David S. Miller <davem@davemloft.net>
23756
23757 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23758 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23761 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23762 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23763
23764 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23765
23766 * math/libm-test.inc (llround_test): Move one test from
23767 lround_test. Use TEST_f_L in moved test.
23768 (lround_test): Move misplaced test to llround_test. Add testcase
23769 from bug 2561.
23770
23771 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23772
23773 * sysdeps/x86_64/fpu/e_expf.S: New file.
23774 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23775
23776 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23777
23778 [BZ #13637]
23779 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23780 of remain_len that may cause incomplete multi-byte character and
23781 false match.
23782 * posix/bug-regex33.c: New file.
23783 * posix/Makefile (tests): Add bug-regex33.
23784
23785 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23786
23787 * manual/macros.texi: New file.
23788 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23789 * manual/libc.texinfo: Include macros.texi.
23790 * manual/creatute.texi: Likewise.
23791 * manual/install.texi: Likewise.
23792 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23793 @glibcadj{} in references to the GNU C Library.
23794 * manual/charset.texi: Likewise.
23795 * manual/conf.texi: Likewise.
23796 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23797 when not using those macros.
23798 * manual/creature.texi: Likewise.
23799 * manual/crypt.texi: Likewise.
23800 * manual/errno.texi: Likewise.
23801 * manual/filesys.texi: Likewise.
23802 * manual/header.texi: Likewise.
23803 * manual/install.texi: Likewise.
23804 * manual/intro.texi: Likewise.
23805 * manual/io.texi: Likewise.
23806 * manual/job.texi: Likewise.
23807 * manual/lang.texi: Likewise.
23808 * manual/libc.texiinfo: Likewise.
23809 * manual/llio.texi: Likewise.
23810 * manual/locale.texi: Likewise.
23811 * manual/maint.texi: Likewise.
23812 * manual/math.texi: Likewise.
23813 * manual/memory.texi: Likewise.
23814 * manual/message.texi: Likewise.
23815 * manual/nss.texi: Likewise.
23816 * manual/pattern.texi: Likewise.
23817 * manual/process.texi: Likewise.
23818 * manual/resource.texi: Likewise.
23819 * manual/search.texi: Likewise.
23820 * manual/setjmp.texi: Likewise.
23821 * manual/signal.texi: Likewise.
23822 * manual/socket.texi: Likewise.
23823 * manual/startup.texi: Likewise.
23824 * manual/stdio.texi: Likewise.
23825 * manual/string.texi: Likewise.
23826 * manual/sysinfo.texi: Likewise.
23827 * manual/syslog.texi: Likewise.
23828 * manual/terminal.texi: Likewise.
23829 * manual/time.texi: Likewise.
23830 * manual/users.texi: Likewise.
23831 * INSTALL: Regenerated.
23832 * NOTES: Regenerated.
23833 * sysdeps/gnu/errlist.c: Regenerated.
23834
23835 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23836
23837 * include/dirent.h: Include <dirstream.h> before
23838 <dirent/dirent.h>.
23839
23840 2012-02-28 David S. Miller <davem@davemloft.net>
23841
23842 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23843 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23844 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23845 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23846
23847 2012-02-27 David S. Miller <davem@davemloft.net>
23848
23849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23851 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23852 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23853
23854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23855 frame pointer instead of stack pointer relative arg slot.
23856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23857 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23858 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23859
23860 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23861
23862 [BZ #3992]
23863 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23864
23865 2012-02-27 David S. Miller <davem@davemloft.net>
23866
23867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23871 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23872 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23873 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23874 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23875
23876 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23877
23878 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23879 later. Allow versions 5-9.
23880 * configure: Regenerated.
23881 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23882 required minimum version and 4.6 as recommended version. Do not
23883 mention bugs in GCC 2.7 and 2.8.
23884 * INSTALL: Regenerated.
23885
23886 2012-02-27 David S. Miller <davem@davemloft.net>
23887
23888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23892 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23893 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23894 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23895 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23896
23897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23898 manipulate bits before adding and subtracting TWO112[sx].
23899 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23900
23901 2012-02-27 Roland McGrath <roland@hack.frob.com>
23902
23903 [BZ #13775]
23904 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23905 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23906 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23907 being in POSIX, because they are in 1003.1-2008.
23908
23909 * rt/tst-aio.c: Include <fcntl.h>.
23910 * rt/tst-aio7.c: Likewise.
23911 * rt/tst-aio64.c: Likewise.
23912
23913 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23914
23915 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23916
23917 * manual/install.texi (--with-headers): Describe headers as
23918 interface headers, not private headers.
23919 (Specific advice for GNU/Linux systems): Describe use of headers
23920 from "make headers_install", not private headers from older
23921 kernels.
23922 * INSTALL: Regenerated.
23923 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23924 Change to 2.6.19.
23925 * sysdeps/unix/sysv/linux/configure: Regenerated.
23926
23927 * manual/llio.texi (fclean): Remove documentation.
23928
23929 * manual/Makefile (libc-texi-generated): New variable. Include
23930 version.texi.
23931 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23932 $(libc-texi-generated), not duplicated list of files.
23933 (version.texi, stamp-version): New rules.
23934 (realclean): Remove $(libc-texi-generated), not individual files
23935 from that list. Do not remove dir-add.texinfo.
23936 * manual/libc.texinfo: Comment out uses of edition numbers and
23937 references to printed manual. Remove last-updated dates.
23938 (EDITION): Comment out.
23939 (ISBN): Likewise.
23940 (VERSION, UPDATED): Remove.
23941 (version.texi): Include.
23942
23943 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23944
23945 * sysdeps/posix/spawni.c: Include <signal.h>.
23946 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23947 * sysdeps/pthread/aio_fsync.c: Likewise.
23948
23949 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23950
23951 * conform/Makefile (tests): Run only when not cross-compiling and
23952 when fast-check is not defined.
23953
23954 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23955 * conform/data/limits.h-data: Fixes for POSIX2008.
23956 * conform/run-conformtest.sh: Run all tests.
23957 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23958 headers.
23959 * include/bits/dlfcn.h: Likewise.
23960 * include/langinfo.h: Likewise.
23961 * include/monetary.h: Likewise.
23962 * include/sys/poll.h: Likewise.
23963
23964 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23965 for __USE_GNU.
23966 * posix/spawn.h: Define __need_sigset_t.
23967 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23968 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23969 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23970 to get sigevent_t only.
23971 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23972 only for __USE_GNU.
23973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23974 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23975 process_vm_writev only for __USE_GNU.
23976 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23977
23978 * conform/Makefile: For now ignore errors from run-conformtest.
23979 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23980 POSIX to avoid namespace pollution. Don't prepend headers.
23981 * conform/data/aio.h-data: Fixes for POSIX testing.
23982 * conform/data/fcntl.h-data: Likewise.
23983 * conform/data/glob.h-data: Likewise.
23984 * conform/data/grp.h-data: Likewise.
23985 * conform/data/pthread.h-data: Likewise.
23986 * conform/data/pwd.h-data: Likewise.
23987 * conform/data/signal.h-data: Likewise.
23988 * conform/data/spawn.h-data: Likewise.
23989 * conform/data/stdio.h-data: Likewise.
23990 * conform/data/stdlib.h-data: Likewise.
23991 * conform/data/stropts.h-data: Likewise.
23992 * conform/data/sys/mman.h-data: Likewise.
23993 * conform/data/sys/stat.h-data: Likewise.
23994 * conform/data/sys/types.h-data: Likewise.
23995 * conform/data/sys/wait.h-data: Likewise.
23996 * conform/data/time.h-data: Likewise.
23997 * conform/data/unistd.h-data: Likewise.
23998 * conform/data/utime.h-data: Likewise.
23999
24000 * io/sys/stat.h: fchmod was always in POSIX.
24001 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24002 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24003 * rt/aio.h: Define __need_timespec before including <time.h>.
24004 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24005 struct. Add forward declaration of pthread_attr_t and use it in
24006 sigevent.
24007 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24008 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24009 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24010 always remove CLK_TCK definition.
24011
24012 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24013
24014 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24015
24016 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24017
24018 * conform/run-conformtest.sh: New file.
24019 * conform/Makefile: Run run-conformtest for tests.
24020 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24021 support.
24022
24023 * conform/data/uchar.h-data: New file.
24024 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24025 * conform/data/arpa/inet.h-data: Likewise.
24026 * conform/data/assert.h-data: Likewise.
24027 * conform/data/complex.h-data: Likewise.
24028 * conform/data/cpio.h-data: Likewise.
24029 * conform/data/ctype.h-data: Likewise.
24030 * conform/data/dirent.h-data: Likewise.
24031 * conform/data/dlfcn.h-data: Likewise.
24032 * conform/data/errno.h-data: Likewise.
24033 * conform/data/fcntl.h-data: Likewise.
24034 * conform/data/float.h-data: Likewise.
24035 * conform/data/fmtmsg.h-data: Likewise.
24036 * conform/data/fnmatch.h-data: Likewise.
24037 * conform/data/ftw.h-data: Likewise.
24038 * conform/data/glob.h-data: Likewise.
24039 * conform/data/grp.h-data: Likewise.
24040 * conform/data/iconv.h-data: Likewise.
24041 * conform/data/inttypes.h-data: Likewise.
24042 * conform/data/langinfo.h-data: Likewise.
24043 * conform/data/libgen.h-data: Likewise.
24044 * conform/data/limits.h-data: Likewise.
24045 * conform/data/locale.h-data: Likewise.
24046 * conform/data/math.h-data: Likewise.
24047 * conform/data/monetary.h-data: Likewise.
24048 * conform/data/mqueue.h-data: Likewise.
24049 * conform/data/ndbm.h-data: Likewise.
24050 * conform/data/net/if.h-data: Likewise.
24051 * conform/data/netdb.h-data: Likewise.
24052 * conform/data/netinet/in.h-data: Likewise.
24053 * conform/data/nl_types.h-data: Likewise.
24054 * conform/data/poll.h-data: Likewise.
24055 * conform/data/pthread.h-data: Likewise.
24056 * conform/data/pwd.h-data: Likewise.
24057 * conform/data/regex.h-data: Likewise.
24058 * conform/data/sched.h-data: Likewise.
24059 * conform/data/search.h-data: Likewise.
24060 * conform/data/semaphore.h-data: Likewise.
24061 * conform/data/setjmp.h-data: Likewise.
24062 * conform/data/signal.h-data: Likewise.
24063 * conform/data/spawn.h-data: Likewise.
24064 * conform/data/stdarg.h-data: Likewise.
24065 * conform/data/stdio.h-data: Likewise.
24066 * conform/data/stdlib.h-data: Likewise.
24067 * conform/data/string.h-data: Likewise.
24068 * conform/data/strings.h-data: Likewise.
24069 * conform/data/stropts.h-data: Likewise.
24070 * conform/data/sys/ipc.h-data: Likewise.
24071 * conform/data/sys/mman.h-data: Likewise.
24072 * conform/data/sys/msg.h-data: Likewise.
24073 * conform/data/sys/resource.h-data: Likewise.
24074 * conform/data/sys/select.h-data: Likewise.
24075 * conform/data/sys/sem.h-data: Likewise.
24076 * conform/data/sys/shm.h-data: Likewise.
24077 * conform/data/sys/socket.h-data: Likewise.
24078 * conform/data/sys/stat.h-data: Likewise.
24079 * conform/data/sys/statvfs.h-data: Likewise.
24080 * conform/data/sys/time.h-data: Likewise.
24081 * conform/data/sys/timeb.h-data: Likewise.
24082 * conform/data/sys/times.h-data: Likewise.
24083 * conform/data/sys/types.h-data: Likewise.
24084 * conform/data/sys/uio.h-data: Likewise.
24085 * conform/data/sys/un.h-data: Likewise.
24086 * conform/data/sys/utsname.h-data: Likewise.
24087 * conform/data/sys/wait.h-data: Likewise.
24088 * conform/data/syslog.h-data: Likewise.
24089 * conform/data/tar.h-data: Likewise.
24090 * conform/data/termios.h-data: Likewise.
24091 * conform/data/utime.h-data: Likewise.
24092 * conform/data/utmpx.h-data: Likewise.
24093 * conform/data/varargs.h-data: Likewise.
24094 * conform/data/wchar.h-data: Likewise.
24095 * conform/data/wctype.h-data: Likewise.
24096 * conform/data/wordexp.h-data: Likewise.
24097
24098 * include/stropts.h: New file.
24099 * include/uchar.h: New file.
24100 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24101 * include/assert.h: Likewise.
24102 * include/ctype.h: Likewise.
24103 * include/dirent.h: Likewise.
24104 * include/dlfcn.h: Likewise.
24105 * include/fcntl.h: Likewise.
24106 * include/fnmatch.h: Likewise.
24107 * include/glob.h: Likewise.
24108 * include/grp.h: Likewise.
24109 * include/libio.h: Likewise.
24110 * include/locale.h: Likewise.
24111 * include/math.h: Likewise.
24112 * include/net/if.h: Likewise.
24113 * include/netdb.h: Likewise.
24114 * include/netinet/in.h: Likewise.
24115 * include/pthread.h: Likewise.
24116 * include/pwd.h: Likewise.
24117 * include/regex.h: Likewise.
24118 * include/sched.h: Likewise.
24119 * include/search.h: Likewise.
24120 * include/setjmp.h: Likewise.
24121 * include/signal.h: Likewise.
24122 * include/stdio.h: Likewise.
24123 * include/stdlib.h: Likewise.
24124 * include/string.h: Likewise.
24125 * include/sys/cdefs.h: Likewise.
24126 * include/sys/mman.h: Likewise.
24127 * include/sys/msg.h: Likewise.
24128 * include/sys/resource.h: Likewise.
24129 * include/sys/select.h: Likewise.
24130 * include/sys/socket.h: Likewise.
24131 * include/sys/stat.h: Likewise.
24132 * include/sys/statvfs.h: Likewise.
24133 * include/sys/time.h: Likewise.
24134 * include/sys/times.h: Likewise.
24135 * include/sys/uio.h: Likewise.
24136 * include/sys/utsname.h: Likewise.
24137 * include/sys/wait.h: Likewise.
24138 * include/termios.h: Likewise.
24139 * include/time.h: Likewise.
24140 * include/ulimit.h: Likewise.
24141 * include/unistd.h: Likewise.
24142 * include/utime.h: Likewise.
24143 * include/wchar.h: Likewise.
24144 * include/wctype.h: Likewise.
24145 * include/wordexp.h: Likewise.
24146
24147 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24148
24149 * time/time.h: TIME_UTC must be a macro.
24150 Make timespec_get available for ISO C11 only as well.
24151
24152 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24153
24154 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24155 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24156
24157 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24158
24159 * configure.in: Use -o not -a in test for unsupported multi-arch.
24160
24161 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24162
24163 * manual/texinfo.tex: Update to version 2012-01-19.16.
24164
24165 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24166
24167 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24168
24169 2012-02-24 Roland McGrath <roland@hack.frob.com>
24170
24171 [BZ #13738]
24172 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24173 * manual/fdl-1.3.texi: New file.
24174 * manual/fdl-1.1.texi: File removed.
24175
24176 [BZ #13738]
24177 * manual/libc.texinfo (FDL_VERSION): New @set.
24178 Use it for mention of FDL in cover text.
24179 (Documentation License): Use it in @include file name.
24180
24181 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24182 Roland McGrath <roland@hack.frob.com>
24183
24184 [BZ #5461]
24185 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24186 not LONG_LONG_MAX and LONG_LONG_MIN.
24187 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24188 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24189 name.
24190 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24191
24192 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24193
24194 [BZ #2547]
24195 [BZ #11365]
24196 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24197 manipulate bits before adding and subtracting TWO23[sx].
24198 * math/libm-test.inc (nearbyint_test): Add more tests.
24199
24200 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24201
24202 [BZ #2548]
24203 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24204 bits before adding and subtracting TWO23[sx].
24205 * math/libm-test.inc (rint_test): Add more tests.
24206 (rint_test_tonearest): Likewise.
24207 (rint_test_towardzero): Likewise.
24208 (rint_test_downward): Likewise.
24209 (rint_test_upward: Likewise.
24210
24211 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24212
24213 [BZ #10110]
24214 * include/stdc-predef.h: New file. Extracted from features.h.
24215 * include/features.h: Include stdc-predef.h.
24216 * Makefile (headers): Add stdc-predef.h.
24217 * CONFORMANCE (Compiler limitations): Update.
24218
24219 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24220
24221 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24222
24223 2012-02-21 David S. Miller <davem@davemloft.net>
24224
24225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24226 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24227
24228 2012-02-20 David S. Miller <davem@davemloft.net>
24229
24230 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24231 using a normal save/restore sequence, rather than allocating a
24232 dummy stack frame just to store a frame pointer and restore.
24233 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24234
24235 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24236
24237 * manual/install.texi: Fix stray word in line-wrapped comment.
24238
24239 2012-02-20 David S. Miller <davem@davemloft.net>
24240
24241 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24242 both binutils and gcc support GOTDATA.
24243
24244 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24245 "rd %pc" in the PIC register setup sequences.
24246
24247 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24248 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24249 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24250 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24251 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24256 (SYSCALL_ERROR_HANDLER): Likewise.
24257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24258 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24260 (SYSCALL_ERROR_HANDLER): Likewise.
24261
24262 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24263 (HAVE_GCC_GOTDATA): New.
24264 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24265 relocation support in both binutils and gcc.
24266 * sysdeps/sparc/elf/configure: Regenerate.
24267
24268 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24269 * sysdeps/sparc/sparc32/elf/configure: Delete.
24270 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24271 * sysdeps/sparc/sparc64/elf/configure: Delete.
24272 * sysdeps/sparc/elf/configure.in: New file.
24273 * sysdeps/sparc/elf/configure: Generate.
24274
24275 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24276 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24277 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24278 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24279 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24280
24281 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24282
24283 * manual/install.texi: Do not mention specific glibc version
24284 numbers.
24285 * manual/libc.texinfo (VERSION, UPDATED): Update.
24286 (@copying): Use @copyright{} and range of years.
24287
24288 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24289
24290 [BZ #13695]
24291 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24292 [crti.S not in sysdirs] (generated): Do not append.
24293 [crti.S not in sysdirs] (omit-deps): Likewise.
24294 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24295 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24296 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24297 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24298 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24299 Likewise.
24300 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24301 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24302 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24303 * csu/defs.awk: Remove file.
24304 * sysdeps/generic/initfini.c: Likewise.
24305 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24306 variable.
24307 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24308 Likewise.
24309
24310 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24311
24312 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24313 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24314 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24316 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24317 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24318 <bits/epoll.h>.
24319 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24320 (__EPOLL_PACKED): Define to empty if not defined by
24321 <bits/epoll.h>.
24322 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24324 bits/epoll.h.
24325
24326 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24327
24328 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24329 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24330 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24331 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24332 <bits/timerfd.h>.
24333 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24335 bits/timerfd.h.
24336
24337 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24338
24339 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24340 in C locale.
24341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24342 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24343 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24345
24346 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24347
24348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24350
24351 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24352
24353 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24354 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24355 defined.
24356 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24357 Likewise.
24358 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24359 entry for 2.16.
24360
24361 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24362
24363 * math/w_acos.c: Use non-signaling floating-point comparisons.
24364 * math/w_acosf.c: Likewise.
24365 * math/w_acosh.c: Likewise.
24366 * math/w_acoshf.c: Likewise.
24367 * math/w_acoshl.c: Likewise.
24368 * math/w_acosl.c: Likewise.
24369 * math/w_asin.c: Likewise.
24370 * math/w_asinf.c: Likewise.
24371 * math/w_asinl.c: Likewise.
24372 * math/w_atanh.c: Likewise.
24373 * math/w_atanhf.c: Likewise.
24374 * math/w_atanhl.c: Likewise.
24375 * math/w_exp2.c: Likewise.
24376 * math/w_exp2f.c: Likewise.
24377 * math/w_exp2l.c: Likewise.
24378 * math/w_j0.c: Likewise.
24379 * math/w_j0f.c: Likewise.
24380 * math/w_j0l.c: Likewise.
24381 * math/w_j1.c: Likewise.
24382 * math/w_j1f.c: Likewise.
24383 * math/w_j1l.c: Likewise.
24384 * math/w_jn.c: Likewise.
24385 * math/w_jnf.c: Likewise.
24386 * math/w_log.c: Likewise.
24387 * math/w_log10.c: Likewise.
24388 * math/w_log10f.c: Likewise.
24389 * math/w_log10l.c: Likewise.
24390 * math/w_log2.c: Likewise.
24391 * math/w_log2f.c: Likewise.
24392 * math/w_log2l.c: Likewise.
24393 * math/w_logf.c: Likewise.
24394 * math/w_logl.c: Likewise.
24395 * math/w_sqrt.c: Likewise.
24396 * math/w_sqrtf.c: Likewise.
24397 * math/w_sqrtl.c: Likewise.
24398 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24399 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24401 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24402 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24403
24404 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24405
24406 [BZ #9739]
24407 * manual/string.texi (strnlen): Use correct parameter name in
24408 equivalent expression.
24409
24410 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24411
24412 [BZ #11174]
24413 * manual/users.texi (seteuid): Consistently use neweuid for
24414 argument name.
24415
24416 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24417
24418 [BZ #13704]
24419 * manual/nss.texi (Services in the NSS configuration): Correct
24420 list of services in example configuration file.
24421
24422 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24423
24424 [BZ #11322]
24425 * manual/arith.texi: Remove statements about negative zero
24426 behaving identically to zero.
24427
24428 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24429
24430 [BZ #5993]
24431 * manual/install.texi: Do not document upgrading from libc5.
24432
24433 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24434
24435 [BZ #4596]
24436 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24437
24438 2012-02-18 David S. Miller <davem@davemloft.net>
24439
24440 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24441 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24442 %o7 across the call.
24443 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24444 instead.
24445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24446 SETUP_PIC_REG_LEAF.
24447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24448 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24449 * sysdeps/sparc/crtn.S: Likewise.
24450
24451 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24452
24453 * aout/Makefile: Remove.
24454
24455 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24456
24457 [BZ #13058]
24458 * manual/examples/argp-ex1.c (main): Format definition in GNU
24459 style.
24460 * manual/examples/argp-ex2.c (main): Likewise.
24461 * manual/examples/argp-ex3.c (main): Likewise.
24462 * manual/examples/argp-ex4.c (main): Likewise.
24463 * manual/examples/longopt.c (main): Use new-style prototype
24464 definition.
24465 * manual/examples/strncat.c (main): Specify return type and use
24466 (void) for arguments.
24467 * manual/examples/subopt.c (main): Use char **argv argument.
24468
24469 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24470
24471 [BZ #5077]
24472 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24473 rounding modes.
24474
24475 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24476
24477 [BZ #6907]
24478 * manual/string.texi (strchr): Change when strchrnul is
24479 recommended.
24480
24481 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24482
24483 [BZ #174]
24484 * manual/locale.texi (setlocale): Document LOCPATH.
24485
24486 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24487
24488 [BZ #10210]
24489 * manual/process.texi (execle): Move @dots{} before last argument.
24490
24491 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24492
24493 [BZ #12047]
24494 * manual/charset.texi (Generic Charset Conversion): Fix typo
24495 (LC_TYPE -> LC_CTYPE).
24496
24497 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24498
24499 [BZ #5805]
24500 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24501 (scalbnf): Likewise.
24502 (scalbnl): Likewise.
24503 (scalbln): Likewise.
24504 (scalblnf): Likewise.
24505 (scalblnl): Likewise.
24506 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24507 (vwarnx): Likewise.
24508 (verr): Likewise.
24509 (verrx): Likewise.
24510 * manual/filesys.texi (telldir): Use braces around return type.
24511 * manual/llio.texi (mmap): Add space after comma.
24512 (mmap64): Likewise.
24513 * manual/math.texi (jn): Use @var{} on parameter names.
24514 (jnf): Likewise.
24515 (jnl): Likewise.
24516 (yn): Likewise.
24517 (ynf): Likewise.
24518 (ynl): Likewise.
24519 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24520 line.
24521 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24522 "...".
24523 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24524 (sched_get_priority_max): Likewise.
24525 * manual/signal.texi (sigvec): Add space after comma.
24526 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24527 names.
24528 (if_indextoname): Likewise.
24529 (if_freenameindex): Likewise.
24530 (sendto): Use ',' instead of '.' in prototype.
24531 * manual/startup.texi (syscall): Use @dots{} instead of literal
24532 "...".
24533 * manual/stdio.texi (__fpending): Separate initial words of
24534 paragraph from @deftypefun line.
24535 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24536 "...".
24537 (vsyslog): Use @var{} on parameter names.
24538 * manual/terminal.texi (stty): Use @var{} on parameter names.
24539 * manual/users.texi (getutmp): Use @var{} on parameter names.
24540 (getutmpx): Likewise.
24541
24542 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24543
24544 [BZ #6884]
24545 * manual/stdio.texi (fopen): Fix typos in description of
24546 ",ccs=STRING".
24547
24548 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24549
24550 [BZ #4026]
24551 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24552 get clock_id definition.
24553
24554 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24555
24556 [BZ #4822]
24557 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24558 (madvise): Cast every argument to void on its own.
24559
24560 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24561
24562 [BZ #9902]
24563 * manual/startup.texi (Exit Status): Fix typo.
24564
24565 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24566
24567 [BZ #10140]
24568 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24569 * manual/examples/argp-ex2.c: Likewise.
24570 * manual/examples/argp-ex3.c: Likewise.
24571
24572 2012-02-16 Richard Henderson <rth@redhat.com>
24573
24574 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24575 * sysdeps/s390/s390-32/initfini.c: Remove.
24576 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24577 * sysdeps/s390/s390-64/initfini.c: Remove.
24578
24579 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24580
24581 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24582 compiler output for sysdeps/generic/initfini.c.
24583 * sysdeps/sh/elf/initfini.c: Remove file.
24584
24585 2012-02-16 David S. Miller <davem@davemloft.net>
24586
24587 [BZ #11494]
24588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24589
24590 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24591 * sysdeps/sparc/crti.S: New file.
24592 * sysdeps/sparc/crtn.S: New file.
24593 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24594 * sysdeps/sparc/sparc64/Makefile: Likewise.
24595
24596 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24597
24598 [BZ #3335]
24599 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24600
24601 2012-02-15 Roland McGrath <roland@hack.frob.com>
24602
24603 [BZ #4822]
24604 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24605
24606 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24607 (write, read, close): Likewise.
24608 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24609
24610 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24611
24612 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24613 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24614 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24615 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24616 <bits/signalfd.h>.
24617 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24619 bits/signalfd.h.
24620
24621 2012-02-14 Marek Polacek <polacek@redhat.com>
24622
24623 * sysdeps/x86_64/crti.S: New file.
24624 * sysdeps/x86_64/crtn.S: New file.
24625 * sysdeps/x86_64/elf/initfini.c: Remove file.
24626
24627 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24628
24629 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24630 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24631 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24632 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24633 <bits/inotify.h>.
24634 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24636 bits/inotify.h.
24637
24638 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24639
24640 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24641 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24642 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24643 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24644 <bits/eventfd.h>.
24645 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24647 bits/eventfd.h.
24648
24649 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24650
24651 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24652 __feraiseexcept instead of feraiseexcept.
24653
24654 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24655 nanosleep invocations.
24656 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24657 strings, and add error checking for a nanosleep invocations.
24658
24659 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24660
24661 Replace FSF snail mail address with URLs, as per GNU coding standards.
24662 Most of the snail mail addresses were wrong anyway, and omitting
24663 them makes the source code easier to maintain. Almost all of the
24664 changes are to license notices and to locale LC_IDENTIFICATION
24665 addresses, except for this one:
24666 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24667 not its snail mail address.
24668
24669 2012-02-09 Richard Henderson <rth@twiddle.net>
24670
24671 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24672 of kernel-features.h.
24673
24674 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24675
24676 2012-02-08 Marek Polacek <polacek@redhat.com>
24677
24678 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24679 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24680 * sysdeps/gnu/_G_config.h: Likewise.
24681 * sysdeps/generic/_G_config.h: Likewise.
24682
24683 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24684
24685 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24686 tests.
24687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24688
24689 * sysdeps/powerpc/powerpc32/crti.S: New file.
24690 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24691 * sysdeps/powerpc/powerpc64/crti.S: New file.
24692 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24693
24694 * Makeconfig (have-initfini): Don't set.
24695 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24696 * configure.in (nopic_initfini): Don't substitute.
24697 * config.h.in (HAVE_INITFINI): Don't #undef.
24698 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24699 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24700
24701 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24702
24703 Support crti.S and crtn.S provided directly by architectures.
24704 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24705 [crti.S in sysdirs] (omit-deps): Likewise.
24706 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24707 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24708 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24709 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24710 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24711 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24712 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24713 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24714 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24715 compiler output for sysdeps/generic/initfini.c.
24716 * sysdeps/i386/elf/Makefile: Remove file.
24717 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24718
24719 2012-02-07 Marek Polacek <polacek@redhat.com>
24720
24721 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24722 * sysdeps/gnu/_G_config.h: Likewise.
24723 * sysdeps/mach/hurd/_G_config.h: Likewise.
24724
24725 2012-02-07 Marek Polacek <polacek@redhat.com>
24726
24727 * math/Makefile (tests): Add tst-CMPLX2.
24728 * math/tst-CMPLX2.c: New file.
24729
24730 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24731
24732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24733
24734 * math/libm-test.inc (jn_test): Add missing L suffix.
24735
24736 2012-02-06 Marek Polacek <polacek@redhat.com>
24737
24738 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24739 * sysdeps/i386/fpu/e_powf.S: Likewise.
24740 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24741 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24742 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24743 * sysdeps/i386/fpu/e_pow.S: Likewise.
24744 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24745 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24746 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24747 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24748 * sysdeps/i386/fpu/e_log2.S: Likewise.
24749 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24750 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24751 * sysdeps/i386/fpu/e_powl.S: Likewise.
24752 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24753 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24754 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24755 * sysdeps/i386/fpu/e_logl.S: Likewise.
24756 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24757 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24758 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24759 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24760 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24761 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24762 * sysdeps/i386/fpu/e_log.S: Likewise.
24763 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24764 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24765 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24766 * sysdeps/i386/fpu/e_logf.S: Likewise.
24767 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24768 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24769 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24770 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24771 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24772 * sysdeps/i386/fpu/e_log10.S: Likewise.
24773 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24775 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24776 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24777 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24778 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24779 * sysdeps/i386/asm-syntax.h: Likewise.
24780 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24781 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24782 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24783 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24784 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24785 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24786 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24787 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24788 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24789 * sysdeps/powerpc/sysdep.h: Likewise.
24790 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24791 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24792
24793 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24794
24795 [BZ #411]
24796 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24797
24798 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24799
24800 * sysdeps/i386/sysdep.h: Include <features.h>.
24801 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24802 version.
24803
24804 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24805
24806 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24807 Define.
24808 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24809 LOAD_PIC_REG_STR.
24810
24811 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24812
24813 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24814 (SETUP_PIC_REG): Use GET_PC_THUNK.
24815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24816 macro.
24817
24818 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24819
24820 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24821 for non-PIC compilation.
24822 (SETUP_PIC_REG): Add .p2align directive.
24823 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24824 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24825 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24826 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24827 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24828 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24829 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24830 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24831 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24832 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24833 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24834 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24835 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24836 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24837 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24838 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24839 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24840 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24841 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24842 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24843 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24844 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24845 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24846 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24849 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24850 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24851 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24852 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24853 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24854 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24855 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24856 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24857 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24858 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24859 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24860 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24861 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24862 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24863 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24864
24865 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24866
24867 * math/tst-CMPLX.c: Include <stdio.h>.
24868
24869 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24870
24871 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24872 float.
24873 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24874 * sysdeps/sparc/bits/mathdef.h: Likewise.
24875
24876 2012-01-31 Marek Polacek <polacek@redhat.com>
24877
24878 * libio/libio.h: Don't define _PARAMS.
24879 * locale/programs/config.h: Don't define PARAMS.
24880 * stdlib/strtol_l.c: Likewise.
24881 (__strtol_l): Remove PARAMS from the prototype.
24882
24883 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24884
24885 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24886 names. Just use the correct names. Remove unnecessary wrapper
24887 functions.
24888 * malloc/arena.c: Likewise.
24889 * malloc/hooks.c: Likewise.
24890
24891 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24892 ARENA_TEST says not to. Simplify test for creation of a new arena.
24893 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24894
24895 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24896
24897 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24898 into tail calls.
24899 (update_get_addr): New function.
24900 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24901 GET_ADDR_MODULE parameter.
24902
24903 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24904
24905 * crypt/cert.c: Remove __STDC__ conditionals.
24906 * crypt/crypt-entry.c: Likewise.
24907 * crypt/crypt_util.c: Likewise.
24908 * libio/filedoalloc.c: Likewise.
24909 * libio/fileops.c: Likewise.
24910 * libio/genops.c: Likewise.
24911 * libio/iofclose.c: Likewise.
24912 * libio/iofdopen.c: Likewise.
24913 * libio/iofopen.c: Likewise.
24914 * libio/iofopen64.c: Likewise.
24915 * libio/iogetdelim.c: Likewise.
24916 * libio/iopopen.c: Likewise.
24917 * libio/obprintf.c: Likewise.
24918 * libio/oldfileops.c: Likewise.
24919 * libio/oldiofclose.c: Likewise.
24920 * libio/oldiofdopen.c: Likewise.
24921 * libio/oldiofopen.c: Likewise.
24922 * libio/oldiopopen.c: Likewise.
24923 * libio/wfiledoalloc.c: Likewise.
24924 * libio/wgenops.c: Likewise.
24925 * locale/programs/xmalloc.c: Likewise.
24926 * misc/syslog.c: Likewise.
24927 * stdio-common/xbug.c: Likewise.
24928 * string/memchr.c: Likewise.
24929 * string/memcmp.c: Likewise.
24930 * string/memrchr.c: Likewise.
24931 * string/rawmemchr.c: Likewise.
24932 * sysdeps/posix/getcwd.c: Likewise.
24933 * time/strftime_l.c: Likewise.
24934
24935 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24936
24937 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24938 * config.make.in (config-cflags-sse2avx): Define.
24939 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24940 Fix typo.
24941
24942 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24943
24944 * scripts/config.guess: Update from upstream config git repository.
24945 * scripts/config.sub: Likewise.
24946
24947 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24948
24949 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24950 (EM_NUM): Update.
24951 (R_TILEPRO_*, R_TILEGX_*): New macros.
24952
24953 * scripts/firstversions.awk: Fix bug in version range handling.
24954
24955 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24956
24957 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24958
24959 * include/sys/epoll.h: New file.
24960 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24961 libc_hidden_def.
24962
24963 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24964
24965 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24966 Avoid unnecessary __WORDSIZE == 64 test.
24967 (fmaxf): Use VEX format if possible.
24968 (fmax): Likewise.
24969 (fminf): Likewise.
24970 (fmin): Likewise.
24971
24972 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24973 * math/math_private.h: Remove libc_fegetround* and
24974 libc_fesetround*.
24975 * sysdeps/i386/configure.in: Check for -msse2avx.
24976 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24977 also if SSE2AVX is defined.
24978 Remove libc_fegetround* and libc_fesetround*.
24979 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24980 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24981 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24982 of HAS_YMM_USABLE.
24983 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24984 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24985 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24987 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24988
24989 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24990
24991 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24992
24993 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24994 size is not set.
24995 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24996
24997 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24998
24999 [BZ #13618]
25000 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25001 relocation.
25002 * Makeconfig (libm): Define.
25003 * elf/Makefile: Add rules to build and run tst-relsort1.
25004 * elf/tst-relsort1.c: New file.
25005 * elf/tst-relsort1mod1.c: New file.
25006 * elf/tst-relsort1mod2.c: New file.
25007
25008 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25009
25010 * math/s_ldexp.c: Remove __STDC__ conditionals.
25011 * math/s_ldexpf.c: Likewise.
25012 * math/s_ldexpl.c: Likewise.
25013 * math/s_nextafter.c: Likewise.
25014 * math/s_nexttowardf.c: Likewise.
25015 * math/s_significand.c: Likewise.
25016 * math/s_significandf.c: Likewise.
25017 * math/s_significandl.c: Likewise.
25018 * math/w_jnl.c: Likewise.
25019 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25020 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25021 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25022 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25023 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25025 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25026 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25027 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25028 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25029 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25030 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25038 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25039 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25040 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25041 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25043 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25044 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25045 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25046 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25047 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25048 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25049 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25050 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25051 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25052 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25053 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25055 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25056 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25057 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25058 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25059 * sysdeps/ieee754/k_standard.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25062 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25063 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25064 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25069 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25070 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25077 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25084 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25089 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25091 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25092 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25093 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25094 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25095 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25096 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25098 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25099 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25102 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25103 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25104 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25106 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25107 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25108 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25109 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25110 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25113 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25114 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25115 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25116 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25117 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25118 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25120 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25121 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25123 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25124 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25126 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25129 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25131 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25134 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25135 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25136 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25137 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25138 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25139 * sysdeps/ieee754/s_matherr.c: Likewise.
25140 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25144
25145 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25146
25147 * crypt/md5.h: Remove __STDC__ conditionals.
25148 * libio/libioP.h: Likewise.
25149 * locale/programs/config.h: Likewise.
25150 * sysdeps/generic/sysdep.h: Likewise.
25151 * sysdeps/i386/asm-syntax.h: Likewise.
25152 * sysdeps/s390/asm-syntax.h: Likewise.
25153 * sysdeps/unix/sysdep.h: Likewise.
25154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25156
25157 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25158
25159 * libio/libio.h: Remove __STDC__ conditionals.
25160 * malloc/obstack.h: Likewise.
25161 * math/complex.h: Likewise.
25162 * math/math.h: Likewise.
25163 * sysdeps/generic/_G_config.h: Likewise.
25164 * sysdeps/gnu/_G_config.h: Likewise.
25165 * sysdeps/mach/hurd/_G_config.h: Likewise.
25166 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25167 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25168 * sysdeps/sparc/bits/mathdef.h: Likewise.
25169
25170 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25171
25172 [BZ #13583]
25173 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25174 Clean up HAS_* macros.
25175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25176 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25177 possible.
25178 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25179 HAS_AVX.
25180 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25181 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25183 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25185
25186 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25187
25188 * elf/tst-unique3.cc (gets): Remove declaration.
25189 * elf/tst-unique3lib.cc (gets): Likewise.
25190 * elf/tst-unique3lib2.cc (gets): Likewise.
25191 * elf/tst-unique4.cc (gets): Likewise.
25192
25193 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25194
25195 * include/stdio.h: Add C++ protection. Add gets declarations and
25196 definitions.
25197 * debug/tst-chk1.c: Don't declare gets here.
25198 * stdio-common/tst-gets.c: Likewise.
25199
25200 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25201
25202 * posix/glob: Remove directory.
25203
25204 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25205
25206 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25207
25208 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25209
25210 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25211 of the non-standard EPFNOSUPPORT.
25212
25213 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25214
25215 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25216 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25217 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25218
25219 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25220
25221 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25222
25223 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25224
25225 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25226 transient errors.
25227 * nscd/grpcache.c (cache_addgr): Likewise.
25228 * nscd/hstcache.c (cache_addhst): Likewise.
25229 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25230 * nscd/pwdcache.c (cache_addpw): Likewise.
25231 * nscd/servicescache.c (cache_addserv): Likewise.
25232
25233 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25234
25235 * malloc/malloc.c: Various cleanups.
25236 * malloc/hooks.c: Likewise.
25237
25238 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25239 * stdlib/bug-fmtmsg1.c: New file.
25240
25241 * stdlib/fmtmsg.c (init): Add missing unlock.
25242 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25243
25244 2012-01-12 Marek Polacek <polacek@redhat.com>
25245
25246 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25247 and _GNU_SOURCE.
25248
25249 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25250
25251 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25252 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25253 macro to ensure uniqueness of label name.
25254 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25255 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25256
25257 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25258
25259 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25260
25261 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25262 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25263 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25264 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25265
25266 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25267
25268 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25269
25270 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25271 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25272 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25273
25274 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25275
25276 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25277 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25280
25281 * math/bits/math-finite.h: Add ldexp support.
25282
25283 2012-01-10 Marek Polacek <polacek@redhat.com>
25284
25285 * locale/programs/localedef.h (show_archive_content): Add noreturn
25286 attribute.
25287
25288 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25289
25290 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25291
25292 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25293
25294 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25295
25296 * io/Makefile (headers): Add bits/poll2.h.
25297
25298 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25299
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25301 typo #include statement.
25302
25303 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25304
25305 * include/sys/cdefs.h: Define __attribute_alloc_size.
25306 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25307 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25308 * elf/pldd.c: Likewise.
25309 * iconv/iconv_charmap.c: Likewise.
25310 * iconv/iconvconfig.c: Likewise.
25311 * iconv/strtab.c: Likewise.
25312 * locale/programs/locale.c: Likewise.
25313 * locale/programs/localedef.h: Likewise.
25314 * locale/programs/simple-hash.c: Likewise.
25315 * nscd/nscd.h: Likewise.
25316 * nss/makedb.c: Likewise.
25317 * sysdeps/generic/ldconfig.h: Likewise.
25318 * locale/programs/localedef.c: Remove xmalloc prototype.
25319 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25320
25321 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25322
25323 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25324 appropriate.
25325
25326 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25327
25328 * math/Makefile (tests): Add tst-CMPLX.
25329 * math/tst-CMPLX.c: New file.
25330
25331 * math/complex.h (CMPLXL): Fix typo.
25332
25333 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25334 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25335 GLIBC_2.16.
25336 * debug/tst-chk1.c: Add poll and ppoll tests.
25337 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25338 * include/sys/poll.h: Add hidden proto for ppoll.
25339 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25340 * sysdeps/mach/hurd/ppoll.c: Likewise.
25341 * io/ppoll.c: Likewise.
25342 * debug/poll_chk.c: New file.
25343 * debug/ppoll_chk.c: New file.
25344 * include/bits/poll2.h: New file.
25345 * io/bits/poll2.h: New file.
25346
25347 [BZ #1350]
25348 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25349
25350 * configure.in: static is always set to yes. Remove.
25351 * config.make.in: Don't set build-static.
25352 * Makeconfig: Remove use of build-static.
25353 * dlfcn/Makefile: Likewise.
25354 * elf/Makefile: Likewise.
25355 * math/Makefile: Likewise.
25356 * misc/Makefile: Likewise.
25357 * nptl/Makefile: Likewise.
25358 * sysdeps/mach/hurd/Makefile: Likewise.
25359
25360 * configure.in: PWD_P is not used anymore.
25361 * config.make.in: Remove PWD_P entry.
25362
25363 * configure.in: Remove last remnants of RANLIB.
25364 No need to check for signed size_t anymore.
25365 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25366 and IA-64.
25367 Remove __builtin_expect test because we require at least gcc 3.4.
25368 * aclocal.m4: Likewise.
25369
25370 * wcsmbs/mbrtoc16.c: Implement using towc function.
25371 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25372 * wcsmbs/wcsmbsload.c: Likewise.
25373 * iconv/gconv_simple.c: Likewise.
25374 * iconv/gconv_int.h: Likewise.
25375 * iconv/gconv_builtin.h: Likewise.
25376 * iconv/iconv_prog.c: Remove CHAR16 handling.
25377
25378 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25379
25380 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25381
25382 * configure.in: Remove --with-elf and --enable-bounded options.
25383 Dont set base_machine for ia64. More non-ELF conditions removed.
25384 Remove testing and setting of leading underscore information.
25385 * config.make.in (build-bounded): Set to no.
25386 * config.h.in: Remove NO_UNDERSCORES entry.
25387 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25388 them.
25389 * csu/start.c: Remove !NO_UNDERSCORE code.
25390 * locale/localeinfo.h: Likewise.
25391 * sysdeps/generic/machine-gmon.h: Likewise.
25392 * sysdeps/generic/sysdep.h: Likewise.
25393 * sysdeps/i386/sysdep.h: Likewise.
25394 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25395 * sysdeps/mach/sysdep.h: Likewise.
25396 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25397 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25398 * sysdeps/sh/sysdep.h: Likewise.
25399 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25400 * sysdeps/unix/i386/sysdep.S: Likewise.
25401 * sysdeps/unix/sparc/start.c: Likewise.
25402 * sysdeps/unix/sparc/sysdep.S: Likewise.
25403 * sysdeps/unix/sparc/sysdep.h: Likewise.
25404 * sysdeps/unix/start.c: Likewise.
25405 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25406 * sysdeps/x86_64/sysdep.h: Likewise.
25407
25408 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25409
25410 [BZ #13553]
25411 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25412 for non-gcc.
25413 * argp/argp-fmtstream.h: Use const instead __const.
25414 * argp/argp.h: Likewise.
25415 * assert/assert.h: Likewise.
25416 * bits/fenv.h: Likewise.
25417 * bits/sched.h: Likewise.
25418 * bits/sigset.h: Likewise.
25419 * bits/sigthread.h: Likewise.
25420 * catgets/nl_types.h: Likewise.
25421 * conform/data/pthread.h-data: Likewise.
25422 * crypt/crypt-private.h: Likewise.
25423 * crypt/crypt.h: Likewise.
25424 * crypt/crypt_util.c: Likewise.
25425 * ctype/ctype.h: Likewise.
25426 * debug/execinfo.h: Likewise.
25427 * debug/mbsnrtowcs_chk.c: Likewise.
25428 * debug/mbsrtowcs_chk.c: Likewise.
25429 * debug/wcsnrtombs_chk.c: Likewise.
25430 * debug/wcsrtombs_chk.c: Likewise.
25431 * debug/wcstombs_chk.c: Likewise.
25432 * dirent/dirent.h: Likewise.
25433 * dlfcn/dlfcn.h: Likewise.
25434 * elf/neededtest4.c: Likewise.
25435 * grp/grp.h: Likewise.
25436 * gshadow/gshadow.h: Likewise.
25437 * iconv/gconv.h: Likewise.
25438 * iconv/gconv_int.h: Likewise.
25439 * iconv/gconv_simple.c: Likewise.
25440 * iconv/iconv.h: Likewise.
25441 * iconv/loop.c: Likewise.
25442 * iconv/skeleton.c: Likewise.
25443 * include/aio.h: Likewise.
25444 * include/aliases.h: Likewise.
25445 * include/argz.h: Likewise.
25446 * include/arpa/inet.h: Likewise.
25447 * include/assert.h: Likewise.
25448 * include/dirent.h: Likewise.
25449 * include/dlfcn.h: Likewise.
25450 * include/execinfo.h: Likewise.
25451 * include/fcntl.h: Likewise.
25452 * include/fenv.h: Likewise.
25453 * include/glob.h: Likewise.
25454 * include/grp.h: Likewise.
25455 * include/libintl.h: Likewise.
25456 * include/mntent.h: Likewise.
25457 * include/netdb.h: Likewise.
25458 * include/pwd.h: Likewise.
25459 * include/rpc/netdb.h: Likewise.
25460 * include/sched.h: Likewise.
25461 * include/search.h: Likewise.
25462 * include/shadow.h: Likewise.
25463 * include/signal.h: Likewise.
25464 * include/stdio.h: Likewise.
25465 * include/stdlib.h: Likewise.
25466 * include/string.h: Likewise.
25467 * include/sys/socket.h: Likewise.
25468 * include/sys/stat.h: Likewise.
25469 * include/sys/statfs.h: Likewise.
25470 * include/sys/statvfs.h: Likewise.
25471 * include/sys/syslog.h: Likewise.
25472 * include/sys/time.h: Likewise.
25473 * include/sys/uio.h: Likewise.
25474 * include/time.h: Likewise.
25475 * include/unistd.h: Likewise.
25476 * include/utmp.h: Likewise.
25477 * include/wchar.h: Likewise.
25478 * include/wctype.h: Likewise.
25479 * inet/aliases.h: Likewise.
25480 * inet/arpa/inet.h: Likewise.
25481 * inet/netinet/ether.h: Likewise.
25482 * inet/netinet/in.h: Likewise.
25483 * intl/libintl.h: Likewise.
25484 * io/bits/fcntl2.h: Likewise.
25485 * io/fcntl.h: Likewise.
25486 * io/ftw.h: Likewise.
25487 * io/sys/poll.h: Likewise.
25488 * io/sys/stat.h: Likewise.
25489 * io/sys/statfs.h: Likewise.
25490 * io/sys/statvfs.h: Likewise.
25491 * io/utime.h: Likewise.
25492 * libio/bits/stdio.h: Likewise.
25493 * libio/bits/stdio2.h: Likewise.
25494 * libio/libio.h: Likewise.
25495 * libio/libioP.h: Likewise.
25496 * libio/stdio.h: Likewise.
25497 * locale/lc-ctype.c: Likewise.
25498 * locale/locale.h: Likewise.
25499 * login/utmp.h: Likewise.
25500 * malloc/arena.c: Likewise.
25501 * malloc/malloc.c: Likewise.
25502 * malloc/malloc.h: Likewise.
25503 * malloc/mcheck.c: Likewise.
25504 * malloc/mtrace.c: Likewise.
25505 * math/bits/mathcalls.h: Likewise.
25506 * math/fenv.h: Likewise.
25507 * math/math_private.h: Likewise.
25508 * misc/bits/error.h: Likewise.
25509 * misc/bits/syslog.h: Likewise.
25510 * misc/err.h: Likewise.
25511 * misc/error.h: Likewise.
25512 * misc/fstab.h: Likewise.
25513 * misc/mntent.h: Likewise.
25514 * misc/regexp.h: Likewise.
25515 * misc/search.h: Likewise.
25516 * misc/sgtty.h: Likewise.
25517 * misc/sys/mman.h: Likewise.
25518 * misc/sys/syslog.h: Likewise.
25519 * misc/sys/uio.h: Likewise.
25520 * misc/sys/xattr.h: Likewise.
25521 * misc/ttyent.h: Likewise.
25522 * nis/rpcsvc/ypclnt.h: Likewise.
25523 * nss/nss.h: Likewise.
25524 * posix/bits/unistd.h: Likewise.
25525 * posix/fnmatch.h: Likewise.
25526 * posix/glob.h: Likewise.
25527 * posix/sched.h: Likewise.
25528 * posix/spawn.h: Likewise.
25529 * posix/sys/wait.h: Likewise.
25530 * posix/unistd.h: Likewise.
25531 * posix/wordexp.h: Likewise.
25532 * pwd/pwd.h: Likewise.
25533 * resolv/netdb.h: Likewise.
25534 * resource/sys/resource.h: Likewise.
25535 * rt/aio.h: Likewise.
25536 * rt/bits/mqueue2.h: Likewise.
25537 * rt/mqueue.h: Likewise.
25538 * shadow/shadow.h: Likewise.
25539 * signal/signal.h: Likewise.
25540 * socket/send.c: Likewise.
25541 * socket/sendto.c: Likewise.
25542 * socket/sys/socket.h: Likewise.
25543 * stdio-common/printf.h: Likewise.
25544 * stdlib/bits/stdlib.h: Likewise.
25545 * stdlib/fmtmsg.h: Likewise.
25546 * stdlib/monetary.h: Likewise.
25547 * stdlib/stdlib.h: Likewise.
25548 * stdlib/ucontext.h: Likewise.
25549 * streams/stropts.h: Likewise.
25550 * string/argz.h: Likewise.
25551 * string/bits/string2.h: Likewise.
25552 * string/string.h: Likewise.
25553 * string/strings.h: Likewise.
25554 * sunrpc/rpc/auth.h: Likewise.
25555 * sunrpc/rpc/auth_des.h: Likewise.
25556 * sunrpc/rpc/clnt.h: Likewise.
25557 * sunrpc/rpc/netdb.h: Likewise.
25558 * sunrpc/rpc/pmap_clnt.h: Likewise.
25559 * sunrpc/rpc/xdr.h: Likewise.
25560 * sysdeps/generic/inttypes.h: Likewise.
25561 * sysdeps/generic/net/if.h: Likewise.
25562 * sysdeps/generic/sys/swap.h: Likewise.
25563 * sysdeps/gnu/net/if.h: Likewise.
25564 * sysdeps/gnu/utmpx.h: Likewise.
25565 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25566 * sysdeps/i386/i486/bits/string.h: Likewise.
25567 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25568 * sysdeps/s390/bits/string.h: Likewise.
25569 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25570 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25571 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25572 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25573 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25574 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25575 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25576 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25577 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25578 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25579 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25580 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25581 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25582 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25583 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25584 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25585 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25589 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25590 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25591 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25592 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25593 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25594 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25595 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25596 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25597 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25598 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25599 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25600 * sysvipc/sys/ipc.h: Likewise.
25601 * sysvipc/sys/msg.h: Likewise.
25602 * sysvipc/sys/sem.h: Likewise.
25603 * sysvipc/sys/shm.h: Likewise.
25604 * termios/termios.h: Likewise.
25605 * time/sys/time.h: Likewise.
25606 * time/time.h: Likewise.
25607 * wcsmbs/bits/wchar2.h: Likewise.
25608 * wcsmbs/uchar.h: Likewise.
25609 * wcsmbs/wchar.h: Likewise.
25610 * wctype/wctype.h: Likewise.
25611
25612 [BZ #13551]
25613 * Makeconfig: Remove all but ELF support including AIX support.
25614 * Makerules: Likewise.
25615 * config.h.in: Likewise.
25616 * config.make.in: Likewise.
25617 * configure: Likewise.
25618 * configure.in: Likewise.
25619 * csu/Makefile: Likewise.
25620 * csu/version.c: Likewise.
25621 * debug/Makefile: Likewise.
25622 * dlfcn/Makefile: Likewise.
25623 * elf/Makefile: Likewise.
25624 * extra-lib.mk: Likewise.
25625 * iconv/Makefile: Likewise.
25626 * include/libc-symbols.h: Likewise.
25627 * include/shlib-compat.h: Likewise.
25628 * resolv/Makefile: Likewise.
25629 * resolv/res_libc.c: Likewise.
25630 * rt/Makefile: Likewise.
25631 * sysdeps/i386/asm-syntax.h: Likewise.
25632 * sysdeps/i386/sysdep.h: Likewise.
25633 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25634 * sysdeps/mach/sysdep.h: Likewise.
25635 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25636 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25637 * sysdeps/s390/asm-syntax.h: Likewise.
25638 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25639 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25640 * sysdeps/sh/sysdep.h: Likewise.
25641 * sysdeps/unix/sparc/sysdep.h: Likewise.
25642 * sysdeps/wordsize-32/divdi3.c: Likewise.
25643 * sysdeps/x86_64/sysdep.h: Likewise.
25644
25645 * argp/Versions: Remove _argp_unlock_xxx.
25646
25647 [BZ #13559]
25648 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25649 * abilist/libBrokenLocale.abilist: Likewise.
25650 * abilist/libanl.abilist: Likewise.
25651 * abilist/libc.abilist: Likewise.
25652 * abilist/libcrypt.abilist: Likewise.
25653 * abilist/libdl.abilist: Likewise.
25654 * abilist/libm.abilist: Likewise.
25655 * abilist/libnsl.abilist: Likewise.
25656 * abilist/libpthread.abilist: Likewise.
25657 * abilist/libresolv.abilist: Likewise.
25658 * abilist/librt.abilist: Likewise.
25659 * abilist/libthread_db.abilist: Likewise.
25660 * abilist/libutil.abilist: Likewise.
25661 * abilist/libnss_db.abilist: New file.
25662
25663 * scripts/abilist.awk: Add support for indirect functions.
25664
25665 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25666
25667 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25668
25669 * shlib-versions: Remove entries for ports architectures.
25670
25671 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25672 files in ports.
25673 * elf/stackguard-macros.h: Remove support for IA-64.
25674 * elf/tst-auditmod1.c: Likewise.
25675 * sysdeps/generic/ldsodefs.h: Likewise.
25676
25677 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25678 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25679 configure files.
25680
25681 [BZ #13552]
25682 * configure.in: Remove --enable-omitfp support.
25683 * FAQ.in: Adjust.
25684 * config.make.in: Likewise.
25685 * Makeconfig: Likewise.
25686 * manual/install.texi: Likewise.
25687
25688 In case anyone cares, the IA-64 architecture could move to ports.
25689 * sysdeps/ia64/*: Removed.
25690 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25691 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25692
25693 [BZ #13555]
25694 * configure.in: Remove entries for unsupported architectures.
25695
25696 [BZ #13533]
25697 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25698 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25699 routines.
25700 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25701 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25702 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25703 fall back to using wcrtomb.
25704 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25705 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25706 renaming.
25707 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25708 * wcsmbs/tst-c16c32-1.c: New file.
25709
25710 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25711 local variable.
25712
25713 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25714
25715 * elf/tst-unique3.cc: Add explicit declaration of gets.
25716 * elf/tst-unique3lib.cc: Likewise.
25717 * elf/tst-unique3lib2.cc: Likewise.
25718 * elf/tst-unique4.cc: Likewise.
25719
25720 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25721
25722 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25723
25724 [BZ #13566]
25725 * assert/assert.h (static_assert): Don't define for C++.
25726 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25727 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25728
25729 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25730
25731 * iconv/loop.c (single loop): Fix assertion in storing of
25732 remaining bytes.
25733
25734 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25735
25736 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25737
25738 * posix/getconf.c: Update copyright year.
25739 * nss/getent.c: Likewise.
25740 * nss/makedb.c: Likewise.
25741 * iconv/iconvconfig.c: Likewise.
25742 * iconv/iconv_prog.c: Likewise.
25743 * elf/ldconfig.c: Likewise.
25744 * elf/pldd.c: Likewise.
25745 * elf/sotruss.ksh: Likewise.
25746 * catgets/gencat.c: Likewise.
25747 * csu/version.c: Likewise.
25748 * elf/ldd.bash.in: Likewise.
25749 * elf/sprof.c (print_version): Likewise.
25750 * locale/programs/locale.c: Likewise.
25751 * locale/programs/localedef.c: Likewise.
25752 * login/programs/pt_chown.c: Likewise.
25753 * nscd/nscd.c (print_version): Likewise.
25754 * debug/xtrace.sh: Likewise.
25755 * malloc/memusage.sh: Likewise.
25756 * malloc/mtrace.pl: Likewise.
25757 * debug/catchsegv.sh: Likewise.
25758
25759 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25760
25761 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25762 pure attribute.
25763
25764 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25765
25766 [BZ #13533]
25767 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25768 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25769 transformations.
25770 * iconv/gconv_int.h: Likewise.
25771 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25772 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25773 from libc for GLIBC_2.16.
25774 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25775 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25776 * wcsmbs/uchar.h: Really define mbstate_t.
25777 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25778 * wcsmbs/c16rtomb.c: New file.
25779 * wcsmbs/mbrtoc16.c: New file.
25780 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25781 for C/POSIX locale.
25782 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25783 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25784
25785 * wcsmbs/wchar.h: Add missing __restrict.
25786
25787 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25788
25789 [BZ #13532]
25790 * time/Makefile (routines): Add timespec_get.
25791 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25792 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25793 timespec for ISO C11.
25794 * time/timespec_get.c: New file.
25795 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25796 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25797
25798 [BZ #13531]
25799 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25800 * stdlib/stdlib.h: Declare aligned_alloc.
25801 * Versions.def: Add GLIBC_2.16 for libc.
25802 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25803
25804 [BZ 13527]
25805 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25806 ISO C11.
25807
25808 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25809 code.
25810
25811 [BZ #13528]
25812 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25813
25814 [BZ #13529]
25815 * assert/assert.h (static_assert): Define.
25816
25817 * version.h: Update for 2.16 development version.
25818
25819 [BZ #13526]
25820 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25821 _ISOC11_SOURCE.
25822
25823 * version.h (RELEASE): Bump for 2.15 release.
25824 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25825
25826 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25827 Patch by Marek Polacek <mpolacek@redhat.com>.
25828
25829 * bits/byteswap.h: Protect long long constants with __extension__.
25830 * sysdeps/i386/bits/byteswap.h: Likewise.
25831 * sysdeps/ia64/bits/byteswap.h: Likewise.
25832 * sysdeps/s390/bits/byteswap.h: Likewise.
25833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25834
25835 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25836
25837 [BZ #13540]
25838 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25839 destination buffer.
25840 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25841
25842 2011-12-23 Marek Polacek <polacek@redhat.com>
25843
25844 * elf/dl-addr.c (determine_info): Add inline keyword.
25845 * elf/tst-auditmod4b.c (check_avx): Likewise.
25846 * elf/tst-auditmod6b.c (check_avx): Likewise.
25847 * elf/tst-auditmod6c.c (check_avx): Likewise.
25848 * elf/tst-auditmod7b.c (check_avx): Likewise.
25849
25850 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25851
25852 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25853 !__SSE_MATH__.
25854
25855 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25856
25857 [BZ #13540]
25858 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25859 processing for last bytes.
25860
25861 2011-08-06 Bruno Haible <bruno@clisp.org>
25862
25863 [BZ #13061]
25864 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25865 U+0385, not to U+1FEE.
25866
25867 [BZ #13062]
25868 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25869 entry for U+00A5 U+0301.
25870
25871 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25872
25873 [BZ #13166]
25874 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25875 buffer for the output is too small.
25876
25877 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25878 optimization.
25879
25880 [BZ #13185]
25881 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25882 SSE flags if possible.
25883
25884 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25885
25886 [BZ #13540]
25887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25888 processing for last bytes.
25889
25890 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25891
25892 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25893 (syscall-list-default-options, syscall-list-default-condition)
25894 (syscall-list-includes): Define.
25895 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25896 list of ABIs and options and #if conditions for each ABI. Do not
25897 handle common syscalls between ABIs specially.
25898 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25899 Remove.
25900 (syscall-list-variants, syscall-list-32bit-options)
25901 (syscall-list-32bit-condition, syscall-list-64bit-options)
25902 (syscall-list-64bit-condition): Define.
25903 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25904 (syscall-list-variants, syscall-list-32bit-options)
25905 (syscall-list-32bit-condition, syscall-list-64bit-options)
25906 (syscall-list-64bit-condition): Define.
25907 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25908 Remove.
25909 (syscall-list-variants, syscall-list-32bit-options)
25910 (syscall-list-32bit-condition, syscall-list-64bit-options)
25911 (syscall-list-64bit-condition): Define.
25912 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25913 Remove.
25914 (syscall-list-variants, syscall-list-32bit-options)
25915 (syscall-list-32bit-condition, syscall-list-64bit-options)
25916 (syscall-list-64bit-condition): Define.
25917
25918 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25919
25920 * locale/iso-639.def: Add brx entry.
25921
25922 [BZ #13328]
25923 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25924 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25925
25926 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25927 __feraiseexcept_renamed.
25928
25929 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25930
25931 [BZ #13538]
25932 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25933 EPOLLET with unsigned values.
25934 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25935 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25936
25937 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25938 to large cancellation.
25939 * math/s_cacoshf.c: Likewise.
25940 * math/s_cacoshl.c: Likewise.
25941
25942 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25943
25944 [BZ #13305]
25945 [BZ #12786]
25946 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25947 * math/s_cacoshf.c: Likewise.
25948 * math/s_cacoshl.c: Likewise.
25949
25950 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25951
25952 [BZ #13439]
25953 * iconv/gconv.h: Define __GCONV_SWAP.
25954 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25955 * iconvdata/utf-16.c: Likewise.
25956 * iconvdata/utf-32.c: Likewise.
25957
25958 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25959
25960 [BZ #13524]
25961 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25962 numerator after shifting it by one limb.
25963
25964 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25965
25966 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25967 under [__USE_EXTERN_INLINES].
25968
25969 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25970
25971 [BZ #13446]
25972 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25973
25974 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25975
25976 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25977 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25978 optimized code.
25979 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25980 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25981 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25982 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25983 for strncasecmp/strncasecmp_l compilation.
25984 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25985 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25986
25987 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25988
25989 [BZ #13484]
25990 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25991 of __asm__.
25992
25993 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25994
25995 [BZ #13506]
25996 * time/tzfile.c (__tzfile_read): Check values from file header.
25997
25998 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25999
26000 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26001 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26002 * powerpc/powerpc32/dl-start.S: Likewise.
26003 * powerpc/powerpc32/elf/start.S: Likewise.
26004 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26005 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26006 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26007 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26008 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26009 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26010 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26011 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26012 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26013 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26014 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26015 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26016 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26017 * powerpc/powerpc32/memset.S: Likewise.
26018 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26019 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26020 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26021 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26022 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26023 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26024 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26025 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26026 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26027 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26028 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26029 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26030 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26031
26032 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26033
26034 * math/libm-test.inc: Added more nearbyint tests.
26035 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26039
26040 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26041
26042 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26043 FD_CLOEXEC.
26044
26045 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26046
26047 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26048 Add wcscpy-ssse3 wcscpy-c.
26049 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26050 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26051 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26052 * sysdeps/x86_64/wcschr.S: New file.
26053 * sysdeps/x86_64/wcsrchr.S: New file.
26054 * string/test-strcmp.c: Remove checking of wcscmp function for
26055 wrong alignments.
26056 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26057 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26058 wcsrchr-sse2 wcsrchr-c.
26059 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26060 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26061 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26062 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26063 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26064 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26065 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26066 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26067 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26068 * wcsmbc/wcschr.c (WCSCHR): New macro.
26069
26070 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26071
26072 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26073 * wcsmbs/test-wcsrchr.c: New file.
26074 * string/test-strrchr.c: Add wcsrchr support.
26075 (WIDE): New macro.
26076 * wcsmbs/test-wcscpy.c: New file.
26077 * string/test-strcpy.c: Add wcscpy support.
26078 (WIDE): New macro.
26079
26080 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26081
26082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26083 the inner loop.
26084
26085 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26086
26087 [BZ #13472]
26088 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26089
26090 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26091
26092 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26093 Minor optimizations.
26094
26095 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26096 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26097 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26098
26099 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26100
26101 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26102 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26103 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26104 for gcc to avoid warnings.
26105 * inet/Makefile (tests): Add tst-checks.
26106 * inet/tst-checks.c: New file.
26107
26108 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26109 warning.
26110
26111 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26112 __wmemcmp_sse2.
26113
26114 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26115 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26116
26117 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26118
26119 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26120
26121 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26122 problem.
26123
26124 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26125
26126 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26127
26128 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26129 conditional on GCC version.
26130 (__arch_compare_and_exchange_val_8_acq)
26131 (__arch_compare_and_exchange_val_16_acq)
26132 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26133 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26134 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26135
26136 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26137
26138 * sysdeps/sh/backtrace.c: New file.
26139
26140 2011-12-02 Andreas Schwab <schwab@redhat.com>
26141
26142 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26143 parenthesis.
26144
26145 2011-12-01 Andreas Schwab <schwab@redhat.com>
26146
26147 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26148 falling back to utime.
26149
26150 2011-11-30 Andreas Schwab <schwab@redhat.com>
26151
26152 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26153 expectations for float.
26154
26155 2011-11-29 Andreas Schwab <schwab@redhat.com>
26156
26157 * locale/weight.h (findidx): Add parameter len.
26158 * locale/weightwc.h (findidx): Likewise.
26159 * posix/fnmatch_loop.c (FCT): Adjust caller.
26160 * posix/regcomp.c (build_equiv_class): Likewise.
26161 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26162 * posix/regexec.c (check_node_accept_bytes): Likewise.
26163 * string/strcoll_l.c (STRCOLL): Likewise.
26164 * string/strxfrm_l.c (STRXFRM): Likewise.
26165
26166 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26167
26168 * Makefile.in: Remove CVSOPT handling.
26169 * configure.in: Remove use of AC_REVISION.
26170 * iconvdata/Makefile (distribute): No need to filter out CVS.
26171 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26172 handling.
26173
26174 2011-11-16 Andreas Schwab <schwab@redhat.com>
26175
26176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26177 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26178 [USE_AS_STRNCASECMP_L]: Likewise.
26179 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26180 NO_TLS_DIRECT_SEG_REFS.
26181 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26182 Fix argument offsets for non-PIC.
26183 [USE_AS_STRNCASECMP_L]: Likewise.
26184 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26185 NO_TLS_DIRECT_SEG_REFS.
26186
26187 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26188
26189 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26190 O_CLOEXEC.
26191 * locale/loadlocale.c (_nl_load_locale): Likewise.
26192
26193 2011-11-15 Andreas Schwab <schwab@redhat.com>
26194
26195 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26196 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26197 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26198 (SYSCALL_GETTIME): Set errno on error.
26199
26200 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26201 count references to noai6ai_cached.
26202
26203 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26204
26205 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26206
26207 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26208 FD_CLOEXEC for /proc/self/maps.
26209
26210 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26211 FD_CLOEXEC for /proc/meminfo.
26212
26213 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26214 gai.conf.
26215
26216 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26217 FD_CLOEXEC for given file.
26218
26219 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26220
26221 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26222 FD_CLOEXEC for /etc/hosts.
26223 (_gethtent): Likewise.
26224
26225 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26226
26227 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26228 cancellation and set FD_CLOEXEC for /etc/netgroup.
26229
26230 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26231 reading /etc/publickey.
26232
26233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26234 allow cancellation when reading /etc/group.
26235
26236 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26237 cancellation.
26238 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26239
26240 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26241 when using data file.
26242
26243 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26244
26245 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26246 (write_nis_obj): Use "c" and "e" in fopen.
26247
26248 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26249
26250 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26251
26252 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26253
26254 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26255
26256 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26257 locale.alias.
26258
26259 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26260
26261 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26262
26263 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26264
26265 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26266 file parsing and set FD_CLOEXEC.
26267
26268 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26269
26270 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26271
26272 2011-11-14 Andreas Schwab <schwab@redhat.com>
26273
26274 * malloc/arena.c (arena_get2): Don't call reused_arena when
26275 _int_new_arena failed.
26276
26277 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26278
26279 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26280 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26281 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26282 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26285 to compile strcasecmp and strncasecmp.
26286 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26287 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26288
26289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26290
26291 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26292
26293 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26294 locale-defines.sym to gen-as-const-headers.
26295 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26296 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26298 to compile strcasecmp and strncasecmp.
26299 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26300 strcasecmp_l and strncasecmp_l.
26301 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26302 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26303 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26304 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26305 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26306 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26307 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26308 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26309 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26310 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26311 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26312
26313 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26314
26315 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26316 result of SYSDEP_GETTIME_CPU to retval.
26317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26318 parameter list to macro. Remove trailing semicolon. Adjust users.
26319
26320 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26321 variable.
26322
26323 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26324 mantissa words.
26325 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26326
26327 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26328 from unused variable.
26329
26330 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26331 DWARF definitions.
26332 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26333 for assembling.
26334
26335 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26336 over namespaces.
26337
26338 * sunrpc/rpc_prot.c (rejected): Fix case value.
26339
26340 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26341 unsigned long long int to avoid warnings in shift.
26342
26343 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26344 of use of trans.
26345 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26346 variable tmp.
26347
26348 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26349 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26350 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26351
26352 * nis/nis_table.c (nis_list): Use variable of correct type for
26353 result of __follow_path call.
26354
26355 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26356
26357 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26358 of math functions ceil, trunc, floor, round, and sqrt, when
26359 avaliable on the platform.
26360 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26361 name clash.
26362 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26363 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26364 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26365
26366 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26367
26368 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26370
26371 2011-11-11 Roland McGrath <roland@hack.frob.com>
26372
26373 * include/unistd.h: Fix __readlink return type.
26374 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26375
26376 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26377
26378 * stdlib/ucontext.h: Undo last change for makecontext.
26379
26380 2011-11-11 Andreas Schwab <schwab@redhat.com>
26381
26382 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26383
26384 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26385 * setjmp/setjmp.h: Mark functions as non-leaf.
26386 * setjmp/bits/setjmp2.h: Likewise.
26387 * stdlib/ucontext.h: Likewise.
26388
26389 2011-11-10 Andreas Schwab <schwab@redhat.com>
26390
26391 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26392 (reused_arena): Don't check arena limit.
26393 (arena_get2): Atomically check arena limit.
26394
26395 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26396
26397 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26398 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26399
26400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26401 instructions.
26402
26403 2011-11-07 Andreas Schwab <schwab@redhat.com>
26404
26405 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26406 handler when locking.
26407
26408 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26409 Fix size of allocated buffer.
26410
26411 2011-11-04 Andreas Schwab <schwab@redhat.com>
26412
26413 [BZ #10103]
26414 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26415 declarations for long double functions.
26416 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26417
26418 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26419
26420 2011-11-03 Andreas Schwab <schwab@redhat.com>
26421
26422 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26423 installed.
26424
26425 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26426 is disabled.
26427
26428 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26429
26430 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26431
26432 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26433
26434 * include/alloca.h (stackinfo_alloca_round): Define.
26435 (extend_alloca): Use it.
26436 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26437 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26438 here.
26439
26440 * scripts/check-local-headers.sh: Ignore libaudit.h.
26441
26442 * nscd/Makefile (extra-objs): Make recursively expanded.
26443
26444 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26445
26446 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26448
26449 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26450 * posix/tst-rfc3484-2.c: Likewise.
26451 * posix/tst-rfc3484-3.c: Likewise.
26452
26453 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26454 process_vm_writev.
26455 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26456 process_vm_writev.
26457 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26458 process_vm_writev from libc using GLIBC_2.15 version.
26459
26460 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26461
26462 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26463
26464 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26465 stack usage.
26466
26467 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26468
26469 [BZ #13367]
26470 * nss/getent.c (initgroups_keys): Show error message in case no group
26471 names are given.
26472
26473 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26474 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26475 __bump_nl_timestamp.
26476 * nscd/connections (nscd_init): When host database is served open
26477 netlink socket and request notification about configuration changes.
26478 (main_loop_poll): Track netlink file descriptor and bump timestamp
26479 in case data becomes available.
26480 (main_loop_epoll): Likewise.
26481 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26482 (database_pers_head): Add extra_data fileds.
26483 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26484 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26485 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26486 Adjust caller.
26487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26488 in6ai data, call __free_in6ai.
26489 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26490 Add -DHAVE_NETLINK.
26491 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26492 interface information. Reuse previous data if netlink timestamp
26493 is not changed.
26494 (__bump_nl_timestamp): New function.
26495 (__free_in6ai): New function.
26496
26497 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26498
26499 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26500 close_not_cancel_no_status here.
26501 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26502
26503 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26504
26505 [BZ #13276]
26506 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26507 return value.
26508
26509 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26510 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26511 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26512
26513 2011-07-03 Andreas Jaeger <aj@suse.de>
26514
26515 [BZ #10709]
26516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26517 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26518 * math/libm-test.inc (sin_test): Add test case.
26519
26520 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26521
26522 [BZ #13337]
26523 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26524 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26525
26526 * elf/chroot_canon.c (chroot_canon): Cleanups.
26527
26528 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26529
26530 [BZ #13335]
26531 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26532 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26533
26534 * string/test-strchr.c: Make usable for strchrnul testing.
26535 * string/test-strchrnul.c: New file.
26536 * string/Makefile (strop-tests): Add strchrnul.
26537
26538 * po/it.po: Update from translation team.
26539 * po/es.po: Likewise.
26540
26541 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26542
26543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26544 the three constants needed as parameters. Drop the others.
26545 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26546 __m128i_strloadu_tolower.
26547 Create and initialize variable zero and use it in all the places
26548 where _mm_setzero_si128 was used.
26549
26550 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26551 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26552 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26553 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26554 anymore.
26555 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26556 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26557 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26558 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26559 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26560 __mpranred, __mptan.
26561 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26562 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26563 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26564 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26565 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26566 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26567 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26568 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26569 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26570
26571 2011-10-28 Andreas Schwab <schwab@redhat.com>
26572
26573 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26574 redefine if SHARED.
26575 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26576
26577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26578 wide char related routines to wcsmbs subdir.
26579
26580 2011-10-27 Andreas Schwab <schwab@redhat.com>
26581
26582 [BZ #13344]
26583 * misc/sys/cdefs.h (__THROWNL): Define.
26584 * posix/unistd.h: Use __THREADNL instead of __THREAD
26585 for memory synchronization functions.
26586
26587 2011-10-26 Roland McGrath <roland@hack.frob.com>
26588
26589 [BZ #13349]
26590 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26591 doesn't exist.
26592 * manual/stdio.texi (Obstack Streams): Node removed.
26593
26594 2011-10-26 Andreas Schwab <schwab@redhat.com>
26595
26596 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26597 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26598 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26599
26600 * math/math_private.h (math_force_eval): Allow non-addressable
26601 arguments.
26602 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26603
26604 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26605
26606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26607 file is not needed.
26608
26609 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26610 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26611 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26612 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26613 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26614 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26615 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26616 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26617 Add AVX variants.
26618 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26619 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26620 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26621 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26622 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26623 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26624 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26625 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26626 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26627 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26628 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26629 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26630 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26631 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26632 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26633 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26634 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26635 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26636 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26637
26638 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26639 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26640
26641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26642 place. Use VEX encoding when compiling for AVX.
26643
26644 2011-10-25 Andreas Schwab <schwab@redhat.com>
26645
26646 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26647 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26648
26649 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26650
26651 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26652
26653 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26654 useless if() expression.
26655 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26664 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26665 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26666 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26667 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26668 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26669 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26670 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26673 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26674
26675 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26676
26677 2011-10-25 Andreas Schwab <schwab@redhat.com>
26678
26679 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26680 condition.
26681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26682
26683 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26684
26685 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26686 .text section. Avoid duplicate constants.
26687 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26695 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26696 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26697 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26698 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26699 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26700 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26701 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26702 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26703 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26704 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26707 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26709 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26710 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26711 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26712 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26713 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26714 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26715 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26716 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26717 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26718 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26719 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26720 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26721 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26722 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26723 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26725 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26726 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26727 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26728 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26729 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26730 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26731 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26732
26733 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26734
26735 * sysdeps/x86_64/dla.h: Move to ...
26736 * sysdeps/x86_64/fpu/dla.h: ...here.
26737 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26738 situations. Use __builtin_fma only for gcc 4.6 and up.
26739
26740 * config.make.in: Add have-mfma4 entry.
26741 * configure.in: Substitute libc_cv_cc_fma4.
26742 * math/Makefile (dbl-only-routines): Add sincostab.
26743 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26744 Use __sincostab not sincos.
26745 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26746 name is a macro.
26747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26751 using __copysign.
26752 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26753 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26754 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26755 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26756 and __inv.
26757 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26758 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26759 __copysign.
26760 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26761 define aliases when function name is a macro.
26762 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26763 sysdeps/ieee754/dbl-64/sincos.tbl.
26764 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26765 fma4-enabled routines.
26766 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26767 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26768 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26769 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26770 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26771 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26773 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26775 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26776 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26777 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26778 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26779 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26780 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26781 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26782 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26783 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26784 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26785 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26786 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26787 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26789 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26790 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26792 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26793 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26794 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26795 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26796
26797 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26798 rename.
26799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26801 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26807
26808 2011-10-24 Andreas Schwab <schwab@redhat.com>
26809
26810 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26811
26812 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26813
26814 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26815
26816 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26817 prediction.
26818 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26819
26820 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26821 Remove unused variable magic_bits.
26822 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26823
26824 * string/strnlen.c: Define and use STRNLEN macro.
26825 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26826 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26827 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26828 * wcsmbs/wcslen.c: Define and use WCSLEN.
26829 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26830 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26831 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26832 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26833 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26834 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26835 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26836
26837 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26838
26839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26840 strnlen-sse2-no-bsf.
26841 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26843 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26844 Add strnlen support.
26845 (USE_AS_STRNLEN): New macro.
26846 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26847 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26848 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26849 * sysdeps/x86_64/wcslen.S: New file.
26850
26851 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26852
26853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26854 XMM-moves are used for copying on small sizes.
26855
26856 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26857
26858 * wcsmbs/Makefile (strop-tests): Add wcschr.
26859 * wcsmbs/test-wcschr.c: New file.
26860 * string/test-strchr.c: Update.
26861 Add wcschr support.
26862 (WIDE): New macro.
26863
26864 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26865
26866 * wcsmbs/Makefile (strop-tests): Add wcslen.
26867 * wcsmbs/test-wcslen.c: New file.
26868 * string/test-strlen.c: Update.
26869 Add wcslen support.
26870 (WIDE): New macro.
26871
26872 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26873
26874 * po/it.po: Update from translation team.
26875
26876 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26877
26878 * sysdeps/x86_64/wcscmp.S: Update.
26879 Fix wrong comparison semantics.
26880 wcscmp shall use signed comparison not unsigned.
26881 Don't use substraction to avoid overflow bug.
26882 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26883 * wcsmbc/wcscmp.c: Likewise.
26884 * string/test-strcmp.c: Likewise.
26885 Add new tests to check cases with negative values.
26886
26887 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26888
26889 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26890 * sysdeps/x86_64/dla.h: ...here. New file.
26891 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26897 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26898 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26900
26901 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26902
26903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26904 __ynl_finite aliases.
26905
26906 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26907
26908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26909
26910 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26911 define DLA_FMA.
26912 [DLA_FMA] (EMULV): Use DLA_FMA.
26913 [DLA_FMA] (MUL12): Use EMULV.
26914 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26915 that are not needed.
26916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26923
26924 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26925
26926 * math/s_nan.c: Undef __nan.
26927 * math/s_nanf.c: Undef __nanf.
26928 * math/s_nanl.c: Undef __nanl.
26929 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26930 "math_private.h".
26931
26932 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26933
26934 * math/s_catan.c: Add branch predictions.
26935 * math/s_catanf.c: Likewise.
26936 * math/s_catanh.c: Likewise.
26937 * math/s_catanhf.c: Likewise.
26938 * math/s_catanhl.c: Likewise.
26939 * math/s_catanl.c: Likewise.
26940 * math/s_cexp.c: Likewise.
26941 * math/s_cexpf.c: Likewise.
26942 * math/s_cexpl.c: Likewise.
26943 * math/s_clog.c: Likewise.
26944 * math/s_clog10.c: Likewise.
26945 * math/s_clog10f.c: Likewise.
26946 * math/s_clog10l.c: Likewise.
26947 * math/s_clogf.c: Likewise.
26948 * math/s_clogl.c: Likewise.
26949 * math/s_csqrt.c: Likewise.
26950 * math/s_csqrtf.c: Likewise.
26951 * math/s_csqrtl.c: Likewise.
26952 * math/s_ctanf.c: Likewise.
26953 * math/s_ctanh.c: Likewise.
26954 * math/s_ctanhf.c: Likewise.
26955 * math/s_ctanhl.c: Likewise.
26956 * math/s_ctanl.c: Likewise.
26957
26958 * math/math_private.h: Define __nan, __nanf, __nanl.
26959 * math/s_cacosh.c: Include <math_private.h>.
26960 * math/s_cacoshl.c: Likewise.
26961 * math/s_casinh.c: Likewise.
26962 * math/s_casinhf.c: Likewise.
26963 * math/s_casinhl.c: Likewise.
26964 * math/s_ccos.c: Rely entire on ccosh.
26965 * math/s_ccosf.c: Rely entire on ccoshf.
26966 * math/s_ccosl.c: Rely entirely on ccoshl.
26967 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26968 Remove tests for FE_INVALID.
26969 * math/s_ccoshf.c: Likewise.
26970 * math/s_ccoshl.c: Likewise.
26971 * math/s_csin.c: Likewise.
26972 * math/s_csinf.c: Likewise.
26973 * math/s_csinh.c Likewise.
26974 * math/s_csinhf.c: Likewise.
26975 * math/s_csinhl.c: Likewise.
26976 * math/s_csinl.c: Likewise.
26977 * math/s_ctan.c: Likewise.
26978 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26979 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26980 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26981
26982 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26983
26984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26985 compilation problems.
26986
26987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26988 __builtin_expect.
26989
26990 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26991
26992 * sysdeps/i386/configure.in: Test for -mfma4 option.
26993 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26994 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26995 COMMON_CPUID_INDEX_80000001.
26996 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26997 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26998 use it if FMA3 is not supported.
26999 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27000
27001 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27002 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27003
27004 2011-10-20 Andreas Schwab <schwab@redhat.com>
27005
27006 [BZ #12892]
27007 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27008 it would create a cycle with a link time dependency.
27009
27010 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27011
27012 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27013 instruction.
27014 * string/Makefile (strop-tests): Add rawmemchr.
27015 * string/test-rawmemchr.c: New file.
27016
27017 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27019 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27020 when compiling str{,n}casecmp and when AVX is available. Hook up
27021 new optimized code in initializers.
27022
27023 2011-10-19 Andreas Schwab <schwab@redhat.com>
27024
27025 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27026 __feraiseexcept instead of feraiseexcept.
27027
27028 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27029
27030 * math/math_private.h: Define defaults for libc_fetestexcept and
27031 libc_feupdateenv.
27032 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27033 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27034 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27035 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27036 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27037 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27038 libc_fetestexcept and libc_feupdateenv.
27039
27040 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27041 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27042 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27043 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27044 libc_feholdexcept_setround.
27045
27046 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27047 Add s_nearbyint-c and s_nearbyintf-c.
27048 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27049 nearbyintf inlines.
27050 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27051 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27052 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27053 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27054
27055 * math/math_private.h: Define defaults for libc_fegetround,
27056 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27057 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27058 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27059 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27060 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27061 standard functions.
27062 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27063 Remove comments and hacks for old compiler versions.
27064 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27065 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27066 libc_feholdexceptl.
27067
27068 2011-10-18 Andreas Schwab <schwab@redhat.com>
27069
27070 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27071 (__feraiseexcept_renamed): Add __NTH.
27072 (feraiseexcept): Add __NTH. Rename local variables to fix
27073 namespace violations.
27074
27075 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27076
27077 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27078
27079 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27080
27081 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27082 recently added interfaces.
27083 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27084
27085 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27086 about macro parameter expansion.
27087
27088 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27089 __NO_MATH_INLINES is defined. Cleanups.
27090
27091 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27092 and __floorf is target has SSE4.1.
27093 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27094 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27095 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27096 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27097
27098 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27099 name.
27100 (floorf): Likewise.
27101
27102 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27103
27104 2011-10-17 Andreas Schwab <schwab@redhat.com>
27105
27106 * misc/sys/cdefs.h: Fix last change.
27107
27108 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27109 database lookup.
27110
27111 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27112
27113 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27114
27115 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27116 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27121 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27122 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27123 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27124 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27125 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27126 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27127 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27128 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27129 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27130 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27131 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27132 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27133 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27134 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27135 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27136 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27137
27138 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27139 ceil, ceilf, floor, floorf.
27140
27141 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27142 Perform IRELATIVE relocations last.
27143
27144 * elf/do-rel.h: Add another parameter nrelative, replacing the
27145 local variable with the same name. Change name of the function
27146 to end in Rel or Rela (uppercase).
27147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27148 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27149 elf_dynamic_do_##reloc function.
27150
27151 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27152
27153 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27154 is sufficient, at least on modern CPUs.
27155
27156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27157
27158 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27159 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27160
27161 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27162 __expl_finite.
27163 * math/bits/math-finite.h: Add entries for exp.
27164 * math/e_expl.c: Add __*_finite alias.
27165 * sysdeps/i386/fpu/e_exp.S: Likewise.
27166 * sysdeps/i386/fpu/e_expf.S: Likewise.
27167 * sysdeps/i386/fpu/e_expl.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27169 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27170 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27173 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27174 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27175
27176 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27177 is sufficient, at least on modern CPUs.
27178
27179 * ctype/ctype-info.c (__ctype_init): Define.
27180 * include/ctype.h (__ctype_init): Declare.
27181 (__ctype_b_loc): The variable is always initialized.
27182 (__ctype_toupper_loc): Likewise.
27183 (__ctype_tolower_loc): Likewise.
27184 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27185 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27186
27187 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27188
27189 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27190
27191 * configure.in: Also look in $cxxmachine/include for C++ system
27192 headers.
27193
27194 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27195
27196 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27197 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27198 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27199 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27200 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27201 (USE_AS_WMEMCMP): New macro.
27202 Fixing indents.
27203 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27204 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27205 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27206 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27208 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27209 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27210 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27211 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27212 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27213 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27214 (USE_AS_WMEMCMP): New macro.
27215 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27216 * sysdeps/string/test-memcmp.c: Update.
27217 Fix simple_wmemcmp.
27218 Add new tests.
27219 * wcsmbs/wmemcmp.c: Update.
27220 (WMEMCMP): New macro.
27221 Fix overflow bug.
27222
27223 2011-10-12 Andreas Jaeger <aj@suse.de>
27224
27225 [BZ #13268]
27226 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27227
27228 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27229
27230 * libio/iofwide.c (do_length): Avoid warning.
27231
27232 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27233
27234 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27235
27236 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27237
27238 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27239 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27240 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27241 * sysdeps/i386/i686/fpu/e_log.S: New file.
27242 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27243 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27244
27245 * ctype/ctype.h: Add support for inlined isXXX functions when
27246 compiling C++ code.
27247
27248 2011-10-14 Andreas Schwab <schwab@redhat.com>
27249
27250 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27251
27252 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27253
27254 2011-10-13 Roland McGrath <roland@hack.frob.com>
27255
27256 [BZ #13291]
27257 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27258
27259 2011-10-13 Andreas Schwab <schwab@redhat.com>
27260
27261 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27262 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27263 feraiseexcept.
27264
27265 * sysdeps/x86_64/memrchr.S: Check for zero size.
27266
27267 * string/stratcliff.c: Add memrchr tests.
27268
27269 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27270
27271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27272 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27273 rawmemchr-sse2 rawmemchr-sse2-bsf.
27274 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27275 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27276 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27277 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27278 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27279 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27280 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27281 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27282 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27283 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27284 * string/memrchr.c (MEMRCHR): New macro.
27285
27286 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27287
27288 Add integration with gcc's -ffinite-math-only and optimize wrapper
27289 functions in libm.
27290 * Versions.def: Define GLIBC_2.15 version for libm.
27291 * math/Makefile (headers): Add bits/math-finite.h.
27292 * math/bits/math-finite.h: New file.
27293 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27294 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27295 * math/e_acoshl.c: Add __*_finite alias.
27296 * math/e_acosl.c: Likewise.
27297 * math/e_asinl.c: Likewise.
27298 * math/e_atan2l.c: Likewise.
27299 * math/e_atanhl.c: Likewise.
27300 * math/e_coshl.c: Likewise.
27301 * math/e_exp10.c: Likewise.
27302 * math/e_exp10f.c: Likewise.
27303 * math/e_exp10l.c: Likewise.
27304 * math/e_exp2l.c: Likewise.
27305 * math/e_fmodl.c: Likewise.
27306 * math/e_gammal_r.c: Likewise.
27307 * math/e_hypotl.c: Likewise.
27308 * math/e_j0l.c: Likewise.
27309 * math/e_j1l.c: Likewise.
27310 * math/e_jnl.c: Likewise.
27311 * math/e_lgammal_r.c: Likewise.
27312 * math/e_log10l.c: Likewise.
27313 * math/e_log2l.c: Likewise.
27314 * math/e_logl.c: Likewise.
27315 * math/e_powl.c: Likewise.
27316 * math/e_sinhl.c: Likewise.
27317 * math/e_sqrtl.c: Likewise.
27318 * math/e_scalb.c: Completely rewritten and optimized.
27319 * math/e_scalbf.c: Likewise.
27320 * math/e_scalbl.c: Likewise.
27321 * math/w_acos.c: Likewise.
27322 * math/w_acosf.c: Likewise.
27323 * math/w_acosl.c: Likewise.
27324 * math/w_acosh.c: Likewise.
27325 * math/w_acoshf.c: Likewise.
27326 * math/w_acoshl.c: Likewise.
27327 * math/w_asin.c: Likewise.
27328 * math/w_asinf.c: Likewise.
27329 * math/w_asinl.c: Likewise.
27330 * math/w_atan2.c: Likewise.
27331 * math/w_atan2f.c: Likewise.
27332 * math/w_atan2l.c: Likewise.
27333 * math/w_atanh.c: Likewise.
27334 * math/w_atanhf.c: Likewise.
27335 * math/w_atanhl.c: Likewise.
27336 * math/w_exp10.c: Likewise.
27337 * math/w_exp10f.c: Likewise.
27338 * math/w_exp10l.c: Likewise.
27339 * math/w_fmod.c: Likewise.
27340 * math/w_fmodf.c: Likewise.
27341 * math/w_fmodl.c: Likewise.
27342 * math/w_j0.c: Likewise.
27343 * math/w_j0f.c: Likewise.
27344 * math/w_j0l.c: Likewise.
27345 * math/w_j1.c: Likewise.
27346 * math/w_j1f.c: Likewise.
27347 * math/w_j1l.c: Likewise.
27348 * math/w_jn.c: Likewise.
27349 * math/w_jnf.c: Likewise.
27350 * math/w_log.c: Likewise.
27351 * math/w_logf.c: Likewise.
27352 * math/w_logl.c: Likewise.
27353 * math/w_log10.c: Likewise.
27354 * math/w_log10f.c: Likewise.
27355 * math/w_log10l.c: Likewise.
27356 * math/w_log2.c: Likewise.
27357 * math/w_log2f.c: Likewise.
27358 * math/w_log2l.c: Likewise.
27359 * math/w_pow.c: Likewise.
27360 * math/w_powf.c: Likewise.
27361 * math/w_powl.c: Likewise.
27362 * math/w_remainder.c: Likewise.
27363 * math/w_remainderf.c: Likewise.
27364 * math/w_remainderl.c: Likewise.
27365 * math/w_scalb.c: Likewise.
27366 * math/w_scalbf.c: Likewise.
27367 * math/w_scalbl.c: Likewise.
27368 * math/w_sqrt.c: Likewise.
27369 * math/w_sqrtf.c: Likewise.
27370 * math/w_sqrtl.c: Likewise.
27371 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27372 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27373 used.
27374 * math/math_private.h: Declare __kernel_standard_f.
27375 * math/w_cosh.c: Remove cruft and optimize a bit.
27376 * math/w_coshf.c: Likewise.
27377 * math/w_coshl.c: Likewise.
27378 * math/w_exp2.c: Likewise.
27379 * math/w_exp2f.c: Likewise.
27380 * math/w_exp2l.c: Likewise.
27381 * math/w_hypot.c: Likewise.
27382 * math/w_hypotf.c: Likewise.
27383 * math/w_hypotl.c: Likewise.
27384 * math/w_lgamma.c: Likewise.
27385 * math/w_lgamma_r.c: Likewise.
27386 * math/w_lgammaf.c: Likewise.
27387 * math/w_lgammaf_r.c: Likewise.
27388 * math/w_lgammal.c: Likewise.
27389 * math/w_lgammal_r.c: Likewise.
27390 * math/w_sinh.c: Likewise.
27391 * math/w_sinhf.c: Likewise.
27392 * math/w_sinhl.c: Likewise.
27393 * math/w_tgamma.c: Likewise.
27394 * math/w_tgammaf.c: Likewise.
27395 * math/w_tgammal.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27397 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27398 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27399 Minor optimizations. Pretty printing. Remove cruft.
27400 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27403 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27404 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27405 * sysdeps/i386/fpu/e_asin.S: Likewise.
27406 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27407 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27408 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27409 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27410 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27411 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27412 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27413 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27414 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27415 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27416 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27417 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27418 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27419 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27420 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27421 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27422 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27423 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27424 * sysdeps/i386/fpu/e_log.S: Likewise.
27425 * sysdeps/i386/fpu/e_log10.S: Likewise.
27426 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27428 * sysdeps/i386/fpu/e_log2.S: Likewise.
27429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27430 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27431 * sysdeps/i386/fpu/e_logf.S: Likewise.
27432 * sysdeps/i386/fpu/e_logl.S: Likewise.
27433 * sysdeps/i386/fpu/e_pow.S: Likewise.
27434 * sysdeps/i386/fpu/e_powf.S: Likewise.
27435 * sysdeps/i386/fpu/e_powl.S: Likewise.
27436 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27437 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27438 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27439 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27440 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27441 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27442 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27443 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27444 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27445 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27448 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27449 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27455 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27459 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27461 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27462 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27465 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27466 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27467 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27468 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27469 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27470 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27471 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27472 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27473 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27474 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27476 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27478 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27479 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27480 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27481 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27482 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27483 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27484 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27485 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27486 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27495 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27497 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27498 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27500 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27501 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27502 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27509 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27510 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27513 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27514 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27515 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27516 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27517 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27523 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27525 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27527 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27528 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27530 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27531 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27533 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27536 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27537 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27538 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27539 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27540 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27541 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27542 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27543 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27544 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27545 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27546 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27547 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27548 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27550 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27551 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27552 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27553 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27554 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27555 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27556 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27557 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27558 (__isnanf): Likewise.
27559 (__isinf_ns): Likewise.
27560 (__isinf_nsf): Likewise.
27561 (__finite): Likewise.
27562 (__finitef): Likewise.
27563 (__ieee754_sqrt): Define as macro.
27564 (__ieee754_sqrtf): Define as macro.
27565 (__ieee754_sqrtl): Define as macro.
27566 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27567 inlined copy.
27568 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27569 __FINITE_MATH_ONLY__ consistent.
27570 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27571
27572 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27573
27574 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27575 of rawmemchr.
27576
27577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27578
27579 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27580
27581 * po/ja.po: Update from translation team.
27582
27583 2011-10-08 Roland McGrath <roland@hack.frob.com>
27584
27585 * locale/programs/locarchive.c (prepare_address_space): New function.
27586 (create_archive, enlarge_archive, open_archive): Use it.
27587
27588 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27589 inside [SHARED], where it is used.
27590
27591 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27592
27593 * nss/getent.c (netgroup_keys): Remove unused variable.
27594 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27595
27596 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27597
27598 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27599 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27602 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27603 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27604 * math/Makefile (libm-calls): Add s_isinf_ns.
27605 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27606 * math/multc3.c: Likewise.
27607 * math/s_casin.c: Likewise.
27608 * math/s_casinf.c: Likewise.
27609 * math/s_casinl.c: Likewise.
27610 * math/s_ccos.c: Likewise.
27611 * math/s_ccosf.c: Likewise.
27612 * math/s_ccosl.c: Likewise.
27613 * math/s_ctan.c: Likewise.
27614 * math/s_ctanf.c: Likewise.
27615 * math/s_ctanh.c: Likewise.
27616 * math/s_ctanhf.c: Likewise.
27617 * math/s_ctanhl.c: Likewise.
27618 * math/s_ctanl.c: Likewise.
27619 * math/w_fmod.c: Likewise.
27620 * math/w_fmodf.c: Likewise.
27621 * math/w_fmodl.c: Likewise.
27622 * math/w_remainder.c: Likewise.
27623 * math/w_remainderf.c: Likewise.
27624 * math/w_remainderl.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27626 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27627 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27629 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27630 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27631 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27632 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27633
27634 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27635 of the number.
27636 * stdio-common/printf_fphex.c: Likewise.
27637 * stdio-common/printf_size.c: Likewise.
27638
27639 * math/e_exp10.c: Include math_private.h using <...> not "...".
27640 * math/e_exp10f.c: Likewise.
27641 * math/e_exp10l.c: Likewise.
27642 * math/e_exp2l.c: Likewise.
27643 * math/e_j0l.c: Likewise.
27644 * math/e_j1l.c: Likewise.
27645 * math/e_jnl.c: Likewise.
27646 * math/e_lgammal_r.c: Likewise.
27647 * math/e_rem_pio2l.c: Likewise.
27648 * math/e_scalb.c: Likewise.
27649 * math/e_scalbf.c: Likewise.
27650 * math/e_scalbl.c: Likewise.
27651 * math/k_cosl.c: Likewise.
27652 * math/k_sinl.c: Likewise.
27653 * math/k_tanl.c: Likewise.
27654 * math/s_cacoshf.c: Likewise.
27655 * math/s_catan.c: Likewise.
27656 * math/s_catanf.c: Likewise.
27657 * math/s_catanh.c: Likewise.
27658 * math/s_catanhf.c: Likewise.
27659 * math/s_catanhl.c: Likewise.
27660 * math/s_catanl.c: Likewise.
27661 * math/s_ccosh.c: Likewise.
27662 * math/s_ccoshf.c: Likewise.
27663 * math/s_ccoshl.c: Likewise.
27664 * math/s_cexp.c: Likewise.
27665 * math/s_cexpf.c: Likewise.
27666 * math/s_cexpl.c: Likewise.
27667 * math/s_clog.c: Likewise.
27668 * math/s_clog10.c: Likewise.
27669 * math/s_clog10f.c: Likewise.
27670 * math/s_clog10l.c: Likewise.
27671 * math/s_clogf.c: Likewise.
27672 * math/s_clogl.c: Likewise.
27673 * math/s_csin.c: Likewise.
27674 * math/s_csinf.c: Likewise.
27675 * math/s_csinh.c: Likewise.
27676 * math/s_csinhf.c: Likewise.
27677 * math/s_csinhl.c: Likewise.
27678 * math/s_csinl.c: Likewise.
27679 * math/s_csqrt.c: Likewise.
27680 * math/s_csqrtf.c: Likewise.
27681 * math/s_csqrtl.c: Likewise.
27682 * math/s_ctan.c: Likewise.
27683 * math/s_ctanf.c: Likewise.
27684 * math/s_ctanh.c: Likewise.
27685 * math/s_ctanhf.c: Likewise.
27686 * math/s_ctanhl.c: Likewise.
27687 * math/s_ctanl.c: Likewise.
27688 * math/s_ldexp.c: Likewise.
27689 * math/s_ldexpf.c: Likewise.
27690 * math/s_ldexpl.c: Likewise.
27691 * math/s_significand.c: Likewise.
27692 * math/s_significandf.c: Likewise.
27693 * math/s_significandl.c: Likewise.
27694 * math/w_acos.c: Likewise.
27695 * math/w_acosf.c: Likewise.
27696 * math/w_acosh.c: Likewise.
27697 * math/w_acoshf.c: Likewise.
27698 * math/w_acoshl.c: Likewise.
27699 * math/w_acosl.c: Likewise.
27700 * math/w_asin.c: Likewise.
27701 * math/w_asinf.c: Likewise.
27702 * math/w_asinl.c: Likewise.
27703 * math/w_atan2.c: Likewise.
27704 * math/w_atan2f.c: Likewise.
27705 * math/w_atan2l.c: Likewise.
27706 * math/w_atanh.c: Likewise.
27707 * math/w_atanhf.c: Likewise.
27708 * math/w_atanhl.c: Likewise.
27709 * math/w_cosh.c: Likewise.
27710 * math/w_coshf.c: Likewise.
27711 * math/w_coshl.c: Likewise.
27712 * math/w_dremf.c: Likewise.
27713 * math/w_exp10.c: Likewise.
27714 * math/w_exp10f.c: Likewise.
27715 * math/w_exp10l.c: Likewise.
27716 * math/w_exp2.c: Likewise.
27717 * math/w_exp2f.c: Likewise.
27718 * math/w_fmod.c: Likewise.
27719 * math/w_fmodf.c: Likewise.
27720 * math/w_fmodl.c: Likewise.
27721 * math/w_hypot.c: Likewise.
27722 * math/w_hypotf.c: Likewise.
27723 * math/w_hypotl.c: Likewise.
27724 * math/w_j0.c: Likewise.
27725 * math/w_j0f.c: Likewise.
27726 * math/w_j0l.c: Likewise.
27727 * math/w_j1.c: Likewise.
27728 * math/w_j1f.c: Likewise.
27729 * math/w_j1l.c: Likewise.
27730 * math/w_jn.c: Likewise.
27731 * math/w_jnf.c: Likewise.
27732 * math/w_jnl.c: Likewise.
27733 * math/w_lgamma.c: Likewise.
27734 * math/w_lgamma_r.c: Likewise.
27735 * math/w_lgammaf.c: Likewise.
27736 * math/w_lgammaf_r.c: Likewise.
27737 * math/w_lgammal.c: Likewise.
27738 * math/w_lgammal_r.c: Likewise.
27739 * math/w_log.c: Likewise.
27740 * math/w_log10.c: Likewise.
27741 * math/w_log10f.c: Likewise.
27742 * math/w_log10l.c: Likewise.
27743 * math/w_log2.c: Likewise.
27744 * math/w_log2f.c: Likewise.
27745 * math/w_log2l.c: Likewise.
27746 * math/w_logf.c: Likewise.
27747 * math/w_logl.c: Likewise.
27748 * math/w_pow.c: Likewise.
27749 * math/w_powf.c: Likewise.
27750 * math/w_powl.c: Likewise.
27751 * math/w_remainder.c: Likewise.
27752 * math/w_remainderf.c: Likewise.
27753 * math/w_remainderl.c: Likewise.
27754 * math/w_scalb.c: Likewise.
27755 * math/w_scalbf.c: Likewise.
27756 * math/w_scalbl.c: Likewise.
27757 * math/w_sinh.c: Likewise.
27758 * math/w_sinhf.c: Likewise.
27759 * math/w_sinhl.c: Likewise.
27760 * math/w_sqrt.c: Likewise.
27761 * math/w_sqrtf.c: Likewise.
27762 * math/w_sqrtl.c: Likewise.
27763 * math/w_tgamma.c: Likewise.
27764 * math/w_tgammaf.c: Likewise.
27765 * math/w_tgammal.c: Likewise.
27766
27767 * po/ja.po: Update from translation team.
27768
27769 2011-09-29 Andreas Jaeger <aj@suse.de>
27770
27771 [BZ #13179]
27772 * sunrpc/netname.c (netname2host): Fix logic.
27773
27774 [BZ #6779]
27775 [BZ #6783]
27776 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27777 correctly.
27778 * math/w_remainder.c (__remainder): Likewise.
27779 * math/w_remainderf.c (__remainderf): Likewise.
27780 * math/libm-test.inc (remainder_test): Add test cases.
27781
27782 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27783
27784 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27785 sdiv_qrnnd.
27786
27787 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27788
27789 * string/test-memcmp.c: Avoid unncessary #defines.
27790 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27791
27792 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27793
27794 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27795 Use new sse2 version for core i3 - i7 as it's faster
27796 than sse42 version.
27797 (bit_Prefer_PMINUB_for_stringop): New.
27798 * sysdeps/x86_64/rawmemchr.S: Update.
27799 Replace with faster SSE2 version.
27800 * sysdeps/x86_64/memrchr.S: New file.
27801 * sysdeps/x86_64/memchr.S: Update.
27802 Replace with faster SSE2 version.
27803
27804 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27805
27806 * elf/dl-load.c (lose): Add cast to avoid warning.
27807
27808 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27809
27810 * po/ca.po: Update from translation team.
27811
27812 * inet/getnetgrent_r.c: Hook up nscd.
27813 * nscd/Makefile (routines): Add nscd_netgroup.
27814 (nscd-modules): Add netgroupcache.
27815 (CFLAGS-netgroupcache.c): Define.
27816 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27817 (cache_search): Add const to second parameter.
27818 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27819 INNETGR.
27820 (dbs): Add netgrdb entry.
27821 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27822 (verify_persistent_db): Handle netgrdb.
27823 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27824 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27825 GETFDNETGR.
27826 (netgroup_response_header): Define.
27827 (innetgroup_response_header): Define.
27828 (datahead): Add netgroup_response_header and innetgroup_response_header
27829 elements.
27830 * nscd/nscd.conf: Add entries for netgroup cache.
27831 * nscd/nscd.h (dbtype): Add netgrdb.
27832 (_PATH_NSCD_NETGROUP_DB): Define.
27833 (netgroup_iov_disabled): Declare.
27834 (xmalloc, xcalloc, xrealloc): Move declarations here.
27835 (cache_search): Adjust prototype.
27836 Add netgroup-related prototypes.
27837 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27838 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27839 (__nscd_innetgr): Declare.
27840 * nscd/selinux.c (perms): Use access_vector_t as element type and
27841 add netgroup-related initializers.
27842 * nscd/netgroupcache.c: New file.
27843 * nscd/nscd_netgroup.c: New file.
27844 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27845 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27846 For four parameters use innetgr.
27847 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27848 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27849 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27850 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27851
27852 * nscd/connections.c (register_traced_file): Don't register file
27853 for disabled databases.
27854
27855 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27856
27857 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27858
27859 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27860 from tree and freeing node.
27861
27862 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27863
27864 * nss/nsswitch.c (__nss_database_lookup): Handle
27865 nss_parse_service_list out of memory case.
27866
27867 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27868
27869 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27870 out of memory case.
27871
27872 2011-10-04 Andreas Schwab <schwab@redhat.com>
27873
27874 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27875 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27876 pass it down.
27877 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27878 elf_machine_rela, elf_machine_lazy_rel.
27879 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27880 (ELF_DYNAMIC_DO_REL): Likewise.
27881 (ELF_DYNAMIC_DO_RELA): Likewise.
27882 (ELF_DYNAMIC_RELOCATE): Likewise.
27883 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27884 to ELF_DYNAMIC_DO_REL.
27885 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27886 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27887 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27888 elf_machine_rela.
27889 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27890 skip_ifunc, don't call ifunc function if non-zero.
27891 (elf_machine_rela): Likewise.
27892 (elf_machine_lazy_rel): Likewise.
27893 (elf_machine_lazy_rela): Likewise.
27894 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27895 (elf_machine_lazy_rel): Likewise.
27896 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27897 Likewise.
27898 (elf_machine_lazy_rel): Likewise.
27899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27900 Likewise.
27901 (elf_machine_lazy_rel): Likewise.
27902 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27903 (elf_machine_lazy_rel): Likewise.
27904 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27905 (elf_machine_lazy_rel): Likewise.
27906 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27907 (elf_machine_lazy_rel): Likewise.
27908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27909 (elf_machine_lazy_rel): Likewise.
27910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27911 (elf_machine_lazy_rel): Likewise.
27912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27913 (elf_machine_lazy_rel): Likewise.
27914
27915 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27916
27917 * nss/nss_files/files-init.c (_nss_files_init): Use static
27918 initialization for all the *_traced_file variables.
27919
27920 2011-09-28 Andreas Schwab <schwab@redhat.com>
27921
27922 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27923
27924 2011-09-27 Roland McGrath <roland@hack.frob.com>
27925
27926 [BZ #13226]
27927 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27928
27929 2011-09-27 Andreas Schwab <schwab@redhat.com>
27930
27931 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27932 Reread the line before reparsing it.
27933
27934 2011-09-26 Andreas Schwab <schwab@redhat.com>
27935
27936 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27937
27938 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27939 Maxim Kuvyrkov <maxim@codesourcery.com>
27940 Joseph Myers <joseph@codesourcery.com>
27941
27942 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27943 if needed for __stack_chk_guard.
27944
27945 2011-09-19 Roland McGrath <roland@hack.frob.com>
27946
27947 * sysdeps/posix/spawni.c (script_execute): Always define it.
27948 It will be optimized away if unused.
27949 (maybe_script_execute): New function.
27950 (__spawni): Call it.
27951
27952 * Makerules: Don't include tls.make.
27953 (config-tls): Always set to thread.
27954 * tls.make.c: File removed.
27955
27956 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27957
27958 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27959 * config.make.in (CPPFLAGS-config): New substituted variable.
27960
27961 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27962
27963 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27964
27965 [BZ #13192]
27966 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27967 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27968
27969 2011-09-15 Roland McGrath <roland@hack.frob.com>
27970
27971 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27972 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27974 (CALL_FAIL): Likewise.
27975 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27976 (CALL_FAIL): Macro removed.
27977 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27978
27979 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27980
27981 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27982 for __FINITE_MATH_ONLY__ == 1.
27983
27984 2011-09-15 Andreas Schwab <schwab@redhat.com>
27985
27986 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27987 __ieee754_sqrt instead of sqrt.
27988 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27989 __ieee754_sqrtf instead of sqrtf.
27990 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27991 __floorf instead of floorf.
27992 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27993 __floorf, __truncf instead of floorf, truncf.
27994
27995 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27996
27997 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27998
27999 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28000 __extern_always_inline.
28001 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28002 32-bit.
28003
28004 2011-09-14 Andreas Schwab <schwab@redhat.com>
28005
28006 * elf/rtld.c (dl_main): Also relocate in dependency order when
28007 doing symbol dependency testing.
28008
28009 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28010
28011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28012 Always define `refsym'.
28013
28014 2011-09-13 Andreas Schwab <schwab@redhat.com>
28015
28016 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28017 (__FD_ELT): Renamed from __FDELT.
28018 * misc/bits/select2.h (__FD_ELT): Likewise.
28019 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28020 __FD_MASK instead of __FDELT, __FDMASK.
28021 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28022 Likewise.
28023 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28024 Likewise.
28025
28026 * elf/Makefile (gen-ldd): Fix pattern.
28027
28028 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28029 (init_tls): Likewise.
28030
28031 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28032
28033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28034
28035 2011-09-12 Andreas Schwab <schwab@redhat.com>
28036
28037 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28038 `struct cmsghdr *' instead of `void *'.
28039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28040 Likewise.
28041
28042 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28043
28044 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28045 if non-absolute.
28046 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28047 ldd_rewrite_script.
28048
28049 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28050
28051 * configure.in: Remove --with-tls option.
28052 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28053 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28054 out in case it is missing.
28055 * sysdeps/ia64/elf/configure.in: Likewise.
28056 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28057 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28058 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28059 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28060 * sysdeps/sh/elf/configure.in: Likewise.
28061 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28062 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28063 * sysdeps/x86_64/elf/configure.in: Likewise.
28064 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28065 * sysdeps/mach/hurd/tls.h: Likewise.
28066
28067 [BZ #13067]
28068 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28069
28070 [BZ #13090]
28071 * configure.in: Fix use of AC_INIT.
28072
28073 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28074
28075 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28076
28077 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28078 __set_errno.
28079 * malloc/hooks.c: Likewise.
28080
28081 [BZ #11929]
28082 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28083 variables statically.
28084 (narenas): Initialize.
28085 (list_lock): Initialize.
28086 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28087 initializtion of main_arena and list_lock. Small cleanups.
28088 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28089 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28090 Add initializers to main_arena and mp_.
28091 (malloc_state): Remove pagesize member. Change all users to use
28092 GLRO(dl_pagesize).
28093
28094 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28095 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28096 is always initialized.
28097
28098 * malloc/malloc.c: Removed unused configurations and dead code.
28099 * malloc/arena.c: Likewise.
28100 * malloc/hooks.c: Likewise.
28101 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28102
28103 * include/tls.h: Removed. USE___THREAD must always be defined.
28104 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28105 * elf/dl-libc.c: Likewise.
28106 * elf/dl-tsd.c: Likewise.
28107 * include/errno.h: Likewise.
28108 * include/netdb.h: Likewise.
28109 * include/resolv.h: Likewise.
28110 * inet/herrno-loc.c: Likewise.
28111 * inet/herrno.c: Likewise.
28112 * malloc/arena.c: Likewise.
28113 * malloc/hooks.c: Likewise.
28114 * malloc/malloc.c: Likewise.
28115 * resolv/res-state.c: Likewise.
28116 * resolv/res_libc.c: Likewise.
28117 * sysdeps/i386/dl-machine.h: Likewise.
28118 * sysdeps/ia64/dl-machine.h: Likewise.
28119 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28120 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28121 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28122 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28123 * sysdeps/sh/dl-machine.h: Likewise.
28124 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28125 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28126 * sysdeps/unix/i386/sysdep.S: Likewise.
28127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28128 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28133 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28137 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28138 * sysdeps/x86_64/dl-machine.h: Likewise.
28139 * tls.make.c: Likewise.
28140
28141 * configure.in: Remove --with-__thread option. Make tests for
28142 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28143 tls_model attribute fail if no support is available. Remove
28144 USE_IN_LIBIO.
28145 * Makeconfig: Adjust for dropped configure option. All features are
28146 now mandatory.
28147 * Makerules: Likewise.
28148 * Versions.def: Likewise.
28149 * argp/argp-fmtstream.c: Likewise.
28150 * argp/argp-fmtstream.h: Likewise.
28151 * argp/argp-help.c: Likewise.
28152 * assert/assert.c: Likewise.
28153 * config.h.in: Likewise.
28154 * config.make.in: Likewise.
28155 * configure: Likewise.
28156 * configure.in: Likewise.
28157 * csu/Versions: Likewise.
28158 * csu/init.c: Likewise.
28159 * elf/tst-audit2.c: Likewise.
28160 * elf/tst-tls10.c: Likewise.
28161 * elf/tst-tls10.h: Likewise.
28162 * elf/tst-tls11.c: Likewise.
28163 * elf/tst-tls12.c: Likewise.
28164 * elf/tst-tls14.c: Likewise.
28165 * elf/tst-tlsmod11.c: Likewise.
28166 * elf/tst-tlsmod12.c: Likewise.
28167 * elf/tst-tlsmod13.c: Likewise.
28168 * elf/tst-tlsmod13a.c: Likewise.
28169 * elf/tst-tlsmod14a.c: Likewise.
28170 * elf/tst-tlsmod15b.c: Likewise.
28171 * elf/tst-tlsmod16a.c: Likewise.
28172 * elf/tst-tlsmod16b.c: Likewise.
28173 * elf/tst-tlsmod7.c: Likewise.
28174 * elf/tst-tlsmod8.c: Likewise.
28175 * elf/tst-tlsmod9.c: Likewise.
28176 * gmon/gmon.c: Likewise.
28177 * grp/fgetgrent_r.c: Likewise.
28178 * grp/putgrent.c: Likewise.
28179 * hurd/fopenport.c: Likewise.
28180 * include/libc-symbols.h: Likewise.
28181 * include/tls.h: Likewise.
28182 * intl/gettextP.h: Likewise.
28183 * intl/loadinfo.h: Likewise.
28184 * locale/global-locale.c: Likewise.
28185 * locale/localeinfo.h: Likewise.
28186 * mach/devstream.c: Likewise.
28187 * malloc/arena.c: Likewise.
28188 * malloc/set-freeres.c: Likewise.
28189 * misc/err.c: Likewise.
28190 * misc/getttyent.c: Likewise.
28191 * misc/mntent_r.c: Likewise.
28192 * posix/getopt.c: Likewise.
28193 * posix/wordexp.c: Likewise.
28194 * pwd/fgetpwent_r.c: Likewise.
28195 * resolv/Versions: Likewise.
28196 * resolv/res_hconf.c: Likewise.
28197 * shadow/fgetspent_r.c: Likewise.
28198 * shadow/putspent.c: Likewise.
28199 * stdio-common/printf_fphex.c: Likewise.
28200 * stdio-common/tmpfile.c: Likewise.
28201 * stdlib/abort.c: Likewise.
28202 * stdlib/fmtmsg.c: Likewise.
28203 * sunrpc/auth_unix.c: Likewise.
28204 * sunrpc/clnt_perr.c: Likewise.
28205 * sunrpc/clnt_tcp.c: Likewise.
28206 * sunrpc/clnt_udp.c: Likewise.
28207 * sunrpc/clnt_unix.c: Likewise.
28208 * sunrpc/openchild.c: Likewise.
28209 * sunrpc/svc_simple.c: Likewise.
28210 * sunrpc/svc_tcp.c: Likewise.
28211 * sunrpc/svc_udp.c: Likewise.
28212 * sunrpc/svc_unix.c: Likewise.
28213 * sunrpc/xdr.c: Likewise.
28214 * sunrpc/xdr_array.c: Likewise.
28215 * sunrpc/xdr_rec.c: Likewise.
28216 * sunrpc/xdr_ref.c: Likewise.
28217 * sunrpc/xdr_stdio.c: Likewise.
28218
28219 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28220
28221 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28222
28223 2011-07-03 Andreas Jaeger <aj@suse.de>
28224
28225 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28226 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28227 regenerate with gen-libm-tests.pl.
28228
28229 2010-05-12 Petr Baudis <pasky@suse.cz>
28230
28231 [BZ #11589]
28232 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28233 around j0() zero points by switching to j1().
28234 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28235 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28238
28239 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28240
28241 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28242 instead of 0.
28243 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28244 instead of 0.
28245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28246 Patch in part by Pavel Roskin <proski@gnu.org>.
28247
28248 [BZ #13138]
28249 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28250 realloc.
28251 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28252 Free memory block if necessary.
28253
28254 [BZ #12847]
28255 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28256 be NULL. Don't lock in this case.
28257
28258 2011-09-09 Roland McGrath <roland@hack.frob.com>
28259
28260 * elf/elf.h (ELFOSABI_GNU): New macro.
28261 (ELFOSABI_LINUX): Define to that.
28262
28263 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28264
28265 * string/strncat.c (strncat): Undef the symbol in case it has been
28266 defined in bits/string.h.
28267
28268 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28269
28270 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28271
28272 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28273 link map.
28274
28275 2011-08-17 Andreas Jaeger <aj@suse.de>
28276
28277 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28278
28279 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28280 Ian Lance Taylor <iant@google.com>
28281
28282 * math/libm-test.inc (lround_test): New testcase.
28283 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28284
28285 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28286
28287 * Makefile: Remove support for automatic cvs check-ins.
28288 * Makerules: Likewise.
28289 * config.make.in: Likewise.
28290 * configure.in: Likewise.
28291 * intl/Makefile: Likewise.
28292 * locale/Makefile: Likewise.
28293 * po/Makefile: Likewise.
28294 * posix/Makefile: Likewise.
28295 * sysdeps/gnu/Makefile: Likewise.
28296 * sysdeps/mach/hurd/Makefile: Likewise.
28297 * sysdeps/sparc/sparc32/Makefile: Likewise.
28298
28299 [BZ #13118]
28300 * posix/Makefile (bug-regex32-ENV): Define.
28301 Patch by John Stanley <jpsinthemix@verizon.net>.
28302
28303 * misc/Makefile (headers): Add bits/select2.h.
28304 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28305 * misc/bits/select2.h: New file.
28306 * include/bits/select2.h: New file.
28307 * debug/Makefile (routines): Add fdelt_chk.
28308 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28309 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28310 FD_ISSET.
28311 * debug/fdelt_chk.c: New file.
28312
28313 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28314 * wcsmbs/test-wmemcmp.c: Likewise.
28315 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28316 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28317
28318 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28319
28320 * string/Makefile (strop-tests): Add memcmp.
28321 * string/test-wmemcmp.c: New file.
28322 * string/test-memcmp.c: Add wmemcmp support.
28323
28324 2011-09-08 Roland McGrath <roland@hack.frob.com>
28325
28326 [BZ #13153]
28327 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28328 2011-07-19 change.
28329
28330 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28331 garbage value in a __mach_port_mod_refs call in the cases of the
28332 task-self and thread-self ports.
28333
28334 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28335
28336 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28337
28338 2011-09-08 Andreas Schwab <schwab@redhat.com>
28339
28340 * elf/dl-load.c (lose): Check for non-null L.
28341
28342 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28343
28344 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28345
28346 * elf/dl-libc.c (dlerror_run): Pass back error code from
28347 dl_catch_error.
28348
28349 [BZ #13123]
28350 * elf/dl-load.c (lose): Free l_origin if it is valid.
28351
28352 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28353 names.
28354 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28355 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28356 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28357 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28358 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28359 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28360
28361 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28362
28363 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28364 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28365 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28366 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28367 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28368 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28369 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28370 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28371 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28372 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28373
28374 2011-08-15 Alan Modra <amodra@gmail.com>
28375
28376 [BZ #13092]
28377 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28378 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28379 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28380 ppc_mcount to static-only-routines.
28381 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28382 __mcount_internal.
28383 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28384 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28385
28386 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28387
28388 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28389 for finite and infinity parameters.
28390
28391 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28392
28393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28394 and add nop instructions for throughput optimization.
28395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28396
28397 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28398
28399 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28400 aligned copy for power7 with vector-scalar instructions.
28401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28402
28403 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28406 AVX check.
28407
28408 2011-09-07 Andreas Schwab <schwab@redhat.com>
28409
28410 [BZ #13144]
28411 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28412 last change.
28413
28414 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28415
28416 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28417 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28418 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28419 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28420 clock_gettime.
28421
28422 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28423
28424 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28425 Forgot to demangle the pointer.
28426
28427 * sysdeps/i386/sysdep.h: Define atom_text_section.
28428 * sysdeps/x86_64/sysdep.h: Likewise.
28429 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28430 section with atom_text_section.
28431 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28432 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28433 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28434 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28435 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28436
28437 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28439 already be defined. Change to take two parameters and don't assign
28440 result to variable. Adjust all users.
28441 Define INTERNAL_GETTIME if not already defined.
28442 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28443 call.
28444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28445 HAVE_CLOCK_GETTIME_VSYSCALL.
28446 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28447
28448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28449 gettimeofday vsyscall, just use time.
28450
28451 2011-09-06 Andreas Schwab <schwab@redhat.com>
28452
28453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28454 <errno.h>.
28455
28456 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28457
28458 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28459 syscall on x86-64.
28460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28461 syscall.
28462 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28464 syscall if possible.
28465
28466 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28467
28468 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28469 e_ident. Don't pass to find_mapsXX.
28470 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28471
28472 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28473
28474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28475 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28476 * sysdeps/x86_64/multiarch/strchr.S: Update.
28477 Check bit_slow_BSF bit.
28478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28479 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28480 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28481
28482 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28483
28484 [BZ #13134]
28485 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28486 before glibc 2.15.
28487 (tryshell): Define.
28488 (__spawni): Change last parameter to be flag. Test
28489 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28490 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28491 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28492 * posix/spawni.c: Likewise.
28493 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28494 * posix/spawnp.c: Likewise. Change normal version to use
28495 SPAWN_XFLAGS_USE_PATH.
28496 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28497 SPAWN_XFLAGS_TRY_SHELL.
28498
28499 [BZ #13150]
28500 * posix/glob.h: Remove gcc 1.x support.
28501
28502 [BZ #13068]
28503 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28504
28505 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28506
28507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28508 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28509 strrchr-sse2-bsf
28510 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28511 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28512 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28513 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28514 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28515 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28516
28517 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28518
28519 * sysdeps/x86_64/wcscmp.S: New file.
28520
28521 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28522 wcscmp-c wcscmp-sse2
28523 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28524 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28525 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28526 * wcsmbs/wcscmp.c: Allow renaming.
28527
28528 2011-09-05 David S. Miller <davem@davemloft.net>
28529
28530 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28531 stack slot, rather than the struct return pointer slot.
28532 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28533 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28535 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28536
28537 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28538
28539 * po/ja.po: Update from translation team.
28540
28541 [BZ #13144]
28542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28543 kernel in 64-bit binaries.
28544
28545 2011-09-01 David S. Miller <davem@davemloft.net>
28546
28547 * elf/elf.h (HWCAP_SPARC_*): Move to..
28548 * sysdeps/sparc/sysdep.h: this new file and add new values.
28549 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28550 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28551 _DL_HWCAP_COUNT to 24.
28552 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28553 entries.
28554 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28555 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28556 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28558 instead of magic constants.
28559 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28560
28561 2011-08-31 David S. Miller <davem@davemloft.net>
28562
28563 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28565 Reimplement to do errno handling inline.
28566 (SYSCALL_ERROR_HANDLER): New macro.
28567 (__SYSCALL_STRING): Do not do errno handling in asm.
28568 (__CLONE_SYSCALL_STRING): Delete.
28569 (__INTERNAL_SYSCALL_STRING): Delete.
28570 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28571 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28572 (PSEUDO): Reimplement to do errno handling inline.
28573 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28574 (SYSCALL_ERROR_HANDLER): New macro.
28575 (__SYSCALL_STRING): Do not do errno handling in asm.
28576 (__CLONE_SYSCALL_STRING): Delete.
28577 (__INTERNAL_SYSCALL_STRING): Delete.
28578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28579 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28580 i386.
28581 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28582 (inline_syscall*): Add 'err' argument.
28583 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28584 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28585 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28586 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28587
28588 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28589 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28590
28591 2011-08-30 Andreas Schwab <schwab@redhat.com>
28592
28593 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28594
28595 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28596
28597 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28598 directive.
28599
28600 2011-08-24 David S. Miller <davem@davemloft.net>
28601
28602 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28603
28604 2011-08-24 Andreas Schwab <schwab@redhat.com>
28605
28606 * elf/Makefile: Add rules to build and run unload8 test.
28607 * elf/unload8.c: New file.
28608 * elf/unload8mod1.c: New file.
28609 * elf/unload8mod1x.c: New file.
28610 * elf/unload8mod2.c: New file.
28611 * elf/unload8mod3.c: New file.
28612
28613 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28614 it wasn't used.
28615
28616 2011-08-23 David S. Miller <davem@davemloft.net>
28617
28618 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28619 subtract stack bias.
28620 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28621 %sp not %fp in calculations.
28622 (_JMPBUF_UNWINDS_ADJ): Likewise.
28623
28624 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28625 (aio_suspend): Call it to force an exception region around the
28626 AIO_MISC_WAIT() invocation.
28627
28628 2011-08-23 Andreas Schwab <schwab@redhat.com>
28629
28630 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28631 backslash.
28632
28633 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28634
28635 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28636 protection macro.
28637 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28638 and <dl-machine.h>.
28639 (Elf64_FuncDesc): Remove.
28640
28641 2011-08-22 David S. Miller <davem@davemloft.net>
28642
28643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28644 sigaltstack check, add missing cfi directives.
28645 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28646 missing cfi directives, and sigaltstack handling.
28647
28648 2011-08-16 Andreas Schwab <schwab@redhat.com>
28649
28650 [BZ #11724]
28651 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28652 object is seen twice.
28653 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28654
28655 * elf/Makefile (distribute): Add tst-initorder2.c.
28656 (tests): Add tst-initorder2.
28657 (modules-names): Add tst-initorder2a tst-initorder2b
28658 tst-initorder2c tst-initorder2d. Add rules to build them.
28659 ($(objpfx)tst-initorder2.out): New rule.
28660 * elf/tst-initorder2.c: New file.
28661 * elf/tst-initorder2.exp: New file.
28662
28663 2011-08-22 Andreas Schwab <schwab@redhat.com>
28664
28665 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28666
28667 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28668 dependencies back to end of function.
28669
28670 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28671 $(elfobjdir)/ld.so.
28672
28673 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28674
28675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28676 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28678 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28679 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28680 of __vdso_gettimeofday.
28681 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28682 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28683 attribute_hidden.
28684 (_libc_vdso_platform_setup): Remove initialization of
28685 __vdso_gettimeofday and __vdso_time.
28686
28687 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28688
28689 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28690 and fgetc_unlocked.
28691 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28692 getc_unlocked.
28693
28694 * elf/dl-open.c (add_to_global): Report additions to the global scope
28695 for LD_DEBUG=scopes.
28696 (dl_open_worker): Also print scope of newly loaded dependencies.
28697 (_dl_show_scope): Indicate if there is no scope.
28698
28699 [BZ #13114]
28700 * stdio-common/Makefile (tests): Add bug24.
28701 * stdio-common/bug24.c: New file.
28702
28703 2011-08-19 Andreas Jaeger <aj@suse.de>
28704
28705 [BZ #13114]
28706 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28707 non-existant file when using close-on-exec mode.
28708
28709 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28710
28711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28712 the very first instruction.
28713
28714 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28715 the CFI state in the end.
28716 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28717 inclusion of dl-trampoline.h.
28718 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28719
28720 2011-08-19 Andreas Schwab <schwab@redhat.com>
28721
28722 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28723 expectations for long double.
28724
28725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28726 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28727
28728 2011-08-14 David S. Miller <davem@davemloft.net>
28729
28730 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28731 artificual limit depends upon the system page size.
28732
28733 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28734
28735 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28736 * resolv/Makefile: Define CFLAGS-libresolv.
28737
28738 2011-08-17 Andreas Schwab <schwab@redhat.com>
28739
28740 * nss/makedb.c (compute_tables): Make variables used in nested
28741 function static.
28742
28743 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28744
28745 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28746 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28747 if buffer was too small.
28748
28749 * elf/pldd.c (main): Attach to all threads in the process.
28750 Rewrite /proc handling to use *at functions.
28751
28752 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28753
28754 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28755 specifies first scope to show.
28756 (dl_open_worker): Update callers. Move printing scope of new
28757 object to before the relocation.
28758 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28759 * sysdeps/generic/ldsodefs.h: Update declaration.
28760
28761 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28762 string for the scope number.
28763
28764 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28765
28766 * nscd/servicescache.c (cache_addserv): Make sure written is always
28767 initialized.
28768
28769 2011-08-14 Roland McGrath <roland@hack.frob.com>
28770
28771 * sysdeps/i386/i486/bits/atomic.h
28772 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28773 statement expression, so as to suppress "set but not used" warning.
28774 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28775
28776 * string/strncat.c (STRNCAT): Use prototype definition.
28777
28778 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28779 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28780 -Iprograms here.
28781 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28782 (localedef-modules): Add localedef.
28783 (locale-modules): Add locale.
28784
28785 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28786 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28787 to avoid a warning.
28788
28789 2011-08-14 David S. Miller <davem@davemloft.net>
28790
28791 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28792 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28793
28794 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28795
28796 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28797 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28798 * elf/rtld.c (dl_main): Set l_name of vDSO.
28799 Call _dl_show_scope when DL_DEBUG_SCOPES.
28800 (process_dl_debug): Recognize scopes flag and also set it for all.
28801 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28802 Declare _dl_show_scope.
28803
28804 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28805 (do_dlopen): Pass caller_dlopen to dl_open.
28806 (__libc_dlopen_mode): Initialize caller_dlopen.
28807
28808 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28809 of libc. Make tolower call locale-independent. Optimize a bit by
28810 using isdigit instead of isalnum.
28811 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28812
28813 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28814
28815 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28816 was a dependency or dynamically loaded.
28817
28818 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28819
28820 * intl/l10nflist.c: Allow architecture-specific pop function.
28821 * sysdeps/x86_64/l10nflist.c: New file.
28822
28823 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28824 classification.
28825
28826 2011-08-10 Andreas Schwab <schwab@redhat.com>
28827
28828 * include/dirent.h: Add libc_hidden_proto for scandirat and
28829 scandirat64. Don't declare __scandirat64.
28830 * dirent/scandirat.c: Add libc_hidden_def.
28831 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28832 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28833
28834 2011-08-10 David S. Miller <davem@davemloft.net>
28835
28836 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28837 enum.
28838 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28839 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28841
28842 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28843
28844 * Versions.def [libc]: Add GLIBC_2.15.
28845 * dirent/Makefile (routines): Add scandirat and scandirat64.
28846 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28847 GLIBC_2.15.
28848 * dirent/dirent.h: Declare scandirat and scandirat64.
28849 * dirent/scandirat.c: New file.
28850 * dirent/scandirat64.c: New file.
28851 * sysdeps/wordsize-64/scandirat.c: New file.
28852 * sysdeps/wordsize-64/scandirat64.c: New file.
28853 * dirent/opendir.c: Define opendirat.
28854 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28855 using scandirat.
28856 * dirent/scandir64.c: Adjust for scandir.c change.
28857 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28858 __scandirat64, and __scandir_cancel_handler.
28859 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28860 additional parameter and use openat instead of open (outside of ld.so).
28861 Add new __opendir as wrapper around __opendirat.
28862 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28863 here without requiring old scandirat implementation.
28864
28865 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28866
28867 * dirent/scandir.c (cancel_handler): Renamed to
28868 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28869 defined. Adjust users.
28870 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28871 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28872
28873 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28874
28875 * string/test-string.h (IMPL): Use __STRING to expand name and then
28876 stringify it.
28877
28878 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28879 of cleanups.
28880
28881 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28882
28883 * string/Makefile: Update.
28884 (strop-tests): Append strncat.
28885 * string/test-wcscmp.c: New file.
28886 New comprehensive test for wcscmp.
28887 * string/test-strcmp.c: Update.
28888 (WIDE): New define.
28889
28890 2011-07-22 Andreas Schwab <schwab@redhat.com>
28891
28892 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28893 line.
28894
28895 2011-07-26 Andreas Schwab <schwab@redhat.com>
28896
28897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28898 encoding to ACE if AI_IDN.
28899
28900 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28901
28902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28903 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28904
28905 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28906
28907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28908 Fix overflow bug in strncat.
28909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28910
28911 * string/test-strncat.c: Update.
28912 Add new tests for checking overflow bugs.
28913
28914 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28915
28916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28917 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28918 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28919 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28920 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28921 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28922 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28923 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28924 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28925
28926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28927 (USE_AS_STRCAT): Define.
28928 Add strcat and strncat support.
28929 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28930
28931 2011-07-25 Andreas Schwab <schwab@redhat.com>
28932
28933 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28934 __n bigger than INT_MAX+1.
28935 (__strncmp_g): Likewise.
28936
28937 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28938
28939 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28940 * libio/stido.h: Likewise.
28941
28942 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28943 (AF_NFC): Define.
28944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28945 (AF_NFC): Define.
28946
28947 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28948 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28950 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28952
28953 [BZ #13021]
28954 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28955 installed.
28956
28957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28958 typo.
28959 (_dl_x86_64_save_sse): Likewise.
28960
28961 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28962
28963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28964 OSXSAVE.
28965 (_dl_x86_64_save_sse): Likewise.
28966
28967 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28968
28969 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28970
28971 2011-07-21 Andreas Schwab <schwab@redhat.com>
28972
28973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28974 change.
28975 (_dl_x86_64_save_sse): Use correct AVX check.
28976
28977 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28978
28979 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28980 bug in strncpy/strncat.
28981 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28982
28983 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28984
28985 * string/tester.c (test_strcat): Add tests for different alignments
28986 of source and destination.
28987 (test_strncat): Likewise.
28988
28989 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28990
28991 [BZ #12852]
28992 * posix/glob.c (glob): Check passed in values before using them in
28993 expressions to avoid some overflows.
28994 (glob_in_dir): Likewise.
28995
28996 [BZ #13007]
28997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28998 check for AVX enablement so that we don't crash with old kernels and
28999 new hardware.
29000 * elf/tst-audit4.c: Add same checks here.
29001 * elf/tst-audit6.c: Likewise.
29002
29003 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29004
29005 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29006
29007 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29008
29009 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29010
29011 * po/cs.po: Update from translation team.
29012 * po/bg.po: Likewise.
29013
29014 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29015
29016 * misc/sys/cdefs.h: Add support for const attribute.
29017 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29018 to gnu_dev_{major,minor,makedev} functions.
29019
29020 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29021
29022 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29023
29024 2011-07-20 Andreas Schwab <schwab@redhat.com>
29025
29026 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29027 strlen results.
29028
29029 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29030
29031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29032 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29033 register in order to avoid conflicts with the soft frame pointer
29034 being held in r11 when necessary.
29035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29036 (INTERNAL_VSYSCALL_NCS): Likewise.
29037
29038 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29039
29040 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29041 * elf/dl-fini.c (_dl_fini): Adjust caller.
29042 * elf/dl-close.c (_dl_close_worker): Likewise.
29043 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29044
29045 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29046
29047 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29048 "aux_cache->nlibs < 0".
29049
29050 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29051 in the reload-count case.
29052
29053 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29054
29055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29056 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29057 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29058 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29059 * sysdeps/x86_64/multiarch/strcat.S: New file.
29060 * sysdeps/x86_64/multiarch/strncat.S: New file.
29061 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29062 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29063 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29064 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29065 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29066 (USE_AS_STRCAT): Define.
29067 Add strcat and strncat support.
29068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29069 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29070 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29071 * string/strncat.c: Update.
29072 (USE_AS_STRNCAT): Define.
29073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29074 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29075 and i7.
29076 * sysdeps/x86_64/multiarch/init-arch.h
29077 (bit_Prefer_PMINUB_for_stringop): New.
29078 (index_Prefer_PMINUB_for_stringop): Likewise.
29079 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29080 bit_Prefer_PMINUB_for_stringop.
29081
29082 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29083
29084 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29085 buffer64.
29086 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29087 of casting of buffer.
29088 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29089 buffer32 and buffer64.
29090 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29091 writes instead of casting of buffer.
29092 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29093 buffer32.
29094 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29095 casting of buffer.
29096
29097 2011-07-19 Andreas Schwab <schwab@redhat.com>
29098
29099 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29100
29101 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29102
29103 * nscd/nscd.c (termination_handler): Don't do anything for a database
29104 if it has not yet been initialized.
29105
29106 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29107
29108 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29109
29110 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29111
29112 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29113
29114 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29115
29116 * po/nl.po: Update from translation team.
29117 * po/sv.po: Likewise.
29118
29119 2011-07-16 Roland McGrath <roland@hack.frob.com>
29120
29121 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29122 now disallowed by GCC.
29123
29124 * configure.in (use-default-link): Default to yes if a test -shared
29125 link meets our qualifications.
29126 * configure: Regenerated.
29127
29128 * config.make.in (output-format): New variable.
29129 * configure.in: Check for ld --print-output-format support.
29130 * configure: Regenerated.
29131 * Makerules ($(common-objpfx)format.lds)
29132 [$(output-format) != unknown]: Just use $(output-format),
29133 instead of the linker-script munging.
29134
29135 2011-07-14 Roland McGrath <roland@hack.frob.com>
29136
29137 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29138 of $(common-objpfx)shlib.lds.
29139 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29140
29141 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29142 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29143
29144 * configure.in (-z relro check): Adjust test code to add a large
29145 writable data section after it.
29146 * configure: Regenerated.
29147
29148 2011-07-11 Roland McGrath <roland@hack.frob.com>
29149
29150 * configure.in (-z relro check): Fix test code to make the variable
29151 truly const.
29152 * configure: Regenerated.
29153
29154 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29155
29156 * nscd/nscd.h (struct traced_file): Define.
29157 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29158 elements. Add traced_files.
29159 (inotify_fd): Declare.
29160 (register_traced_file): Declare.
29161 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29162 (inotify_fd): Export.
29163 (resolv_conf_descr): Remove.
29164 (nscd_init): Move inotify descriptor creation to main.
29165 Don't register files for notification here.
29166 (register_traced_file): New function.
29167 (invalidate_cache): Don't use reset_res to determine whether to call
29168 res_init, go through the list of registered files.
29169 (main_loop_poll): The inotify descriptors are now stored in the
29170 structures for the traced files.
29171 (main_loop_epoll): Likewise
29172 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29173 to __nss_disable_nscd.
29174 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29175 for a database anymore. Check the records for all the registered
29176 files instead.
29177 * nss/Makefile (libnss_files-routines): Add files-init.
29178 (libnss_db-routines): Add db-init.
29179 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29180 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29181 * nss/nss_db/db-init.c: New file.
29182 * nss/nss_files/files-init.c: New file.
29183 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29184 __nss_lookup_function.
29185 (__nss_lookup_function): Call nss_load_library.
29186 (nss_load_all_libraries): New function.
29187 (__nss_disable_nscd): Take parameter with callback function for files
29188 to register. Set is_nscd. Load all the DSOs for the NSS modules
29189 used for the cached services.
29190 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29191 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29192 options for features to all the files in nscd.
29193
29194 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29195
29196 2011-07-10 Roland McGrath <roland@hack.frob.com>
29197
29198 * csu/elf-init.c (__libc_csu_init): Comment typo.
29199
29200 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29201
29202 * po/pl.po: Update from translation team.
29203 * po/ja.po: Likewise.
29204 * po/ru.po: Likewise.
29205 * po/ko.po: Likewise.
29206 * po/fr.po: Likewise.
29207
29208 2011-07-09 Roland McGrath <roland@hack.frob.com>
29209
29210 * configure.in (.ctors/.dtors header and trailer check):
29211 Use an empirical test on a built program.
29212 * configure: Regenerated.
29213
29214 * configure.in (-z relro check): Use an empirical test on a built DSO.
29215 Detect, but do not require, on ia64.
29216 * configure: Regenerated.
29217
29218 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29219 Update tests that use readelf to use $READELF instead.
29220 * configure: Regenerated.
29221
29222 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29223
29224 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29225 if the result is not used.
29226
29227 2011-07-05 Andreas Jaeger <aj@suse.de>
29228
29229 [BZ#9696]
29230 * stdlib/tst-strtod.c: Add testcase.
29231
29232 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29233
29234 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29235 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29236 The latter has a higher limit. Take additional parameter to pass to
29237 the new function.
29238 (__pathconf): Pass file to __statfs_link_max.
29239 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29240 __statfs_link_max.
29241 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29242 __statfs_link_max.
29243
29244 [BZ #12868]
29245 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29246 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29247 Handle Lustre.
29248 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29249 (__statfs_filesize_max): Likewise.
29250 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29251
29252 2011-07-05 Andreas Jaeger <aj@suse.de>
29253
29254 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29255
29256 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29257
29258 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29259 `status' variable.
29260 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29261 Likewise.
29262
29263 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29264
29265 * Makefile (strop-tests): Add strncat.
29266 * string/test-strncat.c: New file.
29267
29268 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29269
29270 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29271
29272 2011-06-21 Andreas Jaeger <aj@suse.de>
29273
29274 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29275 Copy rule from iconvdata/Makefile.
29276
29277 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29278
29279 [BZ #12922]
29280 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29281 but no long options are defined, just return 'W'.
29282
29283 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29284
29285 [BZ #9696]
29286 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29287
29288 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29289
29290 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29291 netgroups to read.
29292 (innetgr): Likewise.
29293
29294 2011-07-05 Roland McGrath <roland@hack.frob.com>
29295
29296 * config.make.in (install_root): Default to $(DESTDIR).
29297
29298 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29299
29300 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29301
29302 2011-07-02 Roland McGrath <roland@hack.frob.com>
29303
29304 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29305
29306 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29307 containing directory rather than embedding absolute directory names.
29308
29309 * scripts/check-local-headers.sh: Rewritten using awk.
29310 Match by word, not by line. Print error messages for matches.
29311 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29312
29313 * Makerules [shlib-lds-flags empty]:
29314 ($(common-objpfx)libc_pic.opts): New target.
29315 ($(common-objpfx)libc_pic.os.clean): New target.
29316 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29317
29318 * config.make.in (OBJCOPY): New variable.
29319 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29320 * configure: Regenerated.
29321
29322 * config.make.in (use-default-link): New variable.
29323 * configure.in (use_default_link): Grok --with-default-link to set it.
29324 * configure: Regenerated.
29325 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29326 (shlib-lds, shlib-lds-flags): Define to empty.
29327
29328 * Makerules (shlib-lds): New variable.
29329 (shlib-lds-flags): New variable.
29330 (build-shlib, build-moduile, build-module-asneeded): Use it.
29331 ($(common-objpfx)libc.so): Use $(shlib-lds).
29332 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29333 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29334
29335 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29336 DT_FLAGS/DT_FLAGS_1 with zero flags.
29337
29338 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29339 linker script munging.
29340
29341 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29342
29343 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29344 as 128-bit value.
29345 * crypt/sha512.c (sha512_process_block): Perform total addition using
29346 128-bit if possible.
29347 (__sha512_finish_ctx): Likewise.
29348 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29349 as 64-bit value.
29350 * crypt/sha256.c (SWAP64): Define.
29351 (sha256_process_block): Perform total addition using 64-bit if
29352 possible.
29353 (__sha256_finish_ctx): Likewise.
29354
29355 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29356
29357 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29359 * nscd/hstcache.c (cache_addhst): Likewise.
29360 * nscd/grpcache.c (cache_addgr): Likewise.
29361 * nscd/aicache.c (addhstaiX): Likewise
29362 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29363
29364 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29365
29366 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29368 * nscd/hstcache.c (cache_addhst): Likewise.
29369 * nscd/grpcache.c (cache_addgr): Likewise.
29370 * nscd/aicache.c (addhstaiX): Likewise
29371
29372 2011-07-01 Andreas Schwab <schwab@redhat.com>
29373
29374 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29375 domain only when needed.
29376
29377 2011-06-30 Andreas Schwab <schwab@redhat.com>
29378
29379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29380 is always restored.
29381
29382 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29383
29384 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29385 are re-adding the entry.
29386 * nscd/servicescache.c (cache_addserv): Likewise.
29387
29388 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29389
29390 * sysdeps/generic/dl-irel.h: fix protection against multiple
29391 inclusions.
29392 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29393
29394 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29395
29396 [BZ #12935]
29397 * malloc/memusage.sh: Fix quoting in message.
29398 * debug/xtrace.sh: Likewise.
29399
29400 * configure.in: Remove support for --experimental-malloc option, make
29401 it the default.
29402 * config.make.in: Likewise.
29403 * malloc/Makefile: Likewise.
29404
29405 2011-06-27 Andreas Schwab <schwab@redhat.com>
29406
29407 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29408 two-byte characters.
29409
29410 2011-06-27 Roland McGrath <roland@hack.frob.com>
29411
29412 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29413 AC_CACHE_CHECK invocation.
29414 * configure: Regenerated.
29415
29416 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29417
29418 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29419
29420 [BZ #12350]
29421 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29422 bit from old_res_options.
29423
29424 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29425
29426 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29427 value type for setfct.
29428
29429 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29430
29431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29432 __gettimeofday instead of gettimeofday.
29433
29434 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29435
29436 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29437
29438 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29439
29440 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29441
29442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29443 info.
29444
29445 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29446
29447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29448 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29449 strcpy-sse2-unaligned strncpy-sse2-unaligned
29450 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29451 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29452 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29453 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29454 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29455 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29456 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29457 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29458 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29459 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29460 (STRCPY): Support SSE2 and SSSE3 versions.
29461
29462 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29463
29464 [BZ #12874]
29465 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29466 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29467 kernels which artificially limit size of requests.
29468
29469 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29470
29471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29472 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29473 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29474 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29475 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29476 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29477 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29478 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29479 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29481 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29482 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29483 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29484 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29485 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29487 Enable unaligned load optimization for Intel Core i3, i5 and i7
29488 processors.
29489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29490 Define.
29491 (index_Fast_Unaligned_Load): Define.
29492 (HAS_FAST_UNALIGNED_LOAD): Define.
29493
29494 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29495
29496 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29497
29498 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29499
29500 [BZ #12907]
29501 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29502 until it is clear that the information is realy needed.
29503 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29504
29505 2011-06-22 Andreas Schwab <schwab@redhat.com>
29506
29507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29508
29509 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29510
29511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29512 /sys/devices/system/cpu/online if it is usable.
29513
29514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29515 reading the information from the /proc filesystem to once a second.
29516
29517 2011-06-21 Andreas Jaeger <aj@suse.de>
29518
29519 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29520 NULL after inclusion of kernel headers.
29521
29522 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29523
29524 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29525 calls to internal_setent.
29526
29527 [BZ #12885]
29528 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29529 addresses using gethostbyname4_r ignore IPv4 addresses.
29530
29531 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29532 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29533
29534 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29535
29536 2011-06-20 David S. Miller <davem@davemloft.net>
29537
29538 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29539 inclusions.
29540 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29541
29542 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29543 (elf_irel): Use it.
29544 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29545 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29546 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29547 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29548 * sysdeps/x86_64/dl-irel.h: Likewise.
29549
29550 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29551 * elf/dl-sym.c: Likewise.
29552
29553 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29554
29555 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29556 need to dereference resplen2.
29557
29558 2011-06-14 Andreas Schwab <schwab@redhat.com>
29559
29560 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29561
29562 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29563
29564 * Makeconfig: Define vardbdir and inst_vardbdir.
29565 * nss/Makefile: Add rules to install db-Makefile.
29566
29567 * nss/nss_db/db-XXX.c: Cleanup.
29568
29569 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29570 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29571 GLIBC_PRIVATE.
29572 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29573 * nss/makedb.c: Implement -g option to specify that value strings
29574 are generated and should not be added to table iterated over for
29575 get*ent calls.
29576 * nss/nss_db/db-initgroups.c: New file.
29577
29578 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29579 interface.
29580
29581 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29582 (internal_getgrouplist): Adjust to name change.
29583 Update use_initgroups_entry if this is not the first call.
29584 * nss/databases.def: Add initgroups entry.
29585
29586 * nss/makedb.c (compute_tables): Check result of multiple hash table
29587 sizes to minimize maximum chain length.
29588
29589 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29590
29591 * Versions.def: Add entry for libnss_db.
29592 * shlib-versions: Likewise.
29593 * nss/Makefile: Add rules to build libnss_db.
29594 * nss/Versions: Add libnss_db information. Organize libnss_files
29595 entries better.
29596 * nss/db-Makefile: Add gshadow support. Change rules for the new
29597 makedb progra. Some minor improvements to generate smaller files.
29598 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29599 here from...
29600 * nss/makedb.c: ...here.
29601 Improve database format to be smaller and require less memory at
29602 runtime.
29603 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29604 db anymore.
29605 * nss/nss_db/db-netgrp.c: Likewise.
29606 * nss/nss_db/db-open.c: Likewise.
29607 * nss/nss_files/flies-XXX.x: Adjust comments.
29608 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29609 * nss/nss_files/files-grp.c: Likewise.
29610 * nss/nss_files/files-hosts.c: Likewise.
29611 * nss/nss_files/files-network.c: Likewise.
29612 * nss/nss_files/files-proto.c: Likewise.
29613 * nss/nss_files/files-pwd.c: Likewise.
29614 * nss/nss_files/files-rpc.c: Likewise.
29615 * nss/nss_files/files-service.c: Likewise.
29616 * nss/nss_files/files-sgrp.c: Likewise.
29617 * nss/nss_files/files-spwd.c: Likewise.
29618 * nss/nss_db/db-alias.c: Removed.
29619 * nss/nss_db/dummy-db.h: Removed.
29620
29621 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29622
29623 * nss/makedb.c: Rewritten to not use database library.
29624 * nss/Makefile: Update to build new makedb program.
29625
29626 2011-06-14 Andreas Jaeger <aj@suse.de>
29627
29628 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29629 memset declaration.
29630
29631 2011-06-10 Andreas Schwab <schwab@redhat.com>
29632
29633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29634 tmpbuf.
29635
29636 2011-06-10 Roland McGrath <roland@hack.frob.com>
29637
29638 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29639 * elf/Makefile ($(objpfx)ld.so): Likewise.
29640
29641 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29642 Don't list ld.so twice in dependencies.
29643
29644 * posix/bug-regex31.c: Include <stdlib.h>.
29645
29646 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29647
29648 * nis/nss_compat/compat-spwd.c
29649 (getspent_next_nss_netgr): Remove unused variable.
29650 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29651
29652 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29653 nonmembers" output to use the right array.
29654
29655 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29656
29657 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29658
29659 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29660 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29661 * catgets/gencat.c (read_input_file): Likewise.
29662 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29663
29664 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29665 variable definition inside #if's controlling its use.
29666
29667 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29668
29669 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29670
29671 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29672
29673 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29674 unreachable code.
29675
29676 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29677
29678 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29679 * configure: Regenerated.
29680
29681 * Makerules: Revert last change.
29682 * elf/Makefile: Likewise.
29683
29684 2011-06-09 Roland McGrath <roland@hack.frob.com>
29685
29686 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29687 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29688 (reloc-link): Likewise.
29689
29690 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29691
29692 * elf/Makefile: Add rules to build pldd.
29693 * elf/pldd.c: New file.
29694 * elf/pldd-xx.c: New file.
29695
29696 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29697
29698 * version.h: Update for 2.15 development version.
29699
29700 2011-06-07 David S. Miller <davem@davemloft.net>
29701
29702 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29703 ifuncs.
29704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29705 elf_machine_lazy_rel): Likewise.
29706 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29707 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29708 elf_machine_lazy_rel): Likewise.
29709 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29710 dl_hwcap via passed in argument.
29711 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29712 Likewise.
29713
29714 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29715
29716 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29717
29718 2011-06-06 Roland McGrath <roland@hack.frob.com>
29719
29720 [BZ #12849]
29721 * manual/fdl-1.1.texi: New file, verbatim from:
29722 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29723 * manual/lgpl-2.1.texi: New file, verbatim from:
29724 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29725 * manual/Makefile (licenses): New variable, list those new file names.
29726 (texis): Use it.
29727 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29728
29729 * manual/fdl.texi: File removed.
29730 * manual/lesser.texi: File removed.
29731 * manual/libc.texinfo (Copying, Documentation License):
29732 Use new @include file names, put @appendix directive before @include.
29733
29734 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29735
29736 [BZ #12841]
29737 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29738 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29739 (mq_open): Add __NTH.
29740
29741 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29742
29743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29744 Assume Intel Core i3/i5/i7 processor if AVX is available.
29745
29746 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29747
29748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29749 typo.
29750
29751 2011-05-31 Andreas Schwab <schwab@redhat.com>
29752
29753 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29754 memory. Use alloca_account. Fix memory leak when retrying.
29755
29756 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29757
29758 * version.h (RELEASE): Bump for 2.14 release.
29759 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29760
29761 * config.make.in (RANLIB): Remove entry.
29762
29763 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29764
29765 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29766 (libc.pot): Work around missing support for .ksh extension in xgettext.
29767
29768 [BZ #12684]
29769 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29770 if both request failed.
29771 (send_dg): In case of server errors clear resplen or *resplen2.
29772
29773 [BZ #12454]
29774 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29775 when there are multiple maps.
29776 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29777 (_dl_fini): Remove test here.
29778
29779 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29780
29781 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29782
29783 [BZ #12350]
29784 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29785 bit from old_res_options.
29786 (gaih_inet): Likewise.
29787
29788 [BZ #11099]
29789 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29790 as signed.
29791
29792 * resolv/res_init.c (res_setoptions): Make the code more compact.
29793
29794 [BZ #11558]
29795 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29796 set RES_USEVC.
29797
29798 [BZ #11634]
29799 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29800
29801 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29802
29803 [BZ #11781]
29804 * malloc/malloc.h: Declare malloc hook variables as volatile.
29805
29806 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29807 in last patch.
29808
29809 [BZ #11799]
29810 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29811 raise in the comment.
29812 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29814 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29815
29816 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29817
29818 [BZ #12811]
29819 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29820 grow the buffers more if it already has to be sufficient.
29821 (build_wcs_upper_buffer): Likewise.
29822 * posix/regexec.c (check_matching): Likewise.
29823 (clean_state_log_if_needed): Likewise.
29824 (extend_buffers): Don't enlarge buffers beyond size of the input
29825 buffer.
29826 Patches mostly by Emil Wojak <emil@wojak.eu>.
29827 * posix/bug-regex32.c: New file.
29828 * posix/Makefile (tests): Add bug-regex32.
29829
29830 * locale/findlocale.c (_nl_find_locale): Return right away if
29831 _nl_explode_name failed.
29832 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29833
29834 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29835
29836 * debug/xtrace.sh: Unify messages.
29837 * malloc/memusage.sh: Likewise.
29838
29839 [BZ #12813]
29840 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29841 time symbol from vDSO. Substitute with vsyscall if not available.
29842 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29843 __vdso_time.
29844
29845 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29846 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29847 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29848 Add sendmmsg and internal_sendmmsg.
29849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29850 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29851 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29852
29853 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29854 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29855 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29856
29857 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29858
29859 [BZ #12813]
29860 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29861 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29862 available.
29863 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29864 __vdso_getcpu.
29865
29866 [BZ #12814]
29867 * iconvdata/Makefile (tests): Add bug-iconv9.
29868 * iconvdata/bug-iconv9.c: New file.
29869
29870 2011-05-27 Andreas Schwab <schwab@redhat.com>
29871
29872 [BZ #12814]
29873 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29874
29875 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29876
29877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29878 (struct user_regs_struct): Change intcs field back to cs.
29879
29880 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29881
29882 * po/ja.po: Update from translation team.
29883
29884 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29885
29886 [BZ #12795]
29887 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29888 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29889
29890 2011-05-20 Andreas Schwab <schwab@redhat.com>
29891
29892 * stdlib/longlong.h: Update from GCC.
29893
29894 2011-05-23 Andreas Schwab <schwab@redhat.com>
29895
29896 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29897 parameter name.
29898 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29899 Add parameter name.
29900 (__sysconf): Pass it down.
29901
29902 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29903
29904 [BZ #12671]
29905 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29906 some situations.
29907 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29908 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29909 add in in __libc_use_alloca calls. Adjust callers.
29910 (glob): Use malloc in some situations.
29911
29912 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29913 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29914 pltexit.
29915
29916 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29917
29918 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29919 and CLOCK_BOOTTIME_ALARM.
29920
29921 [BZ #12782]
29922 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29923 is returned.
29924
29925 * string/_strerror.c (__strerror_r): Print negative errors as signed
29926 numbers.
29927
29928 [BZ #12777]
29929 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29930 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29931 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29932
29933 * configure.in: Fix typo in redirection and correct removal of test
29934 files in two cases.
29935
29936 [BZ #12788]
29937 * locale/setlocale.c (new_composite_name): Fix test to check for
29938 identical name of all categories.
29939
29940 [BZ #12792]
29941 * libio/filedoalloc.c (local_isatty): New function.
29942 (_IO_file_doallocate): Use local_isatty.
29943 * stdio-common/perror.c (perror): In case a new stream is used
29944 forward the stream error.
29945 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29946 error flag.
29947
29948 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29949
29950 [BZ #11869]
29951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29952 alloca.
29953 * include/alloca.h (extend_alloca_account): Define.
29954
29955 [BZ #11857]
29956 * posix/regex.h: Fix comments with documentation of user-accessible
29957 fields after compilation and describe correct free'ing of pattern
29958 after re_compile_pattern.
29959 Patch by Reuben Thomas <rrt@sc3d.org>.
29960
29961 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29962
29963 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29964 and -mno-altivec to prevent the compiler from using Altivec and/or
29965 VSX instructions when the corresponding registers are not available.
29966
29967 2011-05-19 Andreas Schwab <schwab@redhat.com>
29968
29969 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29970
29971 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29972
29973 * libio/freopen.c (freopen): Use __dup2, not dup2.
29974 * libio/freopen64.c (freopen64): Likewise.
29975
29976 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29977
29978 [BZ #12775]
29979 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29980 * math/Makefile (tests): Add test-powl.
29981 (CFLAGS-test-powl.c): Define.
29982 * math/test-powl.c: New file.
29983
29984 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29985
29986 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29987
29988 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29989
29990 [BZ #11837]
29991 * iconvdata/gb18030.c: Update to GB18020-2005.
29992
29993 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29994
29995 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29996 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29997 Patch by Aharon Robbins <arnold@skeeve.com>.
29998
29999 [BZ #11892]
30000 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30001 on the stack.
30002
30003 [BZ #11895]
30004 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30005 through underflows.
30006
30007 [BZ #12766]
30008 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30009 point to strings before performing equality test for error_one_per_line
30010 mode.
30011
30012 [BZ #11697]
30013 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30014
30015 [BZ #11820]
30016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30017 (struct user_fpregs_struct): Avoid __uint*_t types.
30018
30019 [BZ #6420]
30020 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30021 symbol info. Use it instead of calling _dl_addr locally.
30022 (lock_and_info): New function.
30023 (tr_freehook): Call lock_and_info and pass symbol info as additional
30024 parameter to tr_where.
30025 (tr_mallochook): Likewise.
30026 (tr_reallochook): Likewise.
30027 (tr_memalignhook): Likewise.
30028
30029 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30030 used and couldn't be at all thread-safe.
30031
30032 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30033
30034 * libio/freopen.c (freopen): Don't close old file descriptor
30035 before the new one is opened. Instead dup the new file descriptor
30036 to the old one after the new stream is created.
30037 * libio/freopen64.c (freopen64): Likewise.
30038 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30039 * libio/fileops.c (_IO_new_file_close_it): Handle new
30040 _IO_FLAGS2_NOCLOSE flag.
30041 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30042 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30043 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30044 _IO_FLAGS2_NOCLOSE flag.
30045 * include/unistd.h: Add hidden_proto for dup3.
30046 Define __have_dup3.
30047 * io/dup3.c: Define hidden symbol.
30048 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30049
30050 [BZ #7101]
30051 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30052 when an incomplete long option is used.
30053 * posix/tst-getopt_long1.c: New file.
30054 * posix/Makefile (tests): Add tst-getopt_long1.
30055
30056 [BZ #10138]
30057 * scripts/config.guess: Update from autoconf-2.68.
30058 * scripts/config.sub: Likewise.
30059
30060 [BZ #10157]
30061 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30062 tests into ...
30063 (has_cpuclock): ...this. New function.
30064 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30065 macro here based on has_cpuclock code.
30066
30067 [BZ #10149]
30068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30069 First byte (not low byte) is now always NUL.
30070 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30071
30072 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30073 Use non-cancelable interfaces.
30074
30075 [BZ #9809]
30076 * locale/iso-639.def: Add entry for Sorani.
30077
30078 [BZ #11901]
30079 * include/stdlib.h: Move include protection to the right place.
30080 Define abort_msg_s. Declare __abort_msg with it.
30081 * stdlib/abort.c (__abort_msg): Adjust type.
30082 * assert/assert.c (__assert_fail_base): New function. Majority
30083 of code from __assert_fail. Allocate memory for __abort_msg with
30084 mmap.
30085 (__assert_fail): Now call __assert_fail_base.
30086 * assert/assert-perr.c: Remove bulk of implementation. Use
30087 __assert_fail_base.
30088 * include/assert.hL Declare __assert_fail_base.
30089 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30090 mmap.
30091 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30092
30093 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30094
30095 [BZ #11952]
30096 [BZ #12453]
30097 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30098 until all modules are registered in the DTV.
30099 * elf/Makefile: Add rules to build and run tst-tls19.
30100 * elf/tst-tls19.c: New file.
30101 * elf/tst-tls19mod1.c: New file.
30102 * elf/tst-tls19mod2.c: New file.
30103 * elf/tst-tls19mod3.c: New file.
30104 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30105
30106 [BZ #12083]
30107 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30108 correctly.
30109
30110 [BZ #12601]
30111 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30112 two-byte sequence errors.
30113 * iconvdata/Makefile (tests): Add bug-iconv8.
30114 * iconvdata/bug-iconv8.c: New file.
30115
30116 [BZ #12626]
30117 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30118 buf2 definition.
30119
30120 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30121
30122 [BZ #12432]
30123 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30124 (dummy_getcfa): New function.
30125 (init): Get _Unwind_GetCFA address, use dummy if not found.
30126 (backtrace_helper): In recursion check, also check whether CFA changes.
30127 (__backtrace): Completely initialize arg.
30128
30129 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30130 storing incomplete byte sequence in state object. Avoid testing for
30131 guaranteed too small input if we know there is enough data available.
30132
30133 2011-05-11 Andreas Schwab <schwab@redhat.com>
30134
30135 * Makeconfig (+link-pie): Indent.
30136 * Rules (binaries-pie): Define if $(have-fpie) and
30137 $(build-shared).
30138 (binaries-shared): Also filter out $(binaries-pie).
30139 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30140 * nscd/Makefile (others-pie): Add nscd.
30141 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30142 ($(objpfx)nscd): Remove command override.
30143 * login/Makefile (others-pie): Add pt_chown.
30144 ($(objpfx)pt_chown): Remove command override.
30145 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30146 remove command overrides.
30147
30148 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30149
30150 * libio/tst_putwc.c: Fix error messages.
30151
30152 [BZ #12724]
30153 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30154 currently writing and seek to current position when not.
30155 * libio/Makefile (tests): Add bug-fclose1.
30156 * libio/bug-fclose1.c: New file.
30157
30158 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30159
30160 [BZ #12511]
30161 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30162 don't set DF_1_NODELETE here.
30163 (do_lookup_x): When entering new entry test for copy relocation
30164 and if necessary set DF_1_NODELETE flag.
30165 * elf/tst-unique4.cc: New file.
30166 * elf/tst-unique4.h: New file.
30167 * elf/tst-unique4lib.cc: New file.
30168 * elf/Makefile: Add rules to build and run tst-unique4.
30169 Patch by Piotr Bury <pbury@goahead.com>.
30170
30171 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30172
30173 [BZ #12052]
30174 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30175
30176 [BZ #12625]
30177 * misc/mntent_r.c (addmntent): Flush the stream after the output
30178
30179 [BZ #12393]
30180 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30181 (is_trusted_path_normalize): Skip initial colon. Append slash
30182 to empty buffer. Duplicate is_trusted_path code but allow
30183 constructed patch to be prefix.
30184 (is_dst): Allow $ORIGIN followed by /.
30185 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30186 Correct testing of result of is_trusted_path_normalize
30187 (decompose_rpath): Fix warning.
30188
30189 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30190
30191 [BZ #11257]
30192 * grp/initgroups.c (internal_getgrouplist): When we found the service
30193 list through the initgroups entry in nsswitch.conf do not always
30194 continue on a successful lookup. Don't always use the
30195 __nss_group_database value if it is set.
30196 * nss/nsswitch.conf (initgroups): Change action for successful db
30197 lookup to continue for compatibility.
30198
30199 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30200
30201 [BZ #11532]
30202 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30203 and CP774 modules.
30204 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30205 and CP774 modules.
30206 * iconvdata/tst-tables.sh: Likewise.
30207 * iconvdata/cp770.c: New file.
30208 * iconvdata/cp771.c: New file.
30209 * iconvdata/cp772.c: New file.
30210 * iconvdata/cp773.c: New file.
30211 * iconvdata/cp774.c: New file.
30212 * iconvdata/testdata/CP770: New file.
30213 * iconvdata/testdata/CP770..UTF8: New file.
30214 * iconvdata/testdata/CP771: New file.
30215 * iconvdata/testdata/CP771..UTF8: New file.
30216 * iconvdata/testdata/CP772: New file.
30217 * iconvdata/testdata/CP772..UTF8: New file.
30218 * iconvdata/testdata/CP773: New file.
30219 * iconvdata/testdata/CP773..UTF8: New file.
30220 * iconvdata/testdata/CP774: New file.
30221 * iconvdata/testdata/CP774..UTF8: New file.
30222
30223 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30224 END CHARMAP line.
30225 * iconvdata/gen-8bit-gap.sh: Likewise.
30226 * iconvdata/gen-8bit.sh: Likewise.
30227
30228 * locale/iso-639.def: Add ary entry.
30229
30230 [BZ #11258]
30231 * locale/C-translit.h.in: Add U20A1 transliteration.
30232
30233 [BZ #12178]
30234 * locale/iso-639.def: Add wae entry.
30235 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30236
30237 [BZ #12545]
30238 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30239 for n.
30240
30241 [BZ #12711]
30242 * locale/C-translit.h.in: Add entry for U20B9.
30243 Patch by pravin.d.s@gmail.com.
30244
30245 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30246
30247 [BZ #12713]
30248 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30249 ENAMETOOLONG use generic getcwd.
30250 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30251 in rtld. Use *stat64.
30252 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30253 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30254 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30255 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30256 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30257 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30258 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30259 __fstatat64 macros.
30260 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30261 * dirent/rewinddir.c: Add libc_hidden_def.
30262 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30263 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30264
30265 * include/dirent.h (__alloc_dir): Add flags parameter.
30266 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30267 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30268 __alloc_dir.
30269 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30270 from fdopendir if O_CLOEXEC is already set.
30271
30272 2011-03-15 Alan Modra <amodra@gmail.com>
30273
30274 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30275 l_tls_firstbyte_offset non-zero. Save padding offset in
30276 l_tls_firstbyte_offset for later use.
30277 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30278 freeing static tls block.
30279
30280 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30281
30282 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30283 where #ifdef was intended. The intent is to prevent ARG_MAX from
30284 being defined by the kernel headers.
30285
30286 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30287
30288 [BZ #12734]
30289 * resolv/resolv.h: Define RES_NOTLDQUERY.
30290 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30291 no-tld-query and set RES_NOTLDQUERY.
30292 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30293 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30294 modern BIND to search name as TLD unless forbidden.
30295
30296 2011-05-07 Petr Baudis <pasky@suse.cz>
30297 Ulrich Drepper <drepper@gmail.com>
30298
30299 [BZ #12393]
30300 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30301 (is_trusted_path): ...to here.
30302 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30303 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30304 using is_trusted_path_normalize() in setuid scripts.
30305
30306 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30307
30308 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30309 __BEGIN/__END_DECLS.
30310
30311 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30312
30313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30314 NSS_STATUS_NOTFOUND if no record was found.
30315
30316 2011-05-05 Andreas Schwab <schwab@redhat.com>
30317
30318 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30319 (headers-not-in-tirpc): Remove rpc/netdb.h
30320 * resolv/netdb.h: Revert last change.
30321
30322 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30323
30324 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30325 circular dependency between libgcc.a and libc.a.
30326
30327 2011-05-05 Andreas Schwab <schwab@redhat.com>
30328
30329 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30330 * nis/Makefile: Don't install rpcsvc/*.
30331 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30332 instead of <rpc/types.h>.
30333 (MAXHOSTNAMELEN): Define.
30334
30335 2011-05-03 Andreas Schwab <schwab@redhat.com>
30336
30337 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30338
30339 2011-04-28 Maciej Babinski <mbabinski@google.com>
30340
30341 [BZ #12714]
30342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30343 gethostbyname4_r when IPv6 results are possible.
30344
30345 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30346
30347 [BZ #12723]
30348 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30349 _PC_PIPE_BUF handling.
30350
30351 2011-04-30 Bruno Haible <bruno@clisp.org>
30352
30353 [BZ #12717]
30354 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30355 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30356 to 'int'.
30357 * inet/getnameinfo.c (getnameinfo): Likewise.
30358
30359 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30360
30361 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30362 to groups setting in database lookup.
30363 * nss/nsswitch.conf: Add initgroups entry.
30364
30365 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30366
30367 [BZ #12685]
30368 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30369 mode string.
30370 Patch by Eric Blake <eblake@redhat.com>.
30371
30372 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30373
30374 * sunrpc/Makefile (need-export-routines): Add svc_run.
30375 (routines): Remove svc_run.
30376 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30377 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30378 * sunrpc/svc_run.c (svc_run): Likewise.
30379 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30380
30381 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30382
30383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30384 problem in reallocation in last patch.
30385
30386 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30387
30388 * sunrpc/Makefile: Move inclusion of Rules.
30389
30390 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30391
30392 * nss/nss_files/files-initgroups.c: New file.
30393 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30394 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30395 _nss_files_initgroups_dyn.
30396
30397 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30398
30399 * elf/elf.h (R_ARM_IRELATIVE): Define.
30400
30401 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30402
30403 * po/ru.po: Update from translation team.
30404
30405 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30406
30407 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30408 dependencies.
30409
30410 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30411
30412 [BZ #12653]
30413 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30414 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30416 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30417 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30418
30419 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30420
30421 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30422 differing bytes.
30423 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30425 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30426
30427 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30428
30429 [BZ #12420]
30430 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30431 storing it.
30432 * stdlib/bug-getcontext.c: New file.
30433 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30434
30435 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30436
30437 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30438 instructions into .machine "z9-109".
30439 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30440 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30441
30442 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30443
30444 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30445 between environment variables and auxiliary vector.
30446
30447 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30448
30449 * Makefile: Add rules to build linkobj/libc.so.
30450 * include/libc-symbols.h: Define libc_hidden_nolink.
30451 * include/rpc/auth.h: Mark functions which are to be hidden.
30452 * include/rpc/auth_des.h: Likewise.
30453 * include/rpc/auth_unix.h: Likewise.
30454 * include/rpc/clnt.h: Likewise.
30455 * include/rpc/des_crypt.h: Likewise.
30456 * include/rpc/key_prot.h: Likewise.
30457 * include/rpc/pmap_clnt.h: Likewise.
30458 * include/rpc/pmap_prot.h: Likewise.
30459 * include/rpc/pmap_rmt.h: Likewise.
30460 * include/rpc/rpc_msg.h: Likewise.
30461 * include/rpc/svc.h: Likewise.
30462 * include/rpc/svc_auth.h: Likewise.
30463 * include/rpc/xdr.h: Likewise.
30464 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30465 * nss/Makefile: Likewise.
30466 * sunrpc/Makefile: Don't install headers. Build library with normal
30467 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30468 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30469 for the compat linking library. Remove use of INTDEF/INTUSE.
30470 * sunrpc/auth_none.c: Likewise.
30471 * sunrpc/auth_unix.c: Likewise.
30472 * sunrpc/authdes_prot.c: Likewise.
30473 * sunrpc/authuxprot.c: Likewise.
30474 * sunrpc/clnt_gen.c: Likewise.
30475 * sunrpc/clnt_perr.c: Likewise.
30476 * sunrpc/clnt_raw.c: Likewise.
30477 * sunrpc/clnt_simp.c: Likewise.
30478 * sunrpc/clnt_tcp.c: Likewise.
30479 * sunrpc/clnt_udp.c: Likewise.
30480 * sunrpc/clnt_unix.c: Likewise.
30481 * sunrpc/des_crypt.c: Likewise.
30482 * sunrpc/des_soft.c: Likewise.
30483 * sunrpc/get_myaddr.c: Likewise.
30484 * sunrpc/key_call.c: Likewise.
30485 * sunrpc/key_prot.c: Likewise.
30486 * sunrpc/netname.c: Likewise.
30487 * sunrpc/pm_getmaps.c: Likewise.
30488 * sunrpc/pm_getport.c: Likewise.
30489 * sunrpc/pmap_clnt.c: Likewise.
30490 * sunrpc/pmap_prot.c: Likewise.
30491 * sunrpc/pmap_prot2.c: Likewise.
30492 * sunrpc/pmap_rmt.c: Likewise.
30493 * sunrpc/publickey.c: Likewise.
30494 * sunrpc/rpc_cmsg.c: Likewise.
30495 * sunrpc/rpc_common.c: Likewise.
30496 * sunrpc/rpc_dtable.c: Likewise.
30497 * sunrpc/rpc_prot.c: Likewise.
30498 * sunrpc/rpc_thread.c: Likewise.
30499 * sunrpc/rtime.c: Likewise.
30500 * sunrpc/svc.c: Likewise.
30501 * sunrpc/svc_auth.c: Likewise.
30502 * sunrpc/svc_authux.c: Likewise.
30503 * sunrpc/svc_raw.c: Likewise.
30504 * sunrpc/svc_run.c: Likewise.
30505 * sunrpc/svc_simple.c: Likewise.
30506 * sunrpc/svc_tcp.c: Likewise.
30507 * sunrpc/svc_udp.c: Likewise.
30508 * sunrpc/svc_unix.c: Likewise.
30509 * sunrpc/svcauth_des.c: Likewise.
30510 * sunrpc/xcrypt.c: Likewise.
30511 * sunrpc/xdr.c: Likewise.
30512 * sunrpc/xdr_array.c: Likewise.
30513 * sunrpc/xdr_float.c: Likewise.
30514 * sunrpc/xdr_intXX_t.c: Likewise.
30515 * sunrpc/xdr_mem.c: Likewise.
30516 * sunrpc/xdr_rec.c: Likewise.
30517 * sunrpc/xdr_ref.c: Likewise.
30518 * sunrpc/xdr_sizeof.c: Likewise.
30519 * sunrpc/xdr_stdio.c: Likewise.
30520
30521 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30522
30523 [BZ #12650]
30524 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30525 * sysdeps/ia64/dl-tls.h: Likewise.
30526 * sysdeps/powerpc/dl-tls.h: Likewise.
30527 * sysdeps/s390/dl-tls.h: Likewise.
30528 * sysdeps/sh/dl-tls.h: Likewise.
30529 * sysdeps/sparc/dl-tls.h: Likewise.
30530 * sysdeps/x86_64/dl-tls.h: Likewise.
30531 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30532
30533 2011-03-14 Andreas Schwab <schwab@redhat.com>
30534
30535 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30536 rpath element also skip the following colon.
30537 (expand_dynamic_string_token): Add is_path parameter and pass
30538 down to DL_DST_REQUIRED and _dl_dst_substitute.
30539 (decompose_rpath): Call expand_dynamic_string_token with
30540 non-zero is_path. Ignore empty rpaths.
30541 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30542 with zero is_path.
30543
30544 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30545
30546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30547 Make cancelable.
30548
30549 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30550
30551 [BZ #12655]
30552 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30553 Patch by Filipe David Manana <fdmanana@apache.org>.
30554
30555 2011-04-07 Andreas Schwab <schwab@redhat.com>
30556
30557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30558 Maintain aligned stack.
30559 (CHECK_RSP): Remove unused macro.
30560
30561 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30562
30563 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30564 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30565
30566 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30567
30568 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30569
30570 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30571
30572 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30573
30574 [BZ #12518]
30575 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30576 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30577 * sysdeps/x86_64/memmove.c: New file.
30578 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30579 (memcpy): Renamed to ...
30580 (__new_memcpy): This.
30581 (memcpy): Provide GLIBC_2_14 memcpy.
30582 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30583 (memcpy): Provide GLIBC_2_2_5 memcpy.
30584
30585 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30586
30587 [BZ #12631]
30588 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30589
30590 2011-03-30 Andreas Schwab <schwab@redhat.com>
30591
30592 * misc/syncfs.c: New file.
30593 * misc/Makefile (routines): Add syncfs.
30594 * posix/unistd.h: Declare syncfs.
30595 * sysdeps/unix/syscalls.list: Add syncfs.
30596
30597 2011-04-01 Andreas Schwab <schwab@redhat.com>
30598
30599 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30600 open_by_handle_at.
30601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30602 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30604 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30606 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30608
30609 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30610
30611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30612 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30613 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30617 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30618
30619 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30620 sync_file_range.c with -fexceptions.
30621 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30622 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30623 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30624 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30625 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30626 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30628 sync_file_range as cancellation point
30629 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30630 now a wrapper around __call_sync_file_range with cancellation handling.
30631 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30632 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30633 function name to __call_sync_file_range.
30634 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30635 Add call_sync_file_range.
30636
30637 2011-04-01 Andreas Schwab <schwab@redhat.com>
30638
30639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30640 bits/timex.h.
30641
30642 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30643
30644 * iconv/iconv.h: Fix typo in comment.
30645 * io/fcntl.h: Likewise.
30646 * libio/stdio.h: Likewise.
30647 * posix/spawn.h: Likewise.
30648 * posix/unistd.h: Likewise.
30649 * stdlib/stdlib.h: Likewise.
30650 * time/time.h: Likewise.
30651 * wcsmbs/wchar.h: Likewise.
30652
30653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30654 open_by_handle): Add.
30655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30656 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30657 Augment a few comments.
30658 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30660 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30662 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30663 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30664 open_by_handle.
30665
30666 * io/fcntl.h (AT_EMPTY_PATH): Define.
30667
30668 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30669
30670 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30671 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30672 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30673 to...
30674 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30675 * Versions.def: Add GLIBC_2.14.
30676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30677 Export.
30678
30679 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30680
30681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30682 round counter.
30683 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30684
30685 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30686
30687 [BZ #12597]
30688 * string/test-strncmp.c (do_page_test): New function.
30689 (check2): Likewise.
30690 (test_main): Call check2.
30691 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30692
30693 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30694
30695 [BZ #12587]
30696 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30697 Handle cache information in CPU leaf 4.
30698 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30699
30700 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30701
30702 [BZ #12583]
30703 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30704 character representation.
30705 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30706
30707 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30708
30709 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30710 END(__isnan) to END(__isnanf) to match function entry point/label
30711 EALIGN(__isnanf,...).
30712
30713 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30714
30715 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30716
30717 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30718
30719 [BZ #12510]
30720 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30721 copy from the symbol referenced in the relocation to initialize the
30722 used variable.
30723 Patch by Piotr Bury <pbury@goahead.com>.
30724 * elf/Makefile: Add rules to build and tst-unique3.
30725 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30726 * elf/tst-unique3.cc: New file.
30727 * elf/tst-unique3.h: New file.
30728 * elf/tst-unique3lib.cc: New file.
30729 * elf/tst-unique3lib2.cc: New file.
30730
30731 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30732
30733 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30734
30735 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30736 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30737 to _start.
30738
30739 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30740
30741 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30742 to-be-loaded object along a path to loader is ld.so.
30743
30744 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30745 Ulrich Drepper <drepper@gmail.com>
30746
30747 * sysdeps/x86_64/memset.S: After aligning destination, code
30748 branches to different locations depending on the value of
30749 misalignment, when multiarch is enabled. Fix this.
30750
30751 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30752
30753 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30754 Set _x86_64_preferred_memory_instruction for AMD processsors.
30755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30756 Set bit_Prefer_SSE_for_memop for AMD processors.
30757
30758 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30759
30760 * libio/fmemopen.c (fmemopen): Optimize a bit.
30761
30762 2011-03-03 Andreas Schwab <schwab@redhat.com>
30763
30764 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30765
30766 2011-03-03 Roland McGrath <roland@redhat.com>
30767
30768 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30769
30770 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30771
30772 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30773 __bzero_ultra1 instead of __memset_ultra1.
30774
30775 2011-02-23 Andreas Schwab <schwab@redhat.com>
30776 Ulrich Drepper <drepper@gmail.com>
30777
30778 [BZ #12509]
30779 * include/link.h (struct link_map): Add l_orig_initfini.
30780 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30781 returning unsuccessfully.
30782 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30783 close of a file loaded at startup, restore the original l_initfini
30784 list.
30785 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30786 list, store the pointer.
30787 * elf/Makefile ($(objpfx)noload-mem): New rule.
30788 (noload-ENV): Define.
30789 (tests): Add $(objpfx)noload-mem.
30790 * elf/noload.c: Include <memcheck.h>.
30791 (main): Call mtrace. Close all opened handles.
30792
30793 2011-02-17 Andreas Schwab <schwab@redhat.com>
30794
30795 [BZ #12454]
30796 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30797 dependencies are missing.
30798
30799 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30800
30801 Fix __if_freereq crash: Unlike the generic version which uses free,
30802 Hurd needs munmap.
30803 * sysdeps/mach/hurd/ifreq.h: New file.
30804
30805 2011-01-27 Petr Baudis <pasky@suse.cz>
30806 Ulrich Drepper <drepper@gmail.com>
30807
30808 [BZ 12445]#
30809 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30810 to extend_alloca().
30811 * stdio-common/bug23.c: New file.
30812 * stdio-common/Makefile (tests): Add bug23.
30813
30814 2010-09-28 Andreas Schwab <schwab@redhat.com>
30815 Ulrich Drepper <drepper@gmail.com>
30816
30817 [BZ #12489]
30818 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30819 before performing relro protection. At old place add assertion
30820 to make sure nothing changed.
30821
30822 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30823 Glauber de Oliveira Costa <glommer@gmail.com>
30824
30825 * elf/elf.h: Add new ARM TLS relocs.
30826
30827 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30828
30829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30830 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30831 cast from r3.
30832 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30833 'tests' variable.
30834 * sysdeps/wordsize-64/tst-writev.c: New file.
30835
30836 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30837
30838 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30839 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30840 insns in _dl_start to prevent a TOC reference before relocs are
30841 resolved.
30842
30843 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30844
30845 [BZ #12469]
30846 * Makeconfig: Remove RANLIB definition.
30847 * Makerules: Don't use RANLIB.
30848 * aclocal.m4: Remove ranlib test.
30849 * configure.in: No need to check for ranlib.
30850 * elf/rtld-Rules: Don't use RANLIB.
30851
30852 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30853
30854 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30855 protection macro.
30856 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30857 inclusion protection macro.
30858
30859 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30860 SIGRTMIN and SIGRTMAX and print information in that case only when
30861 SIGRTMIN is defined.
30862
30863 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30864
30865 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30866 arginfo fn returning -1.
30867
30868 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30869 and thousands string is zero terminated.
30870
30871 2011-02-03 Andreas Schwab <schwab@redhat.com>
30872
30873 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30874 sysdeps/unix/sysv/linux/bits/socket.h.
30875
30876 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30877
30878 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30879 (__CPU_COUNT): Remove old macros.
30880 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30881 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30882 (__CPU_ALLOC, __CPU_FREE): Add macros.
30883 (__sched_cpualloc, __sched_cpufree): Add declarations.
30884
30885 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30886
30887 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30888 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30889 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30890 (readdhstai): Return value of addhstaiX call.
30891 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30892 (addgrbyX): Return value returned by cache_addgr.
30893 (readdgrbyname): Return value returned by addgrbyX.
30894 (readdgrbygid): Likewise.
30895 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30896 (addpwbyX): Return value returned by cache_addpw.
30897 (readdpwbyname): Return value returned by addhstbyX.
30898 (readdpwbyuid): Likewise.
30899 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30900 (addservbyX): Return value returned by cache_addserv.
30901 (readdservbyname): Return value returned by addservbyX:
30902 (readdservbyport): Likewise.
30903 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30904 (addhstbyX): Return value returned by cache_addhst.
30905 (readdhstbyname): Return value returned by addhstbyX.
30906 (readdhstbyaddr): Likewise.
30907 (readdhstbynamev6): Likewise.
30908 (readdhstbyaddrv6): Likewise.
30909 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30910 (readdinitgroups): Return value returned by addinitgroupsX.
30911 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30912 (prune_cache): Keep track of timeout value of re-added entries.
30913 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30914 * nscd/nscd.h: Adjust prototypes of readd* functions.
30915
30916 2011-02-04 Roland McGrath <roland@redhat.com>
30917
30918 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30919 (nis_stats): Likewise.
30920 * nis/nis_modify.c (nis_modify): Likewise.
30921 * nis/nis_remove.c (nis_remove): Likewise.
30922 * nis/nis_add.c (nis_add): Likewise.
30923
30924 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30925
30926 * posix/fnmatch_loop.c: Add some consts.
30927
30928 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30929
30930 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30931
30932 [BZ #12460]
30933 * config.make.in (config-cflags-novzeroupper): Define.
30934 * configure.in: Substitute libc_cv_cc_novzeroupper.
30935 * elf/Makefile (AVX-CFLAGS): Define.
30936 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30937 (CFLAGS-tst-auditmod4a.c): Likewise.
30938 (CFLAGS-tst-auditmod4b.c): Likewise.
30939 (CFLAGS-tst-auditmod6b.c): Likewise.
30940 (CFLAGS-tst-auditmod6c.c): Likewise.
30941 (CFLAGS-tst-auditmod7b.c): Likewise.
30942 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30943
30944 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30945
30946 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30947 function to the callback.
30948 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30949
30950 2011-02-02 Andreas Schwab <schwab@redhat.com>
30951
30952 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30953 of errno.
30954
30955 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30956
30957 [BZ #11724]
30958 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30959 of constructors.
30960 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30961 of destructors.
30962 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30963
30964 [BZ #11724]
30965 * elf/Makefile: Add rules to build and run new test.
30966 * elf/tst-initorder.c: New file.
30967 * elf/tst-initorder.exp: New file.
30968 * elf/tst-initordera1.c: New file.
30969 * elf/tst-initordera2.c: New file.
30970 * elf/tst-initordera3.c: New file.
30971 * elf/tst-initordera4.c: New file.
30972 * elf/tst-initorderb1.c: New file.
30973 * elf/tst-initorderb2.c: New file.
30974 * elf/tst-order-a1.c: New file.
30975 * elf/tst-order-a2.c: New file.
30976 * elf/tst-order-a3.c: New file.
30977 * elf/tst-order-a4.c: New file.
30978 * elf/tst-order-b1.c: New file.
30979 * elf/tst-order-b2.c: New file.
30980 * elf/tst-order-main.c: New file.
30981 New test case by George Gensure <werkt0@gmail.com>.
30982
30983 2010-10-01 Andreas Schwab <schwab@redhat.com>
30984
30985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30986 decoding ACE if AI_CANONIDN.
30987
30988 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30989
30990 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30991
30992 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30993
30994 * version.h (RELEASE): Bump for 2.13 release.
30995 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30996
30997 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30998
30999 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31000 MADV_NOHUGEPAGE.
31001 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31002 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31005 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31006 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31007
31008 * posix/getconf.c: Update copyright year.
31009 * catgets/gencat.c: Likewise.
31010 * csu/version.c: Likewise.
31011 * debug/catchsegv.sh: Likewise.
31012 * debug/xtrace.sh: Likewise.
31013 * elf/ldconfig.c: Likewise.
31014 * elf/ldd.bash.in: Likewise.
31015 * elf/sprof.c (print_version): Likewise.
31016 * iconv/iconv_prog.c: Likewise.
31017 * iconv/iconvconfig.c: Likewise.
31018 * locale/programs/locale.c: Likewise.
31019 * locale/programs/localedef.c: Likewise.
31020 * malloc/memusage.sh: Likewise.
31021 * malloc/mtrace.pl: Likewise.
31022 * nscd/nscd.c (print_version): Likewise.
31023 * nss/getent.c: Likewise.
31024
31025 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31026 PF_CAIF, and PF_ALG.
31027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31028
31029 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31030
31031 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31032 (modules-names): Use them.
31033 (ifunc-test-modules, ifunc-pie-tests): Define.
31034 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31035 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31036 (test-extras): Likewise.
31037 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31038 $(compile-command.c).
31039 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31040 (all-built-dso): Define.
31041 (check-textrel.out, check-execstack.out): Depend on it.
31042
31043 * configure.in: Don't override --enable-multi-arch.
31044
31045 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31046
31047 [BZ #6812]
31048 * nscd/hstcache.c (tryagain): Define.
31049 (cache_addhst): Return tryagain not notfound for temporary errors.
31050 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31051 failed.
31052
31053 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31054
31055 [BZ #10563]
31056 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31057 to make the syscall.
31058 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31059
31060 [BZ #12378]
31061 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31062 and fall back to matching as normal character if the string ends before
31063 the matching ']' is found. This is what POSIX requires.
31064 * posix/testfnm.c: Adjust test result.
31065 * posix/globtest.sh: Adjust test result. Add new test.
31066 * posix/tst-fnmatch.input: Likewise.
31067 * posix/tst-fnmatch2.c: Add new test.
31068
31069 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31070
31071 * elf/Makefile (check-execstack): Revert last change. Depend on
31072 check-execstack.h.
31073 (check-execstack.h): New target.
31074 (generated): Add check-execstack.h.
31075 * elf/check-execstack.c: Include "check-execstack.h".
31076 (main): Revert last change.
31077 (handle_file): Return zero if GNU_STACK is absent and
31078 DEFAULT_STACK_PERMS doesn't include PF_X.
31079
31080 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31081
31082 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31083 in child fails because the descriptor is already closed.
31084 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31085 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31086 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31087
31088 [BZ #12397]
31089 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31090 syscall.
31091
31092 [BZ #10484]
31093 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31094 temporary buffer used to handle multi lookups locally.
31095 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31096
31097 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31098
31099 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31100 loader is ld.so.
31101
31102 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31103
31104 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31105 alignment for SSE2.
31106
31107 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31108
31109 [BZ #12394]
31110 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31111 characters. When rounding increased number of integer digits recompute
31112 number of groups.
31113 * stdio-common/tst-grouping.c: New file.
31114 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31115
31116 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31117
31118 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31119 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31120
31121 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31122 void.
31123 * bits/select.h: Likewise.
31124
31125 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31126
31127 * po/ja.po: Update from translation team.
31128
31129 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31130
31131 [BZ #11155]
31132 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31133 implementation just like for lxstat, fxstatat, et al.
31134
31135 2010-12-27 Jim Meyering <meyering@redhat.com>
31136
31137 [BZ #12348]
31138 * posix/regexec.c (build_trtable): Return failure indication upon
31139 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31140
31141 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31142
31143 [BZ #12201]
31144 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31145 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31146 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31147 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31148
31149 [BZ #12207]
31150 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31151
31152 [BZ #12204]
31153 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31154 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31155
31156 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31157
31158 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31159 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31160 script has SORT_BY_INIT_PRIORITY.
31161 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31162 NO_CTORS_DTORS_SECTIONS is defined.
31163 * elf/soinit.c: Likewise.
31164 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31165 NO_CTORS_DTORS_SECTIONS is defined.
31166 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31167 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31168 * sysdeps/sh/init-first.c: Likewise.
31169 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31170
31171 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31172
31173 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31174 always use the slow path.
31175
31176 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31177
31178 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31179 similar rule which adds the sysdep directories to the header search in
31180 order to pick up the correct platform stackinfo.h.
31181 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31182 perform test if it is, otherwise return successfully without testing.
31183 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31184 DEFAULT_STACK_PERMS define in stackinfo.h.
31185 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31186 defined in stackinfo.h.
31187 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31188 DEFAULT_STACK_PERMS defined in stackinfo.h.
31189 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31190 * sysdeps/ia64/stackinfo.h: Likewise.
31191 * sysdeps/s390/stackinfo.h: Likewise.
31192 * sysdeps/sh/stackinfo.h: Likewise.
31193 * sysdeps/sparc/stackinfo.h: Likewise.
31194 * sysdeps/x86_64/stackinfo.h: Likewise.
31195 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31196 PF_X for powerpc64. Retain PF_X for powerpc32.
31197
31198 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31199
31200 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31201 accurately.
31202 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31203 GETDENTS_64BIT_ALIGNED.
31204
31205 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31206
31207 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31208
31209 2010-12-10 Andreas Schwab <schwab@redhat.com>
31210
31211 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31212 _GNU_SOURCE.
31213
31214 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31215 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31216 Remove __restrict.
31217 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31218 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31219
31220 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31221
31222 [BZ #11655]
31223 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31224 are initialized.
31225
31226 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31227
31228 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31229
31230 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31231
31232 * po/it.po: Update from translation team.
31233
31234 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31235
31236 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31237 unused codes.
31238
31239 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31240
31241 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31242
31243 2010-11-24 Andreas Schwab <schwab@redhat.com>
31244
31245 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31246 specially.
31247 (gaih_getanswer_slice): Likewise.
31248
31249 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31250
31251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31252
31253 2010-05-31 Petr Baudis <pasky@suse.cz>
31254
31255 [BZ #11149]
31256 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31257 silently even in the chroot mode.
31258
31259 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31260
31261 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31262 last patch a bit. Pretty printing
31263
31264 2010-05-31 Petr Baudis <pasky@suse.cz>
31265
31266 [BZ #10085]
31267 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31268 initialization of skip_initgroups_dyn.
31269
31270 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31271
31272 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31274
31275 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31276
31277 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31278
31279 2010-11-11 Andreas Schwab <schwab@redhat.com>
31280
31281 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31282 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31283 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31284 ($(objpfx)tst-fnmatch-mem): New rule.
31285 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31286 * posix/tst-fnmatch.c (main): Call mtrace.
31287
31288 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31289
31290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31291 Support Intel processor model 6 and model 0x2c.
31292
31293 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31294
31295 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31296 signed comparison.
31297
31298 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31299
31300 [BZ #12205]
31301 * string/test-strncasecmp.c (check_result): New function.
31302 (do_one_test): Use it.
31303 (check1): New function.
31304 (test_main): Use it.
31305 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31306 Support strcasecmp and strncasecmp.
31307
31308 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31309
31310 [BZ #12194]
31311 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31313
31314 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31315
31316 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31317 IFUNC support.
31318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31319 memset-x86-64.
31320 * sysdeps/x86_64/multiarch/bzero.S: New file.
31321 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31322 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31323 * sysdeps/x86_64/multiarch/memset.S: New file.
31324 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31326 Set bit_Prefer_SSE_for_memop for Intel processors.
31327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31328 Define.
31329 (index_Prefer_SSE_for_memop): Define.
31330 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31331
31332 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31333
31334 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31335 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31336
31337 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31338
31339 [BZ #12191]
31340 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31341 (__x86_64_raw_data_cache_size_half): Likewise.
31342 (__x86_64_raw_shared_cache_size): Likewise.
31343 (__x86_64_raw_shared_cache_size_half): Likewise.
31344
31345 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31346 (__x86_64_raw_data_cache_size_half): Likewise.
31347 (__x86_64_raw_shared_cache_size): Likewise.
31348 (__x86_64_raw_shared_cache_size_half): Likewise.
31349 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31350 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31351 and __x86_64_raw_shared_cache_size_half. Round
31352 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31353 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31354 to multiple of 256 bytes.
31355
31356 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31357
31358 [BZ #12167]
31359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31360 of inacessible symlinks. Verify result of symlink before returning it.
31361 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31362 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31363
31364 2010-10-28 Erich Ritz <erichritz@gmail.com>
31365
31366 * math/math.h (isinf): Fix typo in comment.
31367
31368 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31369
31370 * po/da.po: Update from translation team.
31371
31372 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31373
31374 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31375 is added to the list.
31376
31377 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31378 Ulrich Drepper <drepper@gmail.com>
31379
31380 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31381 the global list here. Move code to...
31382 (_dl_add_to_namespace_list): ...here. New function.
31383 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31384 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31385 * elf/dl-load.c (lose): Don't remove the element from the list.
31386 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31387 (_dl_map_object): Likewise.
31388
31389 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31390
31391 [BZ #12159]
31392 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31393 into all bytes of SSE register.
31394 Patch by Richard Li <richardpku@gmail.com>.
31395
31396 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31397
31398 [BZ #12140]
31399 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31400 perturbing.
31401
31402 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31403
31404 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31405 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31406 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31407 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31409 submachine.
31410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31411
31412 2010-10-22 Andreas Schwab <schwab@redhat.com>
31413
31414 * include/dlfcn.h (__RTLD_SECURE): Define.
31415 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31416 mode & __RTLD_SECURE instead.
31417 (open_path): Rename preloaded parameter to secure.
31418 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31419 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31420 * elf/dl-deps.c (openaux): Likewise.
31421 * elf/rtld.c (struct map_args): Remove is_preloaded.
31422 (map_doit): Don't use it.
31423 (dl_main): Likewise.
31424 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31425 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31426
31427 2010-09-09 Andreas Schwab <schwab@redhat.com>
31428
31429 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31430 (sysd-rules-targets): Remove duplicates.
31431 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31432 rtld-%.$o dependency.
31433
31434 2010-10-18 Andreas Schwab <schwab@redhat.com>
31435
31436 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31437 _dl_map_object do it.
31438
31439 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31440
31441 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31442 fast fma builtins, define the macros in the C99 standard.
31443 (FP_FAST_FMAF): Likewise.
31444 (FP_FAST_FMAL): Likewise.
31445 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31446
31447 * bits/mathdef.h: Update copyright year.
31448 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31449
31450 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31451
31452 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31453 builtins, define the macros in the C99 standard.
31454 (FP_FAST_FMAF): Likewise.
31455 (FP_FAST_FMAL): Likewise.
31456 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31457 multiply/add.
31458 (FP_FAST_FMAF): Likewise.
31459
31460 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31461
31462 [BZ #3268]
31463 * math/libm-test.inc (fma_test): Some new testcases.
31464 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31466 y and infinite z. Do multiplication by C already in long double.
31467 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31469 y and infinite z. Do bitwise or of inexact bit into u.d.
31470 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31471 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31472 * sysdeps/i386/fpu/s_fma.S: Removed.
31473 * sysdeps/i386/fpu/s_fmal.S: Removed.
31474
31475 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31476
31477 [BZ #3268]
31478 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31480 computation is not scheduled after fetestexcept. Fix value
31481 of minimum denormal long double.
31482
31483 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31484
31485 [BZ #3268]
31486 * math/libm-test.inc (fma_test): Add some more tests.
31487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31488 correctly.
31489
31490 2010-10-15 Andreas Schwab <schwab@redhat.com>
31491
31492 * scripts/data/localplt-s390-linux-gnu.data: New file.
31493 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31494
31495 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31496
31497 [BZ #3268]
31498 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31499 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31500 instead of dbl-64.
31501 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31502 inlines.
31503 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31505 if one of x and y is very large and the other is subnormal.
31506 * sysdeps/s390/fpu/s_fmaf.c: New file.
31507 * sysdeps/s390/fpu/s_fma.c: New file.
31508 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31509 * sysdeps/powerpc/fpu/s_fma.S: New file.
31510 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31511 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31512 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31513
31514 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31515
31516 [BZ #3268]
31517 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31518 fma tests.
31519 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31520 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31521 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31522 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31523 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31524 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31525 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31526
31527 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31528
31529 [BZ #12078]
31530 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31531 * posix/bug-regex31.input: Add test case.
31532
31533 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31534
31535 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31536 * posix/bug-regex31.input: New file.
31537
31538 [BZ #12078]
31539 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31540 (parse_sub_exp): Fix last change, use postorder.
31541
31542 * posix/bug-regex31.c: New file.
31543 * posix/Makefile: Add rules to build and run bug-regex31.
31544
31545 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31546
31547 [BZ #12078]
31548 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31549
31550 [BZ #12108]
31551 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31552 to have entries in sys_siglist.
31553
31554 [BZ #12093]
31555 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31556 be NULL.
31557
31558 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31559
31560 [BZ #3268]
31561 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31562 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31563 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31564 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31565 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31566 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31567 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31568 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31569 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31570 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31571 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31572 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31573 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31574 * math/ftestexcept.c (fetestexcept): Likewise.
31575 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31576 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31577 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31578 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31579 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31580 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31581 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31582
31583 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31584
31585 [BZ #12107]
31586 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31587 newline.
31588
31589 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31590
31591 * string/bug-strstr1.c: New file.
31592 * string/Makefile: Add rules to build and run bug-strstr1.
31593
31594 2010-10-05 Eric Blake <eblake@redhat.com>
31595
31596 [BZ #12092]
31597 * string/str-two-way.h (two_way_long_needle): Always clear memory
31598 when skipping input due to the shift table.
31599
31600 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31601
31602 [BZ #12005]
31603 * malloc/mcheck.c: Handle large requests.
31604
31605 [BZ #12077]
31606 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31607 for strncmp and strncasecmp.
31608 * string/stratcliff.c: Add tests for strcmp and strncmp.
31609 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31610
31611 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31612
31613 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31614 __set_fpscr.
31615
31616 2010-09-30 Andreas Jaeger <aj@suse.de>
31617
31618 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31619 (CGROUP_SUPER_MAGIC): Define.
31620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31621 Handle btrfs and cgroup file systems.
31622 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31623 Likewise.
31624
31625 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31626
31627 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31628 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31629
31630 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31631
31632 [BZ #12067]
31633 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31634 trying to locate the ELF header.
31635
31636 2010-09-27 Andreas Schwab <schwab@redhat.com>
31637
31638 [BZ #11611]
31639 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31640 Mask out sign-bit copies when constructing f_fsid.
31641
31642 2010-09-24 Petr Baudis <pasky@suse.cz>
31643
31644 * debug/stack_chk_fail_local.c: Add missing licence exception.
31645 * debug/warning-nop.c: Likewise.
31646
31647 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31648
31649 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31650 implementing getdents64 using getdents syscall, set d_type if
31651 __ASSUME_GETDENTS32_D_TYPE.
31652
31653 2010-09-16 Andreas Schwab <schwab@redhat.com>
31654
31655 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31656 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31657
31658 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31659
31660 [BZ #12037]
31661 * posix/unistd.h: Undo change of feature selection for ftruncate from
31662 2010-01-11.
31663
31664 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31665
31666 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31667 detection.
31668
31669 2010-09-20 Andreas Schwab <schwab@redhat.com>
31670
31671 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31672 fanotify_mark.
31673 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31674
31675 2010-09-14 Andreas Schwab <schwab@redhat.com>
31676
31677 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31678 variables after CHECK_SP call.
31679 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31680
31681 2010-09-13 Andreas Schwab <schwab@redhat.com>
31682 Ulrich Drepper <drepper@redhat.com>
31683
31684 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31685 re-relocationg ld.so.
31686 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31687 _dl_init_paths call.
31688 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31689 here anymore.
31690
31691 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31692
31693 * resolv/res_init.c (__res_vinit): Count the default server we added.
31694
31695 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31696 Ulrich Drepper <drepper@redhat.com>
31697
31698 [BZ #11968]
31699 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31700 (____longjmp_chk): Use %ebx for saving value across system call.
31701 Add unwind info.
31702
31703 2010-09-06 Andreas Schwab <schwab@redhat.com>
31704
31705 * manual/Makefile: Don't mix pattern rules with normal rules.
31706
31707 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31708
31709 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31710 operation.
31711 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31712 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31713 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31714 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31716 Likewise.
31717
31718 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31719
31720 [BZ #11979]
31721 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31722 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31723
31724 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31725
31726 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31727 * sysdeps/x86_64/addmul_1.S: Likewise.
31728 * sysdeps/x86_64/lshift.S: Likewise.
31729 * sysdeps/x86_64/mul_1.S: Likewise.
31730 * sysdeps/x86_64/rshift.S: Likewise.
31731 * sysdeps/x86_64/sub_n.S: Likewise.
31732 * sysdeps/x86_64/submul_1.S: Likewise.
31733
31734 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31735
31736 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31737 Define __sched_param instead of SCHED_* and sched_param when
31738 <bits/sched.h> is included with __need_schedparam defined.
31739 * bits/sched.h [__need_schedparam]
31740 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31741 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31742 (__defined_schedparam): Define to 1.
31743 (__sched_param): New structure, identical to sched_param.
31744 (__need_schedparam): Undefine.
31745
31746 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31747
31748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31749 (epoll_create1): Declare.
31750
31751 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31752
31753 2010-08-31 Andreas Schwab <schwab@redhat.com>
31754
31755 [BZ #7066]
31756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31757 shifting retval into place.
31758
31759 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31760
31761 * nis/rpcsvc/nis.h: Update copyright notice.
31762 * nis/rpcsvc/nis.x: Likewise.
31763 * nis/rpcsvc/nis_callback.h: Likewise.
31764 * nis/rpcsvc/nis_callback.x: Likewise.
31765 * nis/rpcsvc/nis_object.x: Likewise.
31766 * nis/rpcsvc/nis_tags.h: Likewise.
31767 * nis/rpcsvc/yp.h: Likewise.
31768 * nis/rpcsvc/yp.x: Likewise.
31769 * nis/rpcsvc/ypupd.h: Likewise.
31770 * nis/yp_xdr.c: Likewise.
31771 * nis/ypupdate_xdr.c: Likewise.
31772
31773 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31774 mainly the body of pmap_getport. Add parameters to specify timeouts.
31775 (pmap_getport): Use __libc_rpc_getport.
31776 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31777 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31778 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31779
31780 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31781
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31783 fanotify_mark.
31784
31785 2010-08-27 Roland McGrath <roland@redhat.com>
31786
31787 * sysdeps/i386/i686/multiarch/Makefile
31788 (CFLAGS-varshift.c): New variable.
31789
31790 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31791
31792 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31793 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31794
31795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31796
31797 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31798
31799 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31800
31801 * sysdeps/x86_64/strlen.S: Unroll the loop.
31802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31803 strlen-sse2 strlen-sse2-bsf.
31804 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31805 __strlen_no_bsf if bit_Slow_BSF is set.
31806 (__strlen_sse42): Removed.
31807 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31808 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31809
31810 2010-08-25 Roland McGrath <roland@redhat.com>
31811
31812 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31813 * sysdeps/x86_64/multiarch/varshift.c: New file.
31814 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31815 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31816 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31817 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31818
31819 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31820
31821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31822 strlen-sse2 strlen-sse2-bsf.
31823 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31824 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31825 (__strlen_sse2): Removed.
31826 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31827 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31829 bit_Slow_BSF for Atom.
31830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31831 (index_Slow_BSF): Define.
31832 (HAS_SLOW_BSF): Define.
31833
31834 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31835
31836 [BZ #10851]
31837 * resolv/res_init.c (__res_vinit): When no server address at all
31838 is given default to loopback.
31839
31840 2010-08-24 Roland McGrath <roland@redhat.com>
31841
31842 * configure.in: Remove config-name.h generation.
31843 * configure: Regenerated.
31844 * config-name.in: File removed.
31845 * scripts/config-uname.sh: New file.
31846 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31847 ($(objdir)config-name.h): New target.
31848
31849 * sunrpc/rpc_parse.h: Avoid nested comment.
31850
31851 2010-08-24 Richard Henderson <rth@redhat.com>
31852 Ulrich Drepper <drepper@redhat.com>
31853 H.J. Lu <hongjiu.lu@intel.com>
31854
31855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31857 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31858 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31859 _mm_alignr_epi8 with _mm_loadu_si128.
31860 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31861 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31862 (__m128i_shift_right): Removed.
31863 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31864 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31865 * sysdeps/x86_64/multiarch/varshift.h: New file.
31866 * sysdeps/x86_64/multiarch/varshift.S: New file.
31867
31868 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31869
31870 * configure.in: Move assembler checks to before sysdep dir checking.
31871
31872 2010-08-20 Petr Baudis <pasky@suse.cz>
31873
31874 * LICENSES: Sync the sunrpc license.
31875
31876 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31877
31878 * sunrpc/auth_des.c: Update copyright notice once again.
31879 * sunrpc/auth_none.c: Likewise.
31880 * sunrpc/auth_unix.c: Likewise.
31881 * sunrpc/authdes_prot.c: Likewise.
31882 * sunrpc/authuxprot.c: Likewise.
31883 * sunrpc/bindrsvprt.c: Likewise.
31884 * sunrpc/clnt_gen.c: Likewise.
31885 * sunrpc/clnt_perr.c: Likewise.
31886 * sunrpc/clnt_raw.c: Likewise.
31887 * sunrpc/clnt_simp.c: Likewise.
31888 * sunrpc/clnt_tcp.c: Likewise.
31889 * sunrpc/clnt_udp.c: Likewise.
31890 * sunrpc/clnt_unix.c: Likewise.
31891 * sunrpc/des_crypt.c: Likewise.
31892 * sunrpc/des_soft.c: Likewise.
31893 * sunrpc/get_myaddr.c: Likewise.
31894 * sunrpc/getrpcport.c: Likewise.
31895 * sunrpc/key_call.c: Likewise.
31896 * sunrpc/key_prot.c: Likewise.
31897 * sunrpc/openchild.c: Likewise.
31898 * sunrpc/pm_getmaps.c: Likewise.
31899 * sunrpc/pm_getport.c: Likewise.
31900 * sunrpc/pmap_clnt.c: Likewise.
31901 * sunrpc/pmap_prot.c: Likewise.
31902 * sunrpc/pmap_prot2.c: Likewise.
31903 * sunrpc/pmap_rmt.c: Likewise.
31904 * sunrpc/rpc/auth.h: Likewise.
31905 * sunrpc/rpc/auth_unix.h: Likewise.
31906 * sunrpc/rpc/clnt.h: Likewise.
31907 * sunrpc/rpc/des_crypt.h: Likewise.
31908 * sunrpc/rpc/key_prot.h: Likewise.
31909 * sunrpc/rpc/netdb.h: Likewise.
31910 * sunrpc/rpc/pmap_clnt.h: Likewise.
31911 * sunrpc/rpc/pmap_prot.h: Likewise.
31912 * sunrpc/rpc/pmap_rmt.h: Likewise.
31913 * sunrpc/rpc/rpc.h: Likewise.
31914 * sunrpc/rpc/rpc_des.h: Likewise.
31915 * sunrpc/rpc/rpc_msg.h: Likewise.
31916 * sunrpc/rpc/svc.h: Likewise.
31917 * sunrpc/rpc/svc_auth.h: Likewise.
31918 * sunrpc/rpc/types.h: Likewise.
31919 * sunrpc/rpc/xdr.h: Likewise.
31920 * sunrpc/rpc_clntout.c: Likewise.
31921 * sunrpc/rpc_cmsg.c: Likewise.
31922 * sunrpc/rpc_common.c: Likewise.
31923 * sunrpc/rpc_cout.c: Likewise.
31924 * sunrpc/rpc_dtable.c: Likewise.
31925 * sunrpc/rpc_hout.c: Likewise.
31926 * sunrpc/rpc_main.c: Likewise.
31927 * sunrpc/rpc_parse.c: Likewise.
31928 * sunrpc/rpc_parse.h: Likewise.
31929 * sunrpc/rpc_prot.c: Likewise.
31930 * sunrpc/rpc_sample.c: Likewise.
31931 * sunrpc/rpc_scan.c: Likewise.
31932 * sunrpc/rpc_scan.h: Likewise.
31933 * sunrpc/rpc_svcout.c: Likewise.
31934 * sunrpc/rpc_tblout.c: Likewise.
31935 * sunrpc/rpc_util.c: Likewise.
31936 * sunrpc/rpc_util.h: Likewise.
31937 * sunrpc/rpcinfo.c: Likewise.
31938 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31939 * sunrpc/rpcsvc/key_prot.x: Likewise.
31940 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31941 * sunrpc/rpcsvc/mount.x: Likewise.
31942 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31943 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31944 * sunrpc/rpcsvc/rex.x: Likewise.
31945 * sunrpc/rpcsvc/rstat.x: Likewise.
31946 * sunrpc/rpcsvc/rusers.x: Likewise.
31947 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31948 * sunrpc/rpcsvc/spray.x: Likewise.
31949 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31950 * sunrpc/rtime.c: Likewise.
31951 * sunrpc/svc.c: Likewise.
31952 * sunrpc/svc_auth.c: Likewise.
31953 * sunrpc/svc_authux.c: Likewise.
31954 * sunrpc/svc_raw.c: Likewise.
31955 * sunrpc/svc_run.c: Likewise.
31956 * sunrpc/svc_simple.c: Likewise.
31957 * sunrpc/svc_tcp.c: Likewise.
31958 * sunrpc/svc_udp.c: Likewise.
31959 * sunrpc/svc_unix.c: Likewise.
31960 * sunrpc/svcauth_des.c: Likewise.
31961 * sunrpc/xcrypt.c: Likewise.
31962 * sunrpc/xdr.c: Likewise.
31963 * sunrpc/xdr_array.c: Likewise.
31964 * sunrpc/xdr_float.c: Likewise.
31965 * sunrpc/xdr_mem.c: Likewise.
31966 * sunrpc/xdr_rec.c: Likewise.
31967 * sunrpc/xdr_ref.c: Likewise.
31968 * sunrpc/xdr_sizeof.c: Likewise.
31969 * sunrpc/xdr_stdio.c: Likewise.
31970
31971 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31972 handling.
31973
31974 2010-08-19 Andreas Schwab <schwab@redhat.com>
31975
31976 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31977
31978 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31979
31980 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31981 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31982 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31983 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31984 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31985 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31986 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31987 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31988 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31989 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31990 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31991 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31992 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31993 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31994
31995 2010-07-26 Anton Blanchard <anton@samba.org>
31996
31997 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31998 * malloc/arena.c (heap_trim): Likewise.
31999
32000 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32001
32002 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32003 here. Not...
32004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32005 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32006
32007 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32008
32009 * sysdeps/i386/elf/Makefile: New file.
32010
32011 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32012
32013 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32014 from fanotify_init.
32015 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32017
32018 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32019
32020 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32021 of strncasecmp_l.
32022 * sysdeps/multiarch/strcmp.S: Likewise.
32023
32024 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32025
32026 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32027 strncase_l-nonascii.
32028 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32029 Add strncase_l-ssse3.
32030 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32031 * sysdeps/x86_64/strcmp.S: Likewise.
32032 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32033 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32034 * sysdeps/x86_64/strncase.S: New file.
32035 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32036 * sysdeps/x86_64/strncase_l.S: New file.
32037 * string/Makefile (strop-tests): Add strncasecmp.
32038 * string/test-strncasecmp.c: New file.
32039
32040 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32041 warning.
32042
32043 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32044 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32045
32046 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32047
32048 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32049
32050 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32051
32052 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32053 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32054 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32055
32056 2010-05-01 Alan Modra <amodra@gmail.com>
32057
32058 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32059 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32060 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32061 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32062 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32063 tidying. Don't tail-call __sigjmp_save for static lib.
32064 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32065 save location.
32066 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32067 (CALL_MCOUNT): Add eh info, and nop after bl.
32068 (TAIL_CALL_SYSCALL_ERROR): New macro.
32069 (PSEUDO_RET): Use it.
32070 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32071 Correct save location of integer regs and cr.
32072 (_dl_profile_resolve): Correct cr save location. Delete nops
32073 after bl when SHARED. Reduce cfi size a little by better
32074 placement of cfi directives.
32075 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32076 make a stack frame. Instead use parm save area as a temp.
32077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32078 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32080 Don't make a stack frame for parent, use parm save area.
32081 Increase child stack frame to 112 bytes. Don't save unused reg,
32082 and adjust reg usage. Set up cfi on error recovery and
32083 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32085 (__makecontext): Add dummy nop after jump to exit.
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32087 Use correct parm save area and cr save, reduce stack frame.
32088 Correct cfi for possible PSEUDO_RET frame setup.
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32090 Branch to local label emitted by PSEUDO_RET rather than
32091 __syscall_error.
32092
32093 2010-08-12 Andreas Schwab <schwab@redhat.com>
32094
32095 [BZ #11904]
32096 * locale/programs/locale.c (print_assignment): New function.
32097 (show_locale_vars): Use it.
32098
32099 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32100
32101 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32102 field.
32103 (struct statfs64): Likewise.
32104 (_STATFS_F_FLAGS): Define.
32105 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32106 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32107 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32108 (ST_VALID): Define locally.
32109 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32110 __statvfs_getflags, use the provided value.
32111 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32112 __ASSUME_STATFS_F_FLAGS.
32113
32114 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32115
32116 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32117 Add sys/fanotify.h.
32118 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32119 fanotify_mask for GLIBC_2.13.
32120 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32121 fanotify_init and fanotify_mark.
32122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32123 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32124
32125 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32126 Add prlimit.
32127 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32128 prlimit64 for GLIBC_2.13.
32129 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32130 prlimit64.
32131 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32132 syscall.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32135 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32136 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32138 add prlimit alias.
32139 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32140
32141 [BZ #11903]
32142 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32143 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32144
32145 * nss/Makefile: Add rules to build and run tst-nss-test1.
32146 * shlib-versions: Add entry for libnss_test1.
32147 * nss/nss_test1.c: New file.
32148 * nss/tst-nss-test1.c: New file.
32149
32150 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32151 (__nss_configure_lookup): Set appropriate entry in
32152 __nss_configure_lookup to true.
32153 * nss/nsswitch.h: Define enum with indeces of databases in
32154 databases and __nss_database_custom arrays. Declare
32155 __nss_database_custom.
32156 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32157 to avoid using nscd when custom rules are installed.
32158 * nss/getXXbyYY_r.c: Likewise.
32159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32160
32161 * nss/nss_files/files-parse.c: Whitespace fixes.
32162
32163 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32164
32165 [BZ #11883]
32166 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32167 * posix/fnmatch_loop.c: Likewise.
32168
32169 2010-07-17 Andi Kleen <ak@linux.intel.com>
32170
32171 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32172 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32173 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32174 * Versions.def [GLIBC_2.13]: Add.
32175
32176 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32177
32178 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32179 Also fail if tpwd after pwuid call is NULL.
32180
32181 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32182
32183 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32184 when converting to ms.
32185
32186 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32187
32188 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32189 EOPNOTSUPP errors with ENOTTY.
32190 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32191 EOPNOTSUPP errors with ENOTTY.
32192
32193 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32194
32195 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32196 Add strcasecmp_l-ssse3.
32197 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32198 strcasecmp.
32199 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32200 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32201 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32202
32203 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32204
32205 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32206
32207 * string/Makefile (strop-tests): Add strcasecmp.
32208 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32209 strcasecmp_l-nonascii.
32210 (gen-as-const-headers): Add locale-defines.sym.
32211 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32212 * sysdeps/x86_64/strcasecmp.S: New file.
32213 * sysdeps/x86_64/strcasecmp_l.S: New file.
32214 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32215 * sysdeps/x86_64/locale-defines.sym: New file.
32216 * string/test-strcasecmp.c: New file.
32217
32218 * string/test-strcasestr.c: Test both ends of the range of characters.
32219 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32220
32221 2010-07-29 Roland McGrath <roland@redhat.com>
32222
32223 [BZ #11856]
32224 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32225
32226 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32227
32228 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32229 for ld.so.
32230
32231 2010-07-27 Andreas Schwab <schwab@redhat.com>
32232
32233 * manual/memory.texi (Malloc Tunable Parameters): Document
32234 M_PERTURB.
32235
32236 2010-07-26 Roland McGrath <roland@redhat.com>
32237
32238 [BZ #11840]
32239 * configure.in (-fgnu89-inline check): Set and substitute
32240 gnu89_inline, not libc_cv_gnu89_inline.
32241 * configure: Regenerated.
32242 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32243
32244 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32245
32246 * string/test-strnlen.c: New file.
32247 * string/Makefile (strop-tests): Add strnlen.
32248 * string/tester.c (test_strnlen): Add a few more test cases.
32249 * string/tst-strlen.c: Better error reporting.
32250
32251 * sysdeps/x86_64/strnlen.S: New file.
32252
32253 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32254
32255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32256 lower-latency instructions.
32257
32258 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32259
32260 * string/test-strcasestr.c: New file.
32261 * string/test-strstr.c: New file.
32262 * string/Makefile (strop-tests): Add strstr and strcasestr.
32263 * string/str-two-way.h: Don't undefine MAX.
32264 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32265
32266 2010-07-21 Andreas Schwab <schwab@redhat.com>
32267
32268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32269 strcasestr-nonascii.
32270 (CFLAGS-strcasestr-nonascii.c): Define.
32271 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32273 Remove unused attribute.
32274
32275 2010-07-20 Roland McGrath <roland@redhat.com>
32276
32277 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32278 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32279 ld.so.cache was broken. With it, there is no way to disable dsocaps
32280 like LD_HWCAP_MASK can disable hwcaps.
32281
32282 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32283
32284 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32285
32286 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32287
32288 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32289 call in strcasestr.
32290 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32291 __strcasestr_sse42_nonascii.
32292 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32293 strcasestr-nonascii.c.
32294 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32295
32296 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32297
32298 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32299 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32300 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32301 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32302
32303 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32304
32305 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32306 fcntl.
32307
32308 2010-07-06 Andreas Schwab <schwab@redhat.com>
32309
32310 [BZ #11577]
32311 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32312 dl_signal_cerror.
32313
32314 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32315
32316 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32317 _PC_PIPE_BUF using F_GETPIPE_SZ.
32318
32319 2010-07-05 Roland McGrath <roland@redhat.com>
32320
32321 * manual/arith.texi (Rounding Functions): Fix rint description
32322 implicit in round description.
32323
32324 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32325
32326 * elf/Makefile: Fix linking for a few tests to make recent linker
32327 happy.
32328
32329 2010-06-30 Andreas Schwab <schwab@redhat.com>
32330
32331 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32332 $(common-objpfx)libc_nonshared.a.
32333
32334 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32335
32336 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32337 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32338 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32339 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32340 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32341 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32342 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32343 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32358 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32359 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32360 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32361 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32362 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32363 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32364 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32365 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32366 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32367 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32368 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32369 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32384
32385 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32386
32387 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32388 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32389 * string/memmove.c (memmove): Renamed to ...
32390 (MEMMOVE): ...this. Default to memmove.
32391 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32392 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32393 (END_CHK): Define.
32394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32395 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32396 mempcpy-ssse3-back memmove-ssse3-back.
32397 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32398 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32400 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32401 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32402 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32403 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32404 * sysdeps/x86_64/multiarch/memmove.c: New file.
32405 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32406 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32407 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32408 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32409 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32410 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32411 Define.
32412 (index_Fast_Copy_Backward): Define.
32413 (HAS_ARCH_FEATURE): Define.
32414 (HAS_FAST_REP_STRING): Define.
32415 (HAS_FAST_COPY_BACKWARD): Define.
32416
32417 2010-06-21 Andreas Schwab <schwab@redhat.com>
32418
32419 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32420 Restore proper fallback handling.
32421
32422 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32423
32424 [BZ #11701]
32425 * posix/group_member.c (__group_member): Correct checking loop.
32426
32427 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32428 OOM in getpwuid_r correctly. Return error number when the caller
32429 should return, otherwise -1.
32430 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32431 call returning > 0 value.
32432 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32433
32434 2010-06-07 Andreas Schwab <schwab@redhat.com>
32435
32436 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32437 libc_nonshared.a from targets in modules-names.
32438
32439 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32440
32441 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32442 requires it.
32443
32444 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32445
32446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32450
32451 2010-06-02 Andreas Schwab <schwab@redhat.com>
32452
32453 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32454
32455 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32456
32457 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32458 and F_GETPIPE_SZ.
32459 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32463 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32464 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32465
32466 2010-06-14 Roland McGrath <roland@redhat.com>
32467
32468 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32469
32470 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32471
32472 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32473 __REDIRECT followed by __THROW.
32474 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32475 * posix/getopt.h (getopt): Likewise.
32476
32477 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32478
32479 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32480 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32481 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32482 in AT_FLAGS.
32483 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32484 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32485
32486 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32487
32488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32489
32490 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 [BZ #11640]
32493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32494 Properly check family and model.
32495
32496 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32497
32498 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32499
32500 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32501
32502 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32503
32504 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32505
32506 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32507 symbol reference.
32508
32509 2010-05-19 Andreas Schwab <schwab@redhat.com>
32510
32511 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32512 symbol reference.
32513
32514 2010-05-21 Andreas Schwab <schwab@redhat.com>
32515
32516 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32517 and internal_recvmmsg.
32518 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32519 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32520 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32521 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32522
32523 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32524 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32525 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32526
32527 2010-05-20 Andreas Schwab <schwab@redhat.com>
32528
32529 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32530
32531 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32532
32533 POWER7 optimizations.
32534 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32535 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32536
32537 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32538
32539 * version.h: Update for 2.13 development version.
32540
32541 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32542
32543 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32544 exceptions. Return 0.
32545
32546 2010-05-07 Roland McGrath <roland@redhat.com>
32547
32548 * elf/ldconfig.c (main): Add a const.
32549
32550 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32551
32552 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32553 (args_options): Add no-idn option.
32554 (ahosts_keys_int): Add idn_flags to ai_flags.
32555 (parse_option): Handle 'i' option to clear idn_flags.
32556
32557 * malloc/malloc.c (_int_free): Possible race in the most recently
32558 added check. Only act on the data if no current modification
32559 happened.
32560
32561 See ChangeLog.17 for earlier changes.
This page took 1.496566 seconds and 6 git commands to generate.