]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix spurious jnf underflows (bug 14155).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b7835e32
JM
12013-09-02 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14155]
4 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5 intermediate calculations in recurrence.
6 (__ieee754_ynf): Likewise.
7 * math/libm-test.inc (jn_test_data): Do not allow spurious
8 underflow exception. Add more tests.
9 (yn_test_data): Add more tests.
10 * sysdeps/i386/fpu/libm-test-ulps: Update.
11 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12
8220f4f0
OB
132013-09-02 Ondřej Bílka <neleai@seznam.cz>
14
15 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16
f24a6d08
OB
172013-08-30 Ondřej Bílka <neleai@seznam.cz>
18
19 * csu/init-first.c: Fix then/than typos.
20 * locale/programs/ld-collate.c: Likewise.
21 * locale/programs/linereader.h: Likewise.
22 * manual/charset.texi: Likewise.
23 * manual/filesys.texi: Likewise.
24 * manual/stdio.texi: Likewise.
25 * manual/string.texi: Likewise.
26 * stdlib/fmtmsg.c: Likewise.
27 * sysdeps/i386/stpncpy.S: Likewise.
28 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32
382466e0
OB
332013-08-30 Ondřej Bílka <neleai@seznam.cz>
34
35 * elf/dl-open.c: Fix typos.
36 * iconvdata/gbbig5.c: Likewise.
37 * iconvdata/iso-2022-jp.c: Likewise.
38 * iconv/gconv_int.h: Likewise.
39 * iconv/loop.c: Likewise.
40 * nis/rpcsvc/nis.h: Likewise.
41 * resolv/ns_name.c: Likewise.
42 * stdio-common/vfscanf.c: Likewise.
43 * streams/stropts.h: Likewise.
44 * sunrpc/rpc_thread.c: Likewise.
45 * sysdeps/i386/strpbrk.S: Likewise.
46 * sysdeps/ieee754/k_standard.c: Likewise.
47 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50 * sysdeps/mach/hurd/profil.c: Likewise.
51 * sysdeps/s390/dl-procinfo.h: Likewise.
52 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
54 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55 * sysdeps/x86_64/dl-trampoline.S: Likewise.
56 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57
0186c6e9
OB
582013-08-30 Ondřej Bílka <neleai@seznam.cz>
59
60 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62
d4e16af1
OB
632013-08-29 Ondřej Bílka <neleai@seznam.cz>
64
65 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
66 aix specific files.
67 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
68 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
69 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
70 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
71 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
73 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
74 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
75
88335980
TS
762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
77 Roland McGrath <roland@hack.frob.com>
78
79 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
80 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
81
ed479b02
ST
822013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
83
84 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
85 __executable_start symbol instead of _start.
86
f1cc4c86
TS
872013-08-29 Thomas Schwinge <thomas@codesourcery.com>
88
d821f07c
TS
89 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
90 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
91 Move macros to...
92 * sysdeps/gnu/ldsodefs.h: ... this new file.
93
c54290cf
TS
94 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
95 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
96 instead of ELFOSABI_LINUX.
97
0007fc9b 98 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
99 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
100 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
101 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
102 Likewise.
103 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
104 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
105 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
106 Likewise.
107 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
108 (ibm_extended_long_double): Add ieee_nan member.
109 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
110 (do_test): New function.
111
f1cc4c86
TS
112 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
113 TEST_TRUNC.
114 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
115 functions, renamed from truncdfsf_test, trunctfsf_test,
116 trunctfdf_test.
117 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
118 functions.
119 (do_test): Run all these.
120
6f65e668
OB
1212013-08-29 Ondřej Bílka <neleai@seznam.cz>
122
123 * argp/argp-help.c: Fix typos.
124 * argp/argp-parse.c: Likewise.
125 * debug/backtracesyms.c: Likewise.
126 * elf/elf.h: Likewise.
127 * malloc/malloc.c: Likewise.
128 * nis/nis_print.c: Likewise.
129 * resolv/res_comp.c: Likewise.
130 * stdlib/stdlib.h: Likewise.
131 * sunrpc/clnt_tcp.c: Likewise.
132 * sunrpc/clnt_udp.c: Likewise.
133 * sunrpc/clnt_unix.c: Likewise.
134 * sysdeps/unix/bsd/ptsname.c: Likewise.
135 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
136 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
138 Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
140 Likewise.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
142 Likewise.
6f65e668
OB
143 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
144
3a309239
SP
1452013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
146
147 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
149
3b813b29
MF
1502013-08-27 Mike Frysinger <vapier@gentoo.org>
151
152 [BZ #15897]
153 * dlfcn/Makefile (tests): Add bug-dl-leaf.
154 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
155 ($(objpfx)bug-dl-leaf): New rule.
156 ($(objpfx)bug-dl-leaf.so): Likewise.
157 ($(objpfx)bug-dl-leaf.out): Likewise.
158 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
159 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
160 * dlfcn/bug-dl-leaf.c: New test.
161 * dlfcn/bug-dl-leaf-lib.c: Likewise.
162 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
163 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
164 (dlclose): Likewise.
165 (dlmopen): Likewise.
166
8cc3269f
RM
1672013-08-27 Roland McGrath <roland@hack.frob.com>
168
7f9d0034
RM
169 * include/netdb.h [!_ISOMAC]:
170 Don't include <tls.h>.
171 (h_errno, __libc_h_errno): Move declaration and macros out of
172 [_LIBC_REENTRANT].
173
fb431262
RM
174 * include/resolv.h [_RESOLV_H_]:
175 Don't include <tls.h>.
176 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
177 * resolv/res_libc.c: Don't include <tls.h>.
178 (_res): Use __attribute__ ((nocommon)) in place of
179 __attribute__ ((section (".bss"))).
180
bd81123a
RM
181 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
182 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
183
c4e42566
RM
184 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
185
f890a59b
RM
186 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
187 only under [SIOCGIFCONF && SIOCGIFNETMASK].
188
189 * resolv/res_mkquery.c: Include <sys/time.h>.
190
5d1f0a09
RM
191 * inet/ifreq.c: Moved to ...
192 * sysdeps/unix/ifreq.c: ... here.
193 * inet/ifreq.c: New file, true stub version.
194
6fcf28b3
RM
195 * socket/sa_len.c: New file.
196 * socket/Makefile (aux): Add it.
197 * sysdeps/unix/sysv/linux/Makefile
198 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
199 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
200 and #include <socket/sa_len.c>.
201 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
202 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
203
e041fb8b
RM
204 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
205 * bits/socket.h: ... here.
206
8cc3269f
RM
207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
208 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
209 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
210
5d228a43
AS
2112013-08-27 Andreas Schwab <schwab@suse.de>
212
45b8accc
AS
213 [BZ #15736]
214 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
215 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
216 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
217 * string/test-strcasecmp.c (test_main): Run tests in several
218 locales.
219 * string/test-strncasecmp.c (test_main): Likewise.
220
5d228a43
AS
221 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
222 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
223 to __strcasecmp_nonascii and __strncasecmp_nonascii.
224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
225 (__strncasecmp_ssse3) [PIC]: Likewise.
226
59d112a4
RM
2272013-08-26 Roland McGrath <roland@hack.frob.com>
228
53234cc3
RM
229 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
230
59d112a4
RM
231 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
232 instead of explicitly declaring xdecrypt.
233 * nis/nss_nis/nis-publickey.c: Likewise.
234
595aba70
SP
2352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
236
237 [BZ #15890]
238 * nscd/aicache.c: Include res_hconf.h.
239 (addhstaiX): Initialize res_hconf.
240
ffabd393
AS
2412013-08-26 Andreas Schwab <schwab@suse.de>
242
243 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
244 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
245
e0a69f5c
SP
2462013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
247
248 * nscd/aicache.c (addhstaiX): Fix indentation.
249
8c12f01d
MF
2502013-08-25 Mike Frysinger <vapier@gentoo.org>
251
252 * configure.ac: Quote $build_pt_chown test.
253 * configure: Regenerated.
254
8fe89494
JM
2552013-08-23 Joseph Myers <joseph@codesourcery.com>
256
257 [BZ #15532]
258 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
259 * math/s_cexpf.c (__cexpf): Likewise.
260 * math/s_cexpl.c (__cexpl): Likewise.
261 * math/libm-test.inc (cexp_test_data): Correct expected return
262 value for NaN + i0. Add another test.
263
75b181d6
DM
2642013-08-22 David S. Miller <davem@davemloft.net>
265
266 * po/ca.po: Update Catalan translation from translation project.
936241e4 267 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 268
acd06bb1
JM
2692013-08-21 Joseph Myers <joseph@codesourcery.com>
270
271 [BZ #15797]
272 * math/s_fdim.c (__fdim): Check for infinite arguments if result
273 is infinite, not alongside NaN test.
274 * math/s_fdimf.c (__fdimf): Likewise.
275 * math/s_fdiml.c (__fdiml): Likewise.
276 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
277 errno is unchanged.
278
c0c3f78a
OB
2792013-08-21 Ondřej Bílka <neleai@seznam.cz>
280
281 * argp/argp-help.c: Fix typos.
282 * crypt/speeds.c: Likewise.
283 * csu/check_fds.c: Likewise.
284 * elf/dl-load.c: Likewise.
285 * elf/dl-open.c: Likewise.
286 * elf/reldep3.c: Likewise.
287 * elf/reldep.c: Likewise.
288 * elf/sprof.c: Likewise.
289 * iconv/iconv_charmap.c: Likewise.
290 * iconv/skeleton.c: Likewise.
291 * iconv/strtab.c: Likewise.
292 * io/lockf64.c: Likewise.
293 * libio/libioP.h: Likewise.
294 * resolv/gai_notify.c: Likewise.
295 * resolv/ns_name.c: Likewise.
296 * resolv/ns_samedomain.c: Likewise.
297 * resolv/res_send.c: Likewise.
298 * stdlib/random.c: Likewise.
299 * sunrpc/rpc/xdr.h: Likewise.
300 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
301 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
302 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
303 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
304 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
308 * sysdeps/mach/hurd/check_fds.c: Likewise.
309 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
310 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
312 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
313 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
314 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
315 * sysdeps/pthread/aio_notify.c: Likewise.
316 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
317 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
318 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
320 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
321
46ed1038
LD
3222013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
323
324 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
325 version if bit_Slow_SSE4_2 is set.
326 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
327 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
328
d400dcac
AZ
3292013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 [BZ #15867]
332 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
333 trampoline stack frame information.
334 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
336 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
337 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
338 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
339 * sysdeps/unix/sysv/linux/powerpc/init-first.c
340 (_libc_vdso_platform_setup): Initialize the signal trampolines.
341 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
342 sa_flags value.
343 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
344 interrupting a syscall and set with option SA_SIGINFO.
345
42c8fdd8
JM
3462013-08-20 Joseph Myers <joseph@codesourcery.com>
347
c980f2f4
JM
348 [BZ #15531]
349 * math/s_cproj.c (__cproj): Only return an infinity if one part of
350 argument is infinite.
351 * math/s_cprojf.c (__cprojf): Likewise.
352 * math/s_cprojl.c (__cprojl): Likewise.
353 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
354 * math/libm-test.inc (cproj_test_data): Add more tests.
355
0716c4fc
JM
356 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
357
42c8fdd8
JM
358 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
359 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
360 size. Use __ffs to determine corresponding shift.
361
b31469d0
JM
3622013-08-20 Joseph Myers <joseph@codesourcery.com>
363 Roland McGrath <roland@hack.frob.com>
364
365 * Makefile (INSTALL): Remove trailing blank lines from output of
366 makeinfo.
367
4e39af6e
AK
3682013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
369
370 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
371 Align 32 bit compat elf_greg to 8 bytes.
372
f315524e
AA
3732013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
374
375 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
376
1326ba1a
SP
3772013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 * string/strcoll_l.c (coll_seq): New structure.
380 (get_next_seq_cached): New function.
381 (get_next_seq): New function.
382 (do_compare): New function.
383 (STRCOLL): Use GNU style definition. Simplify implementation
384 by using get_next_seq, get_next_seq_cached and do_compare.
385
91ce4085
FW
3862013-08-16 Florian Weimer <fweimer@redhat.com>
387
388 [BZ #14699]
389 CVE-2013-4237
390 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
391 member.
392 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
393 member.
394 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
395 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
396 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
397 conditional.
398 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
399 GETDENTS_64BIT_ALIGNED.
400 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
401 * manual/filesys.texi (Reading/Closing Directory): Document
402 ENAMETOOLONG return value of readdir_r. Recommend readdir more
403 strongly.
404 * manual/conf.texi (Limits for Files): Add portability note to
405 NAME_MAX, PATH_MAX.
406 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
407
ca0a6bc4
AS
4082013-08-13 Andreas Schwab <schwab@suse.de>
409
410 [BZ #15749]
411 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
412 of fabs.
413 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
414 LDBL_MAX_EXP >= 16384]: Add tests for it.
415
6c1fd795
DM
4162013-08-12 David S. Miller <davem@davemloft.net>
417
418 * version.h (RELEASE): Set to "development".
419 (VERSION): Set to "2.18.90".
420 * NEWS: Add 2.19 section.
421
31ad488d
DM
4222013-08-03 David S. Miller <davem@davemloft.net>
423
424 * po/ko.po: Update Korean translation from translation project.
425
db24e684
DM
4262013-08-01 David S. Miller <davem@davemloft.net>
427
428 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
429 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
430 Bilka.
431
f723285b
DM
4322013-07-30 David S. Miller <davem@davemloft.net>
433
434 * po/fr.po: Update French translation from translation project.
435
3cbc52db
DM
4362013-07-28 David S. Miller <davem@davemloft.net>
437
30bbc0cc
DM
438 * po/cs.po: Update Czech translation from translation project.
439
3cbc52db
DM
440 * po/sv.po: Update Swedish translation from translation project.
441
d492e6d0
DM
4422013-07-27 David S. Miller <davem@davemloft.net>
443
f1a7f492
DM
444 * po/eo.po: Update Esperanto translation from translation project.
445
90e62a4a
DM
446 * po/vi.po: Update Vietnamese translation from translation project.
447
d492e6d0
DM
448 * po/de.po: Update German translation from translation project.
449
d4baa62d
DM
4502013-07-26 David S. Miller <davem@davemloft.net>
451
641aa7b4
DM
452 * po/bg.po: Update Bulgarian translation from translation project.
453
d4baa62d
DM
454 * po/nl.po: Update Dutch translation from translation project.
455 * po/pl.po: Update Polish translation from translation project.
456 * po/ru.po: Update Russian translation from translation project.
457
61a9dcb9
DM
4582013-07-24 David S. Miller <davem@davemloft.net>
459
460 * po/libc.pot: Update.
461
7b1f8b58
AZ
4622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463
464 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
465 variable page size.
466 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
468 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
469
a8fc7a03
AK
4702013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
471
472 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
473
e4608715
CD
4742013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
475 Andreas Schwab <schwab@suse.de>
476 Roland McGrath <roland@hack.frob.com>
477 Joseph Myers <joseph@codesourcery.com>
478 Carlos O'Donell <carlos@redhat.com>
479
480 [BZ #15755]
481 * config.h.in: Define HAVE_PT_CHOWN.
482 * config.make.in (build-pt-chown): New variable.
483 * configure.in (--enable-pt_chown): New configure option.
484 * configure: Regenerate.
485 * login/Makefile: Include Makeconfig. Build pt_chown only if
486 build-pt-chown is enabled.
487 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
488 pt_chown to fix pty ownership.
489 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
490 CLOSE_ALL_FDS.
491 * manual/install.texi (Configuring and compiling): Mention
492 --enable-pt_chown. Add @findex for grantpt.
493 * INSTALL: Regenerate.
494
da2d62df
DM
4952013-07-20 David S. Miller <davem@davemloft.net>
496
497 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
498 difference between 32-bit and 64-bit.
499
d7e06450
CD
5002013-07-15 Carlos O'Donell <carlos@redhat.com>
501
502 [BZ #15711]
503 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
504 Avoid system header dependency with -ffreestanding.
505 ($(objpfx)bits/syscall%d): Likewise.
506
f959cfd7
DM
5072013-07-13 David S. Miller <davem@davemloft.net>
508
509 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
510 underflows from atanl/atan2l due to bug 15319.
511 (casinh_test_data): Likewise.
512
c61f8513
DM
5132013-07-07 David S. Miller <davem@davemloft.net>
514
515 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
516
72c90ed0
JA
5172013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
518
519 * sysdeps/i386/fpu/libm-test-ulps: Update.
520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
521
52dfbe13
SP
5222013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
523
524 * configure.in (--enable-lock-elision): Fix message text.
525 * INSTALL: Regenerate.
526 * configure: Regenerate.
527
3f169543
AZ
5282013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529
530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
531
521c6785
AJ
5322013-07-03 Andreas Jaeger <aj@suse.de>
533
534 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
535 define.
536 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
537 (ptrace_peeksiginfo_args): Add.
538 (__ptrace_peeksiginfo_flags): Add.
539 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
542
d2cc15cb
AM
5432013-07-03 Allan McRae <allan@archlinux.org>
544
545 * sysdeps/i386/fpu/libm-test-ulps: Update.
546
3aaeeca7
DM
5472013-07-02 David S. Miller <davem@davemloft.net>
548
549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
550
5314ed1a
MT
5512013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
552
553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
554
67338156
JM
5552013-07-02 Joseph Myers <joseph@codesourcery.com>
556
557 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
559
1717da59
AK
5602013-07-02 Andi Kleen <ak@linux.intel.com>
561
562 * config.h.in (ENABLE_LOCK_ELISION): Add.
563 * configure.in (--enable-lock-elision): Add option.
564 * manual/install.texi: Document --enable lock elision.
565 * configure: Regenerate
566 * INSTALL: Regenerate.
567
1c81621c
L
5682013-07-02 H.J. Lu <hongjiu.lu@intel.com>
569
570 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
571 SSE4.2 strcasecmp for libc.a.
572 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
573
77f01ab5
JM
5742013-07-02 Joseph Myers <joseph@codesourcery.com>
575
576 [BZ #13304]
577 * soft-fp/op-common.h (_FP_FMA): New macro.
578 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
579 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
580 (_FP_MUL_MEAT_1_imm): ... here.
581 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
582 (_FP_MUL_MEAT_1_wide): ... here.
583 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
584 (_FP_MUL_MEAT_1_hard): ... here.
585 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
586 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
587 (_FP_MUL_MEAT_2_wide): ... here.
588 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
589 (_FP_MUL_MEAT_2_wide_3mul): ... here.
590 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
591 (_FP_MUL_MEAT_2_gmp): ... here.
592 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
593 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
594 (_FP_MUL_MEAT_4_wide): ... here.
595 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
596 (_FP_MUL_MEAT_4_gmp): ... here.
597 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
598 (_FP_WFRACBITS_DW_S): Likewise.
599 (_FP_WFRACXBITS_DW_S): Likewise.
600 (_FP_HIGHBIT_DW_S): Likewise.
601 (FP_FMA_S): Likewise.
602 (_FP_FRAC_HIGH_DW_S): Likewise.
603 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
604 (_FP_WFRACBITS_DW_D): Likewise.
605 (_FP_WFRACXBITS_DW_D): Likewise.
606 (_FP_HIGHBIT_DW_D): Likewise.
607 (FP_FMA_D): Likewise.
608 (_FP_FRAC_HIGH_DW_D): Likewise.
609 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
610 (_FP_WFRACBITS_DW_E): Likewise.
611 (_FP_WFRACXBITS_DW_E): Likewise.
612 (_FP_HIGHBIT_DW_E): Likewise.
613 (FP_FMA_E): Likewise.
614 (_FP_FRAC_HIGH_DW_E): Likewise.
615 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
616 (_FP_WFRACBITS_DW_Q): Likewise.
617 (_FP_WFRACXBITS_DW_Q): Likewise.
618 (_FP_HIGHBIT_DW_Q): Likewise.
619 (FP_FMA_Q): Likewise.
620 (_FP_FRAC_HIGH_DW_Q): Likewise.
621 * soft-fp/fmasf4.c: New file.
622 * soft-fp/fmadf4.c: Likewise.
623 * soft-fp/fmatf4.c: Likewise.
624
6308fd9a
LD
6252013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
626
627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
628 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
629 Silvermont.
630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
631 macro.
632 (index_Slow_SSE4_2): Likewise.
633 (index_Prefer_PMINUB_for_stringop): Likewise.
634 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
635 bit_Slow_SSE4_2 is set.
636 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
638
89cd9569
RA
6392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
640
641 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
642 rtld_global._dl_hwcap2.
643 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
644 POWER8.
645 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
646 POWER8 feature descriptions defined in _dl_hwcap2.
647 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
648 string handling for POWER8 feature bits.
649 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
650 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
651 _dl_powerpc_cap_flags.
652 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
653 * sysdeps/powerpc/rtld-global-offsets.sym
654 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
655 _dl_hwcap2 in the rtld_global_ro structure.
656
1ae8bfe0
RA
6572013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
658
659 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
660 hardware capabilities in support of AT_HWCAP2.
661 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
662 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
663 GLRO(dl_hwcap2).
664 (_dl_show_auxv): Add support for calling _dl_procinfo to display
665 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
666 explicitly the unknown a_type display mechanism is used.
667 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
668 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
669 struct member.
670 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
671 to macro prototype for AT_HWCAP2 support.
672 * sysdeps/i386/dl-procinfo.h: Likewise.
673 * sysdeps/s390/dl-procinfo.h: Likewise.
674 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
675 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
676 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
677 return -1 for unknown a_type display fallback.
678 * sysdeps/sparc/dl-procinfo.h: Likewise.
679 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
680 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
681
8fbec010
JM
6822013-06-28 Joseph Myers <joseph@codesourcery.com>
683
684 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
685 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
686
0432680e
PY
6872013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
688
689 [BZ #12492]
690 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
691 mprotect making __stack_prot writable.
692
ce61a2ad
NF
6932013-06-28 Nathan Froyd <froydnj@codesourcery.com>
694 Joseph Myers <joseph@codesourcery.com>
695
696 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
697 as being properly aligned.
698
f91f1c0f
MR
6992013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
700
3d0f5d0c
MR
701 * dlfcn/modstatic5.c: New file.
702 * dlfcn/tststatic5.c: New file.
703 * dlfcn/Makefile (tests): Add tststatic5.
704 (tests-static): Likewise.
705 (modules-names): Add modstatic5.
706 (tststatic5-ENV): New variable.
707 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
708
f91f1c0f
MR
709 [BZ #15022]
710 * elf/dl-support.c (_dl_main_map): New variable.
711 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
712 (_dl_nns, _dl_load_adds): Set to 1.
713 (_dl_initial_searchlist): Refer to _dl_main_map.
714 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
715 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
716 call to _dl_get_origin.
717 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
718 around call_map.
719 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
720 * dlfcn/modstatic3.c: New file.
721 * dlfcn/tststatic3.c: New file.
722 * dlfcn/tststatic4.c: New file.
723 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
724 (tests-static): Likewise.
725 (modules-names): Add modstatic3.
726 (tststatic3-ENV, tststatic4-ENV): New variables.
727 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
728 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
729
cbe7d24b
JM
7302013-06-26 Joseph Myers <joseph@codesourcery.com>
731
732 * configure.in (CC): Require GCC version 4.4 or later.
733 * configure: Regenerated.
734 * manual/install.texi (Tools for Compilation): Update GCC version
735 requirement.
736 * INSTALL: Regenerated.
737
11b8a0e1
LD
7382013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
739
740 [BZ #15674]
bb5bb87c
L
741 * string/test-memcmp.c (check2): New.
742 (main): Call check2.
743
11b8a0e1
LD
744 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
745
b0037103
MR
7462013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
747
748 [BZ #15022]
749 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
750 over to...
751 (dl_open_worker) [!SHARED]: ... here.
752
c18c701d
RA
7532013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
754
755 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
756
1d17fa5f
RH
7572013-06-25 Richard Henderson <rth@redhat.com>
758
759 * locale/programs/locarchive.c: Include <libc-internal.h>
760
8fcb833a
JM
7612013-06-25 Joseph Myers <joseph@codesourcery.com>
762
763 * manual/texinfo.tex: Update to version 2013-06-21.17, with
764 trailing whitespace removed.
765
17db6e8d
MF
7662013-06-24 Mike Frysinger <vapier@gentoo.org>
767
768 [BZ #10283]
17db6e8d
MF
769 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
770 * locale/programs/locarchive.c: Include libc-mmap.h.
771 (prepare_address_space): Take two new outputs (the mmap base and len).
772 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
773 values.
774 (create_archive): Declare new mmap base and len values for
775 prepare_address_space, and store the result in ah.
776 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
777 (enlarge_archive): If ah->mmap_base is not NULL, use that and
778 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
779 Declare new mmap base and len values for
780 prepare_address_space, and store the result in new_ah.
781 (open_archive): Declare new mmap base and len values for
782 prepare_address_space, and store the result in ah.
783 (close_archive): If ah->mmap_base is not NULL, use that and
784 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
785 * sysdeps/generic/libc-mmap.h: New file.
786
d605071e
MF
7872013-06-24 Mike Frysinger <vapier@gentoo.org>
788
789 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
790 (ALIGN_UP): Likewise.
791 (PTR_ALIGN_DOWN): Likewise.
792 (PTR_ALIGN_UP): Likewise.
793
2f063a6e
RA
7942013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
795
796 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
797 entry mapped to PPC_PLATFORM_POWER8.
798 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
799 POWER8.
800 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
801 (_dl_string_platform): Add case for exporting platform position for
802 POWER8.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
804 search path to sysdeps/powerpc/powerpc32/power8 directory.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
806 search path to sysdeps/powerpc/powerpc64/power8 directory.
807 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
808 power7 directories.
809 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
810 power7 directories.
811
a31ee4b3
SP
8122013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
813
a74ca98f
SP
814 * INSTALL: Regenerate.
815
a31ee4b3
SP
816 * nscd/connections.c (nscd_init): Fix comment.
817
695c378f
JM
8182013-06-22 Joseph Myers <joseph@codesourcery.com>
819
d8412221
JM
820 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
821
695c378f
JM
822 [BZ #15667]
823 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
824 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
825
d1d54715
MR
8262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
827
828 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
829 DL_DST_REQ_STATIC.
830 (DL_DST_REQ_STATIC): Remove macro.
831
8fdda7af
JM
8322013-06-21 Joseph Myers <joseph@codesourcery.com>
833
834 [BZ #7006]
835 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
836 with a shift of 0 bits.
837
f3bc5e5a
MR
8382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
839
840 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
841 $(tststatic-ENV).
842
be09e8c9
KK
8432013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
844
845 [BZ #15655]
846 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
847
85c2e611
AZ
8482013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849
850 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
851 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
852 accepts -fno-tree-loop-distribute-patterns.
853 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
854 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
855 recursive call.
856 * string/memset.c (memset): Likewise.
857 * string/test-memmove.c (simple_memmove): Disable loop transformation
858 to library calls.
859 * string/test-memset.c (simple_memset): Likewise.
860 * benchtests/bench-memmove.c (simple_memmove): Likewise.
861 * benchtests/bench-memset.c (simple_memset): Likewise.
862 * configure: Regenerated.
863
c91e0825
JM
8642013-06-20 Joseph Myers <joseph@codesourcery.com>
865
b8c792af
JM
866 * math/test-misc.c (main): Ignore fesetround failure when failures
867 of subsequent rounding tests would be ignored.
868
c91e0825
JM
869 [BZ #15654]
870 * math/fedisblxcpt.c (fedisableexcept): Return 0.
871 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
872 * math/fegetenv.c (__fegetenv): Return 0.
873 * math/fegetexcept.c (fegetexcept): Return 0.
874 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
875 FE_TONEAREST.
876 * math/feholdexcpt.c (feholdexcept): Return 0.
877 * math/fesetenv.c (__fesetenv): Return 0.
878 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
879 argument FE_TONEAREST.
880 * math/feupdateenv.c (__feupdateenv): Return 0.
881 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
882
bfcacbde
RM
8832013-06-18 Roland McGrath <roland@hack.frob.com>
884
885 * elf/rtld-Rules (rtld-compile-command.S): New variable.
886 (rtld-compile-command.s, rtld-compile-command.c): New variables.
887 ($(objpfx)rtld-%.os rules): Use them.
888
e55a9b25
AZ
8892013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
890
891 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
892 fields.
893
346d65b3
RM
8942013-06-17 Roland McGrath <roland@hack.frob.com>
895
12086fb4
RM
896 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
897 length of target pattern, then descending length of dependency pattern.
898 * configure.in (AWK): Require gawk 3.1.2 or newer.
899 * manual/install.texi (Tools for Compilation): Say that we do.
900 * configure: Regenerated.
901
346d65b3
RM
902 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
903 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
904 * scripts/sysd-rules.awk: ... this new script.
905 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
906 than a glob-style pattern.
907
1a846317
JM
9082013-06-17 Joseph Myers <joseph@codesourcery.com>
909
910 * math/test-misc.c (main): Do not treat incorrectly rounded
911 conversions as failure unless ROUNDING_TESTS passes.
912
8fc75e6f
JM
9132013-06-15 Joseph Myers <joseph@codesourcery.com>
914
3711a167
JM
915 [BZ #15631]
916 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
917 restore exception state around main square root computation, then
918 check for inexactness explicitly.
919
8fc75e6f
JM
920 * math/libm-test.inc (fma_test_data): Add another test.
921
61dd6208
SP
9222013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
923
adf23d2c
SP
924 * manual/threads.texi (Non-POSIX Extensions): New document
925 node. Document pthread_getattr_default_np and
926 pthread_setattr_default_np.
927
61dd6208
SP
928 * Versions.def (libpthread): Add GLIBC_2.18.
929 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
931 Likewise.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
933 Likewise.
934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
935 Likewise.
936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
937 Likewise.
938 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
939 Likewise.
940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
941 Likewise.
942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
943 Likewise.
944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
945 Likewise.
946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
947 Likewise.
948
d086fc7b
LD
9492013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
950
951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
952 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
953
747ef469
SP
9542013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
955 H.J. Lu <hjl.tools@gmail.com>
956
957 [BZ #15627]
958 * sysdeps/x86_64/rtld-memset.c: Remove file.
959 * sysdeps/x86_64/rtld-memset.S: New file.
960
1b2feed2
JM
9612013-06-14 Joseph Myers <joseph@codesourcery.com>
962
963 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
964 (test_in_one_mode): Take arguments for whether the rounding mode
965 is supported for each floating-point type.
966 (do_test): Pass new arguments to test_in_one_mode using
967 ROUNDING_TESTS.
968
a58ad3f8
RM
9692013-06-13 Roland McGrath <roland@hack.frob.com>
970
971 * posix/tst-waitid.c (do_test): Distinguish different instances of
972 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
973 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
974 before entering the kernel for waitpid.
975
c204ab28
SP
9762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
977
978 * NEWS: Fix note on clock function precision. Text by Roland
979 McGrath.
980
f4a29fba
RM
9812013-06-13 Roland McGrath <roland@hack.frob.com>
982
983 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
984 it into place only when and if the sanity check passes.
985
1f24b9ad
JM
9862013-06-13 Joseph Myers <joseph@codesourcery.com>
987
988 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
989 output for whether conversion result is exact. Take argument
990 indicating whether type is IBM long double.
991 (round_for_all): Change need_exact field to ibm_ld.
992 * stdlib/tst-strtod-round.c (struct exactness): New type.
993 (struct test): Change bool ld_ok field to struct exactness exact.
994 (TEST): Update all definitions for change to field.
995 (tests): Regenerate array contents.
996 (test_in_one_mode): Take pointer to new field instead of old ld_ok
997 field value. Check for IBM long double here.
998 (do_test): Update calls to test_in_one_mode.
999
58206c68
SP
10002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1001
1002 [BZ #12515]
1003 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1004 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1005
2d6f4c5b 10062013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1007
1008 [BZ #15605]
1009 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1010 generated by the compiler on loop optimizations.
1011 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1012 general definitions.
1013
94f2c076
JM
10142013-06-12 Joseph Myers <joseph@codesourcery.com>
1015
1016 * math/bug-nextafter.c: Include <math-tests.h>.
1017 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1018 the relevant type.
1019 * math/bug-nexttoward.c: Include <math-tests.h>.
1020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1021 the relevant type.
1022 * math/test-misc.c: Include <math-tests.h>.
1023 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1024 the relevant type.
1025
e0e50a0a
AJ
10262013-06-12 Andreas Jaeger <aj@suse.de>
1027
1028 * po/ia.po: Update Interlingua translation from translation
1029 project.
1030
25061094
SP
10312013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1032
1033 * include/fenv.h: Include stdbool.h.
1034 (struct rm_ctx): New structure.
1035 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1036 Define macro.
1037 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1038 (SET_RESTORE_ROUNDF): Likewise.
1039 (SET_RESTORE_ROUNDL): Likewise.
1040 (SET_RESTORE_ROUND_NOEX): Likewise.
1041 (SET_RESTORE_ROUND_NOEXF): Likewise.
1042 (SET_RESTORE_ROUND_NOEXL): Likewise.
1043 (SET_RESTORE_ROUND_53BIT): Likewise.
1044 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1045 (libc_feresetround_noexf_ctx): Likewise.
1046 (libc_feresetround_noexl_ctx): Likewise.
1047 (libc_feholdsetround_53bit_ctx): Likewise.
1048 (libc_feresetround_53bit_ctx): Likewise.
1049 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1050 (libc_feholdexcept_setround_sse_ctx): New function.
1051 (libc_fesetenv_sse_ctx): Likewise.
1052 (libc_feupdateenv_sse_ctx): Likewise.
1053 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1054 (libc_feholdexcept_setround_387_ctx): Likewise.
1055 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1056 (libc_feholdsetround_387_prec_ctx): Likewise.
1057 (libc_feholdsetround_387_ctx): Likewise.
1058 (libc_feholdsetround_387_53bit_ctx): Likewise.
1059 (libc_feholdsetround_sse_ctx): Likewise.
1060 (libc_feresetround_sse_ctx): Likewise.
1061 (libc_feresetround_387_ctx): Likewise.
1062 (libc_feupdateenv_387_ctx): Likewise.
1063 (libc_feholdexcept_setroundf_ctx): Define macro.
1064 (libc_fesetenvf_ctx): Likewise.
1065 (libc_feupdateenvf_ctx): Likewise.
1066 (libc_feholdsetroundf_ctx): Likewise.
1067 (libc_feresetroundf_ctx): Likewise.
1068 (libc_feholdexcept_setround_ctx): Likewise.
1069 (libc_fesetenv_ctx): Likewise.
1070 (libc_feupdateenv_ctx): Likewise.
1071 (libc_feholdsetround_ctx): Likewise.
1072 (libc_feresetround_ctx): Likewise.
1073 (libc_feholdexcept_setroundl_ctx): Likewise.
1074 (libc_feupdateenvl_ctx): Likewise.
1075 (libc_feholdsetroundl_ctx): Likewise.
1076 (libc_feresetroundl_ctx): Likewise.
1077 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1078 (libc_feresetround_53bit_ctx): Likewise.
1079
59b30555
SP
10802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1081
1082 * locale/iso-639.def: Convert to UTF-8.
1083
f1d73d30
JM
10842013-06-11 Joseph Myers <joseph@codesourcery.com>
1085
1086 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1087 (EXCEPTION_TESTS_double): Likewise.
1088 (EXCEPTION_TESTS_long_double): Likewise.
1089 (EXCEPTION_TESTS): Likewise.
1090 * math/libm-test.inc (test_exceptions): Only test exceptions if
1091 EXCEPTION_TESTS (FLOAT).
1092
94aca5e7
SP
10932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1094
1095 * benchtests/Makefile (string-bench): Add strcpy_chk and
1096 stpcpy_chk.
1097 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1098 * benchtests/bench-stpcpy_chk.c: New file.
1099 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1100 * benchtests/bench-strcpy_chk.c: New file.
1101 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1102 code.
1103 (do_test): Likewise.
1104
fac0c5f2
RA
11052013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1106
1107 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1108 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1109 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1110 with tabs where appropriate.
1111 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1112 dl-procinfo.h.
1113 [PPC_PLATFORM_PPC440]: Likewise.
1114 [PPC_PLATFORM_PPC464]: Likewise.
1115 [PPC_PLATFORM_PPC476]: Likewise.
1116 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1117 ppc464, and ppc476 platform strings merging from ports/
1118 dl-procinfo.h.
1119
f22bc486
AS
11202013-06-11 Andreas Schwab <schwab@suse.de>
1121
1122 [BZ #14991]
1123 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1124 (from_ucs4_idx): Regenerate.
1125 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1126 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1127 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1128 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1129 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1130 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1131 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1132 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1133 from FROM_LOOP and TO_LOOP specific macros.
1134 (BODY): Handle combining characters.
1135 * iconvdata/BIG5HKSCS.irreversible: Update.
1136 * iconvdata/BIG5HKSCS.precomposed: New file.
1137 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1138 characters.
1139 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1140
c1f75dc3
SP
11412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1142
4eacded2
SP
1143 * include/sys/time.h: Fix indentation and add copyright header.
1144
fec799f8
SP
1145 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1146 (do_test): Likewise.
1147 * string/test-memchr.c (do_one_test): Likewise.
1148 (do_test): Likewise.
1149 * string/test-memcmp.c (do_one_test): Likewise.
1150 (do_test): Likewise.
1151 * string/test-memcpy.c (do_one_test): Likewise.
1152 (do_test): Likewise.
1153 * string/test-memmem.c (do_one_test): Likewise.
1154 (do_test): Likewise.
1155 (do_random_tests): Likewise.
1156 * string/test-memmove.c (do_one_test): Likewise.
1157 (do_test): Likewise.
1158 * string/test-memset.c (do_one_test): Likewise.
1159 (do_test): Likewise.
1160 * string/test-rawmemchr.c (do_one_test): Likewise.
1161 (do_test): Likewise.
1162 * string/test-strcasecmp.c (do_one_test): Likewise.
1163 (do_test): Likewise.
1164 * string/test-strcasestr.c (do_one_test): Likewise.
1165 (do_test): Likewise.
1166 * string/test-strcat.c (do_one_test): Likewise.
1167 (do_test): Likewise.
1168 * string/test-strchr.c (do_one_test): Likewise.
1169 (do_test): Likewise.
1170 * string/test-strcmp.c (do_one_test): Likewise.
1171 (do_test): Likewise.
1172 * string/test-strcpy.c (do_one_test): Likewise.
1173 (do_test): Likewise.
1174 * string/test-string.h: Likewise.
1175 (test_init): Likewise.
1176 * string/test-strlen.c (do_one_test): Likewise.
1177 (do_test): Likewise.
1178 * string/test-strncasecmp.c (do_one_test): Likewise.
1179 (do_test): Likewise.
1180 * string/test-strncat.c (do_one_test): Likewise.
1181 (do_test): Likewise.
1182 * string/test-strncmp.c (do_one_test): Likewise.
1183 (do_test_limit): Likewise.
1184 (do_test): Likewise.
1185 * string/test-strncpy.c (do_one_test): Likewise.
1186 (do_test): Likewise.
1187 * string/test-strnlen.c (do_one_test): Likewise.
1188 (do_test): Likewise.
1189 * string/test-strpbrk.c (do_one_test): Likewise.
1190 (do_test): Likewise.
1191 * string/test-strrchr.c (do_one_test): Likewise.
1192 (do_test): Likewise.
1193 * string/test-strspn.c (do_one_test): Likewise.
1194 (do_test): Likewise.
1195 * string/test-strstr.c (do_one_test): Likewise.
1196 (do_test): Likewise.
1197
97020474
SP
1198 * benchtests/Makefile (string-bench): Add string benchmarks.
1199 * benchtests/bench-bcopy-ifunc.c: New file.
1200 * benchtests/bench-bcopy.c: New file.
1201 * benchtests/bench-bzero-ifunc.c: New file.
1202 * benchtests/bench-bzero.c: New file.
1203 * benchtests/bench-memccpy-ifunc.c: New file.
1204 * benchtests/bench-memccpy.c: New file.
1205 * benchtests/bench-memchr-ifunc.c: New file.
1206 * benchtests/bench-memchr.c: New file.
1207 * benchtests/bench-memcmp-ifunc.c: New file.
1208 * benchtests/bench-memcmp.c: New file.
1209 * benchtests/bench-memmem-ifunc.c: New file.
1210 * benchtests/bench-memmem.c: New file.
1211 * benchtests/bench-memmove-ifunc.c: New file.
1212 * benchtests/bench-memmove.c: New file.
1213 * benchtests/bench-mempcpy-ifunc.c: New file.
1214 * benchtests/bench-mempcpy.c: New file.
1215 * benchtests/bench-memset-ifunc.c: New file.
1216 * benchtests/bench-memset.c: New file.
1217 * benchtests/bench-rawmemchr-ifunc.c: New file.
1218 * benchtests/bench-rawmemchr.c: New file.
1219 * benchtests/bench-stpcpy-ifunc.c: New file.
1220 * benchtests/bench-stpcpy.c: New file.
1221 * benchtests/bench-stpncpy-ifunc.c: New file.
1222 * benchtests/bench-stpncpy.c: New file.
1223 * benchtests/bench-strcasecmp-ifunc.c: New file.
1224 * benchtests/bench-strcasecmp.c: New file.
1225 * benchtests/bench-strcasestr-ifunc.c: New file.
1226 * benchtests/bench-strcasestr.c: New file.
1227 * benchtests/bench-strcat-ifunc.c: New file.
1228 * benchtests/bench-strcat.c: New file.
1229 * benchtests/bench-strchr-ifunc.c: New file.
1230 * benchtests/bench-strchr.c: New file.
1231 * benchtests/bench-strchrnul-ifunc.c: New file.
1232 * benchtests/bench-strchrnul.c: New file.
1233 * benchtests/bench-strcmp-ifunc.c: New file.
1234 * benchtests/bench-strcmp.c: New file.
1235 * benchtests/bench-strcpy-ifunc.c: New file.
1236 * benchtests/bench-strcpy.c: New file.
1237 * benchtests/bench-strcspn-ifunc.c: New file.
1238 * benchtests/bench-strcspn.c: New file.
1239 * benchtests/bench-strlen-ifunc.c: New file.
1240 * benchtests/bench-strlen.c: New file.
1241 * benchtests/bench-strncasecmp-ifunc.c: New file.
1242 * benchtests/bench-strncasecmp.c: New file.
1243 * benchtests/bench-strncat-ifunc.c: New file.
1244 * benchtests/bench-strncat.c: New file.
1245 * benchtests/bench-strncmp-ifunc.c: New file.
1246 * benchtests/bench-strncmp.c: New file.
1247 * benchtests/bench-strncpy-ifunc.c: New file.
1248 * benchtests/bench-strncpy.c: New file.
1249 * benchtests/bench-strnlen-ifunc.c: New file.
1250 * benchtests/bench-strnlen.c: New file.
1251 * benchtests/bench-strpbrk-ifunc.c: New file.
1252 * benchtests/bench-strpbrk.c: New file.
1253 * benchtests/bench-strrchr-ifunc.c: New file.
1254 * benchtests/bench-strrchr.c: New file.
1255 * benchtests/bench-strspn-ifunc.c: New file.
1256 * benchtests/bench-strspn.c: New file.
1257 * benchtests/bench-strstr-ifunc.c: New file.
1258 * benchtests/bench-strstr.c: New file.
1259
c1f75dc3
SP
1260 * benchtests/Makefile: Disable parallel execution of targets.
1261 (string-bench): Add memcpy.
1262 (benchset): New variable to store a list of benchmark sets.
1263 (bench-func): Renamed from bench.
1264 (bench-set): New target.
1265 (bench): Depend on bench-func and bench-set.
1266 * benchtests/README: Add section on benchmark sets.
1267 * benchtests/bench-memcpy-ifunc.c: New file.
1268 * benchtests/bench-memcpy.c: New file.
1269 * benchtests/bench-string.h: New file.
1270
50fd745b
AS
12712013-06-11 Andreas Schwab <schwab@suse.de>
1272
1273 [BZ #15577]
1274 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1275 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1276 values in the triple.
1277 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1278 terminator in the group key.
1279
3ee7e9fe
AJ
12802013-06-11 Andreas Jaeger <aj@suse.de>
1281
1282 * po/zh_TW.po: Update Chinese (traditional) translation from
1283 translation project.
1284
89fb6835
SP
12852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
1287 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1288 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1289 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1291 (clock_getcpuclockid): Likewise.
1292 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1293 Add weak_alias and libc_hidden_def.
1294 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1295 * rt/clock_gettime.c (clock_gettime): Rename to
1296 __clock_gettime. Add weak_alias and libc_hidden_def.
1297 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1298 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1299 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1300 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1301 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1302 Likewise.
1303 * rt/clock_settime.c (clock_settime): Rename to
1304 __clock_settime. Add weak_alias and libc_hidden_def.
1305 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1306
0efa6f8b
JM
13072013-06-10 Joseph Myers <joseph@codesourcery.com>
1308
b8c61b4b
JM
1309 * mach/err_boot.sub: Remove trailing whitespace.
1310 * mach/err_ipc.sub: Likewise.
1311 * mach/err_mach.sub: Likewise.
1312
0efa6f8b
JM
1313 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1314 (ROUNDING_TESTS_double): Likewise.
1315 (ROUNDING_TESTS_long_double): Likewise.
1316 (ROUNDING_TESTS): Likewise.
1317 * math/libm-test.inc: Include <math-tests.h>.
1318 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1319 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1320 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1321 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1322
50b818bf
SP
13232013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1324
1325 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1326 of assigning.
1327
60d2f8f3
JM
13282013-06-08 Joseph Myers <joseph@codesourcery.com>
1329
4902d2c3
JM
1330 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1331 otherwise empty TRANS lines.
1332 * sysdeps/gnu/errlist.c: Regenerated.
1333
60d2f8f3
JM
1334 * catgets/gencat.c (error_print): Use (void) in function
1335 definition.
1336 * crypt/crypt_util.c (__init_des): Likewise.
1337 * crypt/speeds.c (Stop): Likewise.
1338 (main): Likewise.
1339 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1340 * inet/ruserpass.c (token): Likewise.
1341 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1342 * intl/localealias.c (extend_alias_table): Likewise.
1343 * intl/plural-exp.c (init_germanic_plural): Likewise.
1344 * libio/fcloseall.c (__fcloseall): Likewise.
1345 * libio/genops.c (_IO_flush_all): Likewise.
1346 (_IO_flush_all_linebuffered): Likewise.
1347 (_IO_cleanup): Likewise.
1348 (_IO_iter_begin): Likewise.
1349 (_IO_iter_end): Likewise.
1350 (_IO_list_lock): Likewise.
1351 (_IO_list_unlock): Likewise.
1352 (_IO_list_resetlock): Likewise.
1353 * libio/getchar.c (getchar): Likewise.
1354 * libio/getchar_u.c (getchar_unlocked): Likewise.
1355 * libio/getwchar.c (getwchar): Likewise.
1356 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1357 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1358 * login/getpt.c (__getpt): Likewise.
1359 * login/tst-utmp.c (main): Likewise.
1360 * malloc/hooks.c (__malloc_check_init): Likewise.
1361 * malloc/malloc.c (__malloc_stats): Likewise.
1362 * malloc/mtrace.c (tr_break): Likewise.
1363 (mtrace): Likewise.
1364 (muntrace): Likewise.
1365 * misc/fstab.c (endfsent): Likewise.
1366 * misc/getclktck.c (__getclktck): Likewise.
1367 * misc/getdtsz.c (__getdtablesize): Likewise.
1368 * misc/gethostid.c (gethostid): Likewise.
1369 * misc/getpagesize.c (__getpagesize): Likewise.
1370 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1371 (__get_nprocs): Likewise.
1372 (__get_phys_pages): Likewise.
1373 (__get_avphys_pages): Likewise.
1374 * misc/getttyent.c (getttyent): Likewise.
1375 (setttyent): Likewise.
1376 (endttyent): Likewise.
1377 * misc/getusershell.c (getusershell): Likewise.
1378 (endusershell): Likewise.
1379 (setusershell): Likewise.
1380 (initshells): Likewise.
1381 * misc/hsearch.c (__hdestroy): Likewise.
1382 * misc/sync.c (sync): Likewise.
1383 * misc/syslog.c (closelog_internal): Likewise.
1384 (closelog): Likewise.
1385 * misc/ttyslot.c (ttyslot): Likewise.
1386 * misc/vhangup.c (vhangup): Likewise.
1387 * posix/fork.c (__fork): Likewise.
1388 * posix/getegid.c (__getegid): Likewise.
1389 * posix/geteuid.c (__geteuid): Likewise.
1390 * posix/getgid.c (__getgid): Likewise.
1391 * posix/getpid.c (__getpid): Likewise.
1392 * posix/getppid.c (__getppid): Likewise.
1393 * posix/getuid.c (__getuid): Likewise.
1394 * posix/pause.c (pause): Likewise.
1395 * posix/setpgrp.c (setpgrp): Likewise.
1396 * posix/setsid.c (__setsid): Likewise.
1397 * posix/test-vfork.c (noop): Likewise.
1398 * resolv/gethnamaddr.c (_endhtent): Likewise.
1399 (_gethtent): Likewise.
1400 (ht_endhostent): Likewise.
1401 (gethostent): Likewise.
1402 (dns_service): Likewise.
1403 * stdlib/drand48.c (drand48): Likewise.
1404 * stdlib/lrand48.c (lrand48): Likewise.
1405 * stdlib/mrand48.c (mrand48): Likewise.
1406 * stdlib/rand.c (rand): Likewise.
1407 * stdlib/random.c (__random): Likewise.
1408 * stdlib/setenv.c (clearenv): Likewise.
1409 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1410 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1411 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1412 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1413 (__get_nprocs): Likewise.
1414 (__get_phys_pages): Likewise.
1415 (__get_avphys_pages): Likewise.
1416 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1417 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1418 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1419 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1420 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1421 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1422 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1423 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1424 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1425 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1426 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1427 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1428 * sysdeps/posix/clock.c (clock): Likewise.
1429 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1430 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1431 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1432 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1433 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1435 (__get_nprocs_conf): Likewise.
1436 (__get_phys_pages): Likewise.
1437 (__get_avphys_pages): Likewise.
1438 * time/clock.c (clock): Likewise.
1439 * time/tzset.c (__tzname_max): Likewise.
1440
2e09a79a
JM
14412013-06-07 Joseph Myers <joseph@codesourcery.com>
1442
1443 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1444 (__bswap_32): Do not use "register".
1445 * crypt/crypt.c (_ufc_doit_r): Likewise.
1446 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1447 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1448 * gmon/gmon.c (__monstartup): Likewise.
1449 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1450 * hurd/hurdmalloc.c (more_memory): Likewise.
1451 (malloc): Likewise.
1452 (free): Likewise.
1453 (realloc): Likewise.
1454 (malloc_fork_prepare): Likewise.
1455 (malloc_fork_parent): Likewise.
1456 (malloc_fork_child): Likewise.
1457 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1458 (_svcauth_des): Likewise.
1459 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1460 * inet/inet_net.c (inet_network): Likewise.
1461 * inet/inet_netof.c (inet_netof): Likewise.
1462 * inet/rcmd.c (__validuser2_sa): Likewise.
1463 * io/fts.c (fts_open): Likewise.
1464 (fts_load): Likewise.
1465 (fts_close): Likewise.
1466 (fts_read): Likewise.
1467 (fts_children): Likewise.
1468 (fts_build): Likewise.
1469 (fts_stat): Likewise.
1470 (fts_sort): Likewise.
1471 (fts_alloc): Likewise.
1472 (fts_lfree): Likewise.
1473 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1474 (_IO_file_xsgetn): Likewise.
1475 (_IO_file_xsgetn_mmap): Likewise.
1476 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1477 (_IO_cookie_write): Likewise.
1478 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1479 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1480 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1481 * malloc/obstack.c (_obstack_begin): Likewise.
1482 (_obstack_begin_1): Likewise.
1483 (_obstack_newchunk): Likewise.
1484 (_obstack_allocated_p): Likewise.
1485 (obstack_free): Likewise.
1486 (_obstack_memory_used): Likewise.
1487 * misc/getttyent.c (getttynam): Likewise.
1488 (getttyent): Likewise.
1489 (skip): Likewise.
1490 (value): Likewise.
1491 * misc/getusershell.c (initshells): Likewise.
1492 * misc/syslog.c (__vsyslog_chk): Likewise.
1493 * misc/ttyslot.c (ttyslot): Likewise.
1494 * nis/nis_hash.c (__nis_hash): Likewise.
1495 * posix/fnmatch_loop.c (FCT): Likewise.
1496 * posix/getconf.c (print_all): Likewise.
1497 (main): Likewise.
1498 * posix/getopt.c (exchange): Likewise.
1499 * posix/glob.c (globfree): Likewise.
1500 (prefix_array): Likewise.
1501 (__glob_pattern_type): Likewise.
1502 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1503 (NS_GET32): Likewise.
1504 (NS_PUT16): Likewise.
1505 (NS_PUT32): Likewise.
1506 * resolv/gethnamaddr.c (getanswer): Likewise.
1507 (gethostbyname2): Likewise.
1508 (gethostbyaddr): Likewise.
1509 (_gethtent): Likewise.
1510 (_gethtbyname2): Likewise.
1511 (_gethtbyaddr): Likewise.
1512 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1513 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1514 * resolv/res_init.c (__res_vinit): Likewise.
1515 (net_mask): Likewise.
1516 * resolv/res_mkquery.c (outchar): Likewise.
1517 (PRINT): Likewise.
1518 * stdio-common/printf_fp.c (outchar): Likewise.
1519 (PRINT): Likewise.
1520 * stdio-common/printf_fphex.c (outchar): Likewise.
1521 (PRINT): Likewise.
1522 * stdio-common/printf_size.c (outchar): Likewise.
1523 (PRINT): Likewise.
1524 * stdio-common/test_rdwr.c (main): Likewise.
1525 * stdio-common/tfformat.c (matches): Likewise.
1526 * stdio-common/vfprintf.c (outchar): Likewise.
1527 (printf_unknown): Likewise.
1528 (buffered_vfprintf): Likewise.
1529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1530 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1531 (ReadFile): Likewise.
1532 * stdlib/qsort.c (SWAP): Likewise.
1533 (_quicksort): Likewise.
1534 * stdlib/setenv.c (__add_to_environ): Likewise.
1535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1536 * stdlib/strtol_l.c (__strtol_l): Likewise.
1537 * stdlib/tst-strtod.c (main): Likewise.
1538 * stdlib/tst-strtol.c (main): Likewise.
1539 * stdlib/tst-strtoll.c (main): Likewise.
1540 * string/bits/string2.h (__strcmp_cc): Likewise.
1541 (__strcmp_cg): Likewise.
1542 (__strcspn_c1): Likewise.
1543 (__strcspn_c2): Likewise.
1544 (__strcspn_c3): Likewise.
1545 (__strspn_c1): Likewise.
1546 (__strspn_c2): Likewise.
1547 (__strspn_c3): Likewise.
1548 (__strsep_1c): Likewise.
1549 (__strsep_2c): Likewise.
1550 (__strsep_3c): Likewise.
1551 * string/memccpy.c (__memccpy): Likewise.
1552 * string/stpcpy.c (__stpcpy): Likewise.
1553 * string/strcmp.c (strcmp): Likewise.
1554 * string/strrchr.c (strrchr): Likewise.
1555 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1556 Likewise.
1557 * sysdeps/mach/hurd/getcwd.c
1558 (_hurd_canonicalize_directory_name_internal): Likewise.
1559 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1560 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1561 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1562 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1563 Likewise, in both definitions.
1564 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1565 definitions.
1566 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1567 64] (__bswap_64): Likewise.
1568 * time/test_time.c (main): Likewise.
1569 * time/tzfile.c (__tzfile_read): Likewise.
1570 (__tzfile_compute): Likewise.
1571 * time/tzset.c (__tzset_parse_tz): Likewise.
1572 (tzset_internal): Likewise.
1573 (compute_change): Likewise.
1574 * wcsmbs/wcscat.c (__wcscat): Likewise.
1575 * wcsmbs/wcschr.c (wcschr): Likewise.
1576 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1577 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1578 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1579 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1580 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1581 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1582 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1583 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1584 * wcsmbs/wmemset.c (wmemset): Likewise.
1585
9e54314b
JM
15862013-06-06 Joseph Myers <joseph@codesourcery.com>
1587
1588 * scripts/config.guess: Update to version 2013-05-16.
1589 * scripts/config.sub: Update to version 2013-04-24.
1590 * scripts/install-sh: Update to version 2011-11-20.07.
1591 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1592 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1593
350635a5
OB
15942013-06-06 Ondřej Bílka <neleai@seznam.cz>
1595
1596 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1597 * elf/sln.c: Likewise.
1598 * hurd/hurd/ioctl.h: Likewise.
1599 * hurd/hurdmalloc.c: Likewise.
1600 * hurd/xattr.c: Likewise.
1601 * include/shlib-compat.h: Likewise.
1602 * inet/ruserpass.c: Likewise.
1603 * libio/iofgets_u.c: Likewise.
1604 * libio/iofgetws_u.c: Likewise.
1605 * locale/programs/ld-identification.c: Likewise.
1606 * locale/programs/ld-time.c: Likewise.
1607 * mach/msg-destroy.c: Likewise.
1608 * nss/nss_files/files-netgrp.c: Likewise.
1609 * resolv/res_data.c: Likewise.
1610 * soft-fp/op-1.h: Likewise.
1611 * soft-fp/op-2.h: Likewise.
1612 * soft-fp/op-4.h: Likewise.
1613 * soft-fp/op-common.h: Likewise.
1614 * stdio-common/printf_fphex.c: Likewise.
1615 * stdlib/strtod_l.c: Likewise.
1616 * sunrpc/rpc/clnt.h: Likewise.
1617 * sysdeps/generic/framestate.c: Likewise.
1618 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1619 * sysdeps/i386/bsd-setjmp.S: Likewise.
1620 * sysdeps/i386/__longjmp.S: Likewise.
1621 * sysdeps/i386/setjmp.S: Likewise.
1622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1623 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1624 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1640 * sysdeps/ieee754/support.c: Likewise.
1641 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1642 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1643 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1644 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1645 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1646 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1647 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1648 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1649 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1650 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1651 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1652 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1653 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1655 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1656 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1657 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1659
44a988af
OB
16602013-06-05 Ondřej Bílka <neleai@seznam.cz>
1661
25506f09 1662 * posix/transbug.c: Remove executable mode.
44a988af 1663
9c84384c
JM
16642013-06-05 Joseph Myers <joseph@codesourcery.com>
1665
1666 * crypt/speeds.c: Remove trailing whitespace.
1667 * dlfcn/default.c: Likewise.
1668 * elf/ifuncdep2.c: Likewise.
1669 * elf/ifuncmain1.c: Likewise.
1670 * elf/ifuncmain1vis.c: Likewise.
1671 * elf/testobj.h: Likewise.
1672 * elf/tst-stackguard1.c: Likewise.
1673 * gmon/sys/gmon.h: Likewise.
1674 * hurd/hurdmsg.c: Likewise.
1675 * hurd/new-fd.c: Likewise.
1676 * hurd/ports-get.c: Likewise.
1677 * iconvdata/ibm1008_420.c: Likewise.
1678 * inet/tst-getni1.c: Likewise.
1679 * inet/tst-getni2.c: Likewise.
1680 * libio/ioungetc.c: Likewise.
1681 * libio/wfiledoalloc.c: Likewise.
1682 * manual/libm-err-tab.pl: Likewise.
1683 * math/w_dremf.c: Likewise.
1684 * misc/ftruncate.c: Likewise.
1685 * posix/bug-glob2.c: Likewise.
1686 * posix/tst-pcre.c: Likewise.
1687 * posix/wait4.c: Likewise.
1688 * resolv/README: Likewise.
1689 * resolv/res_debug.h: Likewise.
1690 * resolv/tst-inet_ntop.c: Likewise.
1691 * setjmp/bug269-setjmp.c: Likewise.
1692 * soft-fp/extended.h: Likewise.
1693 * soft-fp/op-1.h: Likewise.
1694 * soft-fp/op-2.h: Likewise.
1695 * soft-fp/op-4.h: Likewise.
1696 * soft-fp/op-8.h: Likewise.
1697 * soft-fp/testit.c: Likewise.
1698 * stdio-common/bug16.c: Likewise.
1699 * stdlib/random.c: Likewise.
1700 * sunrpc/rpcsvc/rquota.x: Likewise.
1701 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1702 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1704 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1705 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1706 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1707 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1708 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1709 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1711 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1730 * sysdeps/ieee754/s_lib_version.c: Likewise.
1731 * sysdeps/mach/hurd/check_fds.c: Likewise.
1732 * sysdeps/mach/hurd/getsockname.c: Likewise.
1733 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1734 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1735 * sysdeps/powerpc/bits/link.h: Likewise.
1736 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1737 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1738 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1739 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1740 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1741 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1742 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1743 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1744 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1745 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1746 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1747 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1748 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1749 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1750 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1751 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1757 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1759 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1760 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1769 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1770 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1771 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1772 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1773 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1774 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1775 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1776 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1777 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1778 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1779 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1780 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1781 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1782 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1783 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1784 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1785 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1788 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1789 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1790 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1791 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1792 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1794 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1795 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1797 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1798 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1799 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1800 * sysdeps/powerpc/sysdep.h: Likewise.
1801 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1802 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1803 * sysdeps/sh/dl-trampoline.S: Likewise.
1804 * sysdeps/sh/memset.S: Likewise.
1805 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1806 * sysdeps/sh/strlen.S: Likewise.
1807 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1808 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1809 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1810 * sysdeps/sparc/sparc32/rem.S: Likewise.
1811 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1812 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1813 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1814 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1815 * sysdeps/sparc/sparc32/urem.S: Likewise.
1816 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1817 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1818 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1819 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1821 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1822 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1823 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1824 * sysdeps/unix/bsd/times.c: Likewise.
1825 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1826 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1830 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1831 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1832 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1833 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1834 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1835 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1836 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1837 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1838 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1839 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1840 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1841 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1842 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1843 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1844 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1845 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1846 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1847 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1848 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1849 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1850 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1851 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1853 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1854 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1855 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1856 * sysdeps/x86_64/strcspn.S: Likewise.
1857
869378a5
RA
18582013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1859
1860 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1861 generated file. Regenerate properly from gen-translit.pl.
1862 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1863 locale/C-translit.h.
1864
840e2943
AS
18652013-06-05 Andreas Schwab <schwab@suse.de>
1866
1867 [BZ #15100]
1868 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1869 week as 6 instead of -1.
1870 * time/tst-strptime.c (day_tests): Add test case.
1871
4c60cb0c
SP
18722013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1873
1874 * sysdeps/generic/math_private.h
1875 (libc_feholdexcept_setround_53bit): Replace with
1876 libc_feholdsetround_53bit.
1877 (libc_feupdateenv_53bit): Replace with
1878 libc_feresetround_53bit.
1879 (SET_RESTORE_ROUND_53BIT): Adjust.
1880
d180203e
SP
18812013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1882
96df079a
SP
1883 * string/test-strchrnul.c: Add copyright header.
1884
d180203e
SP
1885 * posix/tst-getaddrinfo4.c: Increase test timeout.
1886
8b0ccb2d
CD
18872013-06-03 Carlos O'Donell <carlos@redhat.com>
1888
1889 [BZ #15536]
1890 * math/libm-test.inc (MAX_EXP): Remove
1891 (MIN_EXP): Define.
1892 (ulp): Use MIN_EXP - MANT_DIG.
1893 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1894
3b3c4d40
CD
18952013-05-31 Carlos O'Donell <carlos@redhat.com>
1896
1897 * po/be.po: Revert last change.
1898 * po/zh_CN.po: Likewise.
1899 * po/header.pot: Likewise.
1900
fab7ce3f
JM
19012013-05-31 Joseph Myers <joseph@codesourcery.com>
1902
1903 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1904 link-libc-deps to empty as target-specific variable.
1905 * Makerules (link-libc-args): New variable.
1906 (libc-for-link): Likewise.
1907 (link-libc-deps): Likewise.
1908 (lib%.so): Depend on $(link-libc-deps). Link with
1909 $(link-libc-args).
1910 (build-module): Link with $(link-libc-args).
1911 (build-module-asneeded): Likewise.
1912 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1913 list of objects.
1914 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1915 target-specific variable.
1916 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1917 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1918 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1919 libc.
1920 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1921 libc and ld.so.
1922 ($(objpfx)libpcprofile.so): Likewise.
1923 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1924 libc_nonshared.a.
1925 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1926 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1927 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1928 $(link-libc-deps).
1929 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1930 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1931 * login/Makefile ($(objpfx)libutil.so): Likewise.
1932 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1933 * math/Makefile ($(objpfx)libm.so): Likewise.
1934 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1935 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1936 variable instead of depending directly on libc.
1937 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1938 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1939 $(link-libc-deps).
1940 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1941 libc.
1942 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1943 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1944 ($(objpfx)libanl.so): Likewise.
1945 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1946 ld.so.
1947 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1948 $(link-libc-deps).
1949 * sysdeps/i386/fpu/Makefile: Remove file.
1950 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1951 ($(objpfx)libm.so): Remove dependency on ld.so.
1952
eca5920c
PF
19532013-05-30 Patsy Franklin <pfrankli@redhat.com>
1954
1955 [BZ # 15553]
1956 * nis/yp_xdr.c (XDRMAXNAME): Define.
1957 (XDRMAXRECORD): Define.
1958 (xdr_domainname): Use XDRMAXNAME.
1959 (xdr_mapname): Likewise.
1960 (xdr_peername): Likewise.
1961 (xdr_keydat): Use XDRMAXRECORD.
1962 (xdr_valdat): Likewise.
1963
19642013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1965
1966 [BZ #14256]
1967 * manual/errno.texi (ESTALE): Update to account for more than
1968 just NFS file systems.
1969 * sysdeps/gnu/errlist.c: Regenerated.
1970
b9375348
SP
19712013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1972
1973 [BZ #15465]
1974 * elf/Makefile (tests): Add tst-null-argv.
1975 (modules-names): Add tst-null-argv-lib.
1976 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1977 (tst-null-argv-ENV): Set environment for tst-null-argv.
1978 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1979 (RTLD_PROGNAME): New macro.
1980 * elf/tst-null-argv.c: New test case.
1981 * elf/tst-null-argv-lib.c: Library for test case.
1982 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1983 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1984 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1985 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1986 * elf/dl-init.c (call_init): Likewise.
1987 (_dl_init): Likewise.
1988 * elf/dl-load.c (print_search_path): Likewise.
1989 (_dl_map_object): Likewise.
1990 * elf/dl-lookup.c (do_lookup_x): Likewise.
1991 (add_dependency): Likewise.
1992 (_dl_lookup_symbol_x): Likewise.
1993 (_dl_debug_bindings): Likewise.
1994 * elf/dl-open.c (_dl_show_scope): Likewise.
1995 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1996 * elf/dl-version.c (match_symbol): Likewise.
1997 (_dl_check_map_versions): Likewise.
1998 * elf/rtld.c (dl_main): Likewise.
1999 (print_unresolved): Use RTLD_PROGNAME.
2000 (print_missing_version): Likewise.
2001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2002 (elf_machine_rela): Likewise.
2003 * sysdeps/powerpc/powerpc32/dl-machine.c
2004 (__process_machine_rela): Likewise.
2005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2006 Likewise.
2007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2008 Likewise.
2009 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2010 Likewise.
2011 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2013 Likewise.
2014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2015 Likewise.
2016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2017
8a9f20c8
CD
20182013-05-28 Carlos O'Donell <carlos@redhat.com>
2019
2020 * po/be.po: Add descriptive title.
2021 * po/zh_CN.po: Likewise.
2022 * po/header.pot: Likewise.
2023
0e60d68e
MF
20242013-05-28 Mike Frysinger <vapier@gentoo.org>
2025
2026 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2027 error message.
2028 (enlarge_archive): Likewise.
2029
56b672e9
BN
20302013-05-28 Ben North <ben@redfrontdoor.org>
2031
2032 * manual/arith.texi (frexp): It is the magnitude of the return
2033 value which lies in [0.5, 1), not the return value itself.
2034
5e056687
AZ
20352013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2036
2037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2038
2b66ef5d
TS
20392013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2040
528c2405
TS
2041 * stdio-common/bug26.c (main): Correct fscanf template.
2042
07b4c13d
TS
2043 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2044 declare _dl_skip_args.
2045
ec9dd97c
TS
2046 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2047 Don't declare.
2048
2b66ef5d
TS
2049 * manual/platform.texi: Add missing @end deftypefun.
2050
4f8dfe27
JM
20512013-05-24 Joseph Myers <joseph@codesourcery.com>
2052
0323d086
JM
2053 [BZ #15529]
2054 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2055 bit of mantissa of 2^16382.
2056 * math/libm-test.inc (hypot_test_data): Add more tests.
2057
dd4259b9
JM
2058 * math/libm-test.inc: Add drem and pow10 to list of tested
2059 functions.
2060 (pow10_test): New function.
2061 (drem_test): Likewise.
2062 (drem_test_tonearest): Likewise.
2063 (drem_test_towardzero): Likewise.
2064 (drem_test_downward): Likewise.
2065 (drem_test_upward): Likewise.
2066 (main): Call the new functions.
2067
4f8dfe27
JM
2068 * math/libm-test.inc (finite_test_data): Remove.
2069 (finite_test): Run tests from isfinite_test_data.
2070 (gamma_test_data): Remove.
2071 (gamma_test): Run tests from lgamma_test_data.
2072 * sysdeps/i386/fpu/libm-test-ulps: Update.
2073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2074
d116b7c4
AZ
20752013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2076
2077 * manual/platform.texi: Add PowerPC PPR function set documentation.
2078 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2079 implementation.
2080
e96e3767
CD
20812013-05-24 Carlos O'Donell <carlos@redhat.com>
2082
2083 * math/libm-test.inc (MAX_EXP): Define.
2084 (ULPDIFF): Define.
2085 (ulp): New function.
2086 (check_float_internal): Use ULPDIFF.
2087 (cpow_test): Disable failing test.
2088 (check_ulp): Test ulp() implemetnation.
2089 (main): Call check_ulp before starting tests.
2090
b679a606
JM
20912013-05-24 Joseph Myers <joseph@codesourcery.com>
2092
e8bdba36
JM
2093 * math/gen-libm-test.pl (generate_testfile): Do not handle
2094 START_DATA and END_DATA.
2095 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2096 END_DATA.
2097 (acos_tonearest_test_data): Likewise.
2098 (acos_towardzero_test_data): Likewise.
2099 (acos_downward_test_data): Likewise.
2100 (acos_upward_test_data): Likewise.
2101 (acosh_test_data): Likewise.
2102 (asin_test_data): Likewise.
2103 (asin_tonearest_test_data): Likewise.
2104 (asin_towardzero_test_data): Likewise.
2105 (asin_downward_test_data): Likewise.
2106 (asin_upward_test_data): Likewise.
2107 (asinh_test_data): Likewise.
2108 (atan_test_data): Likewise.
2109 (atanh_test_data): Likewise.
2110 (atan2_test_data): Likewise.
2111 (cabs_test_data): Likewise.
2112 (cacos_test_data): Likewise.
2113 (cacosh_test_data): Likewise.
2114 (carg_test_data): Likewise.
2115 (casin_test_data): Likewise.
2116 (casinh_test_data): Likewise.
2117 (catan_test_data): Likewise.
2118 (catanh_test_data): Likewise.
2119 (cbrt_test_data): Likewise.
2120 (ccos_test_data): Likewise.
2121 (ccosh_test_data): Likewise.
2122 (ceil_test_data): Likewise.
2123 (cexp_test_data): Likewise.
2124 (cimag_test_data): Likewise.
2125 (clog_test_data): Likewise.
2126 (clog10_test_data): Likewise.
2127 (conj_test_data): Likewise.
2128 (copysign_test_data): Likewise.
2129 (cos_test_data): Likewise.
2130 (cos_tonearest_test_data): Likewise.
2131 (cos_towardzero_test_data): Likewise.
2132 (cos_downward_test_data): Likewise.
2133 (cos_upward_test_data): Likewise.
2134 (cosh_test_data): Likewise.
2135 (cosh_tonearest_test_data): Likewise.
2136 (cosh_towardzero_test_data): Likewise.
2137 (cosh_downward_test_data): Likewise.
2138 (cosh_upward_test_data): Likewise.
2139 (cpow_test_data): Likewise.
2140 (cproj_test_data): Likewise.
2141 (creal_test_data): Likewise.
2142 (csin_test_data): Likewise.
2143 (csinh_test_data): Likewise.
2144 (csqrt_test_data): Likewise.
2145 (ctan_test_data): Likewise.
2146 (ctan_tonearest_test_data): Likewise.
2147 (ctan_towardzero_test_data): Likewise.
2148 (ctan_downward_test_data): Likewise.
2149 (ctan_upward_test_data): Likewise.
2150 (ctanh_test_data): Likewise.
2151 (ctanh_tonearest_test_data): Likewise.
2152 (ctanh_towardzero_test_data): Likewise.
2153 (ctanh_downward_test_data): Likewise.
2154 (ctanh_upward_test_data): Likewise.
2155 (erf_test_data): Likewise.
2156 (erfc_test_data): Likewise.
2157 (exp_test_data): Likewise.
2158 (exp_tonearest_test_data): Likewise.
2159 (exp_towardzero_test_data): Likewise.
2160 (exp_downward_test_data): Likewise.
2161 (exp_upward_test_data): Likewise.
2162 (exp10_test_data): Likewise.
2163 (exp2_test_data): Likewise.
2164 (expm1_test_data): Likewise.
2165 (fabs_test_data): Likewise.
2166 (fdim_test_data): Likewise.
2167 (finite_test_data): Likewise.
2168 (floor_test_data): Likewise.
2169 (fma_test_data): Likewise.
2170 (fma_towardzero_test_data): Likewise.
2171 (fma_downward_test_data): Likewise.
2172 (fma_upward_test_data): Likewise.
2173 (fmax_test_data): Likewise.
2174 (fmin_test_data): Likewise.
2175 (fmod_test_data): Likewise.
2176 (fpclassify_test_data): Likewise.
2177 (frexp_test_data): Likewise.
2178 (gamma_test_data): Likewise.
2179 (hypot_test_data): Likewise.
2180 (ilogb_test_data): Likewise.
2181 (isfinite_test_data): Likewise.
2182 (isgreater_test_data): Likewise.
2183 (isgreaterequal_test_data): Likewise.
2184 (isinf_test_data): Likewise.
2185 (isless_test_data): Likewise.
2186 (islessequal_test_data): Likewise.
2187 (islessgreater_test_data): Likewise.
2188 (isnan_test_data): Likewise.
2189 (isnormal_test_data): Likewise.
2190 (issignaling_test_data): Likewise.
2191 (isunordered_test_data): Likewise.
2192 (j0_test_data): Likewise.
2193 (j1_test_data): Likewise.
2194 (jn_test_data): Likewise.
2195 (ldexp_test_data): Likewise.
2196 (lgamma_test_data): Likewise.
2197 (lrint_test_data): Likewise.
2198 (lrint_tonearest_test_data): Likewise.
2199 (lrint_towardzero_test_data): Likewise.
2200 (lrint_downward_test_data): Likewise.
2201 (lrint_upward_test_data): Likewise.
2202 (llrint_test_data): Likewise.
2203 (llrint_tonearest_test_data): Likewise.
2204 (llrint_towardzero_test_data): Likewise.
2205 (llrint_downward_test_data): Likewise.
2206 (llrint_upward_test_data): Likewise.
2207 (log_test_data): Likewise.
2208 (log10_test_data): Likewise.
2209 (log1p_test_data): Likewise.
2210 (log2_test_data): Likewise.
2211 (logb_test_data): Likewise.
2212 (logb_downward_test_data): Likewise.
2213 (lround_test_data): Likewise.
2214 (llround_test_data): Likewise.
2215 (modf_test_data): Likewise.
2216 (nearbyint_test_data): Likewise.
2217 (nextafter_test_data): Likewise.
2218 (nexttoward_test_data): Likewise.
2219 (pow_test_data): Likewise.
2220 (pow_tonearest_test_data): Likewise.
2221 (pow_towardzero_test_data): Likewise.
2222 (pow_downward_test_data): Likewise.
2223 (pow_upward_test_data): Likewise.
2224 (remainder_test_data): Likewise.
2225 (remainder_tonearest_test_data): Likewise.
2226 (remainder_towardzero_test_data): Likewise.
2227 (remainder_downward_test_data): Likewise.
2228 (remainder_upward_test_data): Likewise.
2229 (remquo_test_data): Likewise.
2230 (rint_test_data): Likewise.
2231 (rint_tonearest_test_data): Likewise.
2232 (rint_towardzero_test_data): Likewise.
2233 (rint_downward_test_data): Likewise.
2234 (rint_upward_test_data): Likewise.
2235 (round_test_data): Likewise.
2236 (scalb_test_data): Likewise.
2237 (scalbn_test_data): Likewise.
2238 (scalbln_test_data): Likewise.
2239 (signbit_test_data): Likewise.
2240 (sin_test_data): Likewise.
2241 (sin_tonearest_test_data): Likewise.
2242 (sin_towardzero_test_data): Likewise.
2243 (sin_downward_test_data): Likewise.
2244 (sin_upward_test_data): Likewise.
2245 (sincos_test_data): Likewise.
2246 (sinh_test_data): Likewise.
2247 (sinh_tonearest_test_data): Likewise.
2248 (sinh_towardzero_test_data): Likewise.
2249 (sinh_downward_test_data): Likewise.
2250 (sinh_upward_test_data): Likewise.
2251 (sqrt_test_data): Likewise.
2252 (tan_test_data): Likewise.
2253 (tan_tonearest_test_data): Likewise.
2254 (tan_towardzero_test_data): Likewise.
2255 (tan_downward_test_data): Likewise.
2256 (tan_upward_test_data): Likewise.
2257 (tanh_test_data): Likewise.
2258 (tgamma_test_data): Likewise.
2259 (trunc_test_data): Likewise.
2260 (y0_test_data): Likewise.
2261 (y1_test_data): Likewise.
2262 (yn_test_data): Likewise.
2263 (significand_test_data): Likewise.
2264
b679a606
JM
2265 * math/gen-libm-test.pl (@functions): Remove variable.
2266 (generate_testfile): Don't handle START and END lines.
2267 * math/libm-test.inc (START): New macro.
2268 (END): Likewise.
2269 (END_COMPLEX): Likewise.
2270 (acos_test): Use END macro without arguments.
2271 (acos_test_tonearest): Likewise.
2272 (acos_test_towardzero): Likewise.
2273 (acos_test_downward): Likewise.
2274 (acos_test_upward): Likewise.
2275 (acosh_test): Likewise.
2276 (asin_test): Likewise.
2277 (asin_test_tonearest): Likewise.
2278 (asin_test_towardzero): Likewise.
2279 (asin_test_downward): Likewise.
2280 (asin_test_upward): Likewise.
2281 (asinh_test): Likewise.
2282 (atan_test): Likewise.
2283 (atanh_test): Likewise.
2284 (atan2_test): Likewise.
2285 (cabs_test): Likewise.
2286 (cacos_test): Use END_COMPLEX macro without arguments.
2287 (cacosh_test): Likewise.
2288 (carg_test): Use END macro without arguments.
2289 (casin_test): Use END_COMPLEX macro without arguments.
2290 (casinh_test): Likewise.
2291 (catan_test): Likewise.
2292 (catanh_test): Likewise.
2293 (cbrt_test): Use END macro without arguments.
2294 (ccos_test): Use END_COMPLEX macro without arguments.
2295 (ccosh_test): Likewise.
2296 (ceil_test): Use END macro without arguments.
2297 (cexp_test): Use END_COMPLEX macro without arguments.
2298 (cimag_test): Use END macro without arguments.
2299 (clog_test): Use END_COMPLEX macro without arguments.
2300 (clog10_test): Likewise.
2301 (conj_test): Likewise.
2302 (copysign_test): Use END macro without arguments.
2303 (cos_test): Likewise.
2304 (cos_test_tonearest): Likewise.
2305 (cos_test_towardzero): Likewise.
2306 (cos_test_downward): Likewise.
2307 (cos_test_upward): Likewise.
2308 (cosh_test): Likewise.
2309 (cosh_test_tonearest): Likewise.
2310 (cosh_test_towardzero): Likewise.
2311 (cosh_test_downward): Likewise.
2312 (cosh_test_upward): Likewise.
2313 (cpow_test): Use END_COMPLEX macro without arguments.
2314 (cproj_test): Likewise.
2315 (creal_test): Use END macro without arguments.
2316 (csin_test): Use END_COMPLEX macro without arguments.
2317 (csinh_test): Likewise.
2318 (csqrt_test): Likewise.
2319 (ctan_test): Likewise.
2320 (ctan_test_tonearest): Likewise.
2321 (ctan_test_towardzero): Likewise.
2322 (ctan_test_downward): Likewise.
2323 (ctan_test_upward): Likewise.
2324 (ctanh_test): Likewise.
2325 (ctanh_test_tonearest): Likewise.
2326 (ctanh_test_towardzero): Likewise.
2327 (ctanh_test_downward): Likewise.
2328 (ctanh_test_upward): Likewise.
2329 (erf_test): Use END macro without arguments.
2330 (erfc_test): Likewise.
2331 (exp_test): Likewise.
2332 (exp_test_tonearest): Likewise.
2333 (exp_test_towardzero): Likewise.
2334 (exp_test_downward): Likewise.
2335 (exp_test_upward): Likewise.
2336 (exp10_test): Likewise.
2337 (exp2_test): Likewise.
2338 (expm1_test): Likewise.
2339 (fabs_test): Likewise.
2340 (fdim_test): Likewise.
2341 (finite_test): Likewise.
2342 (floor_test): Likewise.
2343 (fma_test): Likewise.
2344 (fma_test_towardzero): Likewise.
2345 (fma_test_downward): Likewise.
2346 (fma_test_upward): Likewise.
2347 (fmax_test): Likewise.
2348 (fmin_test): Likewise.
2349 (fmod_test): Likewise.
2350 (fpclassify_test): Likewise.
2351 (frexp_test): Likewise.
2352 (gamma_test): Likewise.
2353 (hypot_test): Likewise.
2354 (ilogb_test): Likewise.
2355 (isfinite_test): Likewise.
2356 (isgreater_test): Likewise.
2357 (isgreaterequal_test): Likewise.
2358 (isinf_test): Likewise.
2359 (isless_test): Likewise.
2360 (islessequal_test): Likewise.
2361 (islessgreater_test): Likewise.
2362 (isnan_test): Likewise.
2363 (isnormal_test): Likewise.
2364 (issignaling_test): Likewise.
2365 (isunordered_test): Likewise.
2366 (j0_test): Likewise.
2367 (j1_test): Likewise.
2368 (jn_test): Likewise.
2369 (ldexp_test): Likewise.
2370 (lgamma_test): Likewise.
2371 (lrint_test): Likewise.
2372 (lrint_test_tonearest): Likewise.
2373 (lrint_test_towardzero): Likewise.
2374 (lrint_test_downward): Likewise.
2375 (lrint_test_upward): Likewise.
2376 (llrint_test): Likewise.
2377 (llrint_test_tonearest): Likewise.
2378 (llrint_test_towardzero): Likewise.
2379 (llrint_test_downward): Likewise.
2380 (llrint_test_upward): Likewise.
2381 (log_test): Likewise.
2382 (log10_test): Likewise.
2383 (log1p_test): Likewise.
2384 (log2_test): Likewise.
2385 (logb_test): Likewise.
2386 (logb_test_downward): Likewise.
2387 (lround_test): Likewise.
2388 (llround_test): Likewise.
2389 (modf_test): Likewise.
2390 (nearbyint_test): Likewise.
2391 (nextafter_test): Likewise.
2392 (nexttoward_test): Likewise.
2393 (pow_test): Likewise.
2394 (pow_test_tonearest): Likewise.
2395 (pow_test_towardzero): Likewise.
2396 (pow_test_downward): Likewise.
2397 (pow_test_upward): Likewise.
2398 (remainder_test): Likewise.
2399 (remainder_test_tonearest): Likewise.
2400 (remainder_test_towardzero): Likewise.
2401 (remainder_test_downward): Likewise.
2402 (remainder_test_upward): Likewise.
2403 (remquo_test): Likewise.
2404 (rint_test): Likewise.
2405 (rint_test_tonearest): Likewise.
2406 (rint_test_towardzero): Likewise.
2407 (rint_test_downward): Likewise.
2408 (rint_test_upward): Likewise.
2409 (round_test): Likewise.
2410 (scalb_test): Likewise.
2411 (scalbn_test): Likewise.
2412 (scalbln_test): Likewise.
2413 (signbit_test): Likewise.
2414 (sin_test): Likewise.
2415 (sin_test_tonearest): Likewise.
2416 (sin_test_towardzero): Likewise.
2417 (sin_test_downward): Likewise.
2418 (sin_test_upward): Likewise.
2419 (sincos_test): Likewise.
2420 (sinh_test): Likewise.
2421 (sinh_test_tonearest): Likewise.
2422 (sinh_test_towardzero): Likewise.
2423 (sinh_test_downward): Likewise.
2424 (sinh_test_upward): Likewise.
2425 (sqrt_test): Likewise.
2426 (tan_test): Likewise.
2427 (tan_test_tonearest): Likewise.
2428 (tan_test_towardzero): Likewise.
2429 (tan_test_downward): Likewise.
2430 (tan_test_upward): Likewise.
2431 (tanh_test): Likewise.
2432 (tgamma_test): Likewise.
2433 (trunc_test): Likewise.
2434 (y0_test): Likewise.
2435 (y1_test): Likewise.
2436 (yn_test): Likewise.
2437 (significand_test): Likewise.
2438
bae143d2
OB
24392013-05-24 Ondřej Bílka <neleai@seznam.cz>
2440
2441 [BZ #15381]
2442 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2443
9323d39b
EM
24442013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2445
d4ea44a0 2446 [BZ #14894]
9323d39b
EM
2447 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2448 __ppc_mdoio and __ppc_mdoom.
2449 * manual/platform.texi: Document new functions __ppc_yield,
2450 __ppc_mdoio and __ppc_mdoom.
2451
13e23af7
CD
24522013-05-22 Carlos O'Donell <carlos@redhat.com>
2453
2454 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2455 (main): Mention "tls" pseudo-hwcap is legacy.
2456 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2457
351fe550
JM
24582013-05-22 Joseph Myers <joseph@codesourcery.com>
2459
2460 * math/gen-libm-test.pl (parse_args): Output only string of
2461 arguments as text for test name, not full call or descriptions of
2462 tests for extra outputs.
2463 (generate_testfile): Do not pass function name to parse_args.
2464 Generate this_func variable from START.
2465 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2466 field to arg_str.
2467 (struct test_ff_f_data): Likewise.
2468 (test_ff_f_data_nexttoward): Likewise.
2469 (struct test_fi_f_data): Likewise.
2470 (struct test_fl_f_data): Likewise.
2471 (struct test_if_f_data): Likewise.
2472 (struct test_fff_f_data): Likewise.
2473 (struct test_c_f_data): Likewise.
2474 (struct test_f_f1_data): Likewise. Remove field extra_name.
2475 (struct test_fF_f1_data): Likewise.
2476 (struct test_ffI_f1_data): Likewise.
2477 (struct test_c_c_data): Rename test_name field to arg_str.
2478 (struct test_cc_c_data): Likewise.
2479 (struct test_f_i_data): Likewise.
2480 (struct test_ff_i_data): Likewise.
2481 (struct test_f_l_data): Likewise.
2482 (struct test_f_L_data): Likewise.
2483 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2484 and extra2_name.
2485 (COMMON_TEST_SETUP): New macro.
2486 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2487 (COMMON_TEST_CLEANUP): Likewise.
2488 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2489 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2490 macros.
2491 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2492 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2493 macros.
2494 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2495 (RUN_TEST_fff_f): Take argument string. Call new setup and
2496 cleanup macros.
2497 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2498 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2499 macros.
2500 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2501 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2502 macros.
2503 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2504 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2505 cleanup macros.
2506 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2507 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2508 cleanup macros.
2509 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2510 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2511 cleanup macros.
2512 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2513 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2514 macros.
2515 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2516 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2517 macros.
2518 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2519 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2520 macros.
2521 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2522 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2523 cleanup macros.
2524 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2525 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2526 cleanup macros.
2527 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2528 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2529 macros.
2530 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2531 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2532 cleanup macros.
2533 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2534 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2535 macros.
2536 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2537 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2538 macros.
2539 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2540 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2541 cleanup macros.
2542 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2543
85118d4d
EBM
25442013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2545
2546 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2547 to _sifields.sigfault.
2548 (si_addr_lsb): Define new macro.
2549 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2551 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2552
7a44c18f
CD
25532013-05-03 Carlos O'Donell <carlos at redhat.com>
2554
2555 [BZ #15441]
2556 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2557 returns -1.
2558 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2559 null return -1.
2560 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2561 loading the domain.
2562
b50a7181
JM
25632013-05-22 Joseph Myers <joseph@codesourcery.com>
2564
2565 * math/gen-libm-test.pl (parse_args): Do not include expected
2566 result in test name.
2567 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2570 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2571 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2573
051063c8
SP
25742013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2575
3ce9e010
SP
2576 * benchtests/Makefile: Sort function entries.
2577
051063c8
SP
2578 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2579 tanh, asinh, acosh, atanh.
2580 * benchtests/acos-inputs: New file.
2581 * benchtests/acosh-inputs: New file.
2582 * benchtests/asin-inputs: New file.
2583 * benchtests/asinh-inputs: New file.
2584 * benchtests/atanh-inputs: New file.
2585 * benchtests/cosh-inputs: New file.
2586 * benchtests/log-inputs: New file.
2587 * benchtests/sinh-inputs: New file.
2588 * benchtests/tanh-inputs: New file.
2589
47c22455
DL
25902013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2591
2592 [BZ #15339]
2593 * posix/tst-getaddrinfo4.c: New test.
2594 * posix/Makefile (tests): Add it.
2595
3d04f5db
SP
25962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
2598 [BZ #15339]
2599 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2600 when no services were used.
2601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2602 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2603
d5dd6189
AS
26042013-05-21 Andreas Schwab <schwab@suse.de>
2605
2606 [BZ #15014]
2607 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2608 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2609 successful.
2610 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2611 redundant variable declarations and reallocation of buffer when
2612 parsing as IPv6 address. Always set NSS status when called from
2613 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2614 buffer too small. Correct computation of needed size.
2615 * nss/Makefile (tests): Add test-digits-dots.
2616 * nss/test-digits-dots.c: New test.
2617
fef94eab
SP
26182013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2619
2620 * benchtests/Makefile: Remove instructions for adding
2621 benchmark tests.
2622 * benchtests/README: New file to explain how to execute and
2623 enhance the benchmark tests.
2624
e39adf43
AS
26252013-05-21 Andreas Schwab <schwab@suse.de>
2626
2627 [BZ #15493]
2628 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2629 * setjmp/tst-sigsetjmp.c: New test.
2630
b2b671b6
OB
26312013-05-20 Ondřej Bílka <neleai@seznam.cz>
2632
2633 * sysdeps/x86_64/memset.S (memset): New implementation.
2634 (__bzero): Likewise.
2635 (__memset_tail): New function.
2636
2d48b41c
OB
26372013-05-20 Ondřej Bílka <neleai@seznam.cz>
2638
2639 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2640 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2641 __memcpy_sse2_unaligned ifunc selection.
2642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2643 Add memcpy-sse2-unaligned.S.
2644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2645 Add: __memcpy_sse2_unaligned.
2646
f16cc3eb
JM
26472013-05-19 Joseph Myers <joseph@codesourcery.com>
2648
3e694268
JM
2649 [BZ #15490]
2650 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2651 math_force_eval before restoring floating-point envrionment.
2652 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2654 Likewise.
2655 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2656 <math_private.h>.
2657 (__nearbyintl): Use math_force_eval before restoring
2658 floating-point environment.
2659 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2660
db62a907
JM
2661 * math/gen-libm-test.pl (special_functions): Remove.
2662 (parse_args): Don't handle TEST_extra. Handle functions with no
2663 return value.
2664 * math/libm-test.inc (struct test_sincos_data): Replace with
2665 struct test_fFF_11_data.
2666 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2667 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2668 (sincos_test_data): Change element type to struct
2669 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2670 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2671 RUN_TEST_LOOP_sincos.
2672 * math/README.libm-test: Don't mention special handling of
2673 individual functions.
2674 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2675 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2676 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2677 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2678 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2680
f16cc3eb
JM
2681 * math/gen-libm-test.pl (get_variable): Remove function.
2682 (parse_args): Don't show pointer parameters to call in test
2683 names. Use "extra output N" in test names for extra outputs
2684 rather than naming variables.
2685
3779b5b6
JM
26862013-05-18 Joseph Myers <joseph@codesourcery.com>
2687
2ee094ff
JM
2688 [BZ #15488]
2689 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2690 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2691 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2692 double tests.
2693 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2694 disable.
2695 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2696 check_long_double.
2697
3779b5b6
JM
2698 * math/gen-libm-test.pl (@tests): Remove variable.
2699 ($count): Likewise.
2700 (new_test): Remove function.
2701 (show_exceptions): New function.
2702 (special_functions): Use show_exceptions instead of new_test.
2703 (parse_args): Likewise.
2704 (generate_testfile): Pass only function name in generated call to
2705 print_max_error or print_complex_max_error.
2706 (get_ulps): Do not handle complex tests specially.
2707 (output_test): Rename to ...
2708 (get_all_ulps_for_test): ... this. Return a string rather than
2709 printing to a file. Require ulps to be present.
2710 (output_ulps): Generate arrays rather than #defines.
2711 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2712 (struct ulp_data): New type.
2713 (BUILD_COMPLEX_ULP): Remove macro.
2714 (compare_ulp_data): New function.
2715 (find_ulps): Likewise.
2716 (find_test_ulps): Likewise.
2717 (find_function_ulps): Likewise.
2718 (find_complex_function_ulps): Likewise.
2719 (print_max_error): Determine allowed ulps using
2720 find_function_ulps.
2721 (print_complex_max_error): Determine allowed ulps using
2722 find_complex_function_ulps.
2723 (check_float_internal): Determine max ulps using find_test_ulps.
2724 (check_float): Do not take max_ulp parameter. Update call to
2725 check_float_internal.
2726 (check_complex): Likewise.
2727 (check_int): Do not take max_ulp parameter.
2728 (check_long): Likewise.
2729 (check_bool): Likewise.
2730 (check_longlong): Likewise.
2731 (struct test_f_f_data): Remove max_ulp field.
2732 (struct test_ff_f_data): Likewise.
2733 (struct test_ff_f_data_nexttoward): Likewise.
2734 (struct test_fi_f_data): Likewise.
2735 (struct test_fl_f_data): Likewise.
2736 (struct test_if_f_data): Likewise.
2737 (struct test_fff_f_data): Likewise.
2738 (struct test_c_f_data): Likewise.
2739 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2740 (struct test_fF_f1_data): Likewise.
2741 (struct test_ffI_f1_data): Likewise.
2742 (struct test_c_c_data): Remove max_ulp field.
2743 (struct test_cc_c_data): Likewise.
2744 (struct test_f_i_data): Likewise.
2745 (struct test_ff_i_data): Likewise.
2746 (struct test_f_l_data): Likewise.
2747 (struct test_f_L_data): Likewise.
2748 (struct test_sincos_data): Likewise.
2749 (RUN_TEST_f_f): Do not handle ulps.
2750 (RUN_TEST_LOOP_f_f): Likewise.
2751 (RUN_TEST_2_f): Likewise.
2752 (RUN_TEST_LOOP_2_f): Likewise.
2753 (RUN_TEST_fff_f): Likewise.
2754 (RUN_TEST_LOOP_fff_f): Likewise.
2755 (RUN_TEST_c_f): Likewise.
2756 (RUN_TEST_LOOP_c_f): Likewise.
2757 (RUN_TEST_f_f1): Likewise.
2758 (RUN_TEST_LOOP_f_f1): Likewise.
2759 (RUN_TEST_fF_f1): Likewise.
2760 (RUN_TEST_LOOP_fF_f1): Likewise.
2761 (RUN_TEST_fI_f1): Likewise.
2762 (RUN_TEST_LOOP_fI_f1): Likewise.
2763 (RUN_TEST_ffI_f1): Likewise.
2764 (RUN_TEST_LOOP_ffI_f1): Likewise.
2765 (RUN_TEST_c_c): Likewise.
2766 (RUN_TEST_LOOP_c_c): Likewise.
2767 (RUN_TEST_cc_c): Likewise.
2768 (RUN_TEST_LOOP_cc_c): Likewise.
2769 (RUN_TEST_f_i): Likewise.
2770 (RUN_TEST_LOOP_f_i): Likewise.
2771 (RUN_TEST_f_i_tg): Likewise.
2772 (RUN_TEST_LOOP_f_i_tg): Likewise.
2773 (RUN_TEST_ff_i_tg): Likewise.
2774 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2775 (RUN_TEST_f_b): Likewise.
2776 (RUN_TEST_LOOP_f_b): Likewise.
2777 (RUN_TEST_f_b_tg): Likewise.
2778 (RUN_TEST_LOOP_f_b_tg): Likewise.
2779 (RUN_TEST_f_l): Likewise.
2780 (RUN_TEST_LOOP_f_l): Likewise.
2781 (RUN_TEST_f_L): Likewise.
2782 (RUN_TEST_LOOP_f_L): Likewise.
2783 (RUN_TEST_sincos): Likewise.
2784 (RUN_TEST_LOOP_sincos): Likewise.
2785
8269107f
JM
27862013-05-17 Joseph Myers <joseph@codesourcery.com>
2787
bb38759d
JM
2788 [BZ #15480]
2789 [BZ #15485]
2790 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2791 main case of finite arguments, set rounding mode to FE_TONEAREST
2792 and discard exceptions.
2793 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2794 exceptions.
2795 (remainder_tonearest_test_data): New variable.
2796 (remainder_test_tonearest): New function.
2797 (remainder_towardzero_test_data): New variable.
2798 (remainder_test_towardzero): New function.
2799 (remainder_downward_test_data): New variable.
2800 (remainder_test_downward): New function.
2801 (remainder_upward_test_data): New variable.
2802 (remainder_test_upward): New function.
2803 (main): Call the new test functions.
2804
a00bdcf0
JM
2805 * math/libm-test.inc (struct test_f_f1_data): Remove field
2806 extra_init.
2807 (struct test_fF_f1_data): Likewise.
2808 (struct test_ffI_f1_data): Likewise.
2809 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2810 based on value of EXTRA_EXPECTED.
2811 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2812 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2813 EXTRA_VAR based on value of EXTRA_EXPECTED.
2814 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2815 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2816 EXTRA_VAR based on value of EXTRA_EXPECTED.
2817 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2818 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2819 EXTRA_VAR based on value of EXTRA_EXPECTED.
2820 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2821 * math/gen-libm-test.pl (parse_args): Don't output initializers
2822 for extra output values.
2823
de407f79
JM
2824 * math/libm-test.inc (check_int): Expect result to be exactly
2825 equal to expected value and do not handle ulps.
2826 (check_long): Likewise.
2827 (check_longlong): Likewise.
2828
8269107f
JM
2829 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2830 exceptions.
2831 (cimag_test_data): Likewise.
2832 (conj_test_data): Likewise.
2833 (copysign_test_data): Likewise.
2834 (cproj_test_data): Likewise.
2835 (creal_test_data): Likewise.
2836 (fabs_test_data): Likewise.
2837 (fdim_test_data): Likewise.
2838 (finite_test_data): Likewise.
2839 (floor_test_data): Likewise.
2840 (fmax_test_data): Likewise.
2841 (fmin_test_data): Likewise.
2842 (fmod_test_data): Likewise.
2843 (fpclassify_test_data): Likewise.
2844 (frexp_test_data): Likewise.
2845 (ilogb_test_data): Likewise.
2846 (isfinite_test_data): Likewise.
2847 (isgreater_test_data): Likewise.
2848 (isgreaterequal_test_data): Likewise.
2849 (isinf_test_data): Likewise.
2850 (isless_test_data): Likewise.
2851 (islessequal_test_data): Likewise.
2852 (islessgreater_test_data): Likewise.
2853 (isnan_test_data): Likewise.
2854 (isnormal_test_data): Likewise.
2855 (issignaling_test_data): Likewise.
2856 (isunordered_test_data): Likewise.
2857 (ldexp_test_data): Likewise.
2858 (lrint_test_data): Likewise.
2859 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2860 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2861 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2862 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2863 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2864 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2865 test input.
2866 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2867 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2868 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2869 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2870 that test input.
2871 (lrint_downward_test_data): Test for "inexact" exceptions.
2872 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2873 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2874 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2875 test input.
2876 (lrint_upward_test_data): Test for "inexact" exceptions.
2877 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2878 test input.
2879 (llrint_test_data): Test for "inexact" exceptions.
2880 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2881 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2882 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2883 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2884 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2885 (llrint_downward_test_data): Test for "inexact" exceptions.
2886 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2887 (llrint_upward_test_data): Test for "inexact" exceptions.
2888 (logb_test_data): Likewise.
2889 (logb_downward_test_data): Likewise.
2890 (nextafter_test_data): Likewise.
2891 (nexttoward_test_data): Likewise.
2892 (remainder_test_data): Likewise.
2893 (remquo_test_data): Likewise.
2894 (scalbn_test_data): Likewise.
2895 (scalbln_test_data): Likewise.
2896 (signbit_test_data): Likewise.
2897 (sqrt_test_data): Likewise.
2898 (significand_test_data): Likewise.
2899
48a18de1
SP
29002013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2901
2902 [BZ #15424]
2903 * benchtests/bench-modf.c (struct args): Mark arg0 as
2904 volatile.
2905 * scripts/bench.pl: Mark members of struct args as volatile.
2906
13d3b41a
AZ
29072013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2908
68191c1d 2909 [BZ # 15497]
13d3b41a
AZ
2910 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2911 negative infinity on POWER6 or lower.
2912 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2913
2848b105
MR
29142013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2915
2916 [BZ #15442]
2917 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2918 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2919 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2920 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2921 (_FP_SETQNAN): New macro.
2922 (_FP_SETQNAN_SEMIRAW): Likewise.
2923 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2924 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2925 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2926 (FP_EXTEND): Use _FP_FRAC_SNANP.
2927 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2928 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2929 into account.
2930 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2931 New macro.
2932 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2933 Likewise.
2934
323e5cb7
JM
29352013-05-16 Joseph Myers <joseph@codesourcery.com>
2936
c58b274f
JM
2937 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2938 with DIVIDE_BY_ZERO_EXCEPTION.
2939 (gamma_test_data): Likewise.
2940 (lgamma_test_data): Likewise.
2941 (log_test_data): Likewise.
2942 (log10_test_data): Likewise.
2943 (log2_test_data): Likewise.
2944 (tgamma_test_data): Likewise.
2945
0ab34904
JM
2946 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2947 (acos_test_tonearest): Likewise.
2948 (acos_test_towardzero): Likewise.
2949 (acos_test_downward): Likewise.
2950 (acos_test_upward): Likewise.
2951 (acosh_test): Likewise.
2952 (asin_test): Likewise.
2953 (asin_test_tonearest): Likewise.
2954 (asin_test_towardzero): Likewise.
2955 (asin_test_downward): Likewise.
2956 (asin_test_upward): Likewise.
2957 (asinh_test): Likewise.
2958 (atan_test): Likewise.
2959 (atanh_test): Likewise.
2960 (atan2_test): Likewise.
2961 (cabs_test): Likewise.
2962 (cacos_test): Likewise.
2963 (cacosh_test): Likewise.
2964 (casin_test): Likewise.
2965 (casinh_test): Likewise.
2966 (catan_test): Likewise.
2967 (catanh_test): Likewise.
2968 (cbrt_test): Likewise.
2969 (ccos_test): Likewise.
2970 (ccosh_test): Likewise.
2971 (cexp_test): Likewise.
2972 (clog_test): Likewise.
2973 (clog10_test): Likewise.
2974 (cos_test): Likewise.
2975 (cos_test_tonearest): Likewise.
2976 (cos_test_towardzero): Likewise.
2977 (cos_test_downward): Likewise.
2978 (cos_test_upward): Likewise.
2979 (cosh_test): Likewise.
2980 (cosh_test_tonearest): Likewise.
2981 (cosh_test_towardzero): Likewise.
2982 (cosh_test_downward): Likewise.
2983 (cosh_test_upward): Likewise.
2984 (cpow_test): Likewise.
2985 (csin_test): Likewise.
2986 (csinh_test): Likewise.
2987 (csqrt_test): Likewise.
2988 (ctan_test): Likewise.
2989 (ctan_test_tonearest): Likewise.
2990 (ctan_test_towardzero): Likewise.
2991 (ctan_test_downward): Likewise.
2992 (ctan_test_upward): Likewise.
2993 (ctanh_test): Likewise.
2994 (ctanh_test_tonearest): Likewise.
2995 (ctanh_test_towardzero): Likewise.
2996 (ctanh_test_downward): Likewise.
2997 (ctanh_test_upward): Likewise.
2998 (erf_test): Likewise.
2999 (erfc_test): Likewise.
3000 (exp_test): Likewise.
3001 (exp_test_tonearest): Likewise.
3002 (exp_test_towardzero): Likewise.
3003 (exp_test_downward): Likewise.
3004 (exp_test_upward): Likewise.
3005 (exp10_test): Likewise.
3006 (exp2_test): Likewise.
3007 (expm1_test): Likewise.
3008 (fmod_test): Likewise.
3009 (gamma_test): Likewise.
3010 (hypot_test): Likewise.
3011 (j0_test): Likewise.
3012 (j1_test): Likewise.
3013 (jn_test): Likewise.
3014 (lgamma_test): Likewise.
3015 (log_test): Likewise.
3016 (log10_test): Likewise.
3017 (log1p_test): Likewise.
3018 (log2_test): Likewise.
3019 (logb_test_downward): Likewise.
3020 (pow_test): Likewise.
3021 (pow_test_tonearest): Likewise.
3022 (pow_test_towardzero): Likewise.
3023 (pow_test_downward): Likewise.
3024 (pow_test_upward): Likewise.
3025 (remainder_test): Likewise.
3026 (remquo_test): Likewise.
3027 (sin_test): Likewise.
3028 (sin_test_tonearest): Likewise.
3029 (sin_test_towardzero): Likewise.
3030 (sin_test_downward): Likewise.
3031 (sin_test_upward): Likewise.
3032 (sincos_test): Likewise.
3033 (sinh_test): Likewise.
3034 (sinh_test_tonearest): Likewise.
3035 (sinh_test_towardzero): Likewise.
3036 (sinh_test_downward): Likewise.
3037 (sinh_test_upward): Likewise.
3038 (sqrt_test): Likewise.
3039 (tan_test): Likewise.
3040 (tan_test_tonearest): Likewise.
3041 (tan_test_towardzero): Likewise.
3042 (tan_test_downward): Likewise.
3043 (tan_test_upward): Likewise.
3044 (tanh_test): Likewise.
3045 (tgamma_test): Likewise.
3046 (y0_test): Likewise.
3047 (y1_test): Likewise.
3048 (yn_test): Likewise.
3049
323e5cb7
JM
3050 * math/gen-libm-test.pl (adjust_arg): Remove function.
3051 (special_function): Remove argument $in_func. Only handle
3052 generating output for tables of tests, not inside functions.
3053 (parse_args): Likewise.
3054 (generate_testfile): Remove variable $in_func. Update call to
3055 parse_args.
3056 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3057 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3058 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3059 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3060 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3061 (MAX_VALUE_INIT): Rename macro to max_value.
3062 (MIN_VALUE_INIT): Rename macro to min_value.
3063 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3064 (plus_zero): Remove variable.
3065 (minus_zero): Likewise.
3066 (plus_infty): Likewise.
3067 (minus_infty): Likewise.
3068 (qnan_value): Likewise.
3069 (max_value): Likewise.
3070 (min_value): Likewise.
3071 (min_subnorm_value): Likewise.
3072
e054f494
RA
30732013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3074
3075 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3076 uint64_t or uint32_t usage.
3077 * crypt/sha256-block.c: Likewise.
3078 * crypt/sha256-crypt.c: Likewise.
3079 * crypt/sha256.c: Likewise.
3080 * crypt/sha512-block.c: Likewise.
3081 * crypt/sha512-crypt.c: Likewise.
3082 * crypt/sha512.c: Likewise.
3083 * debug/backtrace-tst.c: Likewise.
3084 * debug/pcprofiledump.c: Likewise.
3085 * elf/cache.c: Likewise.
3086 * elf/dl-cache.c: Likewise.
3087 * elf/dl-misc.c: Likewise.
3088 * elf/dl-profile.c: Likewise.
3089 * elf/dl-support.c: Likewise.
3090 * elf/ldconfig.c: Likewise.
3091 * elf/sprof.c: Likewise.
3092 * iconv/dummy-repertoire.c: Likewise.
3093 * iconv/iconv_charmap.c: Likewise.
3094 * iconv/skeleton.c: Likewise.
3095 * iconvdata/8bit-generic.c: Likewise.
3096 * iconvdata/cp737.h: Likewise.
3097 * iconvdata/cp775.h: Likewise.
3098 * iconvdata/ibm1008.h: Likewise.
3099 * iconvdata/ibm1025.h: Likewise.
3100 * iconvdata/ibm1046.h: Likewise.
3101 * iconvdata/ibm1097.h: Likewise.
3102 * iconvdata/ibm1112.h: Likewise.
3103 * iconvdata/ibm1122.h: Likewise.
3104 * iconvdata/ibm1123.h: Likewise.
3105 * iconvdata/ibm1124.h: Likewise.
3106 * iconvdata/ibm1129.h: Likewise.
3107 * iconvdata/ibm1130.h: Likewise.
3108 * iconvdata/ibm1132.h: Likewise.
3109 * iconvdata/ibm1133.h: Likewise.
3110 * iconvdata/ibm1137.h: Likewise.
3111 * iconvdata/ibm1140.h: Likewise.
3112 * iconvdata/ibm1141.h: Likewise.
3113 * iconvdata/ibm1142.h: Likewise.
3114 * iconvdata/ibm1143.h: Likewise.
3115 * iconvdata/ibm1144.h: Likewise.
3116 * iconvdata/ibm1145.h: Likewise.
3117 * iconvdata/ibm1146.h: Likewise.
3118 * iconvdata/ibm1147.h: Likewise.
3119 * iconvdata/ibm1148.h: Likewise.
3120 * iconvdata/ibm1149.h: Likewise.
3121 * iconvdata/ibm1153.h: Likewise.
3122 * iconvdata/ibm1154.h: Likewise.
3123 * iconvdata/ibm1155.h: Likewise.
3124 * iconvdata/ibm1156.h: Likewise.
3125 * iconvdata/ibm1157.h: Likewise.
3126 * iconvdata/ibm1158.h: Likewise.
3127 * iconvdata/ibm1160.h: Likewise.
3128 * iconvdata/ibm1161.h: Likewise.
3129 * iconvdata/ibm1162.h: Likewise.
3130 * iconvdata/ibm1163.h: Likewise.
3131 * iconvdata/ibm1164.h: Likewise.
3132 * iconvdata/ibm1166.h: Likewise.
3133 * iconvdata/ibm1167.h: Likewise.
3134 * iconvdata/ibm12712.h: Likewise.
3135 * iconvdata/ibm1390.h: Likewise.
3136 * iconvdata/ibm1399.h: Likewise.
3137 * iconvdata/ibm16804.h: Likewise.
3138 * iconvdata/ibm4517.h: Likewise.
3139 * iconvdata/ibm4899.h: Likewise.
3140 * iconvdata/ibm4909.h: Likewise.
3141 * iconvdata/ibm4971.h: Likewise.
3142 * iconvdata/ibm5347.h: Likewise.
3143 * iconvdata/ibm803.h: Likewise.
3144 * iconvdata/ibm856.h: Likewise.
3145 * iconvdata/ibm901.h: Likewise.
3146 * iconvdata/ibm902.h: Likewise.
3147 * iconvdata/ibm9030.h: Likewise.
3148 * iconvdata/ibm9066.h: Likewise.
3149 * iconvdata/ibm921.h: Likewise.
3150 * iconvdata/ibm922.h: Likewise.
3151 * iconvdata/ibm9448.h: Likewise.
3152 * iconvdata/isiri-3342.h: Likewise.
3153 * iconvdata/jis0201.h: Likewise.
3154 * include/link.h: Likewise.
3155 * include/netdb.h: Likewise.
3156 * inet/check_native.c: Likewise.
3157 * inet/check_pf.c: Likewise.
3158 * inet/getipv4sourcefilter.c: Likewise.
3159 * inet/getnameinfo.c: Likewise.
3160 * inet/getsourcefilter.c: Likewise.
3161 * inet/htonl.c: Likewise.
3162 * inet/setipv4sourcefilter.c: Likewise.
3163 * inet/setsourcefilter.c: Likewise.
3164 * inet/test-inet6_opt.c: Likewise.
3165 * inet/tst-network.c: Likewise.
3166 * locale/C-collate.c: Likewise.
3167 * locale/C-ctype.c: Likewise.
3168 * locale/C-time.c: Likewise.
3169 * locale/C-translit.h: Likewise.
3170 * locale/loadarchive.c: Likewise.
3171 * locale/programs/3level.h: Likewise.
3172 * locale/programs/charmap.c: Likewise.
3173 * locale/programs/charmap.h: Likewise.
3174 * locale/programs/ld-address.c: Likewise.
3175 * locale/programs/ld-collate.c: Likewise.
3176 * locale/programs/ld-ctype.c: Likewise.
3177 * locale/programs/ld-identification.c: Likewise.
3178 * locale/programs/ld-measurement.c: Likewise.
3179 * locale/programs/ld-messages.c: Likewise.
3180 * locale/programs/ld-monetary.c: Likewise.
3181 * locale/programs/ld-name.c: Likewise.
3182 * locale/programs/ld-numeric.c: Likewise.
3183 * locale/programs/ld-paper.c: Likewise.
3184 * locale/programs/ld-telephone.c: Likewise.
3185 * locale/programs/ld-time.c: Likewise.
3186 * locale/programs/linereader.c: Likewise.
3187 * locale/programs/locale.c: Likewise.
3188 * locale/programs/locarchive.c: Likewise.
3189 * locale/programs/locfile.h: Likewise.
3190 * locale/programs/repertoire.c: Likewise.
3191 * locale/programs/simple-hash.c: Likewise.
3192 * locale/programs/simple-hash.h: Likewise.
3193 * malloc/memusage.c: Likewise.
3194 * malloc/memusagestat.c: Likewise.
3195 * nis/nis_defaults.c: Likewise.
3196 * nis/nis_hash.c: Likewise.
3197 * nis/nis_print.c: Likewise.
3198 * nis/nis_xdr.c: Likewise.
3199 * nscd/connections.c: Likewise.
3200 * nscd/hstcache.c: Likewise.
3201 * nscd/nscd_gethst_r.c: Likewise.
3202 * nscd/nscd_getserv_r.c: Likewise.
3203 * nscd/nscd_helper.c: Likewise.
3204 * nscd/servicescache.c: Likewise.
3205 * nss/makedb.c: Likewise.
3206 * nss/nss_db/db-XXX.c: Likewise.
3207 * nss/nss_db/db-initgroups.c: Likewise.
3208 * nss/nss_db/db-netgrp.c: Likewise.
3209 * nss/nss_files/files-network.c: Likewise.
3210 * nss/nss_files/files-parse.c: Likewise.
3211 * posix/bug-regex5.c: Likewise.
3212 * posix/fnmatch_loop.c: Likewise.
3213 * posix/regcomp.c: Likewise.
3214 * posix/regexec.c: Likewise.
3215 * posix/tst-rfc3484-2.c: Likewise.
3216 * posix/tst-rfc3484-3.c: Likewise.
3217 * posix/tst-rfc3484.c: Likewise.
3218 * resolv/nss_dns/dns-canon.c: Likewise.
3219 * resolv/nss_dns/dns-network.c: Likewise.
3220 * resolv/res_init.c: Likewise.
3221 * resolv/res_mkquery.c: Likewise.
3222 * resolv/tst-aton.c: Likewise.
3223 * stdlib/cxa_atexit.c: Likewise.
3224 * stdlib/cxa_finalize.c: Likewise.
3225 * stdlib/gen-fpioconst.c: Likewise.
3226 * stdlib/strtol_l.c: Likewise.
3227 * string/tst-endian.c: Likewise.
3228 * sunrpc/auth_des.c: Likewise.
3229 * sunrpc/clnt_udp.c: Likewise.
3230 * sunrpc/rtime.c: Likewise.
3231 * sunrpc/svcauth_des.c: Likewise.
3232 * sunrpc/xdr.c: Likewise.
3233 * sunrpc/xdr_intXX_t.c: Likewise.
3234 * sunrpc/xdr_rec.c: Likewise.
3235 * sysdeps/generic/ldconfig.h: Likewise.
3236 * sysdeps/generic/ldsodefs.h: Likewise.
3237 * sysdeps/generic/memusage.h: Likewise.
3238 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3241 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3248 * sysdeps/posix/getaddrinfo.c: Likewise.
3249 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3250 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3251 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3252 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3253 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3254 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3255 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3256 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3257 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3258 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3259 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3260 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3261 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3262 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3264 * sysdeps/x86_64/dl-tls.h: Likewise.
3265 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3266 * time/alt_digit.c: Likewise.
3267 * time/era.c: Likewise.
3268 * wcsmbs/tst-c16c32-1.c: Likewise.
3269
8c75f674
JM
32702013-05-16 Joseph Myers <joseph@codesourcery.com>
3271
3272 * math/libm-test.inc (struct test_sincos_data): New type.
3273 (RUN_TEST_LOOP_sincos): New macro.
3274 (sincos_test_data): New variable.
3275 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3276
e6e49e59
RH
32772013-05-16 Richard Henderson <rth@redhat.com>
3278
3279 * math/atest-exp2.c (LIMB64): New macro.
3280 (CONSTSZ): New macro.
3281 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3282 (hexdig): Move ...
3283 (print_mpn_fp): ... to function scope.
3284 (read_mpn_hex): Remove.
3285 (get_log2): Remove.
3286 (exp2_mpn): Use mp_log2.
3287 (main): Use mp_exp1.
3288
15c7c18d
JM
32892013-05-16 Joseph Myers <joseph@codesourcery.com>
3290
105a07df
JM
3291 * math/libm-test.inc: Remove comment about not testing "inexact"
3292 exceptions.
3293 (INEXACT_EXCEPTION): New macro.
3294 (NO_INEXACT_EXCEPTION): Likewise.
3295 (INVALID_EXCEPTION_OK): Update value.
3296 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3297 (OVERFLOW_EXCEPTION_OK): Likewise.
3298 (UNDERFLOW_EXCEPTION_OK): Likewise.
3299 (IGNORE_ZERO_INF_SIGN): Likewise.
3300 (ERRNO_UNCHANGED): Likewise.
3301 (ERRNO_EDOM): Likewise.
3302 (ERRNO_ERANGE): Likewise.
3303 (test_exceptions): Handle testing "inexact" exceptions.
3304 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3305 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3306 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3307 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3308 INEXACT_EXCEPTION.
3309 (rint_towardzero_test_data): Likewise.
3310 (rint_downward_test_data): Likewise.
3311 (rint_upward_test_data): Likewise.
3312
e9eee333
JM
3313 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3314 with OVERFLOW_EXCEPTION.
3315 (exp10_test_data): Likewise.
3316 (exp2_test_data): Likewise.
3317 (expm1_test_data): Likewise.
3318 (lgamma_test_data): Likewise.
3319 (pow_test_data): Likewise.
3320 (tgamma_test_data): Likewise.
3321 (yn_test_data): Remove duplicate test of overflow.
3322
1c38ff73
JM
3323 * math/libm-test.inc (struct test_cc_c_data): New type.
3324 (RUN_TEST_LOOP_cc_c): New macro.
3325 (cpow_test_data): New variable.
3326 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3327
15c7c18d
JM
3328 * math/libm-test.inc (struct test_f_L_data): New type.
3329 (RUN_TEST_LOOP_f_L): New macro.
3330 (llrint_test_data): New variable.
3331 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3332 (llrint_tonearest_test_data): New variable.
3333 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3334 (llrint_towardzero_test_data): New variable.
3335 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3336 (llrint_downward_test_data): New variable.
3337 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3338 (llrint_upward_test_data): New variable.
3339 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3340 (llround_test_data): New variable.
3341 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3342
f137ff13
PC
33432013-05-13 Peter Collingbourne <pcc@google.com>
3344
3345 * math/atest-exp2.c (get_log2): Remove const attribute.
3346
3608cb24
JM
33472013-05-15 Joseph Myers <joseph@codesourcery.com>
3348
3349 * math/libm-test.inc (struct test_f_l_data): New type.
3350 (RUN_TEST_LOOP_f_l): New macro.
3351 (lrint_test_data): New variable.
3352 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3353 (lrint_tonearest_test_data): New variable.
3354 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3355 (lrint_towardzero_test_data): New variable.
3356 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3357 (lrint_downward_test_data): New variable.
3358 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3359 (lrint_upward_test_data): New variable.
3360 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3361 (lround_test_data): New variable.
3362 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3363
39b1f617
PC
33642013-05-15 Peter Collingbourne <pcc@google.com>
3365
1deff3dc
PC
3366 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3367 (EXTRACT_WORDS64) Use where appropriate.
3368 (INSERT_WORDS64) Likewise.
3369
791f3ba0
PC
3370 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3371 constraints with x constraints.
3372 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3373
39b1f617
PC
3374 * malloc/obstack.c (_obstack_compat): Add initializer.
3375
12fba011
EM
33762013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3377
3378 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3379 si_trapno and add si_addr_lsb to _sifields.sigfault.
3380 (si_trapno): Remove macro.
3381 (si_addr_lsb): Define new macro.
3382 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3383
d369f531
JM
33842013-05-15 Joseph Myers <joseph@codesourcery.com>
3385
b861c6c4
JM
3386 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3387 instead of TEST_f_l.
3388 (llrint_test_tonearest): Likewise.
3389 (llrint_test_towardzero): Likewise.
3390 (llrint_test_downward): Likewise.
3391 (llrint_test_upward): Likewise.
3392 (llround_test): Likewise.
3393
7abeee12
JM
3394 * math/libm-test.inc (struct test_f_i_data): Add comment.
3395 (RUN_TEST_LOOP_f_b): New macro.
3396 (RUN_TEST_LOOP_f_b_tg): Likewise.
3397 (finite_test_data): New variable.
3398 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3399 (isfinite_test_data): New variable.
3400 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3401 (isinf_test_data): New variable.
3402 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3403 (isnan_test_data): New variable.
3404 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3405 (isnormal_test_data): New variable.
3406 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3407 (issignaling_test_data): New variable.
3408 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3409 (signbit_test_data): New variable.
3410 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3411
cbe8c4d3
JM
3412 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3413 with INVALID_EXCEPTION.
3414 (acosh_test_data): Likewise.
3415 (asin_test_data): Likewise.
3416 (atanh_test_data): Likewise.
3417 (fmod_test_data): Likewise.
3418 (log_test_data): Likewise.
3419 (log10_test_data): Likewise.
3420 (log2_test_data): Likewise.
3421 (pow_test_data): Likewise.
3422 (sqrt_test_data): Likewise.
3423 (y0_test_data): Likewise.
3424 (y1_test_data): Likewise.
3425 (yn_test_data): Likewise.
3426
5575c0e5
JM
3427 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3428 function contents.
3429
d369f531
JM
3430 * math/libm-test.inc (struct test_ff_i_data): New type.
3431 (RUN_TEST_LOOP_ff_i_tg): New macro.
3432 (isgreater_test_data): New variable.
3433 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3434 (isgreaterequal_test_data): New variable.
3435 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3436 (isless_test_data): New variable.
3437 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3438 (islessequal_test_data): New variable.
3439 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3440 (islessgreater_test_data): New variable.
3441 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3442 (isunordered_test_data): New variable.
3443 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3444
781fd748
DM
34452013-05-14 David S. Miller <davem@davemloft.net>
3446
3447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3448
87aa21df
JM
34492013-05-14 Joseph Myers <joseph@codesourcery.com>
3450
5e908270
JM
3451 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3452
f71172e5
JM
3453 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3454 extra_test to int.
3455 (struct test_f_i_data): Change type of max_ulp to int.
3456
8cfa635a
JM
3457 * math/libm-test.inc (test_ffI_f1_data): New type.
3458 (RUN_TEST_LOOP_ffI_f1): New macro.
3459 (remquo_test_data): New variable.
3460 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3461
2bcb36b2
JM
3462 * setjmp/tst-setjmp-fp.c: New file.
3463 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3464 (link-libm): New variable.
3465 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3466
acbd839a
JM
3467 * math/libm-test.inc (struct test_f_i_data): New type.
3468 (RUN_TEST_LOOP_f_i): New macro.
3469 (RUN_TEST_LOOP_f_i_tg): Likewise.
3470 (fpclassify_test_data): New variable.
3471 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3472 (ilogb_test_data): New variable.
3473 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3474
e414d745
JM
3475 * math/libm-test.inc (scalbln_test): Correct function name in END
3476 call.
3477
d9c2a0fd
JM
3478 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3479 (RUN_TEST_LOOP_fI_f1): New macro.
3480 (frexp_test_data): New variable.
3481 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3482
9dc9095d
JM
3483 * math/libm-test.inc (struct test_fF_f1_data): New type.
3484 (RUN_TEST_LOOP_fF_f1): New macro.
3485 (modf_test_data): New variable.
3486 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3487
87aa21df
JM
3488 * math/libm-test.inc (struct test_f_f1_data): New type.
3489 (RUN_TEST_LOOP_f_f1): New macro.
3490 (gamma_test_data): New variable.
3491 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3492 (lgamma_test_data): New variable.
3493 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3494
141af660
CD
34952013-05-13 Carlos O'Donell <carlos@redhat.com>
3496
3497 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3498 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3499 (main): Comment "tls" pseudo-hwcap.
3500
6d33265c
JM
35012013-05-13 Joseph Myers <joseph@codesourcery.com>
3502
68fc074c
JM
3503 * math/libm-test.inc (struct test_fl_f_data): New type.
3504 (RUN_TEST_LOOP_fl_f): New variable.
3505 (scalbln_test_data): New variable.
3506 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3507
243216e1
JM
3508 * math/libm-test.inc (struct test_fi_f_data): New type.
3509 (RUN_TEST_LOOP_fi_f): New macro.
3510 (ldexp_test_data): New variable.
3511 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3512 (scalbn_test_data): New variable.
3513 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3514
6a1992e2
JM
3515 * math/libm-test.inc (struct test_c_f_data): New type.
3516 (RUN_TEST_LOOP_c_f): New macro.
3517 (cabs_test_data): New variable.
3518 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3519 (carg_test_data): New variable.
3520 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3521 (cimag_test_data): New variable.
3522 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3523 (creal_test_data): New variable.
3524 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3525
0e400df5
JM
3526 * math/libm-test.inc (struct test_if_f_data): New type.
3527 (RUN_TEST_LOOP_if_f): New macro.
3528 (jn_test_data): New variable.
3529 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3530 (yn_test_data): New variable.
3531 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3532
6d33265c
JM
3533 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3534
f98ece5f
AZ
35352013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536
3537 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3538 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3539
0f7d347b
SP
35402013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3541
43fe811b
SP
3542 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3543 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3544 (bench-deps): Add bench-timing.h.
3545 * benchtests-bench-skeleton.c: Include bench-timing.h.
3546 (main): Use TIMING_* macros instead of clock_gettime.
3547 * benchtests/bench-timing.h: New file.
3548
0f7d347b
SP
3549 [BZ #14582]
3550 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3551 Renamed from _LIB_VERSION.
3552 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3553
601a3a5f
JM
35542013-05-12 Joseph Myers <joseph@codesourcery.com>
3555
4f184d30
JM
3556 * math/libm-test.inc (struct test_fff_f_data): New type.
3557 (RUN_TEST_LOOP_fff_f): New macro.
3558 (fma_test_data): New variable.
3559 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3560 (fma_towardzero_test_data): New variable.
3561 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3562 (fma_downward_test_data): New variable.
3563 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3564 (fma_upward_test_data): New variable.
3565 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3566
08198877
JM
3567 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3568 (struct test_c_c_data): New type.
3569 (RUN_TEST_LOOP_c_c): New macro.
3570 (cacos_test_data): New variable.
3571 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3572 (cacosh_test_data): New variable.
3573 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3574 (casin_test_data): New variable.
3575 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3576 (casinh_test_data): New variable.
3577 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3578 (catan_test_data): New variable.
3579 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3580 (catanh_test_data): New variable.
3581 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3582 (ccos_test_data): New variable.
3583 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3584 (ccosh_test_data): New variable.
3585 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3586 (cexp_test_data): New variable.
3587 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3588 (clog_test_data): New variable.
3589 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3590 (clog10_test_data): New variable.
3591 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3592 (conj_test_data): New variable.
3593 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3594 (cproj_test_data): New variable.
3595 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3596 (csin_test_data): New variable.
3597 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3598 (csinh_test_data): New variable.
3599 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3600 (csqrt_test_data): New variable.
3601 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3602 (ctan_test_data): New variable.
3603 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3604 (ctan_tonearest_test_data): New variable.
3605 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3606 (ctan_towardzero_test_data): New variable.
3607 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3608 (ctan_downward_test_data): New variable.
3609 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3610 (ctan_upward_test_data): New variable.
3611 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3612 (ctanh_test_data): New variable.
3613 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3614 (ctanh_tonearest_test_data): New variable.
3615 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3616 (ctanh_towardzero_test_data): New variable.
3617 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3618 (ctanh_downward_test_data): New variable.
3619 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3620 (ctanh_upward_test_data): New variable.
3621 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3622 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3623 of BUILD_COMPLEX.
3624
601a3a5f
JM
3625 * math/libm-test.inc (struct test_ff_f_data): New type.
3626 (struct test_ff_f_data_nexttoward): Likewise.
3627 (RUN_TEST_LOOP_2_f): New macro.
3628 (RUN_TEST_LOOP_ff_f): Likewise.
3629 (atan2_test_data): New variable.
3630 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3631 (copysign_test_data): New variable.
3632 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3633 (fdim_test_data): New variable.
3634 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3635 (fmax_test_data): New variable.
3636 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3637 (fmin_test_data): New variable.
3638 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3639 (fmod_test_data): New variable.
3640 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3641 (hypot_test_data): New variable.
3642 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3643 (nextafter_test_data): New variable.
3644 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3645 (nexttoward_test_data): New variable.
3646 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3647 (pow_test_data): New variable.
3648 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3649 (pow_tonearest_test_data): New variable.
3650 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3651 (pow_towardzero_test_data): New variable.
3652 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3653 (pow_downward_test_data): New variable.
3654 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3655 (pow_upward_test_data): New variable.
3656 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3657 (remainder_test_data): New variable.
3658 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3659 (scalb_test_data): New variable.
3660 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3661 * sysdeps/i386/fpu/libm-test-ulps: Update.
3662
74c57478
JM
36632013-05-11 Joseph Myers <joseph@codesourcery.com>
3664
8329e4da
JM
3665 * math/libm-test.inc (fma_test): Use max_value instead of local
3666 variable fltmax.
3667 (nextafter_test): Likewise.
3668
74c57478
JM
3669 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3670 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3671 (acos_downward_test_data): New variable.
3672 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3673 (acos_upward_test_data): New variable.
3674 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3675 (acosh_test_data): New variable.
3676 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3677 (asin_test_data): New variable.
3678 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3679 (asin_tonearest_test_data): New variable.
3680 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3681 (asin_towardzero_test_data): New variable.
3682 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3683 (asin_downward_test_data): New variable.
3684 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3685 (asin_upward_test_data): New variable.
3686 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3687 (asinh_test_data): New variable.
3688 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3689 (atan_test_data): New variable.
3690 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3691 (atanh_test_data): New variable.
3692 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3693 (cbrt_test_data): New variable.
3694 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3695 (ceil_test_data): New variable.
3696 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3697 (cos_test_data): New variable.
3698 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3699 (cos_tonearest_test_data): New variable.
3700 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3701 (cos_towardzero_test_data): New variable.
3702 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3703 (cos_downward_test_data): New variable.
3704 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3705 (cos_upward_test_data): New variable.
3706 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3707 (cosh_test_data): New variable.
3708 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3709 (cosh_tonearest_test_data): New variable.
3710 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3711 (cosh_towardzero_test_data): New variable.
3712 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3713 (cosh_downward_test_data): New variable.
3714 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3715 (cosh_upward_test_data): New variable.
3716 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3717 (erf_test_data): New variable.
3718 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3719 (erfc_test_data): New variable.
3720 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3721 (exp_test_data): New variable.
3722 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3723 (exp_tonearest_test_data): New variable.
3724 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3725 (exp_towardzero_test_data): New variable.
3726 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3727 (exp_downward_test_data): New variable.
3728 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3729 (exp_upward_test_data): New variable.
3730 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3731 (exp10_test_data): New variable.
3732 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3733 (exp2_test_data): New variable.
3734 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3735 (expm1_test_data): New variable.
3736 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3737 (fabs_test_data): New variable.
3738 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3739 (floor_test_data): New variable.
3740 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3741 (j0_test_data): New variable.
3742 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3743 (j1_test_data): New variable.
3744 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3745 (log_test_data): New variable.
3746 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3747 (log10_test_data): New variable.
3748 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3749 (log1p_test_data): New variable.
3750 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3751 (log2_test_data): New variable.
3752 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3753 (logb_test_data): New variable.
3754 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3755 (logb_downward_test_data): New variable.
3756 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3757 (nearbyint_test_data): New variable.
3758 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3759 (rint_test_data): New variable.
3760 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3761 (rint_tonearest_test_data): New variable.
3762 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3763 (rint_towardzero_test_data): New variable.
3764 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3765 (rint_downward_test_data): New variable.
3766 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3767 (rint_upward_test_data): New variable.
3768 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3769 (round_test_data): New variable.
3770 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3771 (sin_test_data): New variable.
3772 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3773 (sin_tonearest_test_data): New variable.
3774 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3775 (sin_towardzero_test_data): New variable.
3776 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3777 (sin_downward_test_data): New variable.
3778 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3779 (sin_upward_test_data): New variable.
3780 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3781 (sinh_test_data): New variable.
3782 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3783 (sinh_tonearest_test_data): New variable.
3784 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3785 (sinh_towardzero_test_data): New variable.
3786 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3787 (sinh_downward_test_data): New variable.
3788 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3789 (sinh_upward_test_data): New variable.
3790 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3791 (sqrt_test_data): New variable.
3792 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3793 (tan_test_data): New variable.
3794 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3795 (tan_tonearest_test_data): New variable.
3796 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3797 (tan_towardzero_test_data): New variable.
3798 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3799 (tan_downward_test_data): New variable.
3800 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3801 (tan_upward_test_data): New variable.
3802 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3803 (tanh_test_data): New variable.
3804 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3805 (tgamma_test_data): New variable.
3806 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3807 (trunc_test_data): New variable.
3808 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3809 (y0_test_data): New variable.
3810 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3811 (y1_test_data): New variable.
3812 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3813 (significand_test_data): New variable.
3814 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3815
7187d844
CG
38162013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3817
3818 [BZ #12387]
3819 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3820
f63fae73
PT
38212013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3822
3823 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3824
8a67a4b3
AJ
38252013-05-10 Andreas Jaeger <aj@suse.de>
3826
3827 [BZ #15448]
3828 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3829 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3830
51df539d
JM
38312013-05-10 Joseph Myers <joseph@codesourcery.com>
3832
3833 * math/gen-libm-test.pl (adjust_arg): New function.
3834 (special_functions): Handle generating output in both functions
3835 and arrays.
3836 (parse_args): Likewise.
3837 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3838 $in_func argument to parse_args.
3839 * math/libm-test.inc (struct test_f_f_data): New type.
3840 (IF_ROUND_INIT_): New macro.
3841 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3842 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3843 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3844 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3845 (ROUND_RESTORE_): Likewise.
3846 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3847 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3848 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3849 (ROUND_RESTORE_FE_UPWARD): Likewise.
3850 (RUN_TEST_LOOP_f_f): New macro.
3851 (acos_test_data): New variable.
3852 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3853 (acos_tonearest_test_data): New variable.
3854 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3855
5c637fe5
SP
38562013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3857
3858 * benchtests/bench-skeleton.c (startup): Fix coding style.
3859
ab2b9461
JM
38602013-05-10 Joseph Myers <joseph@codesourcery.com>
3861
3862 [BZ #6809]
3863 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3864 negative infinity argument.
3865 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3866 negative infinity argument.
3867 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3868 negative infinity argument.
3869 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3870 domain errors.
3871
4c0fe6fe
FW
38722013-05-10 Florian Weimer <fweimer@redhat.com>
3873
3874 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3875 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3876 * iconv/iconv_prog.c (main): Likewise.
3877 * locale/programs/charmap-dir.c (charmap_readdir)
3878 (fopen_uncompressed): Likewise.
3879 * locale/programs/locfile.c (siblings_uncached)
3880 (write_locale_data): Use lstat64 instead of lstat.
3881 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3882 stat.
3883
a3375d29
AJ
38842013-05-10 Andreas Jaeger <aj@suse.de>
3885
3886 [BZ #15395]
3887 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3888 localization.
3889 Include <locale.h>.
3890
36129722
CD
38912013-05-09 Carlos O'Donell <carlos@redhat.com>
3892
3893 * elf/dl-close.c (_dl_close_worker): Add comments.
3894
faa7f811
JM
38952013-05-09 Joseph Myers <joseph@codesourcery.com>
3896
ed41ffef
JM
3897 [BZ #15359]
3898 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3899 high part of pi/2.
3900 (__ieee754_rem_pio2l): Update comments.
3901
d0213cd0
JM
3902 [BZ #15429]
3903 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3904 high part of pi/2.
3905 (__ieee754_rem_pio2l): Update comments.
3906
0d3e777a
JM
3907 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3908 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3909
24f56066
JM
3910 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3911 M_PI_4l.
3912
faa7f811
JM
3913 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3914 (M_PI_34_LOG10El): Likewise.
3915 (M_PI2_LOG10El): Likewise.
3916 (M_PI4_LOG10El): Likewise.
3917 (M_PI_LOG10El): Likewise.
3918
e9a5e0fd
AZ
39192013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3920
3921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3922
d8cd06db
JM
39232013-05-08 Joseph Myers <joseph@codesourcery.com>
3924
a0d9f9d7
JM
3925 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3926 (MINUS_ZERO_INIT): Likewise.
3927 (PLUS_INFTY_INIT): Likewise.
3928 (MINUS_INFTY_INIT): Likewise.
3929 (QNAN_VALUE_INIT): Likewise.
3930 (MAX_VALUE_INIT): Likewise.
3931 (MIN_VALUE_INIT): Likewise.
3932 (MIN_SUBNORM_VALUE_INIT): Likewise.
3933 (plus_zero): Initialize with PLUS_ZERO_INIT.
3934 (minus_zero): Initialize with MINUS_ZERO_INIT.
3935 (plus_infty): Initialize with PLUS_INFTY_INIT.
3936 (minus_infty): Initialize with MINUS_INFTY_INIT.
3937 (qnan_value): Initialize with QNAN_VALUE_INIT.
3938 (max_value): Initialize with MAX_VALUE_INIT.
3939 (min_value): Initialize with MIN_VALUE_INIT.
3940 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3941
ae08db3b
JM
3942 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3943 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3944 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3945 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3946
f44bf14a
JM
3947 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3948 (RUN_TEST_2_f): Likewise.
3949 (RUN_TEST_ff_f): Likewise.
3950 (RUN_TEST_fi_f): Likewise.
3951 (RUN_TEST_fl_f): Likewise.
3952 (RUN_TEST_fff_f): Likewise.
3953 (RUN_TEST_c_f): Likewise.
3954 (RUN_TEST_f_f1): Likewise.
3955 (RUN_TEST_fF_f1): Likewise.
3956 (RUN_TEST_fI_f1): Likewise.
3957 (RUN_TEST_ffI_f1): Likewise.
3958 (RUN_TEST_c_c): Likewise.
3959 (RUN_TEST_cc_c): Likewise.
3960 (RUN_TEST_f_i): Likewise.
3961 (RUN_TEST_f_i_tg): Likewise.
3962 (RUN_TEST_ff_i_tg): Likewise.
3963 (RUN_TEST_f_b): Likewise.
3964 (RUN_TEST_f_b_tg): Likewise.
3965 (RUN_TEST_f_l): Likewise.
3966 (RUN_TEST_f_L): Likewise.
3967 (RUN_TEST_sincos): Likewise.
3968 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3969 whether to show exceptions. Do not include ");\n" in return
3970 value.
3971 (special_functions): Output call to RUN_TEST_sincos instead of
3972 check_float calls. Update calls to new_test.
3973 (parse_args): Output call to single RUN_TEST_* macro instead of
3974 check_* calls and other assignments. Update calls to new_test.
3975
d8cd06db
JM
3976 [BZ #2546]
3977 [BZ #2560]
3978 [BZ #5159]
3979 [BZ #15426]
3980 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3981 input to result for tgamma overflow.
3982 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3983 (gamma_coeff): New variable.
3984 (NCOEFF): New macro.
3985 (gamma_positive): New function.
3986 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3987 underflow here. Use gamma_positive instead of exp (lgamma) for
3988 other arguments.
3989 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3990 (gamma_coeff): New variable.
3991 (NCOEFF): New macro.
3992 (gammaf_positive): New function.
3993 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3994 underflow here. Use gamma_positive instead of exp (lgamma) for
3995 other arguments.
3996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3997 (gamma_coeff): New variable.
3998 (NCOEFF): New macro.
3999 (gammal_positive): New function.
4000 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4001 underflow here. Use gamma_positive instead of exp (lgamma) for
4002 other arguments.
4003 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4004 (gamma_coeff): New variable.
4005 (NCOEFF): New macro.
4006 (gammal_positive): New function.
4007 (__ieee754_gammal_r): Handle positive infinity, overflow and
4008 underflow here. Handle NaN the same as positive infinity. Remove
4009 check x < 0xffffffff for negative integers. Use gamma_positive
4010 instead of exp (lgamma) for other arguments.
4011 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4012 (gamma_coeff): New variable.
4013 (NCOEFF): New macro.
4014 (gammal_positive): New function.
4015 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4016 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4020 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4021 * sysdeps/generic/math_private.h (__gamma_productf): New
4022 prototype.
4023 (__gamma_product): Likewise.
4024 (__gamma_productl): Likewise.
4025 * math/Makefile (libm-calls): Add gamma_product.
4026 * math/libm-test.inc (tgamma_test): Add more tests.
4027 * sysdeps/i386/fpu/libm-test-ulps: Update.
4028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4029
bb7cf681
OB
40302013-05-08 Ondřej Bílka <neleai@seznam.cz>
4031
4032 * benchtests/bench-skeleton.c (main): Preheat CPU.
4033
ba853947
AJ
40342013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4035
4036 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4037
8347c74c
RM
40382013-05-07 Roland McGrath <roland@hack.frob.com>
4039
4040 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4041 and _dl_skip_args_internal.
4042
e8dd4791
CD
40432013-05-07 Carlos O'Donell <carlos@redhat.com>
4044
4045 * manual/message.texi (Message Translation): Talk about users.
4046 Message to key mapping impacts design.
4047
c7405830
RM
40482013-05-06 Roland McGrath <roland@hack.frob.com>
4049
a9173057
RM
4050 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4051
976e2f03
RM
4052 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4053
9723ffc5
RM
4054 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4055 * sysdeps/wordsize-64/glob64.c: ... here.
4056
962e6658
RM
4057 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4058 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4059 New macros.
4060
ee586a6d
RM
4061 * debug/getlogin_r_chk.c: Moved to ...
4062 * login/getlogin_r_chk.c: ... here.
4063 * debug/Makefile (routines): Move getlogin_r_chk to ...
4064 * login/Makefile (routines): ... here.
4065 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4066 * login/Versions (libc: GLIBC_2.4): ... here.
4067
355f9165
RM
4068 * io/poll.c (__poll): Renamed from poll.
4069 Add libc_hidden_def.
4070 (poll): Define as weak alias.
4071
bd9ffde6
RM
4072 * debug/ptsname_r_chk.c: Moved to ...
4073 * login/ptsname_r_chk.c: ... here.
4074 * debug/Makefile (routines): Move ptsname_r_chk to ...
4075 * login/Makefile (routines): ... here.
4076 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4077 * login/Versions (libc: GLIBC_2.4): ... here.
4078
8fb16a04
RM
4079 * posix/getlogin.c: Moved to ...
4080 * login/getlogin.c: ... here.
4081 * posix/getlogin_r.c: Moved to ...
4082 * login/getlogin_r.c: ... here.
4083 * posix/getlogin_r.c: Moved to ...
4084 * login/getlogin_r.c: ... here.
4085 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4086 * login/Makefile (routines): ... here.
4087 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4088 * login/Versions (libc: GLIBC_2.0): ... here.
4089
b99b892f
RM
4090 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4091 (setrlimit): Define as weak alias.
4092
c7405830
RM
4093 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4094 Call __ names for open, ftruncate, and close.
4095 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4096 (truncate): Define as weak alias.
4097
5bf96de5
JM
40982013-05-06 Joseph Myers <joseph@codesourcery.com>
4099
9ea3513c
JM
4100 * math/gen-libm-test.pl (parse_args): Initialize x before each
4101 test of frexp, modf and remquo.
4102
5bf96de5
JM
4103 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4104 test signgam value.
4105
16e616a7
AZ
41062013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107
4108 [BZ #15418]
4109 [BZ #15419]
4110 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4111 internal tests.
4112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4113
d5e82754
RM
41142013-05-06 Roland McGrath <roland@hack.frob.com>
4115
4116 * elf/dl-writev.h: New file.
4117 * elf/dl-misc.c: Include it.
4118 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4119 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4120
a7548d41
JM
41212013-05-04 Joseph Myers <joseph@codesourcery.com>
4122
b7dab1e4
JM
4123 * math/libm-test.inc (noXFails): Remove variable.
4124 (noXPasses): Likewise.
4125 (BUILD_COMPLEX_INT): Remove macro.
4126 (print_screen): Remove xfail argument.
4127 (print_screen_max_error): Likewise.
4128 (update_stats): Likewise.
4129 (print_max_error): Likewise. Update calls to other affected
4130 functions.
4131 (print_complex_max_error): Likewise.
4132 (test_single_exception): Update calls to print_screen.
4133 (test_single_errno): Likewise.
4134 (check_float_internal): Remove xfail argument. Update calls to
4135 other affected functions.
4136 (check_float): Likewise.
4137 (check_complex): Likewise.
4138 (check_int): Likewise.
4139 (check_long): Likewise.
4140 (check_bool): Likewise.
4141 (check_longlong): Likewise.
4142 (main): Don't print noXFails and noXPasses.
4143 * math/gen-libm-test.pl (top level): Don't mention expected
4144 failure handling in comment.
4145 (new_test): Don't handle expected failures.
4146 (parse_args): Don't mention expected failure handling in comment.
4147 (generate_testfile): Don't handle expected failures.
4148 (parse_ulps): Likewise.
4149 (print_ulps_file): Likewise.
4150 (get_failure): Remove function.
4151 (output_test): Don't handle expected failures.
4152 * make/README.libm-test: Don't mention expected failure handling.
4153
a7548d41
JM
4154 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4155 (minus_zero): Likewise.
4156 (plus_infty): Likewise.
4157 (minus_infty): Likewise.
4158 (qnan_value): Likewise.
4159 (max_value): Likewise.
4160 (min_value): Likewise.
4161 (min_subnorm_value): Likewise.
4162 (initialize): Do not initialize those variables dynamically.
4163
60bfd54c
RM
41642013-05-03 Roland McGrath <roland@hack.frob.com>
4165
cc0e6ed8
RM
4166 * io/open.c (__open_2): Moved to ...
4167 * io/open_2.c: ... this new file.
4168 * io/open64.c (__open64_2): Moved to ...
4169 * io/open64_2.c: ... this new file.
4170 * io/openat.c (__openat_2): Moved to ...
4171 * io/openat_2.c: ... this new file.
4172 * io/openat64.c (__openat64_2): Moved to ...
4173 * io/openat64_2.c: ... this new file.
4174 * io/Makefile (routines): Add them.
4175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4176 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4177 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4178 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4179 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4180 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4181 (__openat64): Add hidden_ver.
4182 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4183 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4184
60bfd54c
RM
4185 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4186 Separately conditionalize setting of GLRO(dl_sysinfo) so
4187 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4188 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4189
83e7640f
AZ
41902013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191
4192 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4193 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4194 definition.
4195 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4196 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4197 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4198 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4199 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4200
d5dc2af3
JM
42012013-05-03 Joseph Myers <joseph@codesourcery.com>
4202
c31a5b1e
JM
4203 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4204 test signgam value.
4205
d5dc2af3
JM
4206 * math/libm-test.inc (hypot_test): Do not use
4207 IGNORE_ZERO_INF_SIGN.
4208
164fd39d
AJ
42092013-05-03 Andreas Jaeger <aj@suse.de>
4210
4211 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4212 Linux 3.9.
4213 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4214 (PF_MAX): Adjust for VSOCK change.
4215
8237f48c
AZ
42162013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4217
4218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4219
9df02941
CD
42202013-05-02 Carlos O'Donell <carlos@redhat.com>
4221
4222 [BZ #15264]
4223 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4224 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4225 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4226
d422395e
DM
42272013-05-02 David S. Miller <davem@davemloft.net>
4228
4229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4230
a07c5731
OB
42312013-05-01 Ondřej Bílka <neleai@seznam.cz>
4232
4233 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4234
1324e37f
RM
42352013-05-01 Roland McGrath <roland@hack.frob.com>
4236
4237 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4238
0695940b
RS
42392013-05-01 Richard Smith <richard@metafoo.co.uk>
4240
bb5f27ad 4241 [BZ #14952]
0695940b
RS
4242 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4243 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4244 Use __attribute__ ((__gnu_inline__)).
4245 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4246 Don't use __attribute__ ((__gnu_inline__)).
4247
10de07f5
JM
42482013-05-01 Joseph Myers <joseph@codesourcery.com>
4249
4250 [BZ #15423]
4251 * math/s_catan.c (__catan): Handle small real or imaginary part of
4252 input specially to avoid spurious underflow.
4253 * math/s_catanf.c (__catanf): Likewise.
4254 * math/s_catanh.c (__catanh): Likewise.
4255 * math/s_catanhf.c (__catanhf): Likewise.
4256 * math/s_catanhl.c (__catanhl): Likewise.
4257 * math/s_catanl.c (__catanl): Likewise.
4258 * math/libm-test.inc (catan_test): Add more tests.
4259 (catanh_test): Likewise.
4260 * sysdeps/i386/fpu/libm-test-ulps: Update.
4261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4262
cb4d5414
AZ
42632013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4264
4265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4266
caf84319
JM
42672013-04-30 Joseph Myers <joseph@codesourcery.com>
4268
4269 [BZ #15416]
4270 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4271 accurately for denominator in atan2.
4272 * math/s_catanf.c (__catanf): Likewise.
4273 * math/s_catanh.c (__catanh): Likewise.
4274 * math/s_catanhf.c (__catanhf): Likewise.
4275 * math/s_catanhl.c (__catanhl): Likewise.
4276 * math/s_catanl.c (__catanl): Likewise.
4277 * math/libm-test.inc (catan_test): Add more tests.
4278 (catanh_test): Likewise.
4279 * sysdeps/i386/fpu/libm-test-ulps: Update.
4280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4281
d569c6ee
SP
42822013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4283
6dbe713d
SP
4284 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4285
f0ee064b
SP
4286 * benchtests/Makefile (bench): Remove slow benchmarks.
4287 * benchtests/atan-inputs: Add slow benchmark inputs.
4288 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4289 (BENCH_FUNC): Accept variant offset.
4290 (VARIANT): Define.
4291 * benchtests/bench-skeleton.c (main): Run benchmark for each
4292 variant.
4293 * benchtests/cos-inputs: Add slow benchmark inputs.
4294 * benchtests/exp-inputs: Likewise.
4295 * benchtests/pow-inputs: Likewise.
4296 * benchtests/sin-inputs: Likewise.
4297 * benchtests/slowatan-inputs: Remove.
4298 * benchtests/slowatan.c: Remove.
4299 * benchtests/slowcos-inputs: Remove.
4300 * benchtests/slowcos.c: Remove.
4301 * benchtests/slowexp-inputs: Remove.
4302 * benchtests/slowexp.c: Remove.
4303 * benchtests/slowpow-inputs: Remove.
4304 * benchtests/slowpow.c: Remove.
4305 * benchtests/slowsin-inputs: Remove.
4306 * benchtests/slowsin.c: Remove.
4307 * benchtests/slowtan-inputs: Remove.
4308 * benchtests/slowtan.c: Remove.
4309 * benchtests/tan-inputs: Add slow benchmark inputs.
4310 * scripts/bench.pl: Parse comments and directives.
4311
d569c6ee
SP
4312 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4313 in CPPFLAGS.
4314 ($(objpfx)bench-%.c): Remove *-ITER.
4315 * benchtests/bench-modf.c: Remove definition of ITER.
4316 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4317 (main): Loop for DURATION seconds instead of fixed number of
4318 iterations.
4319 * scripts/bench.pl: Don't expect iterations in parameters.
4320
a6a242fe
RM
43212013-04-29 Roland McGrath <roland@hack.frob.com>
4322
4323 * io/fchdir.c (__fchdir): Renamed from fchdir.
4324 (fchdir): Define as weak alias.
4325
f2da7793
JM
43262013-04-29 Joseph Myers <joseph@codesourcery.com>
4327
4328 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4329 (ERRNO_EDOM): Likewise.
4330 (ERRNO_ERANGE): Likewise.
4331 (noErrnoTests): New variable.
4332 (init_max_error): Set errno to 0.
4333 (test_single_errno): New function.
4334 (test_errno): Likewise.
4335 (check_float_internal): Call test_errno. Set errno to 0.
4336 (check_complex): Refer to errno tests in comment.
4337 (check_int): Call test_errno. Set errno to 0.
4338 (check_long): Likewise.
4339 (check_bool): Likewise.
4340 (check_longlong): Likewise.
4341 (cos_test): Use ERRNO_* flags for errno tests instead of
4342 check_int.
4343 (expm1_test): Likewise.
4344 (fmod_test): Likewise.
4345 (ilogb_test): Likewise.
4346 (lgamma_test): Likewise.
4347 (pow_test): Likewise.
4348 (remainder_test): Likewise.
4349 (sin_test): Likewise.
4350 (tan_test): Likewise.
4351 (yn_test): Likewise.
4352 (initialize): Set errno to 0.
4353 (main): Print number of errno tests.
4354 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4355
b1a36ceb
AJ
43562013-04-29 Andreas Jaeger <aj@suse.de>
4357
c3ed8088
AJ
4358 [BZ #15084]
4359 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4360 and RES_USEVC.
4361
f1a24198
AJ
4362 [BZ #15085]
4363 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4364 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4365 unimplemented.
4366
9ce3b2cb
AJ
4367 [BZ #15380]
4368 * stdlib/random.c (__initstate): Return NULL if
4369 __initstate fails.
4370
f1a24198 4371 [BZ #15086]
b1a36ceb
AJ
4372 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4373 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4374 RES_SNGLKUPREOP.
4375
7e7b6f36
AZ
43762013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4377
4378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4379
4d14f449
JM
43802013-04-29 Joseph Myers <joseph@codesourcery.com>
4381
4382 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4383 of individual tests.
4384 (casin_test): Likewise.
4385 (casinh_test): Likewise.
4386
5b4217d7
JM
43872013-04-27 Joseph Myers <joseph@codesourcery.com>
4388
4389 [BZ #15409]
4390 * math/s_catan.c (__catan): Handle arguments with large real or
4391 imaginary part separately without squaring.
4392 * math/s_catanf.c (__catanf): Likewise.
4393 * math/s_catanh.c (__catanh): Likewise.
4394 * math/s_catanhf.c (__catanhf): Likewise.
4395 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4396 and redefine.
4397 (__catanhl): Handle arguments with large real or imaginary part
4398 separately without squaring.
4399 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4400 and redefine.
4401 (__catanl): Handle arguments with large real or imaginary part
4402 separately without squaring.
4403 * math/libm-test.inc (catan_test): Add more tests.
4404 (catanh_test): Likewise.
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4407
4220c3ef
AJ
44082013-04-27 Andreas Jaeger <aj@suse.de>
4409
4410 [BZ #15007]
4411 * stdlib/stdlib.h: Update guards for qecvt.
4412 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4413 <stdlib.h>.
4414
4721b2d1
AM
44152013-04-27 Allan McRae <allan@archlinux.org>
4416
4417 * sysdeps/i386/fpu/libm-test-ulps: Update.
4418
f0302940
JM
44192013-04-26 Joseph Myers <joseph@codesourcery.com>
4420
9457fd95
JM
4421 [BZ #15406]
4422 * math/s_catan.c: Include <float.h>.
4423 (__catan): Ensure underflow exception occurs for underflowed
4424 result.
4425 * math/s_catanf.c: Include <float.h>.
4426 (__catanf): Ensure underflow exception occurs for underflowed
4427 result.
4428 * math/s_catanh.c: Include <float.h>.
4429 (__catanh): Ensure underflow exception occurs for underflowed
4430 result.
4431 * math/s_catanhf.c: Include <float.h>.
4432 (__catanhf): Ensure underflow exception occurs for underflowed
4433 result.
4434 * math/s_catanhl.c: Include <float.h>.
4435 (__catanhl): Ensure underflow exception occurs for underflowed
4436 result.
4437 * math/s_catanl.c: Include <float.h>.
4438 (__catanl): Ensure underflow exception occurs for underflowed
4439 result.
4440 * math/libm-test.inc (catan_test): Add more tests.
4441 (catanh_test): Likewise.
4442
f0302940
JM
4443 [BZ #15405]
4444 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4445 underflowed result.
4446 * math/s_ccoshf.c (__ccoshf): Likewise.
4447 * math/s_ccoshl.c (__ccoshl): Likewise.
4448 * math/s_csin.c (__csin): Likewise.
4449 * math/s_csinf.c (__csinf): Likewise.
4450 * math/s_csinh.c (__csinh): Likewise.
4451 * math/s_csinhf.c (__csinhf): Likewise.
4452 * math/s_csinhl.c (__csinhl): Likewise.
4453 * math/s_csinl.c (__csinl): Likewise.
4454 * math/libm-test.inc (ccos_test): Add more tests.
4455 (ccosh_test): Likewise.
4456 (csin_test): Likewise.
4457 (csinh_test): Likewise.
4458
aa630f59
AZ
44592013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4460
4461 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4462 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4463 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4464 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4465 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4466 powerpc/power5+/fpu folders.
4467 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4468
4469
1b835983
MT
44702013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4471
4472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4473
73709b26
JM
44742013-04-25 Joseph Myers <joseph@codesourcery.com>
4475
4476 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4477 additions to variable.
4478 [$(config-machine) = x86_64] (modules-names): Likewise.
4479 ($(objpfx)tst-audit3): Remove dependency.
4480 ($(objpfx)tst-audit3.out): Likewise.
4481 ($(objpfx)tst-audit4): Likewise.
4482 ($(objpfx)tst-audit4.out): Likewise.
4483 ($(objpfx)tst-audit5): Likewise.
4484 ($(objpfx)tst-audit5.out): Likewise.
4485 ($(objpfx)tst-audit6): Likewise.
4486 ($(objpfx)tst-audit6.out): Likewise.
4487 ($(objpfx)tst-audit7): Likewise.
4488 ($(objpfx)tst-audit7.out): Likewise.
4489 (tst-audit3-ENV): Remove variable.
4490 (tst-audit4-ENV): Likewise.
4491 (tst-audit5-ENV): Likewise.
4492 (tst-audit6-ENV): Likewise.
4493 (tst-audit7-ENV): Likewise.
4494 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4495 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4496 addition to variable.
4497 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4502 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4503 tst-audit3, tst-audit4 and tst-audit5.
4504 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4505 tst-audit6 and tst-audit7.
4506 [$(subdir) = elf] (modules-names): Add audit modules for those
4507 tests.
4508 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4509 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4510 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4511 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4512 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4513 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4514 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4515 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4516 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4517 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4518 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4519 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4520 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4521 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4522 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4523 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4524 Likewise.
4525 [$(subdir) = elf && $(config-cflags-avx) = yes]
4526 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4527 [$(subdir) = elf && $(config-cflags-avx) = yes]
4528 (CFLAGS-tst-auditmod4a.c): Likewise.
4529 [$(subdir) = elf && $(config-cflags-avx) = yes]
4530 (CFLAGS-tst-auditmod4b.c): Likewise.
4531 [$(subdir) = elf && $(config-cflags-avx) = yes]
4532 (CFLAGS-tst-auditmod6b.c): Likewise.
4533 [$(subdir) = elf && $(config-cflags-avx) = yes]
4534 (CFLAGS-tst-auditmod6c.c): Likewise.
4535 [$(subdir) = elf && $(config-cflags-avx) = yes]
4536 (CFLAGS-tst-auditmod7b.c): Likewise.
4537 * elf/tst-audit3.c: Move to ...
4538 * sysdeps/x86_64/tst-audit3.c: ... here.
4539 * elf/tst-audit4.c: Move to ...
4540 * sysdeps/x86_64/tst-audit4.c: ... here.
4541 * elf/tst-audit5.c: Move to ...
4542 * sysdeps/x86_64/tst-audit5.c: ... here.
4543 * elf/tst-audit6.c: Move to ...
4544 * sysdeps/x86_64/tst-audit6.c: ... here.
4545 * elf/tst-audit7.c: Move to ...
4546 * sysdeps/x86_64/tst-audit7.c: ... here.
4547 * elf/tst-auditmod3a.c: Move to ...
4548 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4549 * elf/tst-auditmod3b.c: Move to ...
4550 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4551 * elf/tst-auditmod4a.c: Move to ...
4552 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4553 * elf/tst-auditmod4b.c: Move to ...
4554 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4555 * elf/tst-auditmod5a.c: Move to ...
4556 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4557 * elf/tst-auditmod5b.c: Move to ...
4558 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4559 * elf/tst-auditmod6a.c: Move to ...
4560 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4561 * elf/tst-auditmod6b.c: Move to ...
4562 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4563 * elf/tst-auditmod6c.c: Move to ...
4564 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4565 * elf/tst-auditmod7a.c: Move to ...
4566 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4567 * elf/tst-auditmod7b.c: Move to ...
4568 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4569
1ef74943
PP
45702013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4571
4572 [BZ #15366]
4573 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4574 define unconditionally.
4575 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4576 define unconditionally.
4577 (INT8_C, INT16_C, etc.): Likewise.
4578
93fd48c5
MR
45792013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4580
ae9552cf
MR
4581 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4582 __ehdr_start with hidden visibility.
4583
93fd48c5
MR
4584 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4585
418601aa
CD
45862013-04-24 Carlos O'Donell <carlos@redhat.com>
4587
4588 * math/libm-test.inc (cos_test): Use accurate hex constants.
4589 (sincost_test): Likewise.
4590
2f38fbfe
JM
45912013-04-24 Joseph Myers <joseph@codesourcery.com>
4592
5e221800
JM
4593 * math/libm-test.inc (catan_test): Add more tests.
4594 (catanh_test): Likewise.
4595
77f143fd
JM
4596 * math/s_catanf.c (__catanf): Use suffixed floating-point
4597 constants.
4598 * math/s_catanhf.c (__catanhf): Likewise.
4599 * math/s_catanhl.c (__catanhl): Likewise.
4600 * math/s_catanl.c (__catanl): Likewise.
4601
2f38fbfe
JM
4602 [BZ #15394]
4603 * math/s_catan.c (__catan): Calculate imaginary part of result
4604 with log1p not log unless computing log of number close to 0.
4605 * math/s_catanf.c (__catanf): Likewise.
4606 * math/s_catanl.c (__catanl): Likewise.
4607 * math/s_catanh.c (__catanh): Calculate real part of result with
4608 log1p not log unless computing log of number close to 0.
4609 * math/s_catanhf.c (__catanhf): Likewise.
4610 * math/s_catanhl.c (__catanhl): Likewise.
4611 * math/libm-test.inc (catan_test): Add more tests.
4612 (catanh_test): Likewise.
4613 * sysdeps/i386/fpu/libm-test-ulps: Update.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4615
45d69176
SP
46162013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4617
4618 * benchtests/Makefile: Mention files in which fast and slow
4619 paths of math functions are implemented.
4620
87f51853
RM
46212013-04-23 Roland McGrath <roland@hack.frob.com>
4622
4623 * sysdeps/posix/timespec_get.c: New file.
4624
3c026539
AZ
46252013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4626
4627 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4628 POWER.
4629 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4630 for POWER.
4631 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4632 powerpc/power5/fpu folders.
4633 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4634 * benchtests/Makefile: Add modf testcase.
4635 * benchtests/bench-modf.c: New file: Benchmark test for mo
4636
ff491d14
SP
46372013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4638
4639 [BZ #14888]
4640 * time/Makefile (tests): Add tst-strptime-whitespace.
4641 * time/strptime_l.c (get_number): Use ISSPACE.
4642 (__strptime_internal): Likewise.
4643 * time/tst-strptime-whitespace.c: New test case.
4644
7ed3f4e8
AS
46452013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4646
4647 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4648 member.
4649 (_nss_files_init): Set it here.
4650
5c95f7b6
HC
46512013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4652
4653 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4654 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4655 unsigned.
4656
d34c9158
JBG
46572013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4658
4659 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4660
2169712d
SP
46612013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4662
4663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4664 size just once.
4665
29c5de99
DM
46662013-04-21 David S. Miller <davem@davemloft.net>
4667
4668 * po/ru.po: Update Russion translation from translation project.
4669
ccdad15d
AC
46702013-04-17 Adam Conrad <adconrad@0c3.net>
4671
4672 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4673 and setfsgid.
4674
0f122b8d
CD
46752013-04-17 Carlos O'Donell <carlos@redhat.com>
4676
5c5b07da 4677 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4678 * configure: Regenerate.
5c5b07da 4679 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4680 Add example to error message.
4681 * sysdeps/i386/configure: Regenerate.
4682
037714dd
SP
46832013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4684
4685 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4686 slowtan.
4687 * benchtests/cos-inputs: New file.
4688 * benchtests/slowcos-inputs: New file.
4689 * benchtests/slowcos.c: New file.
4690 * benchtests/slowtan-inputs: New file.
4691 * benchtests/slowtan.c: New file.
4692 * benchtests/tan-inputs: New file.
4693
e913141d
RM
46942013-04-16 Roland McGrath <roland@hack.frob.com>
4695
4696 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4697 considered kosher.
4698
a2964074
SP
46992013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4700
4856bcd2
SP
4701 * benchtests/Makefile: Include cppflags-iterator.mk to add
4702 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4703
a2964074
SP
4704 * Makefile.in (bench-clean): New target.
4705 * benchtests/Makefile (bench-clean): Likewise.
4706
9fbf9aca
DH
47072013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4708
4709 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4710
207d1e2a
TS
47112013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4712
4713 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4714
306dfba9
AS
47152013-04-15 Andreas Schwab <schwab@suse.de>
4716
4717 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4718 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4719 * nscd/pwdcache.c (cache_addpw): Likewise.
4720 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4721 more than recsize.
4722
206a6699
SP
47232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
4725 * benchtests/Makefile (bench): Write all output to
4726 bench-out.tmp together.
4727
0582f6b3
AS
47282013-04-15 Andreas Schwab <schwab@suse.de>
4729
4730 * nscd/nscd.c (main): Don't fork again after closing files.
4731
acb4325f
SP
47322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4733
5cb26d0a
SP
4734 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4735
acb4325f
SP
4736 * benchtests/Rules (bench-deps): Collect dependencies into a
4737 single variable. Add Makefile to dependencies.
4738 ($(objpfx)bench-%.c): Depend on bench-deps.
4739
47792506
RM
47402013-04-12 Roland McGrath <roland@hack.frob.com>
4741 Xavier Roche <roche+kml2@exalead.com>
4742
4743 [BZ #15361]
4744 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4745 just that it's a file descriptor.
4746 * manual/llio.texi (Synchronizing AIO Operations): Update description
4747 for EBADF error from aio_fsync.
4748
8fc1bee5
SP
47492013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4750
4751 * Rules (bench): Move target definition...
4752 * benchtests/Makefile: ... here.
4753
aba5e333
CD
47542013-04-11 Carlos O'Donell <carlos@redhat.com>
4755
4756 * math/libm-test.inc (cos_test): Fix PI/2 test.
4757 (sincos_test): Likewise.
4758 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4759 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4760
273cdee8
AS
47612013-04-11 Andreas Schwab <schwab@suse.de>
4762
6ecec3b6
AS
4763 [BZ #13988]
4764 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4765 accept exponent character only when digits were seen.
4766 * stdio-common/Makefile (tests): Add bug26.
4767 * stdio-common/bug26.c: New file.
4768
273cdee8
AS
4769 [BZ #14293]
4770 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4771 non-freeable.
4772
8da491f5
SP
47732013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4774
01dc6df9
SP
4775 * Makeconfig (rtld-prefix): Define built linker prefix.
4776 * Rules (run-bench): Use it.
4777 * math/Makefile (run-regen-ulps): Likewise.
4778
8da491f5
SP
4779 * Rules (bench): Remove eval.
4780
abe7f530
SP
47812013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4782 Roland McGrath <roland@hack.frob.com>
4783 Ondrej Bilka <neleai@seznam.cz>
4784
4785 [BZ #15346]
4786 * time/getdate.c: Include ctype.h and alloca.h.
4787 (__getdate_r): Trim leading and trailing spaces of input.
4788 * time/tst-getdate.c (tests): Add tests with leading and
4789 trailing spaces.
4790
61c23e62
RM
47912013-04-08 Roland McGrath <roland@hack.frob.com>
4792
4793 [BZ #14280]
4794 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4795 when computing value.
4796
7208a313
CD
47972013-04-06 Carlos O'Donell <carlos@redhat.com>
4798
085b2d41
CD
4799 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4800 Use testrun.sh to run libm tests.
4801
7208a313
CD
4802 [BZ #15309]
4803 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4804
872c0acd
MM
48052013-04-06 Marko Myllynen <myllynen@redhat.com>
4806
4807 [BZ #15264]
4808 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4809
26510bdd
CD
48102013-04-06 Carlos O'Donell <carlos@redhat.com>
4811
4812 * Makefile.in (regen-ulps): New target.
4813 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4814 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4815 [ifneq (no,$(PERL)] (regen-ulps): New target.
4816 [ifeq (no,$(PERL)] (regen-ulps): New target.
4817 * math/libm-test.inc (ulps_file_name): Define.
4818 (output_dir): New variable.
4819 (options): Add "output-dir" option.
4820 (parse_opt): Handle 'o' case.
4821 (main): If output_dir is non-NULL use it as a prefix
4822 otherwise use "".
4823 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4824
a01f19c8
CD
48252013-04-06 Carlos O'Donell <carlos@redhat.com>
4826
4827 [BZ #10060, #10062]
4828 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4829 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4830 fail configure if __sync_val_compare_and_swap is not inlined.
4831 * sysdeps/i386/configure: Regenerate.
4832 * configure.in: Build for i686 when configured for i386.
4833 * configure: Regenerate.
4834 * README: Remove i386 reference.
4835
b7a329a5
CD
48362013-04-06 Carlos O'Donell <carlos@redhat.com>
4837
4838 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4839 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4840
bf0f50df
TS
48412013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4842
ee091edf
TS
4843 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4844 (lmsnanval): New variables.
4845 (F): Add conversion tests.
4846 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4847 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4848
a8b792d6
TS
4849 * stdio-common/tstdiomisc.c (F): Properly collect individual
4850 tests' results.
4851
a1cbf437
TS
4852 [BZ #14686, #15336]
4853 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4854 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4855 Instead, use input NaN values or generate a qNaN by arithmetic
4856 operation. Also fix bugs to comply with the standard.
4857 * math/libm-test.inc (remainder_test): Add more tests.
4858
8b43a0c9
TS
4859 [BZ #15335, #15342]
4860 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4862 input NaN values or generate a qNaN by arithmetic operation.
4863
d91da4ce
TS
4864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4865 unreachable code.
4866
bf0f50df
TS
4867 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4868 definitions.
4869
05e166c8
JM
48702013-04-03 Joseph Myers <joseph@codesourcery.com>
4871
4872 [BZ #14478]
4873 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4874 underflowed result.
4875 * math/s_cexpf.c (__cexpf): Likewise.
4876 * math/s_cexpl.c (__cexpl): Likewise.
4877 * math/libm-test.inc (cexp_test): Add more tests.
4878
1cef1b19
AS
48792013-04-03 Andreas Schwab <schwab@suse.de>
4880
4881 [BZ #15330]
4882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4883 order arrays from heap if bigger than alloca cutoff.
4884
74d87055
TS
48852013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4886
4887 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4888 (SNAN_TESTS_double): Refer to GCC PR56831.
4889 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4890 GCC PR56828.
4891
d755bba4
SP
48922013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4893
90d5d5bb
SP
4894 * Rules (bench): Move bench.out after the run is complete.
4895
73e0cd5d
SP
4896 * Rules (bench): Echo currently running benchmark.
4897
64aabd4b
SP
4898 * benchtests/Makefile (bench): Add atan and slowatan.
4899 * benchtests/atan-inputs: New file.
4900 * benchtests/slowatan-inputs: New file.
4901 * benchtests/slowatan.c: New file.
4902
c871eccd
SP
4903 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4904 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4905 its value.
4906
d755bba4
SP
4907 [BZ #15305]
4908 * sysdeps/unix/sysv/linux/kernel-features.h
4909 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4910 __ASSUME_XFS_RESTRICTED_CHOWN.
4911 * sysdeps/unix/sysv/linux/pathconf.c
4912 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4913 Save and restore errno.
4914
52ce4860
JM
49152013-04-02 Joseph Myers <joseph@codesourcery.com>
4916
4917 [BZ #15327]
4918 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4919 arguments using __kernel_casinh.
4920 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4921 arguments using __kernel_casinhf.
4922 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4923 arguments using __kernel_casinhl.
4924 * math/libm-test.inc (cacosh_test): Add more tests.
4925 * sysdeps/i386/fpu/libm-test-ulps: Update.
4926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4927
81f311c2
SP
49282013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4929
e7906a47
SP
4930 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4932
92e3664b
SP
4933 * bench/Makefile (bench): Add sin and slowsin.
4934 * benchtests/sin-inputs: New file.
4935 * benchtests/slowsin-inputs: New file.
4936 * benchtests/slowsin.c: New file.
4937
81f311c2
SP
4938 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4939 (bench): Add slowexp and slowpow.
4940 (exp-ITER): Increase iterations.
4941 (pow-ITER): Likewise.
4942 * benchtests/exp-inputs: Change input.
4943 * benchtests/pow-inputs: Likewise.
4944 * benchtests/slowexp-inputs: New file.
4945 * benchtests/slowexp.c: New file.
4946 * benchtests/slowpow-inputs: New file.
4947 * benchtests/slowpow.c: New file.
4948
ab0f1aa9
AZ
49492013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4950
4951 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4952 instructions.
4953 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4954 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4955 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4956 * benchtests/Makefile: Add rint benchtest.
4957 * benchtests/rint-inputs: Input for rint benchtest.
4958
57267616
TS
49592013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4960
4961 * Versions.def (libm): Add GLIBC_2.18.
4962 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4963 hidden libm prototypes.
4964 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4965 * math/Makefile (libm-calls): Add s_issignaling.
4966 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4967 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4968 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4969 declaration.
4970 * math/math.h [__USE_GNU] (issignaling): New macro.
4971 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4972 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4974 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4975 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4976 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4977 * manual/arith.texi (issignaling): New section.
4978 * manual/libm-err-tab.pl (@all_functions): Update comment.
4979 * math/gen-libm-test.pl (parse_args): Apply special handling for
4980 issignaling.
4981 * math/libm-test.inc (print_float, issignaling_test): New
4982 functions.
4983 (check_float_internal): Add issignaling checks.
4984 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4985 default definition.
4986 * sysdeps/powerpc/math-tests.h: New file.
4987 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4988 tests.
4989 * math/test-snan.c (TEST_FUNC): Likewise.
4990
6142896d
DM
49912013-03-30 David S. Miller <davem@davemloft.net>
4992
4993 * po/de.po: Update from translation team.
4994
ccc8cadf
JM
49952013-03-30 Joseph Myers <joseph@codesourcery.com>
4996
4997 [BZ #10357]
4998 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4999 imaginary part less than 1.0 and real part less than 0.5
5000 specially.
5001 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5002 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5003 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5004 (cacos_test): Add more tests.
5005 (casin_test): Likewise.
5006 (casinh_test): Likewise.
5007 * sysdeps/i386/fpu/libm-test-ulps: Update.
5008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5009
0f6a8d4b
SP
50102013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5011
0d1029de
SP
5012 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5013 ONE with its value.
5014
c2d94018
SP
5015 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5016 (__pow_mp): Replace ONE and MONE with their values.
5017 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5018 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5019 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5020 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5021 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5022 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5023
27ec37f1
SP
5024 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5025
a64d7e0e
SP
5026 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5027 (__pow_mp): Replace ZERO and MZERO with their values.
5028 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5029 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5030 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5032 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5033 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5034 (__sqr): Likewise.
5035
d26dd3eb
SP
5036 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5037
0f6a8d4b
SP
5038 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5039
e57b0c61
RM
50402013-03-28 Roland McGrath <roland@hack.frob.com>
5041
5042 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5043 Declare with __attribute__ ((weak)).
5044 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5045 Call __call_tls_dtors only if it's not NULL.
5046
356b3480
RM
50472013-03-28 Roland McGrath <roland@hack.frob.com>
5048
288f7d79
RM
5049 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5050 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5051 magic __ehdr_start linker symbol if it's defined.
5052 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5053 them up here if it was already done.
5054
dc0a0263
RM
5055 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5056 (_dl_aux_init): Use const in cast when setting it.
5057 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5058 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5059 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5060
3d3436ae
RM
5061 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5062 Declare them here.
5063 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5064 * csu/libc-tls.c: Nor here.
5065 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5066
356b3480
RM
5067 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5068 (__libc_message): Never call vsyslog.
5069
b0f1246a
AM
50702013-03-28 Alan Modra <amodra@gmail.com>
5071
5072 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5073 Define as empty.
5074 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5075 Likewise.
5076
fbbe2b9a
AZ
50772013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5078
5079 [BZ #15214]
5080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5081 underflow.
5082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5083
1728ab37
SP
50842013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5085
7a86be6e
SP
5086 [BZ #15304]
5087 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5088 Don't add gid passed as argument.
5089
1728ab37
SP
5090 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5091
3a7182a1
JM
50922013-03-27 Joseph Myers <joseph@codesourcery.com>
5093
5094 [BZ #15307]
5095 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5096 imaginary part between 1.0 and 1.5 and real part less than 0.5
5097 specially.
5098 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5099 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5100 * math/libm-test.inc (cacos_test): Add more tests.
5101 (casin_test): Likewise.
5102 (casinh_test): Likewise.
5103 * sysdeps/i386/fpu/libm-test-ulps: Update.
5104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5105
6f2e90e7
SP
51062013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5107
5739f705
SP
5108 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5109 constants.
5110 (norm): Likewise.
5111 (denorm): Likewise.
5112 (__dbl_mp): Likewise.
5113 (add_magnitudes): Likewise.
5114 (sub_magnitudes): Likewise.
5115 (__add): Likewise.
5116 (__sub): Likewise.
5117 (__mul): Likewise.
5118 (__sqr): Likewise.
5119 (__inv): Likewise.
5120 (__dvd): Likewise.
5121
e375e83d
SP
5122 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5123 commented code.
5124 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5125 (__dubcos): Likewise.
5126 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5127 (__ieee754_acos): Likewise.
5128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5129 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5130 (__exp1): Likewise.
5131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5133 (log1): Likewise.
5134 (my_log2): Likewise.
5135 (checkint): Likewise.
5136 * sysdeps/ieee754/dbl-64/e_remainder.c
5137 (__ieee754_remainder): Likewise.
5138 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5140 (bsloww): Likewise.
5141 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5142
6f2e90e7
SP
5143 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5144 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5145 MANTISSA_STORE_T to store computations on mantissa. Use
5146 macros for rounding and division.
5147 (denorm): Likewise.
5148 (__dbl_mp): Likewise.
5149 (add_magnitudes): Likewise.
5150 (sub_magnitudes): Likewise.
5151 (__mul): Likewise.
5152 (__sqr): Likewise.
5153 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5154 powers of two in terms of TWOPOW macro.
5155 (mp_no): Make type of mantissa as MANTISSA_T.
5156 [!RADIXI]: Define RADIXI.
5157 [!TWO52]: Define TWO52.
5158 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5159
fce14d4e
AZ
51602013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5161
5162 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5163 llroundl symbol when building for PPC32.
5164
9ad027fb
MW
51652013-03-24 Mark H Weaver <mhw@netris.org>
5166
5167 * manual/arith.texi (Normalization Functions): Fix prototypes for
5168 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5169
e42a38dd
AZ
51702013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171
5172 [BZ #13889]
5173 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5174 high value to check if expl overflow.
5175 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5176 to check for underflow and overflow.
5177 * math/libm-test.inc: Add exp test.
5178
2e0fb521
DL
51792013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5180
5181 [BZ #11120]
5182 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5183 with NOT_IN_libc.
5184
b5784d95
AZ
51852013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5186
5187 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5188 symbol.
5189
5aa4a1a1
TS
51902013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5191
bdef0be7
TS
5192 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5193 wrap blocks consisting of several statements.
5194
5aa4a1a1
TS
5195 * sysdeps/generic/math-tests.h: New file.
5196 * sysdeps/i386/fpu/math-tests.h: Likewise.
5197 * math/test-snan.c: Include it.
5198 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5199
98c48fe5
JM
52002013-03-21 Joseph Myers <joseph@codesourcery.com>
5201
5202 [BZ #15285]
5203 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5204 (__ieee754_j0l): Do not improve calculations using cos of twice
5205 input for inputs above LDBL_MAX / 2.0L.
5206 (__ieee754_y0l): Likewise.
5207 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5208 (__ieee754_j1l): Do not improve calculations using cos of twice
5209 input for inputs above LDBL_MAX / 2.0L.
5210 (__ieee754_y1l): Likewise.
5211 * math/libm-test.inc (j0_test): Add another test.
5212 (j1_test): Likewise.
5213 (y0_test): Likewise.
5214 (y1_test): Likewise.
5215 * sysdeps/i386/fpu/libm-test-ulps: Update.
5216
3775a8bc
SP
52172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5218
5219 * Rules ($(objpfx)bench-%.c): Include code from a C source
5220 file.
5221
0a1b2ae6
JM
52222013-03-21 Joseph Myers <joseph@codesourcery.com>
5223
5224 [BZ #15287]
5225 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5226 imaginary part 1.0 and real part less than 0.5 specially.
5227 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5228 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5229 * math/libm-test.inc (cacos_test): Add more tests.
5230 (casin_test): Likewise.
5231 (casinh_test): Likewise.
5232 * sysdeps/i386/fpu/libm-test-ulps: Update.
5233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5234
b33d4ce4
SP
52352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5236
5237 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5238 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5239
bef0b507
JM
52402013-03-20 Joseph Myers <joseph@codesourcery.com>
5241
5242 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5243 * config.make.in (config-cflags-sse4): Remove variable.
5244 (config-cflags-avx): Likewise.
5245 (config-cflags-sse2avx): Likewise.
5246 (config-cflags-novzeroupper): Likewise.
5247 (config-asflags-i686): Likewise.
5248 (have-mfma4): Likewise.
5249 (have-as-vis3): Likewise.
5250 (MIG): Likewise.
5251 * configure.in (MIG): Do not AC_SUBST.
5252 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5253 (libc_cv_cc_sse4): Do not AC_SUBST.
5254 (libc_cv_cc_avx): Likewise.
5255 (libc_cv_cc_sse2avx): Likewise.
5256 (libc_cv_cc_novzeroupper): Likewise.
5257 (libc_cv_cc_fma4): Likewise.
5258 (libc_cv_as_i686): Likewise.
5259 (libc_cv_sparc_as_vis3): Likewise.
5260 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5261 LIBC_CONFIG_VAR.
5262 (config-asflags-i686): Likewise.
5263 (config-cflags-avx): Likewise.
5264 (config-cflags-sse2avx): Likewise.
5265 (have-mfma4): Likewise.
5266 (config-cflags-novzeroupper): Likewise.
5267 * sysdeps/mach/configure.in (MIG): Likewise.
5268 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5269 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5270 LIBC_CONFIG_VAR.
5271 (config-cflags-avx): Likewise.
5272 (config-cflags-sse2avx): Likewise.
5273 (have-mfma4): Likewise.
5274 (config-cflags-novzeroupper): Likewise.
5275 * configure: Regenerated.
5276 * sysdeps/i386/configure: Likewise.
5277 * sysdeps/mach/configure: Likewise.
5278 * sysdeps/sparc/configure: Likewise.
5279 * sysdeps/x86_64/configure: Likewise.
5280
912cc4b3
RM
52812013-03-20 Roland McGrath <roland@hack.frob.com>
5282
5283 [BZ #14812]
5284 * locale/programs/localedef.c (options): Put N_ translation marker
5285 on argument names, not just descriptions.
5286
04eed2b0
MS
52872013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5288
5289 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5290
a065ceff
OB
52912013-03-20 Ondřej Bílka <neleai@seznam.cz>
5292
9bb2a810 5293 [BZ #14176]
a065ceff
OB
5294 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5295
a600e5ce
RM
52962013-03-19 Roland McGrath <roland@hack.frob.com>
5297
5298 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5299 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5300 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5301 [!BEFORE_ABORT] (before_abort): New function.
5302 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5303 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5304 (writev_for_fatal): New function.
5305 (WRITEV_FOR_FATAL): New macro; call that.
5306 (backtrace_and_maps): New function.
5307 (BEFORE_ABORT): New macro; call that.
5308 (struct str_list): Type removed.
5309 (__libc_message, __libc_fatal): Functions removed.
5310 Include <sysdeps/posix/libc_fatal.c> instead.
5311
6b18bea6
JM
53122013-03-19 Joseph Myers <joseph@codesourcery.com>
5313
5314 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5315 constants.
5316 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5317 double constants.
5318
aaa8cb4b
AS
53192013-03-19 Andreas Schwab <schwab@suse.de>
5320
44673770
AS
5321 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5322 * sysdeps/gnu/configure: Regenerate.
5323
aaa8cb4b
AS
5324 * configure.in: Substitute libc_cv_rtlddir.
5325 * configure: Regenerate.
5326 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5327 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5328 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5329 * elf/Makefile (install-others, CFLAGS-interp.c)
5330 (ldso_install, common-ldd-rewrite): Likewise.
5331 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5332 $(inst_slibdir)/$(rtld-installed-name).
5333 * scripts/rellns-sh: Add -p option.
5334 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5335 for source.
5336
d3cfc668
SP
53372013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5338
5339 * manual/nptl.texi: Renamed to ...
5340 * manual/threads.texi: ... this.
5341 * manual/Makefile (chapters): Update.
5342
0e2b9cdd
RM
53432013-03-18 Roland McGrath <roland@hack.frob.com>
5344
5345 [BZ #14812]
5346 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5347 on argument names, not just descriptions.
0e2b9cdd
RM
5348 * malloc/memusagestat.c (options): Likewise.
5349 * nss/getent.c (options): Likewise.
63270c24
RM
5350
53512013-03-18 Benno Schulenberg <bensberg@justemail.net>
5352
5353 [BZ #14812]
5354 * iconv/iconv_prog.c (options): Put N_ translation marker
5355 on argument names, not just descriptions.
5356 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5357
b2e1393c
OB
53582013-03-18 Ondrej Bilka <neleai@seznam.cz>
5359
5360 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5361 implementation which is faster on all x86_64 architectures.
5362 Tested on AMD, Intel Nehalem, SNB, IVB.
5363 * sysdeps/x86_64/strnlen.S: Likewise.
5364
5365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5366 Remove all multiarch strlen and strnlen versions.
5367 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5368 Remove strlen and strnlen related parts.
5369
5370 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5371 Inline strlen part.
5372 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5373
5374 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5375 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5376 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5377 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5378 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5379 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5380
ec4ff04d
CD
53812013-03-17 Carlos O'Donell <carlos@redhat.com>
5382
5383 * manual/memory.texi (Malloc Tunable Parameters):
5384 Sort parameters alphabetically. Add comments for missing entries.
5385
cd18e90a
DM
53862013-03-17 David S. Miller <davem@davemloft.net>
5387
5388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5389
2a185d32
JM
53902013-03-16 Joseph Myers <joseph@codesourcery.com>
5391
d2f9799e
JM
5392 [BZ #15283]
5393 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5394 for arguments at most half maximum finite value.
5395 * math/libm-test.inc (j0_test): Add more tests.
5396 (j1_test): Likewise.
5397 (y0_test): Likewise.
5398 (y1_test): Likewise.
5399 * sysdeps/i386/fpu/libm-test-ulps: Update.
5400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5401
2a185d32
JM
5402 [BZ #14155]
5403 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5404 1 / x and functions P and Q for arguments above 0x1p256L.
5405 (__ieee754_y0l): Likewise.
5406 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5407 (__ieee754_y1l): Likewise.
5408 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5409 (j1_test): Likewise.
5410 (y0_test): Likewise.
5411 (y1_test): Likewise.
5412
6cbec759
TS
54132013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5414
5415 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5416 variable.
5417
bc16e260
RM
54182013-03-15 Roland McGrath <roland@hack.frob.com>
5419
aefc9b8c
RM
5420 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5421 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5422 zero since it's initialized to EXEC_PAGESIZE.
5423
bc16e260
RM
5424 * sysdeps/unix/sysv/linux/ldsodefs.h
5425 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5426 * sysdeps/generic/ldsodefs.h: ... here.
5427
a57da955
TS
54282013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5429
af00a34d
TS
5430 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5431
495ded2c
TS
5432 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5433 math/test-snan.c.
5434 * math/test-snan.c: Renamed from
5435 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5436 * math/Makefile (tests): Add test-snan.
5437 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5438 test-powerpc-snan.
5439
777b0332
TS
5440 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5441 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5442 functions.
5443 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5444 __builtin_nan family of functions.
5445 * math/libm-test.inc (initialize): Initialize qnan_value with
5446 __builtin_nan family of functions.
5447 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5448 Remove variables.
5449 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5450 Remove functions.
5451 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5452 storage class. Initialize qNaN_var and sNaN_var with
5453 __builtin_nan and __builtin_nans families of functions,
5454 respectively.
5455
64d063b8
TS
5456 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5457 (sqrt_test): Remove duplicate test with qNaN input.
5458 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5459 (round_test, signbit_test, significand_test): Note missing +/-Inf
5460 as well as qNaN tests.
5461
67e971f1
TS
5462 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5463 qNaN_var. Fix a few strings, too.
5464 * math/libm-test.inc (nan_value): Rename to qnan_value.
5465 * math/gen-libm-test.pl (%beautify): Adjust to that.
5466 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5467 * math/test-misc.c (main): Likewise.
5468 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5469 to __qnan_bytes, and __qnan_union, respectively.
5470 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5471 Likewise.
5472 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5473 and lqnanval, respectively.
5474 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5475 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5476 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5477 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5478
64487e12
TS
5479 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5480 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5481 doubles.
5482
e015e27b
TS
5483 * math/test-misc.c (main): Fix copy'n'pastos.
5484 * misc/tst-efgcvt.c (special): Likewise.
5485
a57da955
TS
5486 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5487 Remove declarations.
5488
1e380345
SP
54892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5490
5491 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5492 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5493 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5494 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5495
ef26eece
AZ
54962013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5497
5498 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5499 macro to return vdso values correctly in IFUNC implementations.
5500 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5501 Optimization by using IFUNC.
5502
8cfdb7e0
SP
55032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5504 Richard Henderson <rth@redhat.com>
5505 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5506
5507 * Makefile.in (bench): New target.
5508 * NEWS: Mention the benchmark framework.
5509 * Rules (bench): Likewise.
5510 (binaries-bench): Generate binaries for functions to
5511 benchmark.
5512 * benchtests/Makefile: New makefile for benchmark tests.
5513 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5514 programs.
5515 * benchtests/exp-inputs: New input file for EXP function.
5516 * benchtests/pow-inputs: New input file for POW function.
5517 * scripts/bench.pl: New script to generate source files for
5518 benchmark programs.
5519
bcda9880
SP
55202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5521
d22ca8cd
SP
5522 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5523 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5524 computations on mantissa. Use macros for rounding and
5525 division.
5526 (denorm): Likewise.
5527 (__dbl_mp): Likewise.
5528 (add_magnitudes): Likewise.
5529 (sub_magnitudes): Likewise.
5530 (__mul): Likewise.
5531 (__sqr): Likewise.
5532 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5533 powers of two in terms of TWOPOW macro.
5534 (mp_no): Make type of mantissa as MANTISSA_T.
5535 [!RADIXI]: Define RADIXI.
5536 [!TWO52]: Define TWO52.
5537 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5538
bcda9880
SP
5539 * manual/nptl.texi (cindex): Modify threads to pthreads.
5540
06d5adfb
JM
55412013-03-15 Joseph Myers <joseph@codesourcery.com>
5542
5543 * sysdeps/x86_64/preconfigure: Regenerated.
5544
41c7328e
JM
55452013-03-14 Joseph Myers <joseph@codesourcery.com>
5546
5547 [BZ #14155]
5548 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5549 0x1p28 and above.
5550 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5551 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5552 0x1p28 and above.
5553 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5554 * math/libm-test.inc (j0_test): Do not allow one spurious
5555 underflow exception.
5556 (y1_test): Likewise.
5557
e25cfa60
SP
55582013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
0409959c
SP
5560 * manual/Makefile (chapters): Add nptl.
5561 * manual/debug.texi (Debugging Support): Add link to Threads
5562 chapter.
5563 * manual/nptl.texi: New file.
5564
e25cfa60
SP
5565 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5566
58a1335e
PB
55672013-03-14 Petr Baudis <pasky@ucw.cz>
5568
5569 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5570 for non-NULL pointer before the memory validity test. Pointed
5571 out by Holger Brunck <holger.brunck@keymile.com>.
5572
9dc7c64f
AS
55732013-03-13 Andreas Schwab <schwab@suse.de>
5574
5575 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5576 instead of .os.
5577
54206aa6
JM
55782013-03-13 Joseph Myers <joseph@codesourcery.com>
5579
5580 * timezone/zic.c: Update from tzcode 2013b.
5581
e98cdb38
CD
55822013-03-12 Carlos O'Donell <carlos@redhat.com>
5583
5584 * manual/install.texi (Configuring and compiling):
5585 Mention i686 and i586.
5586 * INSTALL: Regenerate.
5587
9967e003
RM
55882013-03-12 Roland McGrath <roland@hack.frob.com>
5589
5590 * sysdeps/init_array/elf-init.c: New file.
5591 * csu/elf-init.c
5592 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5593 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5594
5595 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5596 __gmon_start__ as global, but as static with a .preinit_array pointer.
5597 * sysdeps/init_array/gmon-start.c: New file. Use that.
5598 * sysdeps/init_array/crti.S: New file, empty except for comments.
5599 * sysdeps/init_array/crtn.S: Likewise.
5600
e6b5a293 56012013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5602
5603 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5604 definining bcopy.
80f844c9
OB
5605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5606 Remove Prefer_SSE_for_memop.
5607 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5608 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5609 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5611 memset-x86-64.
80f844c9 5612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5613 Remove bzero, memset ifunc support.
80f844c9
OB
5614 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5615 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5616 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5617 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5618
fb6b0fcb
AS
56192013-03-11 Andreas Schwab <schwab@suse.de>
5620
5621 [BZ #15234]
5622 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5623 by SHLIB_COMPAT.
5624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5625 (GLIBC_2.16): Remove pthread_atfork.
5626
3e6bd4b1
PP
56272013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5628
5629 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5630 (ptestcases.h): Likewise.
5631
222d7f00
RM
56322013-03-08 Roland McGrath <roland@hack.frob.com>
5633
5634 * Makeconfig ($(common-objpfx)config.status): Depend on
5635 sysdeps/*/preconfigure{,.in} too.
5636
1ba4f030
JM
56372013-03-08 Joseph Myers <joseph@codesourcery.com>
5638
a222d91a
JM
5639 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5640 (__free_hook): Use void * instead of __malloc_ptr_t.
5641 (__malloc_hook): Likewise.
5642 (__realloc_hook): Likewise.
5643 (__memalign_hook): Likewise.
5644 (__after_morecore_hook): Likewise.
5645 * malloc/arena.c (save_malloc_hook): Likewise.
5646 (save_free_hook): Likewise.
5647 * malloc/hooks.c (malloc_hook_ini): Likewise.
5648 (realloc_hook_ini): Likewise.
5649 (memalign_hook_ini): Likewise.
5650 * malloc/malloc.c (malloc_hook_ini): Likewise.
5651 (realloc_hook_ini): Likewise.
5652 (memalign_hook_ini): Likewise.
5653 (__free_hook): Likewise.
5654 (__malloc_hook): Likewise.
5655 (__realloc_hook): Likewise.
5656 (__memalign_hook): Likewise.
5657 (__libc_malloc): Likewise.
5658 (__libc_free): Likewise.
5659 (__libc_realloc): Likewise.
5660 (__libc_memalign): Likewise.
5661 (__libc_valloc): Likewise.
5662 (__libc_pvalloc): Likewise.
5663 (__libc_calloc): Likewise.
5664 (__posix_memalign): Likewise.
5665 * malloc/morecore.c (__sbrk): Likewise.
5666 (__default_morecore): Likewise.
5667
5cc45e10
JM
5668 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5669
dd54b864
JM
5670 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5671 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5672 __malloc_ptrdiff_t.
5673
1ba4f030
JM
5674 * malloc/malloc.h (__malloc_size_t): Remove macro.
5675 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5676 __malloc_size_t.
5677 (old_memalign_hook): Likewise.
5678 (old_realloc_hook): Likewise.
5679 (struct hdr): Likewise.
5680 (flood): Likewise.
5681 (mallochook): Likewise.
5682 (memalignhook): Likewise.
5683 (reallochook): Likewise.
5684 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5685 (tr_old_realloc_hook): Likewise.
5686 (tr_old_memalign_hook): Likewise.
5687 (tr_mallochook): Likewise.
5688 (tr_reallochook): Likewise.
5689 (tr_memalignhook): Likewise.
5690
edf66e57
AZ
56912013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692
5693 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5694 default_ldbl_pack and using as default implementation.
5695 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5696 implementation.
5697 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5698 redundant definition.
5699 (ldbl_insert_mantissa): Likewise.
5700 (ldbl_canonicalize): Likewise.
5701 (ldbl_nearbyint): Likewise.
5702 (ldbl_pack): Rename to ldbl_pack_ppc.
5703 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5704 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5705 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5706
6d9145d8
SP
57072013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5708
5709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5710 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5711 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5712 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5714 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5715 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5716 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5717
4dd4e157
AJ
57182013-03-07 Andreas Jaeger <aj@suse.de>
5719
5720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5721 bits/mman-linux.h.
5722
adbb8027
SP
57232013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5724
ce544b5b
SP
5725 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5726 Include mpa.h and declare __MPEXP.
5727 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5728 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5729 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5730 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5731 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5732 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5733 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5734
4cc149fd
SP
5735 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5736 (__slowpow): Use long double EXPL and LOGL functions to
5737 compute POW.
5738 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5739 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5740 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5741 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5742 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5743 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5744
e6ebd4a7
SP
5745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5746 intermediate variable to calculate exponent.
5747 (__sqr): Likewise.
5748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5749 Likewise.
5750 (__sqr): Likewise.
5751
82a9811d
SP
5752 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5753 [!NO__SQR]: Define __sqr.
5754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5755 and NO__SQR. Remove all code except __mul and __sqr. Include
5756 sysdeps/ieee754/dbl-64/mpa.c.
5757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5758
adbb8027
SP
5759 [BZ #12723]
5760 * posix/Makefile (tests): Add tst-pathconf.
5761 * posix/tst-pathconf.c: New test case.
5762 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5763 _PC_PIPE_BUF.
5764 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5765
39120df9
PF
57662013-03-06 Patsy Franklin <pfrankli@redhat.com>
5767
5768 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5769
67525cb8
AJ
57702013-03-06 Andreas Jaeger <aj@suse.de>
5771
664a9ce4
AJ
5772 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5773 definition via __MAP_ANONYMOUS.
5774
8e39047d
AJ
5775 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5776 it's not part of Linux headers.
5777
67525cb8
AJ
5778 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5779 (MAP_HUGE_MASK): Define.
5780
5781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5782 Define.
5783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5785 Define.
5786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5787 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5788 Define.
5789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5790 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5791 Define.
5792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5793
5794 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5795 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5796 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5797 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5798 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5799 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5800
5801 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5802 Handle f2fs.
5803
5804 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5805 Handle f2fs and efivarfs.
5806
5807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5808 f2fs.
5809
5810 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5811 (EFIVARFS_MAGIC): Add.
5812 (F2FS_LINK_MAX): Add.
5813
e1b42695
PP
58142013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5815
5816 * stdio-common/vfprintf.c: Replace __builtin_expect with
5817 __glibc_unlikely.
5818
2d67d91a
JM
58192013-03-06 Joseph Myers <joseph@codesourcery.com>
5820
5821 [BZ #13550]
5822 * sysdeps/generic/bp-sym.h: Remove file.
5823 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5824 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5825 <bp-sym.h> and <bp-asm.h>.
5826 (__longjmp): Don't use BP_SYM.
5827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5828 and <bp-asm.h>.
5829 (memcpy): Don't use BP_SYM.
5830 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5831 <bp-sym.h> and <bp-asm.h>.
5832 (memcpy): Don't use BP_SYM.
5833 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5834 <bp-asm.h>.
5835 (memcpy): Don't use BP_SYM.
5836 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5837 <bp-asm.h>.
5838 (memset): Don't use BP_SYM.
5839 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5840 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5841 (__bzero): Don't use BP_SYM.
5842 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5843 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5844 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5845 <bp-sym.h> and <bp-asm.h>.
5846 (memcmp): Don't use BP_SYM. Remove comment about bounded
5847 pointers.
5848 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5849 <bp-sym.h> and <bp-asm.h>.
5850 (memcpy): Don't use BP_SYM.
5851 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5852 <bp-sym.h> and <bp-asm.h>.
5853 (memset): Don't use BP_SYM.
5854 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5855 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5856 (__bzero): Don't use BP_SYM.
5857 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5858 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5859 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5860 <bp-sym.h> and <bp-asm.h>.
5861 (strncmp): Don't use BP_SYM. Remove comment about bounded
5862 pointers.
5863 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5864 <bp-sym.h> and <bp-asm.h>.
5865 (memcpy): Don't use BP_SYM.
5866 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5867 <bp-sym.h> and <bp-asm.h>.
5868 (memset): Don't use BP_SYM.
5869 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5870 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5871 (__bzero): Don't use BP_SYM.
5872 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5873 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5874 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5875 <bp-sym.h> and <bp-asm.h>.
5876 (__memchr): Don't use BP_SYM.
5877 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5878 <bp-sym.h> and <bp-asm.h>.
5879 (memcmp): Don't use BP_SYM. Remove comment about bounded
5880 pointers.
5881 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5882 <bp-sym.h> and <bp-asm.h>.
5883 (memcpy): Don't use BP_SYM.
5884 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5885 <bp-sym.h> and <bp-asm.h>.
5886 (__mempcpy): Don't use BP_SYM.
5887 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5888 <bp-sym.h> and <bp-asm.h>.
5889 (__memrchr): Don't use BP_SYM.
5890 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (memset): Don't use BP_SYM.
5893 (__bzero): Likewise.
5894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5895 <bp-sym.h> and <bp-asm.h>.
5896 (__rawmemchr): Don't use BP_SYM.
5897 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5898 <bp-sym.h> and <bp-asm.h>.
5899 (__STRCMP): Don't use BP_SYM.
5900 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5901 <bp-sym.h> and <bp-asm.h>.
5902 (strchr): Don't use BP_SYM.
5903 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5904 <bp-sym.h> and <bp-asm.h>.
5905 (__strchrnul): Don't use BP_SYM.
5906 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5907 <bp-sym.h> and <bp-asm.h>.
5908 (strlen): Don't use BP_SYM.
5909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5910 <bp-sym.h> and <bp-asm.h>.
5911 (strncmp): Don't use BP_SYM. Remove comment about bounded
5912 pointers.
5913 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5914 <bp-sym.h> and <bp-asm.h>.
5915 (__strnlen): Don't use BP_SYM.
5916 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5917 <bp-sym.h> and <bp-asm.h>.
5918 (__GI__setjmp): Don't use BP_SYM.
5919 (_setjmp): Likewise.
5920 (__sigsetjmp): Likewise.
5921 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5922 (L(start_addresses)): Don't use BP_SYM.
5923 (_start): Likewise.
5924 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5925 <bp-asm.h>.
5926 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5927 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5928 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5929 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5930 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5931 <bp-asm.h>.
5932 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5933 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5934 about bounded pointers.
5935 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5936 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5937 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5938 <bp-asm.h>.
5939 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5940 about bounded pointers. Remove GKM FIXME comments.
5941 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5942 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5943 <bp-asm.h>.
5944 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5945 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5946 Remove GKM FIXME comments.
5947 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5948 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5949 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5950 <bp-asm.h>.
5951 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5952 about bounded pointers. Remove GKM FIXME comment.
5953 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5954 and <bp-asm.h>.
5955 (strncmp): Don't use BP_SYM. Remove comment about bounded
5956 pointers.
5957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5958 <bp-sym.h> and <bp-asm.h>.
5959 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5961 <bp-sym.h> and <bp-asm.h>.
5962 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5963 comment.
5964
cdcf361f
PP
59652013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5966
5967 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5968 call free(NULL).
5969
3c4a2b15
DM
59702013-03-05 David S. Miller <davem@davemloft.net>
5971
5972 * po/es.po: Update from translation team.
5973
cdcf361f 59742013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5975
5976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5977 <bits/mman-linux.h>.
5978 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5979 is fine.
5980 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5981 <bits/mman-linux.h> to end of file.
5982 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5983 is fine.
5984 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5985 <bits/mman-linux.h> to end of file.
5986 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5987 is fine.
5988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5989 <bits/mman-linux.h> to end of file.
5990
5991 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5992 (MCL_CURRENT, MCL_FUTURE): Define here.
5993
5f67c04f
AK
59942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5995
8a4473cc 5996 [BZ #15232]
5f67c04f
AK
5997 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5998 attribute_hidden.
5999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6000
c3e94a95
AK
60012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6002
6003 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6004 fourth parameter needed for rt_sigprocmask syscall.
6005 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6006 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6007 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6008 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6009 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6010 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6011
cfb6382a
JM
60122013-03-04 Joseph Myers <joseph@codesourcery.com>
6013
6014 [BZ #13550]
6015 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6016 comment about bounded pointers.
6017 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6018 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6019
539d8e01
AJ
60202013-03-04 Andreas Jaeger <aj@suse.de>
6021
6022 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6023 common definitions.
6024
6025 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6026 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6027 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6028 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6029 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6031
2e167a70 60322013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6033
6034 [BZ #15055]
6035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6036 __ieee754_sqrl instead of __sqrl.
6037
68508633
JM
60382013-03-01 Joseph Myers <joseph@codesourcery.com>
6039
6040 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6041 * sysdeps/powerpc/fpu_control.h: ... here.
6042 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6043 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6044 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6045 * sysdeps/powerpc/bits/mathinline.h: ... here.
6046
7775448e
RM
60472013-03-01 Roland McGrath <roland@hack.frob.com>
6048
6049 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6050 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6051 to just [NEED_DL_SYSINFO_DSO].
6052 * elf/dl-support.c: Likewise.
6053 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6054 * elf/rtld.c (dl_main): Likewise.
6055 * elf/setup-vdso.h (setup_vdso): Likewise.
6056 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6057 * sysdeps/unix/sysv/linux/dl-sysdep.c
6058 (_dl_discover_osversion): Likewise.
6059
4e9b5995
CD
60602013-03-01 Carlos O'Donell <carlos@redhat.com>
6061
6062 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6063 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6064
e23872c8
SP
60652013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6066
e5c74c63
SP
6067 * NEWS: Mention libm performance improvements and non-x86 PI
6068 futex support.
6069
e23872c8
SP
6070 * csu/libc-start.c (__pthread_initialize_minimal): Change
6071 function arguments.
6072 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6073
b5510883
JM
60742013-02-28 Joseph Myers <joseph@codesourcery.com>
6075
6076 [BZ #13550]
6077 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6078 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6079 <bp-sym.h> and <bp-asm.h>.
6080 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6081 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6082 and <bp-asm.h>.
6083 (memcpy): Don't use BP_SYM.
6084 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6085 <bp-asm.h>.
6086 (__mpn_add_n): Don't use BP_SYM.
6087 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6088 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6089 and <bp-asm.h>.
6090 (__mpn_addmul_1): Don't use BP_SYM.
6091 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6092 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6093 <bp-sym.h>.
6094 (_setjmp): Don't use BP_SYM.
6095 (__novmx_setjmp): Likewise.
6096 (__GI__setjmp): Likewise.
6097 (__vmx_setjmp): Likewise.
6098 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6099 <bp-sym.h>.
6100 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6101 (__bzero): Don't use BP_SYM.
6102 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6103 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6104 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6105 <bp-sym.h> and <bp-asm.h>.
6106 (memcpy): Don't use BP_SYM.
6107 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6108 <bp-sym.h> and <bp-asm.h>.
6109 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6110 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6111 <bp-sym.h> and <bp-asm.h>.
6112 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6113 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6114 <bp-asm.h>.
6115 (__mpn_lshift): Don't use BP_SYM.
6116 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6117 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6118 <bp-asm.h>.
6119 (memset): Don't use BP_SYM.
6120 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6121 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6122 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6123 <bp-asm.h>.
6124 (__mpn_mul_1): Don't use BP_SYM.
6125 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6127 <bp-sym.h> and <bp-asm.h>.
6128 (memcmp): Don't use BP_SYM.
6129 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6130 <bp-sym.h> and <bp-asm.h>.
6131 (memcpy): Don't use BP_SYM.
6132 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6133 <bp-sym.h> and <bp-asm.h>.
6134 (memset): Don't use BP_SYM.
6135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6136 <bp-sym.h> and <bp-asm.h>.
6137 (strncmp): Don't use BP_SYM.
6138 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6139 <bp-sym.h> and <bp-asm.h>.
6140 (memcpy): Don't use BP_SYM.
6141 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6142 <bp-sym.h> and <bp-asm.h>.
6143 (memset): Don't use BP_SYM.
6144 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6145 <bp-sym.h> and <bp-asm.h>.
6146 (__memchr): Don't use BP_SYM.
6147 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6148 <bp-sym.h> and <bp-asm.h>.
6149 (memcmp): Don't use BP_SYM.
6150 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6151 <bp-sym.h> and <bp-asm.h>.
6152 (memcpy): Don't use BP_SYM.
6153 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6154 <bp-sym.h> and <bp-asm.h>.
6155 (__mempcpy): Don't use BP_SYM.
6156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6157 <bp-sym.h> and <bp-asm.h>.
6158 (__memrchr): Don't use BP_SYM.
6159 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6160 <bp-sym.h> and <bp-asm.h>.
6161 (memset): Don't use BP_SYM.
6162 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6163 <bp-sym.h> and <bp-asm.h>.
6164 (__rawmemchr): Don't use BP_SYM.
6165 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6166 <bp-sym.h> and <bp-asm.h>.
6167 (__STRCMP): Don't use BP_SYM.
6168 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6169 <bp-sym.h> and <bp-asm.h>.
6170 (strchr): Don't use BP_SYM.
6171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6172 <bp-sym.h> and <bp-asm.h>.
6173 (__strchrnul): Don't use BP_SYM.
6174 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6175 <bp-sym.h> and <bp-asm.h>.
6176 (strlen): Don't use BP_SYM.
6177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6178 <bp-sym.h> and <bp-asm.h>.
6179 (strncmp): Don't use BP_SYM.
6180 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6181 <bp-sym.h> and <bp-asm.h>.
6182 (__strnlen): Don't use BP_SYM.
6183 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6184 <bp-asm.h>.
6185 (__mpn_rshift): Don't use BP_SYM.
6186 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6187 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6188 <bp-sym.h> and <bp-asm.h>.
6189 (__sigsetjmp): Don't use BP_SYM.
6190 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6191 (L(start_addresses)): Don't use BP_SYM.
6192 (_start): Likewise.
6193 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6194 <bp-asm.h>.
6195 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6196 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6197 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6198 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6199 <bp-asm.h>.
6200 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6201 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6202 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6203 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6204 <bp-asm.h>.
6205 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6206 comments.
6207 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6208 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6209 <bp-asm.h>.
6210 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6211 FIXME comments.
6212 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6213 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6214 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6215 <bp-asm.h>.
6216 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6217 comment.
6218 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6219 and <bp-asm.h>.
6220 (strncmp): Don't use BP_SYM,
6221 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6222 <bp-asm.h>.
6223 (__mpn_sub_n): Don't use BP_SYM.
6224 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6225 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6226 and <bp-asm.h>.
6227 (__mpn_submul_1): Don't use BP_SYM.
6228 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6230 <bp-sym.h> and <bp-asm.h>.
6231 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6233 <bp-sym.h> and <bp-asm.h>.
6234 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6235 comment.
6236
8d19fe64
SP
62372013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6238
6239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6240 Use ZK to minimize writes to Z.
6241 (sub_magnitudes): Simplify code a bit.
6242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6243 Use ZK to minimize writes to Z.
6244 (sub_magnitudes): Simplify code a bit.
6245
85bd816a
RM
62462013-02-27 Roland McGrath <roland@hack.frob.com>
6247
6248 * csu/gmon-start.c: Add special exception to license text.
6249
b5977bf2
RH
62502013-02-27 Richard Henderson <rth@redhat.com>
6251
6252 * scripts/config.guess: Update from config.git.
6253 * scripts/config.sub: Likewise.
6254
11d6e2f2
SP
62552013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6256
09c14ed2
SP
6257 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6258
a688864e
SP
6259 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6260
6295157a
SP
6261 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6262
b8de2202
SP
6263 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6264
11d6e2f2
SP
6265 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6266
7e80ddb8
RM
62672013-02-26 Roland McGrath <roland@hack.frob.com>
6268
6269 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6270 [$(build-shared = yes].
7e80ddb8 6271
7da6d9ed
SP
62722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6273
45f05884
SP
6274 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6275 (__mul): Reduce iterations for calculating mantissa.
6276
2236d359
SP
6277 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6278 MPTWO.
6279 (__mpranred): Likewise.
6280
7da6d9ed
SP
6281 [BZ #15160]
6282 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6283 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6284
b7688c42
PE
62852013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6286
6287 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6288 Define __attribute__.
6289
53a5c423
SP
62902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6291
6292 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6293 unused.
6294 * posix/regex_internal.h (__attribute): Remove.
6295 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6296 (re_string_context_at): Likewise.
6297 (bitset_not): Use __attribute__ and mark function as possibly
6298 unused.
6299 (bitset_merge): Likewise.
6300 (bitset_mask): Likewise.
6301 (re_string_char_size_at): Likewise.
6302 (re_string_wchar_at): Likewise.
6303 (re_string_elem_size_at): Likewise.
6304
60f5a8b5
SP
63052013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6306
2a983a2e
SP
6307 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6308 code.
6309 (cc32): Likewise.
6310
e69804d1
SP
6311 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6312 (__acr): Likewise.
6313 (__cpy): Likewise.
6314 (norm): Likewise.
6315 (denorm): Likewise.
6316 (__dbl_mp): Likewise.
6317 (add_magnitudes): Likewise.
6318 (sub_magnitudes): Likewise.
6319 (__mul): Likewise.
6320 (__inv): Likewise.
6321
2f22a1e8
SP
6322 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6323 style.
6324
8930ddc7
SP
6325 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6326 style.
6327
dc60cb11
SP
6328 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6329 code.
6330
60f5a8b5
SP
6331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6332 up changes with default code.
6333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6334 Likewise.
6335
b4d1fd33
AM
63362013-02-24 Allan McRae <allan@archlinux.org>
6337
faf6f8bc
AM
6338 * manual/socket.texi (The Internet Namespace): Order menu items
6339 to match that in the file.
6340
b4d1fd33
AM
6341 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6342 node listing of the info page menu.
6343
2366713d
JM
63442013-02-21 Joseph Myers <joseph@codesourcery.com>
6345
6346 [BZ #13550]
6347 * sysdeps/i386/bp-asm.h: Remove file.
6348 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6349 (PARMS): Do not use macros from bp-asm.h.
6350 (S1): Likewise.
6351 (S2): Likewise.
6352 (SIZE): Likewise.
6353 (__mpn_add_n): Do not use BP_SYM
6354 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6355 "bp-asm.h".
6356 (PARMS): Do not use macros from bp-asm.h.
6357 (S1): Likewise.
6358 (SIZE): Likewise.
6359 (__mpn_addmul_1): Do not use BP_SYM
6360 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6361 "bp-asm.h".
6362 (PARMS): Do not use macros from bp-asm.h.
6363 (SIGMSK): Likewise.
6364 (_setjmp): Likewise. Do not use BP_SYM.
6365 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6366 "bp-asm.h".
6367 (PARMS): Do not use macros from bp-asm.h.
6368 (SIGMSK): Likewise.
6369 (setjmp): Likewise. Do not use BP_SYM.
6370 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6371 "bp-asm.h".
6372 (PARMS): Do not use macros from bp-asm.h.
6373 (__frexp): Do not use BP_SYM.
6374 (frexp): Likewise.
6375 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6376 "bp-asm.h".
6377 (PARMS): Do not use macros from bp-asm.h.
6378 (__frexpf): Do not use BP_SYM.
6379 (frexpf): Likewise.
6380 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6381 "bp-asm.h".
6382 (PARMS): Do not use macros from bp-asm.h.
6383 (__frexpl): Do not use BP_SYM.
6384 (frexpl): Likewise.
6385 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6386 "bp-asm.h".
6387 (PARMS): Do not use macros from bp-asm.h.
6388 (__remquo): Do not use BP_SYM.
6389 (remquo): Likewise.
6390 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6391 "bp-asm.h".
6392 (PARMS): Do not use macros from bp-asm.h.
6393 (__remquof): Do not use BP_SYM.
6394 (remquof): Likewise.
6395 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6396 "bp-asm.h".
6397 (PARMS): Do not use macros from bp-asm.h.
6398 (__remquol): Do not use BP_SYM.
6399 (remquol): Likewise.
6400 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6401 "bp-asm.h".
6402 (PARMS): Do not use macros from bp-asm.h.
6403 (DEST): Likewise.
6404 (SRC): Likewise.
6405 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6406 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6407 "bp-asm.h".
6408 (PARMS): Do not use macros from bp-asm.h.
6409 (strlen): Do not use BP_SYM.
6410 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6411 "bp-asm.h".
6412 (PARMS): Do not use macros from bp-asm.h.
6413 (S1): Likewise.
6414 (S2): Likewise.
6415 (SIZE): Likewise.
6416 (__mpn_add_n): Do not use BP_SYM.
6417 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6418 "bp-asm.h".
6419 (PARMS): Do not use macros from bp-asm.h.
6420 (S1): Likewise.
6421 (SIZE): Likewise.
6422 (__mpn_addmul_1): Do not use BP_SYM.
6423 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6424 weak_alias.
6425 (bzero): Likewise.
6426 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6427 "bp-asm.h".
6428 (PARMS): Do not use macros from bp-asm.h.
6429 (S): Likewise.
6430 (SIZE): Likewise.
6431 (__mpn_lshift): Do not use BP_SYM.
6432 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6433 "bp-asm.h".
6434 (PARMS): Do not use macros from bp-asm.h.
6435 (DEST): Likewise.
6436 (SRC): Likewise.
6437 (LEN): Likewise.
6438 (memcpy): Likewise. Do not use BP_SYM.
6439 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6440 libc_hidden_def and weak_alias.
6441 (mempcpy): Do not use BP_SYM in weak_alias.
6442 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6443 "bp-asm.h".
6444 (PARMS): Do not use macros from bp-asm.h.
6445 (DEST): Likewise.
6446 (LEN): Likewise.
6447 [!BZERO_P] (CHR): Likewise.
6448 (memset): Likewise. Do not use BP_SYM.
6449 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6450 "bp-asm.h".
6451 (PARMS): Do not use macros from bp-asm.h.
6452 (S1): Likewise.
6453 (SIZE): Likewise.
6454 (__mpn_mul_1): Do not use BP_SYM.
6455 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6456 "bp-asm.h".
6457 (PARMS): Do not use macros from bp-asm.h.
6458 (S): Likewise.
6459 (SIZE): Likewise.
6460 (__mpn_rshift): Do not use BP_SYM.
6461 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6462 "bp-asm.h".
6463 (PARMS): Do not use macros from bp-asm.h.
6464 (STR): Likewise.
6465 (CHR): Likewise.
6466 (strchr): Likewise. Do not use BP_SYM.
6467 (index): Do not use BP_SYM in weak_alias.
6468 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6469 "bp-asm.h".
6470 (PARMS): Do not use macros from bp-asm.h.
6471 (DEST): Likewise.
6472 (SRC): Likewise.
6473 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6474 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6475 "bp-asm.h".
6476 (PARMS): Do not use macros from bp-asm.h.
6477 (strlen): Do not use BP_SYM.
6478 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6479 "bp-asm.h".
6480 (PARMS): Do not use macros from bp-asm.h.
6481 (S1): Likewise.
6482 (S2): Likewise.
6483 (SIZE): Likewise.
6484 (__mpn_sub_n): Do not use BP_SYM.
6485 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6486 "bp-asm.h".
6487 (PARMS): Do not use macros from bp-asm.h.
6488 (S1): Likewise.
6489 (SIZE): Likewise.
6490 (__mpn_submul_1): Do not use BP_SYM.
6491 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6492 "bp-asm.h".
6493 (PARMS): Do not use macros from bp-asm.h.
6494 (S1): Likewise.
6495 (S2): Likewise.
6496 (SIZE): Likewise.
6497 (__mpn_add_n): Do not use BP_SYM.
6498 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6499 weak_alias.
6500 (bzero): Likewise.
6501 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6502 "bp-asm.h".
6503 (PARMS): Do not use macros from bp-asm.h.
6504 (BLK2): Likewise.
6505 (LEN): Likewise.
6506 (memcmp): Do not use BP_SYM.
6507 (bcmp): Do not use BP_SYM in weak_alias.
6508 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6509 "bp-asm.h".
6510 (PARMS): Do not use macros from bp-asm.h.
6511 (DEST): Likewise.
6512 (SRC): Likewise.
6513 (LEN): Likewise.
6514 (memcpy): Likewise. Do not use BP_SYM.
6515 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6516 "bp-asm.h".
6517 (PARMS): Do not use macros from bp-asm.h.
6518 (DEST): Likewise.
6519 (SRC): Likewise.
6520 (LEN): Likewise.
6521 (memmove): Likewise. Do not use BP_SYM.
6522 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6523 "bp-asm.h".
6524 (PARMS): Do not use macros from bp-asm.h.
6525 (DEST): Likewise.
6526 (SRC): Likewise.
6527 (LEN): Likewise.
6528 (__mempcpy): Likewise. Do not use BP_SYM.
6529 (mempcpy): Do not use BP_SYM in weak_alias.
6530 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6531 "bp-asm.h".
6532 (PARMS): Do not use macros from bp-asm.h.
6533 (DEST): Likewise.
6534 (LEN): Likewise.
6535 [!BZERO_P] (CHR): Likewise.
6536 (memset): Likewise. Do not use BP_SYM.
6537 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6538 "bp-asm.h".
6539 (PARMS): Do not use macros from bp-asm.h.
6540 (STR2): Likewise.
6541 (strcmp): Do not use BP_SYM.
6542 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6543 "bp-asm.h".
6544 (PARMS): Do not use macros from bp-asm.h.
6545 (STR): Likewise.
6546 (DELIM): Likewise.
6547 [USE_AS_STRTOK_R] (SAVE): Likewise.
6548 (FUNCTION): Likewise. Do not use BP_SYM.
6549 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6550 aliases.
6551 (strtok_r): Likewise.
6552 (__GI___strtok_r): Likewise.
6553 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6554 (PARMS): Do not use macros from bp-asm.h.
6555 (S): Likewise.
6556 (SIZE): Likewise.
6557 (__mpn_lshift): Do not use BP_SYM.
6558 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6559 (PARMS): Do not use macros from bp-asm.h.
6560 (STR): Likewise.
6561 (CHR): Likewise.
6562 (__memchr): Do not use BP_SYM.
6563 (memchr): Do not use BP_SYM in weak_alias.
6564 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6565 (PARMS): Do not use macros from bp-asm.h.
6566 (BLK2): Likewise.
6567 (LEN): Likewise.
6568 (memcmp): Do not use BP_SYM.
6569 (bcmp): Do not use BP_SYM in weak_alias.
6570 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6571 (PARMS): Do not use macros from bp-asm.h.
6572 (S1): Likewise.
6573 (SIZE): Likewise.
6574 (__mpn_mul_1): Do not use BP_SYM.
6575 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6576 "bp-asm.h".
6577 (PARMS): Do not use macros from bp-asm.h.
6578 (STR): Likewise.
6579 (CHR): Likewise.
6580 (__rawmemchr): Do not use BP_SYM.
6581 (rawmemchr): Do not use BP_SYM in weak_alias.
6582 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6583 (PARMS): Do not use macros from bp-asm.h.
6584 (S): Likewise.
6585 (SIZE): Likewise.
6586 (__mpn_rshift): Do not use BP_SYM.
6587 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6588 (PARMS): Do not use macros from bp-asm.h.
6589 (SIGMSK): Likewise.
6590 (__sigsetjmp): Likewise. Do not use BP_SYM.
6591 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6592 (_start): Do not use BP_SYM.
6593 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6594 (PARMS): Do not use macros from bp-asm.h.
6595 (DEST): Likewise.
6596 (SRC): Likewise.
6597 (__stpcpy): Likewise. Do not use BP_SYM.
6598 (stpcpy): Do not use BP_SYM in weak_alias.
6599 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6600 "bp-asm.h".
6601 (PARMS): Do not use macros from bp-asm.h.
6602 (DEST): Likewise.
6603 (SRC): Likewise.
6604 (LEN): Likewise.
6605 (__stpncpy): Likewise. Do not use BP_SYM.
6606 (stpncpy): Do not use BP_SYM in weak_alias.
6607 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6608 (PARMS): Do not use macros from bp-asm.h.
6609 (STR): Likewise.
6610 (CHR): Likewise.
6611 (strchr): Likewise. Do not use BP_SYM.
6612 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6613 "bp-asm.h".
6614 (PARMS): Do not use macros from bp-asm.h.
6615 (STR): Likewise.
6616 (CHR): Likewise.
6617 (__strchrnul): Likewise. Do not use BP_SYM.
6618 (strchrnul): Do not use BP_SYM in weak_alias.
6619 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6620 "bp-asm.h".
6621 (PARMS): Do not use macros from bp-asm.h.
6622 (STOP): Likewise.
6623 (strcspn): Do not use BP_SYM.
6624 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6625 "bp-asm.h".
6626 (PARMS): Do not use macros from bp-asm.h.
6627 (STR): Likewise.
6628 (STOP): Likewise.
6629 (strpbrk): Likewise. Do not use BP_SYM.
6630 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6631 "bp-asm.h".
6632 (PARMS): Do not use macros from bp-asm.h.
6633 (STR): Likewise.
6634 (CHR): Likewise.
6635 (strrchr): Likewise. Do not use BP_SYM.
6636 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6637 (PARMS): Do not use macros from bp-asm.h.
6638 (SKIP): Likewise.
6639 (strspn): Do not use BP_SYM.
6640 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6641 (PARMS): Do not use macros from bp-asm.h.
6642 (STR): Likewise.
6643 (DELIM): Likewise.
6644 (SAVE): Likewise.
6645 (FUNCTION): Likewise. Do not use BP_SYM.
6646 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6647 aliases.
6648 (strtok_r): Likewise.
6649 (__GI___strtok_r): Likewise.
6650 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6651 (PARMS): Do not use macros from bp-asm.h.
6652 (S1): Likewise.
6653 (S2): Likewise.
6654 (SIZE): Likewise.
6655 (__mpn_sub_n): Do not use BP_SYM.
6656 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6657 "bp-asm.h".
6658 (PARMS): Do not use macros from bp-asm.h.
6659 (S1): Likewise.
6660 (SIZE): Likewise.
6661 (__mpn_submul_1): Do not use BP_SYM.
6662 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6663 <bp-sym.h>.
6664 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6665 and <bp-asm.h>.
6666 (PARMS): Do not use macros from bp-asm.h.
6667 (FLAGS): Likewise.
6668 (PTID): Likewise.
6669 (TLS): Likewise.
6670 (CTID): Likewise.
6671 (__clone): Do not use BP_SYM.
6672 (clone): Do not use BP_SYM in weak_alias.
6673 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6674 and <bp-asm.h>.
6675 (PARMS): Do not use macros from bp-asm.h.
6676 (LEN): Likewise.
6677 (__mmap64): Do not use BP_SYM.
6678 (mmap64): Do not use BP_SYM in weak_alias.
6679 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6680 <bp-sym.h> and <bp-asm.h>.
6681 (PARMS): Do not use macros from bp-asm.h.
6682 (__posix_fadvise64_l64): Do not use BP_SYM.
6683 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6684 (PARMS): Do not use macros from bp-asm.h.
6685 (NSOPS): Likewise.
6686 (semtimedop): Do not use BP_SYM.
6687 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6688 and <bp-asm.h>.
6689
582a3cff
AM
66902013-02-21 Allan McRae <allan@archlinux.org>
6691
6692 * manual/message.texi (Charset conversion in gettext):
6693 Move @end statement to beginning of line.
6694
bab8a695
SP
66952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6696
80945231
SP
6697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6698 static.
6699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6700 Likewise.
6701
bab8a695
SP
6702 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6703 (denorm): Likewise.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6706
e21d7aa7
AK
67072013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6708
6709 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6710 tail-call to the resolved function if pltexit isn't needed.
6711
4c7a4263
SP
67122013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6713
6714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6715 or Y being zero as being unlikely.
6716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6717 Likewise.
6718
41f49342
CD
67192013-02-20 Carlos O'Donell <carlos@redhat.com>
6720
6721 * manual/nss.texi (System Databases and Name Service Switch):
6722 Remove frobnicate @pxref.
6723
50022a93
TS
67242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6725
6726 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6727 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6728
08cbd996
PM
67292013-02-20 Petr Machata <pmachata@redhat.com>
6730
6731 * elf/elf.h (R_ARM_TARGET1): New macro.
6732 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6733 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6734 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6735 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6736 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6737 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6738 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6739 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6740 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6741 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6742 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6743 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6744 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6745 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6746 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6747 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6748 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6749 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6750 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6751 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6752 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6753 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6754 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6755 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6756 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6757 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6758 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6759 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6760 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6761 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6762 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6763 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6764 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6765 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6766 (R_ARM_THM_GOT_BREL12): Likewise.
6767 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6768 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6769 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6770 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6771 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6772 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6773 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6774 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6775 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6776
c7b275d6
TS
67772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6778
6779 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6780 __attribute_used__ to __attribute__ ((unused)).
6781
20cd7fb3
SP
67822013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6783
6784 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6785 powerpc mpa.c.
6786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6787 comment formatting.
6788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6789
92945b52
JM
67902013-02-19 Joseph Myers <joseph@codesourcery.com>
6791
6792 [BZ #13550]
6793 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6794 Remove macro.
6795 (ENTER): Remove both macro definitions.
6796 (LEAVE): Likewise.
6797 (CHECK_BOUNDS_LOW): Likewise.
6798 (CHECK_BOUNDS_HIGH): Likewise.
6799 (CHECK_BOUNDS_BOTH): Likewise.
6800 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6801 (RETURN_BOUNDED_POINTER): Likewise.
6802 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6803 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6804 (POP_ERRNO_LOCATION_RETURN): Likewise.
6805 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6806 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6807 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6808 macros.
6809 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6810 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6811 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6812 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6813 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6814 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6815 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6816 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6817 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6818 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6819 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6820 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6821 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6822 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6823 removed macros.
6824 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6825 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6826 macros.
6827 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6828 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6829 * sysdeps/i386/i586/memset.S (memset): Likewise.
6830 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6831 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6832 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6833 macros.
6834 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6835 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6836 Change uses of L(2) to L(out).
6837 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6838 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6839 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6840 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6841 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6842 removed macros.
6843 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6844 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6845 macros.
6846 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6847 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6848 (RETURN): Do not use macro LEAVE.
6849 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6850 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6851 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6852 * sysdeps/i386/i686/memset.S (memset): Likewise.
6853 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6854 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6855 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6856 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6857 Likewise.
6858 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6859 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6860 L(1_2) and L(1_3) into L(1).
6861 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6862 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6864 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6865 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6866 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6867 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6868 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6869 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6870 macros.
6871 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6872 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6873 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6874 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6875 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6876 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6877 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6878 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6879 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6880 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6881 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6882 * sysdeps/i386/strspn.S (strspn): Likewise.
6883 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6884 conditional code.
6885 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6886 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6887 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6888 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6889 L(1_3) into L(1_1).
6890 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6891 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6892 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6893 macros.
6894 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6895
2389741a
JJ
68962013-02-19 Jakub Jelinek <jakub@redhat.com>
6897
6898 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6899 macro.
6900
2016b3cd
SP
69012013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6902
e4f22324
SP
6903 * math/atest-exp.c (exp_mpn): Remove ROUND.
6904 * math/atest-exp2.c (exp_mpn): Likewise.
6905 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6906
2016b3cd
SP
6907 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6908 * stdlib/tst-tls-atexit-lib.c: Likewise.
6909 * stdlib/tst-tls-atexit.c: Likewise.
6910
4be9b544
MF
69112013-02-18 Mike Frysinger <vapier@gentoo.org>
6912
6913 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6914 and __attribute_alloc_size__.
6915
2f62b9ee
MF
69162013-02-18 Mike Frysinger <vapier@gentoo.org>
6917
6918 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6919 __attribute_alloc_size__.
6920 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6921 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6922
6ff444c4
MF
69232013-02-18 Mike Frysinger <vapier@gentoo.org>
6924
6925 * include/programs/xmalloc.h: New file.
6926 * catgets/gencat.c: Include it.
6927 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6928 * elf/pldd.c: Likewise.
6929 * iconv/iconv_charmap.c: Likewise.
6930 * iconv/iconvconfig.c: Likewise.
6931 * iconv/strtab.c: Likewise.
6932 * locale/programs/locale.c: Likewise.
6933 * locale/programs/localedef.h: Likewise.
6934 * locale/programs/simple-hash.c: Likewise.
6935 * nscd/nscd.h: Likewise.
6936 * nss/makedb.c: Likewise.
6937 * sysdeps/generic/ldconfig.h: Likewise.
6938
be179c8a
SP
69392013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6940
ba384f6e
SP
6941 * Versions.def: Add GLIBC_2.18.
6942 * include/link.h (struct link_map): New member l_tls_dtor_count.
6943 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6944 (__call_tls_dtors): Likewise.
6945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6946 __cxa_thread_atexit_impl.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6948 Likewise.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6950 Likewise.
6951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6952 Likewise.
6953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6954 Likewise.
6955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6957 Likewise.
6958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6959 Likewise.
6960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6962 Likewise.
6963 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6964 (tests): Add test case tst-tls-atexit.
6965 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6966 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6967 (GLIBC_PRIVATE): Add __call_tls_dtors.
6968 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6969 for libstdc++.
6970 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6971 * stdlib/tst-tls-atexit.c: New test case.
6972 * stdlib/tst-tls-atexit-lib.c: New test case.
6973
ffaa74cf 6974 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6975
be179c8a
SP
6976 * elf/Versions (ld): Add _dl_find_dso_for_object.
6977 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6978 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6979 (dl_open_worker): Use _dl_find_dso_for_object.
6980 * elf/dl-sym.c (do_sym): Likewise.
6981 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6982
f78b5caa
AK
69832013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6984
6985 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6986 Syntactic changes only.
6987 (_dl_runtime_profile): Do a tail-call to the resolved function.
6988
29691210
JM
69892013-02-17 Joseph Myers <joseph@codesourcery.com>
6990
6991 [BZ #13550]
6992 * sysdeps/x86_64/bp-asm.h: Remove file.
6993 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6994 <bp-sym.h> and <bp-asm.h>.
6995 (__clone): Do not use BP_SYM.
6996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6997 <bp-sym.h> and <bp-asm.h>.
6998 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6999 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7000 "bp-asm.h".
7001 (_setjmp): Do not use BP_SYM.
7002 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7003 "bp-asm.h".
7004 (setjmp): Do not use BP_SYM.
7005 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7006 libc_hidden_def.
7007 (mempcpy): Do not use BP_SYM in weak_alias.
7008 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7009 "bp-asm.h".
7010 (strchr): Do not use BP_SYM.
7011 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7012 "bp-asm.h".
7013 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7014 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7015 (_start): Do not use BP_SYM.
7016 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7017 "bp-asm.h".
7018 (strcat): Do not use BP_SYM.
7019 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7020 "bp-asm.h".
7021 (STRCMP): Do not use BP_SYM.
7022 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7023 "bp-asm.h".
7024 (STRCPY): Do not use BP_SYM.
7025 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7026 "bp-asm.h".
7027 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7028 "bp-asm.h".
7029 (FUNCTION): Do not use BP_SYM.
7030 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7031 weak_alias.
7032 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7033
f238fd19
AJ
70342013-02-17 Andreas Jaeger <aj@suse.de>
7035
7036 * time/Versions: Sort entries.
7037 * string/Versions: Likewise.
7038 * resolv/Versions: Likewise.
7039 * posix/Versions: Likewise.
7040 * iconv/Versions: Likewise.
7041 * elf/Versions: Likewise.
7042 * wcsmbs/Versions: Likewise.
7043
bd07f23c 70442013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7045
22af19f9
SP
7046 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7047 loop termination condition.
7048
4709fe76
SP
7049 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7050 variable to calculate EZ.
7051 (__sqr): Likewise.
2d0e0f29
SP
7052
7053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7054 the lower precision input.
7055
daaa7713
JM
70562013-02-15 Joseph Myers <joseph@codesourcery.com>
7057
7058 [BZ #13550]
7059 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7060 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7061 (run-via-rtld-prefix): Do not handle %-bp tests.
7062 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7063 (all-object-suffixes): Remove .ob.
7064 (bppfx): Remove variable.
7065 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7066 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7067 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7068 [$(build-bounded) = yes] (libtype.ob): Likewise.
7069 * Makerules (elide-routines.ob): Remove variable.
7070 (do-tests-clean): Do not handle *-bp.out.
7071 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7072 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7073 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7074 (tests): Do not include $(tests-bp.out).
7075 (xtests): Do not include $(xtests-bp.out).
7076 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7077 [$(build-bounded) = yes] ($(addprefix
7078 $(objpfx),$(binaries-bounded))): Remove rule.
7079 ($(objpfx)%-bp.out): Remove rule.
7080 * config.make.in (build-bounded): Remove variable.
7081 * crypt/Makefile [$(build-bounded) = yes]
7082 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7083 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7084 append to variable.
7085 [$(build-bounded) = yes] (install-lib): Likewise.
7086 [$(build-bounded) = yes] (generated): Likewise.
7087 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7088 Remove rule.
7089 * intl/Makefile [$(build-bounded) = yes]
7090 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7091 * math/Makefile [$(build-bounded) = yes]
7092 ($(tests:%=$(objpfx)%-bp): Likewise.
7093 * misc/Makefile [$(build-bounded) = yes]
7094 ($(objpfx)tst-tsearch-bp): Likewise.
7095 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7096 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7097 Remove dependency.
7098 * string/Makefile (o-objects.ob): Remove variable.
7099 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7100 (CFLAGS-.ob): Remove variable.
7101 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7102 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7103 both definitions of variable.
7104 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7105 (ASFLAGS-.ob): Remove variable.
7106
e97ed6dd
JM
71072013-02-14 Joseph Myers <joseph@codesourcery.com>
7108
2bdd4ca6
JM
7109 [BZ #13550]
7110 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7111 Remove __BOUNDED_POINTERS__ from condition.
7112 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7113 * string/bits/string2.h [!__NO_STRING_INLINES &&
7114 !__BOUNDED_POINTERS__]: Likewise.
7115 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7116 Likewise.
7117 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7118 Remove conditional code.
7119 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7120 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7121 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7122 condition.
7123
e97ed6dd
JM
7124 [BZ #13550]
7125 * csu/libc-start.c: Do not include <bp-sym.h>.
7126 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7127 * elf/dl-open.c: Do not include <bp-sym.h>.
7128 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7129 * math/fegetenv.c: Do not include <bp-sym.h>.
7130 (fegetenv): Do not use BP_SYM in versioned symbols.
7131 * nptl/sysdeps/pthread/bits/libc-lockP.h
7132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7133 <bp-sym.h>.
7134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7135 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7137 (__pthread_mutex_destroy): Likewise.
7138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7139 (__pthread_mutex_lock): Likewise.
7140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7141 (__pthread_mutex_trylock): Likewise.
7142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7143 (__pthread_mutex_unlock): Likewise.
7144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7145 (__pthread_mutexattr_init): Likewise.
7146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7147 (__pthread_mutexattr_destroy): Likewise.
7148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7149 (__pthread_mutexattr_settype): Likewise.
7150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7151 (__pthread_rwlock_init): Likewise.
7152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7153 (__pthread_rwlock_destroy): Likewise.
7154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7155 (__pthread_rwlock_rdlock): Likewise.
7156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7157 (__pthread_rwlock_tryrdlock): Likewise.
7158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7159 (__pthread_rwlock_wrlock): Likewise.
7160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7161 (__pthread_rwlock_trywrlock): Likewise.
7162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7163 (__pthread_rwlock_unlock): Likewise.
7164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7165 (__pthread_key_create): Likewise.
7166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7167 (__pthread_setspecific): Likewise.
7168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7169 (__pthread_getspecific): Likewise.
7170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7171 Likewise.
7172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7173 (_pthread_cleanup_push_defer): Likewise.
7174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7175 (_pthread_cleanup_pop_restore): Likewise.
7176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7177 (pthread_setcancelstate): Likewise.
7178 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7179 <bp-sym.h>.
7180 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7181 (memchr): Do not use BP_SYM in weak_alias.
7182 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7183 (fegetenv): Do not use BP_SYM in versioned symbols.
7184 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7185 (fesetenv): Do not use BP_SYM in versioned symbols.
7186 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7187 (feupdateenv): Do not use BP_SYM in versioned symbols.
7188 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7189 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7190 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7191 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7192 (open64): Do not use BP_SYM in weak_alias.
7193 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7194 (fegetenv): Do not use BP_SYM in versioned symbols.
7195 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7196 (fesetenv): Do not use BP_SYM in versioned symbols.
7197 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7198 (feupdateenv): Do not use BP_SYM in versioned symbols.
7199 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7200 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7201 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7202 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7203 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7204 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7205 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7206 <bp-sym.h>.
7207 (__libc_start_main): Do not use BP_SYM.
7208
d6752ccd
SP
72092013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7210
cb57ce60
SP
7211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7212 redundant return line.
7213 (norm): Likewise.
7214 (denorm): Likewise.
7215 (dbl_mp): Likewise.
7216 (sub_magnitudes): Likewise.
7217 (__add): Likewise.
7218 (__sub): Likewise.
7219 (__mul): Likewise.
7220 (__inv): Likewise.
7221 (__dvd): Likewise.
7222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7223 (norm): Likewise.
7224 (denorm): Likewise.
7225 (dbl_mp): Likewise.
7226 (sub_magnitudes): Likewise.
7227 (__add): Likewise.
7228 (__sub): Likewise.
7229 (__mul): Likewise.
7230 (__inv): Likewise.
7231 (__dvd): Likewise.
7232
f414520d
SP
7233 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7234 instead of __mul.
7235 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7236 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7237 (cc32): Likewise.
7238
d6752ccd
SP
7239 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7240 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7242 of __mul for squares.
7243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7244 function
7245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7246 Likewise.
7247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7248 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7249
70d9946a
JM
72502013-02-13 Joseph Myers <joseph@codesourcery.com>
7251
7252 [BZ #13550]
7253 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7254 code.
7255 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7256 prototype or function definition. Rename ubp_* variables and
7257 parameters. Remove argv definitions conditional on
7258 [__BOUNDED_POINTERS__].
7259 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7260 * elf/dl-runtime.c (_dl_fixup): Likewise.
7261 * include/set-hooks.h (RUN_HOOK): Likewise.
7262 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7263 definition.
7264 * string/strcpy.c (strcpy): Do not use __unbounded.
7265 * sysdeps/generic/frame.h (struct layout): Likewise.
7266 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7267 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7268 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7269 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7270 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7271 (__backtrace): Likewise.
7272 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7273 use __ptrvalue.
7274 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7275 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7276 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7277 Likewise.
7278 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7279 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7280 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7281 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7282 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7283 Do not use __unbounded.
7284 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7285 Rename __unboundedrlimits parameter to rlimits in prototype.
7286 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7287 Do not use __unbounded.
7288 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7289 not use __ptrvalue.
7290 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7291 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7292 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7293 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7294 __ptrvalue or __unbounded.
7295 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7296 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7297 use __unbounded.
7298 (__new_msgctl): Do not use __ptrvalue.
7299 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7300 __unbounded.
7301 (__libc_msgrcv): Do not use __ptrvalue.
7302 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7303 startup_info): Do not use __unbounded.
7304 (__libc_start_main): Likewise. Rename ubp_* variables and
7305 parameters. Remove argv definitions conditional on
7306 [__BOUNDED_POINTERS__].
7307 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7308 __ptrvalue.
7309 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7310 use __unbounded.
7311 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7312 or __ptrvalue.
7313 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7314 use __unbounded.
7315 (__new_shmctl): Do not use __ptrvalue.
7316 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7317 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7318 Likewise.
7319 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7320 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7321 (__libc_sigaction): Likewise.
7322 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7323 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7324 Likewise.
7325 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7326
cc7834d6
OB
73272013-02-13 Ondřej Bílka <neleai@seznam.cz>
7328
ffb1ec7b 7329 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7330
7331 * string/mempcpy.c: Implement by calling memcpy.
7332
bdf02814
SP
73332013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7334
c2af38aa
SP
7335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7336
4e92d59e
SP
7337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7338 evaluation.
7339
909279a5
SP
7340 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7341 values in the mantissa.
7342
bdf02814
SP
7343 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7344 minimize writes to Z.
7345 (sub_magnitudes): Simplify code a bit.
7346
cd525923
RM
73472013-02-12 Roland McGrath <roland@hack.frob.com>
7348
7349 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7350 from the message. The linker prefixes all warnings with that already.
7351
7e2f0d2d
AS
73522013-02-12 Andreas Schwab <schwab@suse.de>
7353
a445af0b
AS
7354 [BZ #15078]
7355 * posix/regexec.c (extend_buffers): Add parameter min_len.
7356 (check_matching): Pass minimum needed length.
7357 (clean_state_log_if_needed): Likewise.
7358 (get_subexp): Likewise.
7359 * posix/Makefile (tests): Add bug-regex34.
7360 (bug-regex34-ENV): Define.
7361 * posix/bug-regex34.c: New file.
7362
7e2f0d2d
AS
7363 [BZ #11561]
7364 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7365 elements compare against the byte sequence of it, not its name.
7366 * posix/Makefile (tests): Add bug-regex35.
7367 (bug-regex35-ENV): Define.
7368 * posix/bug-regex35.c: New file.
7369
a175b684
TV
73702013-02-11 Tom de Vries <tom@codesourcery.com>
7371
7372 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7373 comment.
7374 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7375 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7376 (CHECK_EOL): Add undef.
7377
310998fe 73782013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7379
7380 * bits/stdlib-bsearch.h: New file.
7381 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7382 * stdlib/stdlib.h: Likewise.
41eda41d 7383
8ded91fb
RM
73842013-02-11 Roland McGrath <roland@hack.frob.com>
7385
7386 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7387 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7388 declaration.
7389 * manual/search.texi (Array Search Function): Add missing const in
7390 lfind prototype.
7391 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7392 declaration to use rlim_t.
7393 (Basic Scheduling Functions): Remove erroneous const from
7394 sched_getparam prototype. Remove erroneous * from
7395 sched_get_priority_max and sched_get_priority_min prototypes.
7396 (Resource Usage): Fix summary @comment on vtimes to refer to
7397 sys/vtimes.h rather than vtimes.h.
7398 Add missing *s in vtimes prototype.
7399 (Limits on Resources): Fix ulimit prototype to return long int.
7400 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7401 prototypes to use long int rather than double.
7402 (BSD Random): Fix initstate and setstate to use char *, not void *.
7403 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7404 prototype to make second argument 'struct aiocb64 *const[]'.
7405 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7406 (Status of AIO Operations): Remove erroneous const in aio_return and
7407 aio_return64 prototypes.
7408 (Synchronizing I/O): Fix sync prototype to return void.
7409 * manual/startup.texi (Suboptions): Remove an erroneous const in
7410 getsubopt prototype.
7411 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7412 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7413 use size_t rather than int.
7414 (Scanning All Users): Likewise for getpwent_r.
7415 (Setting Groups): Add missing const to setgroups prototype.
7416 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7417 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7418 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7419 'const void *' rather than 'const char *'.
7420 (Host Address Functions): Likewise for inet_ntop.
7421 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7422 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7423 ssize_t for return value.
7424 (Sending Data): Likewise for send, sendto, sendmsg.
7425 (Socket Option Functions): Add a missing const in setsockopt prototype.
7426 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7427 use wchar_t for the argument.
7428 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7429 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7430 take no arguments.
7431 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7432 double/float/long double for second argument.
7433 Fix return types of significand, significandf, significandl.
7434 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7435 argument in fchmod prototype.
7436 (File Owner): Use uid_t and gid_t in fchown prototype.
7437 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7438 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7439 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7440 use 'const struct dirent **' as argument types to CMP function pointer
7441 argument.
7442 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7443 (File Times): Fix summary magic @comment for struct utimbuf and utime
7444 to refer to utime.h, not time.h.
7445 * manual/string.texi (Argz Functions): Add missing const in
7446 argz_extract and argz_next prototypes.
7447 (Finding Tokens in a String): Likewise for basename.
7448 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7449 (Copying and Concatenation): Fix typo in wmemmove prototype.
7450 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7451 (Signal Stack): Remove erroneous const in sigstack prototype.
7452 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7453 prototype.
7454 (Simple Calendar Time): Likewise for stime.
7455 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7456 prototype.
7457 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7458 say sys/sysctl.h instead.
7459 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7460 and vsyslog prototypes.
7461
fe77fe6d
TV
74622013-02-11 Tom de Vries <tom@codesourcery.com>
7463
7464 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7465 Remove.
7466
3a09b620
RM
74672013-02-11 Roland McGrath <roland@hack.frob.com>
7468
7469 * misc/sys/mman.h: Fix typo in mremap comment.
7470
550a0b89
RM
74712013-02-08 Roland McGrath <roland@hack.frob.com>
7472
7473 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7474 the '\0' terminator.
7475
a2da1673
JM
74762013-02-08 Joseph Myers <joseph@codesourcery.com>
7477
7478 [BZ #13550]
7479 * debug/segfault.c: Don't include <bp-checks.h>.
7480 * sysdeps/generic/bp-checks.h: Remove file.
7481 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7482 (__GETDENTS): Don't use CHECK_N.
7483 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7484 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7485 (__getgroups): Don't use CHECK_N.
7486 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7487 (setgroups): Don't use CHECK_N.
7488 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7489 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7490 (__libc_msgrcv): Don't use CHECK_N.
7491 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7492 (__libc_msgsnd): Don't use CHECK_N.
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7494 <bp-checks.h>.
7495 (__libc_pread): Don't use CHECK_N.
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7497 include <bp-checks.h>.
7498 (__libc_pread64): Don't use CHECK_N.
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7500 include <bp-checks.h>.
7501 (__libc_pwrite): Don't use CHECK_N.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7503 include <bp-checks.h>.
7504 (__libc_pwrite64): Don't use CHECK_N.
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7506 <bp-checks.h>.
7507 (__libc_pread): Don't use CHECK_N.
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7509 include <bp-checks.h>.
7510 (__libc_pread64): Don't use CHECK_N.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7512 include <bp-checks.h>.
7513 (__libc_pwrite): Don't use CHECK_N.
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7515 include <bp-checks.h>.
7516 (__libc_pwrite64): Don't use CHECK_N.
7517 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7518 (do_pread): Don't use CHECK_N.
7519 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7520 (do_pread64): Don't use CHECK_N.
7521 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7522 (do_pwrite): Don't use CHECK_N.
7523 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7524 (do_pwrite64): Don't use CHECK_N.
7525 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7526 (__libc_readv): Don't use CHECK_N.
7527 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7528 (semop): Don't use CHECK_N.
7529 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7530 <bp-checks.h>.
7531 (semtimedop): Don't use CHECK_N.
7532 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7533 (__libc_pread): Don't use CHECK_N.
7534 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7535 <bp-checks.h>.
7536 (__libc_pread64): Don't use CHECK_N.
7537 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7538 <bp-checks.h>.
7539 (__libc_pwrite): Don't use CHECK_N.
7540 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7541 <bp-checks.h>.
7542 (__libc_pwrite64): Don't use CHECK_N.
7543 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7544 <bp-checks.h>.
7545 (__libc_msgrcv): Don't use CHECK_N.
7546 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7547 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7548 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7549 (__libc_writev): Don't use CHECK_N.
7550
b84660a8
RM
75512013-02-08 Roland McGrath <roland@hack.frob.com>
7552
7f3e75f8
RM
7553 * string/strcpy.c: Removed unused variable.
7554
b84660a8
RM
7555 * Makeconfig (+sysdep-includes): Define with := rather than =.
7556 Use an existing include/ subdir of each sysdeps dir before it.
7557
471514d3
CD
75582013-02-08 Carlos O'Donell <carlos@redhat.com>
7559
7560 * nscd/connection.c (register_traced_file): Comment function.
7561 [HAVE_INOTIFY] (union __inev): Define.
7562 [HAVE_INOTIFY] (inotify_check_files): New function.
7563 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7564 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7565 clear_db_cache.
7566 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7567
b2d3c3be
CD
75682013-02-08 Carlos O'Donell <carlos@redhat.com>
7569
7570 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7571 loaded if not already and that a failure is permanent.
7572
b39949d2
CD
75732013-02-08 Carlos O'Donell <carlos@redhat.com>
7574
ddacd1db 7575 [BZ #15006]
b39949d2
CD
7576 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7577 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7578
b2c9eff4
JM
75792013-02-08 Joseph Myers <joseph@codesourcery.com>
7580
f3aae3f3
JM
7581 [BZ #13550]
7582 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7583 (CHECK_1_NULL_OK): Likewise.
7584 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7585 (__fxstat): Do not use CHECK_1.
7586 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7587 <bp-checks.h>.
7588 (___fxstat64): Do not use CHECK_1.
7589 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7590 <bp-checks.h>.
7591 (__fxstatat): Do not use CHECK_1.
7592 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7593 <bp-checks.h>.
7594 (__fxstatat64): Do not use CHECK_1.
7595 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7596 <bp-checks.h>.
7597 (__fxstat): Do not use CHECK_1.
7598 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7599 <bp-checks.h>.
7600 (__fxstatat): Do not use CHECK_1.
7601 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7602 <bp-checks.h>.
7603 (__getresgid): Do not use CHECK_1.
7604 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7605 <bp-checks.h>.
7606 (__getresuid): Do not use CHECK_1.
7607 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7608 <bp-checks.h>.
7609 (__lxstat): Do not use CHECK_1.
7610 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7611 <bp-checks.h>.
7612 (__old_msgctl): Do not use CHECK_1.
7613 (__new_msgctl): Likewise.
7614 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7615 <bp-checks.h>.
7616 (__new_setrlimit): Do not use CHECK_1.
7617 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7618 <bp-checks.h>.
7619 (__old_shmctl): Do not use CHECK_1.
7620 (__new_shmctl): Likewise.
7621 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7622 <bp-checks.h>.
7623 (__xstat): Do not use CHECK_1.
7624 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7625 (__lxstat): Do not use CHECK_1.
7626 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7627 <bp-checks.h>.
7628 (___lxstat64): Do not use CHECK_1.
7629 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7630 (__old_msgctl): Do not use CHECK_1.
7631 (__new_msgctl): Likewise.
7632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7633 <bp-checks.h>.
7634 (__gettimeofday): Do not use CHECK_1.
7635 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7636 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7637 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7638 <bp-checks.h>.
7639 (__gettimeofday): Do not use CHECK_1.
7640 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7641 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7642 (__new_shmctl): Do not use CHECK_1.
7643 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7644 <bp-checks.h>.
7645 (do_sigtimedwait): Do not use CHECK_1.
7646 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7647 <bp-checks.h>.
7648 (do_sigwaitinfo): Do not use CHECK_1.
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7650 <bp-checks.h>.
7651 (msgctl): Do not use CHECK_1.
7652 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7653 <bp-checks.h>.
7654 (shmctl): Do not use CHECK_1.
7655 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7656 (ustat): Do not use CHECK_1.
7657 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7658 <bp-checks.h>.
7659 (__fxstat): Do not use CHECK_1.
7660 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7661 <bp-checks.h>.
7662 (__fxstatat): Do not use CHECK_1.
7663 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7664 <bp-checks.h>.
7665 (__lxstat): Do not use CHECK_1.
7666 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7667 <bp-checks.h>.
7668 (__xstat): Do not use CHECK_1.
7669 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7670 (__xstat): Do not use CHECK_1.
7671 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7672 (___xstat64): Do not use CHECK_1.
7673
b2c9eff4
JM
7674 [BZ #13550]
7675 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7676 definitions.
7677 (CHECK_BOUNDS_HIGH): Likewise.
7678 * string/strcpy.c: Do not include <bp-checks.h>.
7679 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7680
f1d70dad
RM
76812013-02-07 Roland McGrath <roland@hack.frob.com>
7682
7683 * nscd/nscd-client.h (__nscd_drop_map_ref):
7684 Add __attribute__ ((unused)).
7685 * nis/nss-nisplus.h (niserr2nss): Likewise.
7686
7687 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7688 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7689
7690 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7691 Remove inline keyword.
7692 * include/rounding-mode.h (round_away): Likewise.
7693 * libio/wfileops.c (adjust_wide_data): Likewise.
7694 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7695 (__m128i_strloadu_tolower): Likewise.
7696 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7697 (__m128i_strloadu_tolower): Likewise.
7698 * time/mktime.c (ydhms_diff): Likewise.
7699 * locale/elem-hash.h (elem_hash): Likewise.
7700 * locale/setlocale.c (setdata): Likewise.
7701 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7702 (re_string_wchar_at): Likewise.
7703 (bitset_not, bitset_merge, bitset_mask): Likewise.
7704 [!(__GNUC__ > 3)] (inline): Remove macro.
7705 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7706 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7707 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7708 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7709 * string/memcmp.c (memcmp_bytes): Likewise.
7710 * locale/programs/locarchive.c (compute_hashval): Likewise.
7711 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7712 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7713 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7714 * nss/getent.c (print_rpc, print_protocols): Likewise.
7715 (print_passwd, print_group, print_aliases): Likewise.
7716 * nis/nss-nisplus.h (niserr2nss): Likewise.
7717 * nscd/connections.c (restart_p): Likewise.
7718 Change return type to bool.
7719
eab55bfb
RM
77202013-02-05 Roland McGrath <roland@hack.frob.com>
7721
7bd642f5
RM
7722 * Makeconfig (all-Depend-files): Add existing
7723 $(sorted-subdirs:=/Depend) files.
7724 (all-subdirs): Remove nss.
7725 * sysdeps/unix/inet/Subdirs: Add it here instead.
7726 * hesiod/Depend: New file.
7727
573c29b2
RM
7728 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7729 instead of calling alloca.
7730
b2e25af0
RM
7731 * io/lseek.c (__lseek): Rename to __libc_lseek.
7732 Define __lseek as an alias.
7733
eab55bfb
RM
7734 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7735
9a0d1941
CD
77362013-02-04 Carlos O'Donell <carlos@redhat.com>
7737
7738 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7739 else clause and remove check for non-standard endianness.
7740
b83bbec4
DM
77412013-02-04 David S. Miller <davem@davemloft.net>
7742
7743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7744
6277fdab
JM
77452013-02-04 Joseph Myers <joseph@codesourcery.com>
7746
7747 [BZ #13550]
7748 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7749 (__ubp_memchr): Remove prototype.
7750 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7751 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7752 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7753 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7754 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7755 Remove alias.
7756 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7757 (__ubp_memchr): Likewise.
7758 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7759 (__ubp_memchr): Likewise.
7760 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7761 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7762 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7763 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7764 CHECK_STRING.
7765 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7766 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7767 (__getcwd): Do not use CHECK_STRING.
7768 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7769 <bp-checks.h>.
7770 (__real_chown): Do not use CHECK_STRING.
7771 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7772 <bp-checks.h>.
7773 (fchownat): Do not use CHECK_STRING.
7774 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7775 CHECK_STRING.
7776 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7777 <bp-checks.h>.
7778 (__lchown): Do not use CHECK_STRING.
7779 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7780 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7781 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7782 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7784 include <bp-checks.h>.
7785 (truncate64): Do not use CHECK_STRING.
7786 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7787 <bp-checks.h>.
7788 (__real_chown): Do not use CHECK_STRING.
7789 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7790 <bp-checks.h>.
7791 (__lchown): Do not use CHECK_STRING.
7792 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7793 <bp-checks.h>.
7794 (__chown): Do not use CHECK_STRING.
7795 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7796 <bp-checks.h>.
7797 (truncate64): Do not use CHECK_STRING.
7798 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7799 Likewise.
7800 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7801 (__xmknod): Do not use CHECK_STRING.
7802 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7803 <bp-checks.h>.
7804 (__xmknodat): Do not use CHECK_STRING.
7805 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7806 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7807
903ae060
AS
78082013-02-04 Andreas Schwab <schwab@suse.de>
7809
7810 [BZ #14142]
7811 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7812 * include/netdb.h: Likewise for h_errno.
7813 * elf/tst-stackguard1.c: Include <tls.h>.
7814
542f9466
JK
78152013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7816
7817 * elf/link.h (struct link_map): Extend the l_addr comment.
7818 * include/link.h (struct link_map): Likewise.
7819
e782a927
JM
78202013-02-01 Joseph Myers <joseph@codesourcery.com>
7821
7822 [BZ #13550]
7823 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7824 (BOUNDED_1): Remove macro.
7825 * debug/backtrace.c: Don't include <bp-checks.h>.
7826 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7827 (__backtrace): Likewise.
7828 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7829 <bp-checks.h>.
7830 (__backtrace): Don't use BOUNDED_1.
7831 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7832 <bp-checks.h>.
7833 (__backtrace): Don't use BOUNDED_1.
7834 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7835 (__backtrace): Don't use BOUNDED_1.
7836 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7837 (shmat): Don't use BOUNDED_N.
7838
8cf28c5e
JM
78392013-01-31 Joseph Myers <joseph@codesourcery.com>
7840
3a7ac8a0
JM
7841 [BZ #13550]
7842 * sysdeps/generic/bp-start.h: Remove file.
7843 * csu/libc-start.c: Don't include <bp-start.h>.
7844 (LIBC_START_MAIN): Set up __environ directly instead of using
7845 INIT_ARGV_and_ENVIRON.
7846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7847 <bp-start.h>.
7848
f3499f95
JM
7849 [BZ #13550]
7850 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7851 definitions.
7852 (CHECK_FCNTL): Likewise.
7853 (CHECK_N_PAGES): Likewise.
7854
32a45bea
JM
7855 [BZ #13550]
7856 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7857 definitions.
7858 (CHECK_SIGSET_NULL_OK): Likewise.
7859 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7860 <bp-checks.h>.
7861 (sigpending): Don't use CHECK_SIGSET.
7862 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7863 <bp-checks.h>.
7864 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7865 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7866 <bp-checks.h>.
7867 (do_sigsuspend): Don't use CHECK_SIGSET.
7868 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7869 use CHECK_SIGSET.
7870 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7871 (do_sigwait): Don't use CHECK_SIGSET.
7872 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7873 use CHECK_SIGSET.
7874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7875 include <bp-checks.h>.
7876 (sigpending): Don't use CHECK_SIGSET.
7877 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7878 include <bp-checks.h>.
7879 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7880 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7881 <bp-checks.h>.
7882 (sigpending): Don't use CHECK_SIGSET.
7883 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7884 <bp-checks.h>.
7885 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7886
2e8a5c8c
JM
7887 [BZ #13550]
7888 * sysdeps/generic/bp-semctl.h: Remove file.
7889 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7890 <bp-checks.h> and <bp-semctl.h>.
7891 (__old_semctl): Don't use CHECK_SEMCTL.
7892 (__new_semctl): Likewise.
7893 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7894 and <bp-semctl.h>.
7895 (__old_semctl): Don't use CHECK_SEMCTL.
7896 (__new_semctl): Likewise.
7897 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7898 <bp-checks.h> and <bp-semctl.h>.
7899 (__old_semctl): Don't use CHECK_SEMCTL.
7900 (__new_semctl): Likewise.
7901 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7902 <bp-checks.h> and <bp-semctl.h>.
7903 (semctl): Don't use CHECK_SEMCTL.
7904
c2d54929
JM
7905 [BZ #13550]
7906 * Makerules (elide-bp-thunks): Remove variable.
7907 (elide-routines.oS): Don't use $(elide-bp-thunks).
7908 (elide-routines.os): Likewise.
7909 (elide-routines.o): Likewise.
7910 (elide-routines.op): Likewise.
7911 (elide-routines.og): Likewise.
7912 (objects): Don't use $(bp-thunks).
7913 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7914 include.
7915 (common-generated): Do not add s-proto-bp.d.
7916 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7917 (int): Likewise.
7918 (typ): Likewise.
7919 Do not generate makefile rules for bounded-pointer thunks.
7920 * sysdeps/generic/bp-thunks.h: Remove file.
7921 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7922 * sysdeps/unix/s-proto-bp.S: Likewise.
7923
8cf28c5e
JM
7924 [BZ #15062]
7925 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7926 parts of result separately when argument is not close to line from
7927 -i to i and one part of argument is small.
7928 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7929 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7930 * math/libm-test.inc (cacos_test): Add more tests.
7931 (casin_test): Likewise.
7932 (casinh_test): Likewise.
7933 * sysdeps/i386/fpu/libm-test-ulps: Update.
7934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7935
c4e33b8d
DM
79362013-01-31 David S. Miller <davem@davemloft.net>
7937
7938 * po/de.po: Update from translation team.
7939
3b60b421
MK
79402013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7941
7942 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7943
bb931195
TS
79442013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7945
b5a5da23
TS
7946 * configure.in (_AC_PROG_CC_C89): New definition.
7947 * configure: Regenerate.
7948
bb931195
TS
7949 * configure.in (AC_PROG_CPP): New definition.
7950 * configure: Regenerate.
7951
8c53a12c
JM
79522013-01-23 Joseph Myers <joseph@codesourcery.com>
7953
7954 * debug/tst-backtrace.h: New file.
7955 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7956 (ret): Remove variable.
7957 (x): Likewise.
7958 (FAIL): Remove macro.
7959 (NO_INLINE): Likewise.
7960 (fn1): Use match function instead of strstr.
7961 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7962 (ret): Remove variable.
7963 (x): Likewise.
7964 (FAIL): Remove macro.
7965 (NO_INLINE): Likewise.
7966 (fn): Use match function instead of strstr.
7967 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7968 (ret): Remove variable.
7969 (x): Likewise.
7970 (FAIL): Remove macro.
7971 (NO_INLINE): Likewise.
7972 (handle_signal): Use match function instead of strstr.
7973 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7974 (ret): Remove variable.
7975 (x): Likewise.
7976 (FAIL): Remove macro.
7977 (NO_INLINE): Likewise.
7978 (handle_signal): Use match function instead of strstr.
7979
4858fa2a
RM
79802013-01-23 Roland McGrath <roland@hack.frob.com>
7981
7982 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7983
bae8e7f5
DM
79842013-01-23 David S. Miller <davem@davemloft.net>
7985
7986 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7987 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7988 argument of CAS if possible.
7989 * sysdeps/sparc/sparc64/bits/atomic.h
7990 (__arch_compare_and_exchange_val_32_acq): Likewise.
7991 (__arch_compare_and_exchange_val_64_acq): Likewise.
7992
9cbbc4ae
PT
79932013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7994
7995 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7996 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7997 Include <limits.h>.
67b3f58c 7998 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7999
5655a0b5
AC
80002013-01-23 Adam Conrad <adconrad@0c3.net>
8001
8002 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8003 (LDFLAGS-tst-array5): Likewise.
8004
052aff95
JM
80052013-01-23 Joseph Myers <joseph@codesourcery.com>
8006
8007 [BZ #15036]
8008 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8009 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8010 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8011 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8012
7c1e01aa
DM
80132013-01-21 David S. Miller <davem@davemloft.net>
8014
8015 * sysdeps/sparc/backtrace.c: New file.
8016 * sysdeps/sparc/sparc32/backtrace.h: New file.
8017 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8018 * sysdeps/sparc/sparc64/backtrace.h: New file.
8019 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8020 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8021 -funwind-tables.
8022
ab087e0a
AS
80232013-01-21 Andreas Schwab <schwab@suse.de>
8024
8025 [BZ #15020]
8026 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8027 closed its stdout.
8028
ed689c2f
AS
80292013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8030
8031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8032 "mpa2.h".
8033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8034
31d470ac
JM
80352013-01-18 Joseph Myers <joseph@codesourcery.com>
8036 Mark Mitchell <mark@codesourcery.com>
8037 Tom de Vries <tom@codesourcery.com>
8038 Paul Pluzhnikov <ppluzhnikov@google.com>
8039
8040 * debug/tst-backtrace2.c: New file.
8041 * debug/tst-backtrace3.c: Likewise.
8042 * debug/tst-backtrace4.c: Likewise.
8043 * debug/tst-backtrace5.c: Likewise.
8044 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8045 (CFLAGS-tst-backtrace3.c): Likewise.
8046 (CFLAGS-tst-backtrace4.c): Likewise.
8047 (CFLAGS-tst-backtrace5.c): Likewise.
8048 (LDFLAGS-tst-backtrace2): Likewise.
8049 (LDFLAGS-tst-backtrace3): Likewise.
8050 (LDFLAGS-tst-backtrace4): Likewise.
8051 (LDFLAGS-tst-backtrace5): Likewise.
8052 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8053 tst-backtrace4 and tst-backtrace5.
8054
90567f30 80552013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8056 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8057
8058 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8059 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8060 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8061 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8063 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8064 "+r" and remove output regs list as redundant. Add explicit inline
8065 asm to specify register of return val to work around compiler codegen
8066 bug. Remove (int) cast on return value. Add return type parameter to
8067 use in macro so that this macro does not truncate return value for
8068 64-bit values.
8069 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8070 pass to INTERNAL_VSYSCALL_NCS.
8071 (INLINE_VSYSCALL): Add 'long int' as return type to
8072 INTERNAL_VSYSCALL_NCS macro invocation.
8073 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8074 INTERNAL_VSYSCALL_NCS macro invocation.
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8076
d3b9ea61
SP
80772013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8078
0b57daeb
SP
8079 [BZ #14496]
8080 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8081 Fix application of SIMD FP exception mask.
8082
caa99d06
SP
8083 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8084 mp_no from a power of two.
8085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8086 __mpexp_twomm1. Use __pow_mp.
8087
d3b9ea61
SP
8088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8089 multiplication.
8090
1dbaee3c
DM
80912013-01-17 David S. Miller <davem@davemloft.net>
8092
8093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8094
728d7b43
JM
80952013-01-17 Joseph Myers <joseph@codesourcery.com>
8096
8097 [BZ #15023]
8098 * include/complex.h: Condition contents on [!_COMPLEX_H].
8099 (__kernel_casinhf): New prototype.
8100 (__kernel_casinh): Likewise.
8101 (__kernel_casinhl): Likewise.
8102 * math/Makefile (libm_calls): Add k_casinh.
8103 * math/k_casinh.c: New file.
8104 * math/k_casinhf.c: Likewise.
8105 * math/k_casinhl.c: Likewise.
8106 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8107 finite nonzero arguments.
8108 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8109 finite nonzero arguments.
8110 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8111 finite nonzero arguments.
8112 * math/s_casinh.c: Do not include <float.h>.
8113 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8114 * math/s_casinhf.c: Do not include <float.h>.
8115 (__casinhf): Move code for finite nonzero arguments to
8116 k_casinhf.c.
8117 * math/s_casinhl.c: Do not include <float.h>.
8118 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8119 redefine.
8120 (__casinhl): Move code for finite nonzero arguments to
8121 k_casinhl.c.
8122 * math/libm-test.inc (cacos_test): Add more tests.
8123 * sysdeps/i386/fpu/libm-test-ulps: Update.
8124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8125
2a26ef3a
PT
81262013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8127
8128 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8129 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8130 [!HAVE_MREMAP]: Remove [defined linux] case.
8131 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8132
a897655d
SP
81332013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8134
8135 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8136
881ebe89 81372013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8138
8139 * elf/elf.h (R_386_SIZE32): New relocation.
8140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8141 R_386_SIZE32.
8142 (elf_machine_rela): Likewise.
8143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8144 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8145
59981e9b
JM
81462013-01-17 Joseph Myers <joseph@codesourcery.com>
8147
8148 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8149 (FP_FAST_FMA): Do not define.
8150 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8151 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8152 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8153 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8154 !_SOFT_FLOAT]: Likewise.
8155 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8156 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8157 value.
8158 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8159 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8160 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8162 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8163 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8164 file.
8165
cfa8054f
AS
81662013-01-16 Andreas Schwab <schwab@suse.de>
8167
8168 [BZ #14327]
8169 * include/stdlib.h (__mktemp): Add declaration.
8170 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8171 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8172
dd930cc5
SP
81732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8174
881ebe89
SP
8175 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8176 definitions.
8177 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8178 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8179 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8180 definitions here.
8181 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8182 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8183 definitions.
8184 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8185 and ONE.
8186 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8187 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8188 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8189 definitions.
8190 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8191 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8192 definitions.
8193 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8194
dd930cc5
SP
8195 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8196
c19a9f89
DM
81972013-01-15 David S. Miller <davem@davemloft.net>
8198
1aa61767
DM
8199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8200 trunc{,f} to libm-sysdep_routes.
8201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8203 file.
8204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8206 file.
8207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8208 file.
8209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8211 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8213 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8215 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8216 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8217
c42d5e98
DM
8218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8219 nearbyint{,f} to libm-sysdep_routes.
8220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8222 New file.
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8224 file.
8225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8226 New file.
8227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8228 file.
8229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8232 file.
8233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8235 file.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8237 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8238 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8239
c19a9f89
DM
8240 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8241 libc_feholdexcept and libc_fesetenv.
8242
357679d2
MF
82432013-01-15 Mike Frysinger <vapier@gentoo.org>
8244
8245 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8246
65a82e3d
DM
82472013-01-14 David S. Miller <davem@davemloft.net>
8248
8b954ab9
DM
8249 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8250 (SPARC_ASM_VIS2_IFUNC): Likewise.
8251 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8253 use of 'siam' instruction.
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8255 Likewise.
8256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8257 Likewise.
8258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8259 Likewise.
8260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8265 file.
8266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8267 file.
8268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8269 file.
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8271 file.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8277 new VIS2 routines.
8278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8281 Likewise.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8287 routines to libm-sysdep_routines.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8289
65a82e3d
DM
8290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8291 fdim/fdimf to libm-sysdep_routines.
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8293 file.
8294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8296 file.
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8300 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8301 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8302 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8303 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8304
e34ab705
SP
83052013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8306
2a91b573
SP
8307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8308 to optimize copies.
8309
1066a534
SP
8310 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8313
e34ab705
SP
8314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8315 local variable MPTWO.
8316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8317 Likewise.
8318
aba5e596
MF
83192013-01-13 Mike Frysinger <vapier@gentoo.org>
8320
8321 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8322 GLOB_NOESCAPE.
8323
e557e9e5
MF
83242013-01-13 Mike Frysinger <vapier@gentoo.org>
8325
8326 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8327
0428cec9
MF
83282013-01-13 Mike Frysinger <vapier@gentoo.org>
8329
8330 * manual/pattern.texi (glob_t): Document gl_flags.
8331 (glob64_t): Likewise.
8332
8794a964
DM
83332013-01-11 David S. Miller <davem@davemloft.net>
8334
66438c3f
RM
8335 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8336 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8337 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8338 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8339 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8340 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8341 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8342 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8343 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8344 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8345 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8346 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8347 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8348
4ae4244d
DM
8349 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8350 sparc V9 rather than using V8 code.
8351 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8352 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8353
8794a964
DM
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8355 Move to...
8356 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8357 Here.
8358
6270516e
RM
83592013-01-11 Roland McGrath <roland@hack.frob.com>
8360
8361 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8362 not in the main loop.
8363 * configure: Regenerated.
8364
6a57d931
JM
83652013-01-11 Joseph Myers <joseph@codesourcery.com>
8366
8367 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8368 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8369 to just #else.
8370 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8371 [!__GLIBC_HAVE_LONG_LONG] case.
8372 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8373 condition to just #else.
8374 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8375 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8376 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8377 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8378 unconditional.
8379 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8380 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8381 #elif condition to just #else.
8382 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8383 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8384 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8385 #elif condition to just #else.
8386
0e8529e9
SE
83872013-01-11 Steve Ellcey <sellcey@mips.com>
8388
8389 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8390 (EF_MIPS_ARCH_64): Fix value.
8391 (EF_MIPS_ARCH_32R2): New.
8392 (EF_MIPS_ARCH_64R2): New.
8393
740b3dbe
L
83942013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8395
8396 * Makeconfig (+link-pie-before-libc): New.
8397 (+link-pie-after-libc): Likewise.
8398 (+link-pie-tests): Likewise.
8399 (+link-pie): Rewritten.
8400 (link-before-libc): Remove $(config-LDFLAGS).
8401 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8402 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8403 (config-LDFLAGS): Renamed to ...
8404 (rtld-LDFLAGS): This.
8405 (rtld-tests-LDFLAGS): New macro.
8406 (link-libc-rpath-link): Likewise.
8407 (link-libc-tests-rpath-link): Likewise.
8408 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8409 (link-libc): Prepand $(link-libc-rpath-link).
8410 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8411 (test-program-prefix): New macro.
8412 (test-via-rtld-prefix): Likewise.
8413 (test-program-cmd): Likewise.
8414 (host-test-program-cmd): Likewise.
8415 * Makefile ($(common-objpfx)testrun.sh): Replace
8416 $(run-program-prefix) with $(test-program-prefix).
8417 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8418 $(rtld-LDFLAGS).
8419 ($(common-objpfx)shlib.lds): Likewise.
8420 (build-module-helper): Likewise.
8421 ($(common-objpfx)format.lds): Likewise.
8422 * Rules (binaries-pie-tests): New.
8423 (binaries-pie-notests): Likewise.
8424 (binaries-pie): Rewritten.
8425 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8426 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8427 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8428 (make-test-out): Replace $(host-built-program-cmd) with
8429 $(host-test-program-cmd).
8430 * config.make.in (build-hardcoded-path-in-tests): New variable.
8431 * configure.in (--enable-hardcoded-path-in-tests): New configure
8432 option.
8433 (hardcoded_path_in_tests): New AC_SUBST.
8434 * configure: Regenerated.
8435 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8436 $(built-program-cmd) with $(test-program-cmd).
8437 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8438 (test_program_cmd): This.
8439 * elf/Makefile ($(objpfx)order.out): Run test with
8440 $(test-program-prefix).
8441 ($(objpfx)order2.out): Likewise.
8442 ($(objpfx)tst-initorder.out): Likewise.
8443 ($(objpfx)tst-initorder2.out): Likewise.
8444 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8445 $(test-program-cmd).
8446 ($(objpfx)tst-array1-static.out): Likewise.
8447 ($(objpfx)tst-array2.out): Likewise.
8448 ($(objpfx)tst-array3.out): Likewise.
8449 ($(objpfx)tst-array4.out): Likewise.
8450 ($(objpfx)tst-array5.out): Likewise.
8451 ($(objpfx)tst-array5-static.out): Likewise.
8452 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8453 $(test-program-cmd).
8454 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8455 $(run-program-prefix) with $(test-program-prefix).
8456 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8457 (test_program_prefix): This.
8458 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8459 $(run-program-prefix) with $(test-program-prefix).
8460 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8461 (test_program_prefix): This.
8462 * iconvdata/tst-tables.sh: Likewise.
8463 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8464 $(run-program-prefix) with $(test-program-prefix).
8465 ($(objpfx)tst-translit.out): Likewise.
8466 ($(objpfx)tst-gettext2.out): Likewise.
8467 ($(objpfx)tst-gettext4.out): Likewise.
8468 ($(objpfx)tst-gettext6.out): Likewise.
8469 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8470 (test_program_prefix): This.
8471 * intl/tst-gettext2.sh: Likewise.
8472 * intl/tst-gettext4.sh Likewise.
8473 * intl/tst-gettext6.sh: Likewise.
8474 * intl/tst-translit.sh: Likewise.
8475 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8476 with $(test-program-cmd).
8477 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8478 $(run-program-prefix) with $(test-program-prefix).
8479 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8480 (test_program_prefix): This.
8481 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8482 $(run-program-prefix) with $(test-program-prefix).
8483 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8484 (test_program_prefix): This.
8485 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8486 * posix/Makefile ($(objpfx)globtest.out): Replace
8487 $(run-via-rtld-prefix) and $(test-wrapper) with
8488 $(test-program-prefix) and $(test-via-rtld-prefix).
8489 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8490 $(test-program-prefix).
8491 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8492 $(host-test-program-cmd).
8493 (tst-spawn-ARGS): Likewise.
8494 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8495 $(test-program-prefix).
8496 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8497 (test_via_rtld_prefix): This.
8498 (test_wrapper): Renamed to ...
8499 (test_program_prefix): This.
8500 (run_program_prefix): Replaced by test_program_prefix.
8501 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8502 (test_program_prefix): This.
8503 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8504 with $(host-test-program-cmd).
8505 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8506 $(run-program-prefix) with $(test-program-prefix).
8507 ($(objpfx)tst-printf.out): Likewise.
8508 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8509 $(test-program-cmd).
8510 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8511 (test_program_prefix): This.
8512 * stdio-common/tst-unbputc.sh: Likewise.
8513 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8514 $(run-program-prefix) with $(test-program-prefix).
8515 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8516 (test_program_prefix): This.
8517 * string/Makefile ($(objpfx)tst-svc.out): Replace
8518 $(built-program-cmd) with $(test-program-cmd).
8519
c6fe55cf
AJ
85202013-01-11 Andreas Jaeger <aj@suse.de>
8521
8522 [BZ #15003]
8523 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8524 value. Sync with Linux 3.7.
8525
9e6919c8
DM
85262013-01-10 David S. Miller <davem@davemloft.net>
8527
8528 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8529 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8530 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8531
1c9f1a02
RM
85322013-01-10 Roland McGrath <roland@hack.frob.com>
8533
8534 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8535 never set.
8536 * configure: Regenerated.
8537
b9de2dde
DM
85382013-01-10 David S. Miller <davem@davemloft.net>
8539
8540 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8541 sparc V9 rather than using V8 code.
8542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8544
e7f68ef4
RM
85452013-01-10 Roland McGrath <roland@hack.frob.com>
8546
8547 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8548 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8549 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8550 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8551 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8552 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8553 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8554 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8555 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8556 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8557 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8558 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8559 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8560 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8561 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8562 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8563 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8564 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8565 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8566 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8567 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8568 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8569 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8570 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8571 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8572 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8573 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8574
5a47cc9c
DM
85752013-01-10 David S. Miller <davem@davemloft.net>
8576
8577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8578
4cf8f209
L
85792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * posix/Makefile (tests-static): New variable.
8582 (tests): Add $(tests-static).
8583 (tst-exec-static-ARGS): New variable.
8584 (tst-spawn-static-ARGS): Likewise.
8585 * posix/tst-exec-static.c: New file.
8586 * posix/tst-spawn-static.c: Likewise.
8587 * posix/tst-exec.c: Support run directly.
8588 * posix/tst-spawn.c: Likewise.
8589
fed0faa1
JM
85902013-01-10 Joseph Myers <joseph@codesourcery.com>
8591
828beb13
JM
8592 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8593 long.
8594 * math/bits/mathcalls.h (llrint): Likewise.
8595 (llround): Likewise.
8596 * stdlib/stdlib.h (struct drand48_data): Likewise.
8597 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8598 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8599 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8600 Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8602 Likewise.
8603 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8604 (elf_greg_t): Likewise.
8605 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8606 (__jmp_buf): Likewise.
8607 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8608 definitions.
8609 (llrint): Likewise, for all definitions.
8610 (llrintl): Likewise.
8611
fed0faa1
JM
8612 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8613 Remove [__GNUC__] condition.
8614 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8615 condition to just [__USE_ISOC99].
8616 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8617
1a20cb20
L
86182013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8619
8620 [BZ #14200]
8621 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8622 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8623 defined.
8624 (_POSIX_V6_ILP32_OFF32): Likewise.
8625 (_XBS5_ILP32_OFF32): Likewise.
8626 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8627 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8628
751b85f7
SP
86292013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8630
7490eb81
SP
8631 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8632
751b85f7
SP
8633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8634 doubles __mpexp_twomm1. Adjust usage.
8635 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8636 Remove.
8637
988197f0
AS
86382013-01-10 Andreas Schwab <schwab@suse.de>
8639
8640 [BZ #14964]
8641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8642 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8643
e83d7298
DM
86442013-01-09 David S. Miller <davem@davemloft.net>
8645
034ed64b 8646 [BZ #15003]
e83d7298
DM
8647 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8648 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8649 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8650 TCP_FASTOPEN): Define.
8651 (tcp_repair_opt): New structure.
8652 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8653 enum values.
8654 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8655 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8656 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8657 (tcp_cookie_transactions): New structure.
8658
d5e0b9bd
AB
86592013-01-09 Anton Blanchard <anton@samba.org>
8660
8661 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8662 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8664 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8665
0c07e3ea
JM
86662013-01-09 Joseph Myers <joseph@codesourcery.com>
8667
8668 * include/features.h (__USE_ANSI): Remove.
8669
232f7002
RM
86702013-01-09 Roland McGrath <roland@hack.frob.com>
8671
ad98e30c
RM
8672 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8673
232f7002
RM
8674 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8675
950c99ca
SP
86762013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8677
b5792741
SP
8678 * sysdeps/s390/fpu/libm-test-ulps: Update.
8679
47cf2278
SP
8680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8681
950c99ca
SP
8682 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8683 (__acr): Likewise.
8684 (__cpy): Likewise.
8685 (norm): Likewise.
8686 (denorm): Likewise.
8687 (__mp_dbl): Likewise.
8688 (__dbl_mp): Likewise.
8689 (add_magnitudes): Likewise.
8690 (sub_magnitudes): Likewise.
8691 (__add): Likewise.
8692 (__sub): Likewise.
8693 (__mul): Likewise.
8694 (__inv): Likewise.
8695 (__dvd): Likewise.
8696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8697 (__acr): Likewise.
8698 (__cpy): Likewise.
8699 (norm): Likewise.
8700 (denorm): Likewise.
8701 (__mp_dbl): Likewise.
8702 (__dbl_mp): Likewise.
8703 (add_magnitudes): Likewise.
8704 (sub_magnitudes): Likewise.
8705 (__add): Likewise.
8706 (__sub): Likewise.
8707 (__mul): Likewise.
8708 (__inv): Likewise.
8709 (__dvd): Likewise.
8710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8711 (__acr): Likewise.
8712 (__cpy): Likewise.
8713 (norm): Likewise.
8714 (denorm): Likewise.
8715 (__mp_dbl): Likewise.
8716 (__dbl_mp): Likewise.
8717 (add_magnitudes): Likewise.
8718 (sub_magnitudes): Likewise.
8719 (__add): Likewise.
8720 (__sub): Likewise.
8721 (__mul): Likewise.
8722 (__inv): Likewise.
8723 (__dvd): Likewise.
8724
eede9df9
JM
87252013-01-08 Joseph Myers <joseph@codesourcery.com>
8726
8727 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8728 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8729 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8730 2 && __USE_EXTERN_INLINES]: Likewise.
8731
c40ea3d9
AJ
87322013-01-08 Andreas Jaeger <aj@suse.de>
8733
8734 [BZ# 14985]
8735 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8736 Remove.
8737 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8738 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8739
2ccdea26
AB
87402013-01-07 Anton Blanchard <anton@samba.org>
8741
8742 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8743 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8744 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8745 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8746 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8747 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8748 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8749 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8751 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8754 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8755 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8756 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8757 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8758 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8759 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8760 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8762 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8763 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8764 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8765 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8766 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8767 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8768 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8769 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8771 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8772 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8774 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8775 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8776 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8777 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8778 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8780 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8781 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8783 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8784 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8785
a9708fed
JM
87862013-01-07 Joseph Myers <joseph@codesourcery.com>
8787
375607b9
JM
8788 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8789 (__MALLOC_PMT): Likewise.
8790 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8791 [__GNUC__], only on [_LIBC].
8792 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8793 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8794 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8795 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8796 forward declaration.
8797 (realloc_hook_ini): Likewise.
8798 (memalign_hook_ini): Likewise.
8799 (__libc_memalign): Do not use __MALLOC_PMT in variable
8800 declaration.
8801 (__libc_valloc): Likewise.
8802 (__libc_pvalloc): Likewise.
8803 (__libc_calloc): Likewise.
8804 (__posix_memalign): Likewise.
8805
a9708fed
JM
8806 [BZ #14996]
8807 * math/s_casinh.c: Include <float.h>.
8808 (__casinh): Do not do computation with squaring and square root
8809 for large arguments.
8810 * math/s_casinhf.c: Include <float.h>.
8811 (__casinhf): Do not do computation with squaring and square root
8812 for large arguments.
8813 * math/s_casinhl.c: Include <float.h>.
8814 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8815 (__casinhl): Do not do computation with squaring and square root
8816 for large arguments.
8817 * math/libm-test.inc (casin_test): Add more tests.
8818 (casinh_test): Likewise.
8819 * sysdeps/i386/fpu/libm-test-ulps: Update.
8820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8821
afec409a
L
88222013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8823
8824 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8825 (__x86_64_raw_data_cache_size): Likewise.
8826 (__x86_64_data_cache_size_half): Likewise.
8827 (__x86_64_raw_data_cache_size_half): Likewise.
8828 (__x86_64_shared_cache_size): Likewise.
8829 (__x86_64_raw_shared_cache_size): Likewise.
8830 (__x86_64_shared_cache_size_half): Likewise.
8831 (__x86_64_raw_shared_cache_size_half): Likewise.
8832 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8833 to ...
8834 (__x86_data_cache_size): This.
8835 (__x86_64_raw_data_cache_size): Renamed to ...
8836 (__x86_raw_data_cache_size): This.
8837 (__x86_64_data_cache_size_half): Renamed to ...
8838 (__x86_data_cache_size_half): This.
8839 (__x86_64_raw_data_cache_size_half): Renamed to ...
8840 (__x86_raw_data_cache_size_half): This.
8841 (__x86_64_shared_cache_size): Renamed to ...
8842 (__x86_shared_cache_size): This.
8843 (__x86_64_raw_shared_cache_size): Renamed to ...
8844 (__x86_raw_shared_cache_size): This.
8845 (__x86_64_shared_cache_size_half): Renamed to ...
8846 (__x86_shared_cache_size_half): This.
8847 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8848 (__x86_raw_shared_cache_size_half): This.
8849 * sysdeps/x86_64/memcpy.S: Updated.
8850 * sysdeps/x86_64/memset.S: Likewise.
8851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8852 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8853 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8854
0b3986d0
DM
88552013-01-04 David S. Miller <davem@davemloft.net>
8856
8857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8858
e47686e9
AS
88592013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8860
d643bac1
AS
8861 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8862 1 to avoid redefinition warning.
8863 (__USE_GNU): Don't define.
8864 (init_signaling_nan): Protoize.
8865
e47686e9
AS
8866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8867
b18decba
SP
88682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8869
fffb407f
SP
8870 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8872 (__cpymn): Likewise.
8873 (norm): Remove commented code.
8874 (denorm): Likewise.
8875 (__mp_dbl): Likewise.
8876 (__inv): Likewise.
8877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8878 (__cpymn): Likewise.
8879 (norm): Remove commented code.
8880 (denorm): Likewise.
8881 (__mp_dbl): Likewise.
8882 (__inv): Likewise.
8883
b18decba
SP
8884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8885 mp_no value for 1.0 and 2.0.
8886 (norm): Use RADIXI instead of radixi.d.
8887 (denorm): Likewise.
8888 (__mul): Use 0.0 instead of zero.d.
8889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8890 mp_no value for 1.0 and 2.0.
8891 (norm): Use RADIXI instead of radixi.d.
8892 (denorm): Likewise.
8893 (__mul): Use 0.0 instead of zero.d.
8894
cdc1c96f
JM
88952013-01-04 Joseph Myers <joseph@codesourcery.com>
8896
8897 [BZ #14994]
8898 * math/s_casinh.c (__casinh): Reduce finite argument to first
8899 quadrant then set signs of results at the end.
8900 * math/s_casinhf.c (__casinhf): Likewise.
8901 * math/s_casinhl.c (__casinhl): Likewise.
8902 * math/libm-test.inc (casin_test): Add more tests.
8903 (casinh_test): Likewise.
8904 * sysdeps/i386/fpu/libm-test-ulps: Update.
8905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8906
302913e1
SP
89072013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8908
6420d207
SP
8909 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8910
a9e48ab4
SP
8911 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8912
b7837264
SP
8913 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8914 declarations.
8915 (denorm): Likewise.
8916 (__mp_dbl): Likewise.
8917 (__inv): Likewise.
8918
f8af25d2
SP
8919 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8920 and adjust the header comment.
8921
302913e1
SP
8922 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8923 variable name from declaration.
8924
5d7dd1ca
L
89252013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8926
8927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8928 Initialize COMMON_CPUID_INDEX_7 element.
8929 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8930 (CPUID_RTM): Likewise.
8931 (HAS_RTM): Likewise.
8932 (COMMON_CPUID_INDEX_7): New enum.
8933
2f5f40f4
AS
89342013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8935
8936 [BZ #14981]
8937 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8938 size is zero, record memory as freed.
8939
4056f4a0
AJ
89402013-01-03 Andreas Jaeger <aj@suse.de>
8941
8942 * po/ia.po: Add new Interlingua translation.
8943
ab15736f 89442012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8945
8946 * locale/programs/localedef.c: Fix description of '--posix' flag.
8947
568035b7
JM
89482013-01-02 Joseph Myers <joseph@codesourcery.com>
8949
e6898b8d
JM
8950 * NEWS: Update dates in second copyright notice.
8951 * README: Update copyright dates in example.
8952 * manual/libc.texinfo: Update copyright dates.
8953 * scripts/test-installation.pl: Update copyright date in --version
8954 output.
8955
0e2f9562
JM
8956 * hurd/ctty-input.c: Fix copyright notice formatting.
8957 * hurd/ctty-output.c: Likewise.
8958 * hurd/dtable.c: Likewise.
8959 * hurd/hurd-raise.c: Likewise.
8960 * hurd/hurdprio.c: Likewise.
8961 * hurd/msgportdemux.c: Likewise.
8962 * misc/sys/file.h: Likewise.
8963 * misc/sys/ioctl.h: Likewise.
8964 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8965 * sysdeps/mach/hurd/chdir.c: Likewise.
8966 * sysdeps/mach/hurd/fchdir.c: Likewise.
8967 * sysdeps/mach/hurd/rename.c: Likewise.
8968 * sysdeps/mach/hurd/rmdir.c: Likewise.
8969 * sysdeps/mach/hurd/seekdir.c: Likewise.
8970 * sysdeps/mach/hurd/setsid.c: Likewise.
8971 * sysdeps/posix/wait3.c: Likewise.
8972
568035b7
JM
8973 * All files with FSF copyright notices: Update copyright dates
8974 using scripts/update-copyrights.
8975 * intl/plural.c: Regenerated.
8976 * locale/programs/charmap-kw.h: Likewise.
8977 * locale/programs/locfile-kw.h: Likewise.
8978
da08f647
SP
89792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8980
0f5477af
SP
8981 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8982 four values.
8983
44e0d4c2
SP
8984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8985 calculation loop and add branch prediction.
8986
4d55b4e5
SP
8987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8988 check access beyond bounds of m1np.
8989
da08f647
SP
8990 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8991 MPTWO.
8992 (__inv): Remove local variable MPTWO to use the global
8993 constant.
8994 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8996 variable MPTWO.
8997 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8998 MP3HALFS static const.
8999
8e051029
DM
90002013-01-01 David S. Miller <davem@davemloft.net>
9001
9002 * po/ca.po: Update from translation team.
9003
f4cf5f2d
JM
90042013-01-01 Joseph Myers <joseph@codesourcery.com>
9005
9006 * scripts/update-copyrights: New file.
9007 * Makeconfig: Reformat copyright notice.
9008 * ctype/ctype.h: Likewise.
9009 * debug/swprintf_chk.c: Likewise.
9010 * elf/dl-cache.c: Likewise.
9011 * elf/dl-debug.c: Likewise.
9012 * elf/dl-object.c: Likewise.
9013 * grp/initgroups.c: Likewise.
9014 * hurd/Makefile: Likewise.
9015 * hurd/hurd/signal.h: Likewise.
9016 * hurd/hurdfault.c: Likewise.
9017 * hurd/hurdioctl.c: Likewise.
9018 * hurd/hurdlookup.c: Likewise.
9019 * hurd/intr-msg.c: Likewise.
9020 * iconv/gconv_open.c: Likewise.
9021 * libio/swprintf.c: Likewise.
9022 * locale/lc-ctype.c: Likewise.
9023 * locale/nl_langinfo.c: Likewise.
9024 * mach/Machrules: Likewise.
9025 * mach/Makefile: Likewise.
9026 * malloc/obstack.h: Likewise.
9027 * manual/Makefile: Likewise.
9028 * manual/tsort.awk: Likewise.
9029 * misc/bits/stab.def: Likewise.
9030 * nis/nis_print_group_entry.c: Likewise.
9031 * nis/nis_table.c: Likewise.
9032 * nis/nss_compat/compat-pwd.c: Likewise.
9033 * nis/nss_compat/compat-spwd.c: Likewise.
9034 * po/Makefile: Likewise.
9035 * posix/fnmatch.c: Likewise.
9036 * posix/regex.h: Likewise.
9037 * resolv/Makefile: Likewise.
9038 * resolv/nss_dns/dns-network.c: Likewise.
9039 * resolv/res_hconf.c: Likewise.
9040 * scripts/gen-sorted.awk: Likewise.
9041 * soft-fp/soft-fp.h: Likewise.
9042 * stdio-common/printf.h: Likewise.
9043 * stdlib/monetary.h: Likewise.
9044 * stdlib/random.c: Likewise.
9045 * stdlib/random_r.c: Likewise.
9046 * sysdeps/generic/Makefile: Likewise.
9047 * sysdeps/gnu/Makefile: Likewise.
9048 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9076 * sysdeps/mach/hurd/errnos.awk: Likewise.
9077 * sysdeps/mach/hurd/fork.c: Likewise.
9078 * sysdeps/mach/hurd/getcwd.c: Likewise.
9079 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9080 * sysdeps/mach/hurd/mmap.c: Likewise.
9081 * sysdeps/mach/hurd/utimes.c: Likewise.
9082 * sysdeps/mach/hurd/xmknod.c: Likewise.
9083 * sysdeps/posix/profil.c: Likewise.
9084 * sysdeps/posix/readdir_r.c: Likewise.
9085 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9086 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9087 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9088 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9092 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9094 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9095 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9096 * sysdeps/pthread/lio_listio.c: Likewise.
9097 * sysdeps/sparc/dl-procinfo.h: Likewise.
9098 * sysdeps/unix/i386/sysdep.S: Likewise.
9099 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9100 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9101 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9102 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9104 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9105 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9106 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9107 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9108 * sysdeps/wordsize-32/divdi3.c: Likewise.
9109 * time/sys/time.h: Likewise.
9110 * wcsmbs/Makefile: Likewise.
9111
0549fbba
DM
91122013-01-01 David S. Miller <davem@davemloft.net>
9113
a141f1a7
DM
9114 * po/fr.po: Update from translation team.
9115
0549fbba
DM
9116 * catgets/gencat.c: Update copyright year.
9117 * csu/version.c: Likewise.
9118 * debug/catchsegv.sh: Likewise.
9119 * debug/pcprofiledump.c: Likewise.
9120 * debug/xtrace.sh: Likewise.
9121 * elf/ldconfig.c: Likewise.
9122 * elf/ldd.bash.in: Likewise.
9123 * elf/pldd.c: Likewise.
9124 * elf/sotruss.ksh: Likewise.
9125 * elf/sprof.c: Likewise.
9126 * iconv/iconv_prog.c: Likewise.
9127 * iconv/iconvconfig.c: Likewise.
9128 * locale/programs/locale.c: Likewise.
9129 * locale/programs/localedef.c: Likewise.
9130 * login/programs/pt_chown.c: Likewise.
9131 * malloc/memusage.sh: Likewise.
9132 * malloc/memusagestat.c: Likewise.
9133 * malloc/mtrace.pl: Likewise.
9134 * nscd/nscd.c: Likewise.
9135 * nss/getent.c: Likewise.
9136 * nss/makedb.c: Likewise.
9137 * posix/getconf.c: Likewise.
9138
18ea052c
SP
91392012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9140
9141 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9142 numbers.
9143
9c89fca6
MF
91442012-12-30 Mike Frysinger <vapier@gentoo.org>
9145
9146 * math/bits/mathcalls.h (modf): Use __nonnull.
9147
085ec079
SP
91482012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9149
9150 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9151 (split): Use macro CN instead of the bare value.
9152 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9153 could be used.
9154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9155 instead of the bare value.
9156 (power1): Likewise.
9157
6d9f97e1
SP
91582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9159
d63f73be
SP
9160 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9161 __ATAN_TWOM.
9162 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9163
6d9f97e1
SP
9164 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9165 their values.
9166 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9168 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9169 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9170
4c4febf5
AJ
91712012-12-28 Andreas Jaeger <aj@suse.de>
9172
af5843ef
AJ
9173 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9174 values are from Linux 3.7.
9175
4c4febf5
AJ
9176 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9177 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9178
99136f82
SP
91792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9180
2f216c3c 9181 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9182 TRUE case.
9183
99136f82
SP
9184 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9185 (norm): Likewise.
9186 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9187 variables with preprocessor constants.
9188 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9189 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9190 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9191
7fffbdff
BH
91922012-12-27 Bruno Haible <bruno@clisp.org>
9193
9194 [BZ #14317]
9195 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9196 only if needed.
9197
b76eb5f0
SP
91982012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9199
31a7fe5c
SP
9200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9201 and use variable directly.
9202 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9203
b76eb5f0
SP
9204 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9205 MPONE.
9206 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9207 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9208 variable MPONE.
9209 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9211 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9212 include directive. Remove local variable MPONE.
9213 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9214 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9215 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9216
2c8bfe7d
DM
92172012-12-25 David S. Miller <davem@davemloft.net>
9218
9219 * version.h (RELEASE): Set to "development".
9220 (VERSION): Set to "2.17.90".
9221 * NEWS: Add 2.18 section.
9222
147d03b0
DM
92232012-12-21 David S. Miller <davem@davemloft.net>
9224
9225 * po/hr.po: Update from translation team.
9226
a8ebb2b9
AK
92272012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9228
9229 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9230
95b4f1b6
SE
92312012-12-19 Steve Ellcey <sellcey@mips.com>
9232
b2d94007 9233 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9234
cedb2a90
MS
92352012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9236
9237 * manual/contrib.texi (Contributors): Spelling correction.
9238
bbf527d6
DM
92392012-12-15 David S. Miller <davem@davemloft.net>
9240
9241 * po/ru.po: Update from translation team.
9242
bc38c906
DM
92432012-12-13 David S. Miller <davem@davemloft.net>
9244
85429b1a
DM
9245 * NEWS: Mention IFUNC testsuite enhancements.
9246
d283e353
DM
9247 * po/pl.po: Update from translation team.
9248 * po/bg.po: Likewise.
9249
bc38c906
DM
9250 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9251 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9252
a181b0d7
DM
92532012-12-11 David S. Miller <davem@davemloft.net>
9254
4641d57e
DM
9255 * po/sv.po: Update from translation team.
9256
f7bc6495
DM
9257 * po/vi.po: Update from translation team.
9258
6fc9048f
DM
9259 * po/cs.po: Update from translation team.
9260
a181b0d7
DM
9261 * po/de.po: Update from translation team.
9262 * po/eo.po: Likewise.
9263 * po/nl.po: Likewise.
9264
f70bfe80
SP
92652012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9266
3c8b4190
SP
9267 [BZ #14246]
9268 * manual/argp.texi (Argp Helper Functions): Move node to follow
9269 Argp Parsing State.
9270
f70bfe80
SP
9271 [BZ #14872]
9272 * manual/conf.texi (Limits on File System Capacity): Mention if
9273 terminating null is included in the max size.
9274
188f0adf
AJ
92752012-12-10 Andreas Jaeger <aj@suse.de>
9276
9277 * po/cs.po: Update from translation team.
9278
56e7d3ad
SP
92792012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9280
9281 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9282 void pointer and cast to uintptr_t.
9283 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9284 path.
9285 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9286 * sysdeps/s390/s390-64/memset.S: Likewise.
9287
76f2d2ea 92882012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9289
9290 [BZ #14833]
9291 * menual/message.texi (Message Translation): Fix typos.
9292 (Helper programs for gettext): Likewise.
9293
67cbf9a2
AS
92942012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9295
9296 [BZ #14898]
9297 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9298 Change to -1.
9299
682d0e9a
DM
93002012-12-07 David S. Miller <davem@davemloft.net>
9301
9302 * po/libc.pot: Update.
9303
573cd484
RH
93042012-12-07 Richard Henderson <rth@redhat.com>
9305
7e9da188 9306 [BZ #10114]
573cd484
RH
9307 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9308 normal/normal case to before the switch.
9309 (_FP_DIV): Likewise.
9310
e933a943
MF
93112012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9312 Mike Frysinger <vapier@gentoo.org>
9313
9314 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9315 check for __NR_fadvise64_64.
9316
82123268
CM
93172012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9318
9319 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9320 0, not just to plain "0" as a statement.
9321 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9322 with cw.
9323
d9814526
JM
93242012-12-06 Joseph Myers <joseph@codesourcery.com>
9325
9326 * NEWS: Use sourceware.org in Bugzilla URL.
9327
7728c574
SP
93282012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9329
f16946dd
SP
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9331 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9332
5704bbcb
SP
9333 * stdio-common/tst-put-error.c (do_test): Add newline to the
9334 padded test to ensure flush.
9335
17aa0516
JL
93362012-12-05 Jeff Law <law@redhat.com>
9337
9338 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9339
363313b5
JM
93402012-12-05 Joseph Myers <joseph@codesourcery.com>
9341
effbd42a
JM
9342 * README: Don't refer to ports add-on as distributed separately.
9343 Mention AArch64 in list of systems supported in the ports add-on.
9344
87600365
JM
9345 * LICENSES: Add more non-FSF copyright and license notices.
9346
a0d7066a
JM
9347 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9348 ((unused)).
9349
66ca5a5b
JM
9350 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9351
363313b5
JM
9352 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9353 10000 as width of padded output.
9354
b37984ad
JM
93552012-12-04 Joseph Myers <joseph@codesourcery.com>
9356
9003570a
JM
9357 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9358
b37984ad
JM
9359 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9360 variable LX with __attribute__ ((unused)).
9361 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9362 Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9366 with __attribute__ ((unused)).
9367
c8df52ec
DM
93682012-12-04 David S. Miller <davem@abraco.davemloft.net>
9369
9370 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9371
b3b099af
JM
93722012-12-04 Joseph Myers <joseph@codesourcery.com>
9373
c33aa6e3
JM
9374 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9375 (CFLAGS-nldbl-acos.c): New variable.
9376 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9377 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9378 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9379 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9380 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9381 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9382 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9383 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9384 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9385 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9386 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9387 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9388 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9389 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9390 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9391 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9392 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9393 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9394 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9395 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9396 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9397 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9398 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9399 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9400 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9401 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9402 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9403 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9404 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9405 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9406 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9407 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9408 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9409 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9410 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9411 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9412 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9413 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9414 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9415 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9416 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9417 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9418 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9419 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9420 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9421 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9422 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9423 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9424 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9425 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9426 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9427 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9428 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9429 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9430 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9431 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9432 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9433 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9434 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9435 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9436 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9437 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9438 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9439 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9440 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9441 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9442 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9443 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9444 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9445 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9446 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9447 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9448 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9449 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9450 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9451 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9452 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9453 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9454 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9455 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9456 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9457 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9458 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9459 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9460 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9461 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9462 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9463 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9464 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9465 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9466 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9467 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9468 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9469 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9470 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9471 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9472 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9473
20f0018d
JM
9474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9475 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9476
b3b099af
JM
9477 [BZ #14914]
9478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9479 whole low double instead of just low 47 bits when splitting values
9480 into two parts.
9481
029264d1
AM
94822012-12-03 Allan McRae <allan@archlinux.org>
9483
9484 * manual/stdio.texi (Predefined Printf Handlers): Remove
9485 @hsep and @vsep usage.
9486
c9d6789e
MF
94872012-12-03 Mike Frysinger <vapier@gentoo.org>
9488
9489 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9490 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9491
4b7634a5
JL
94922012-12-03 Jeff Law <law@redhat.com>
9493
9494 * time/sys/time.h (settimeofday): Do not mark TV argument
9495 as __nonnull.
9496
eb6cbd24
MF
94972012-12-01 Mike Frysinger <vapier@gentoo.org>
9498
9499 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9500 when currently writing and seek to current position when not.
9501 * libio/Makefile (tests): Remove bug-fclose1.
9502 * libio/bug-fclose1.c: Delete.
9503
f638872a
JM
95042012-12-01 Joseph Myers <joseph@codesourcery.com>
9505
9506 * manual/arith.texi (feenableexcept): Fix typo.
9507 (fedisableexcept): Likewise.
9508
48085d14
RM
95092012-11-30 Roland McGrath <roland@hack.frob.com>
9510
9511 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9512 second, differently-typed declaration, rather than a cast.
9513
1a538b9f
SP
95142012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9515
9516 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9517 * include/rpc/svc.h: ... here.
9518
d07f2ff1 95192012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9520
9521 [BZ #13013]
9522 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9523 depending n and resplen2 to catch cases where answer
9524 equals answerp2.
9525
c93ec1f0
CD
95262012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9527
9528 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9529 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9530
37db69de
MF
95312012-11-29 Mike Frysinger <vapier@gentoo.org>
9532
9533 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9534
e10c4e4f
RM
95352012-11-29 Roland McGrath <roland@hack.frob.com>
9536
9537 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9538
2af1b328
JL
95392012-11-28 Jeff Law <law@redhat.com>
9540
9541 [BZ #13761]
9542 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9543 dataset_temporary. Track alloca usage into alloca_used.
9544 If dataset is large allocate and release it via malloc/free.
9545
111db5b1
FW
95462012-06-04 Florian Weimer <fweimer@redhat.com>
9547
f06cc227 9548 [BZ #14197]
111db5b1
FW
9549 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9550
dd694abd
DM
95512012-11-28 David S. Miller <davem@davemloft.net>
9552
9553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9554
9984dd01
JM
95552012-11-28 Joseph Myers <joseph@codesourcery.com>
9556
9557 [BZ #14803]
9558 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9559 of pi/2 rounded to nearest to 64 bits.
9560 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9561 nearest to 64 bits.
9562 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9563 bits.
9564
14bc93a9
JL
95652012-11-28 Jeff Law <law@redhat.com>
9566 Martin Osvald <mosvald@redhat.com>
9567
9568 [BZ #14889]
9569 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9570 * sunrpc/svc.c: Include time.h.
9571 (__svc_accept_failed): New function.
9572 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9573 any reason other than EINTR, call __svc_accept_failed.
9574 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9575 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9576
e3c6aa3a
AS
95772012-11-28 Andreas Schwab <schwab@suse.de>
9578
9579 * scripts/abilist.awk: Also handle indirect functions in .opd
9580 section.
9581
1bead169
JM
95822012-11-28 Joseph Myers <joseph@codesourcery.com>
9583
9584 [BZ #13881]
9585 * sysdeps/x86/fpu/powl_helper.c: New file.
9586 * sysdeps/x86/fpu/Makefile: Likewise.
9587 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9588 (p3): New object.
9589 (__ieee754_powl): Use __powl_helper for finite arguments except
9590 integer exponents below 8.
9591 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9592 (p3): New object.
9593 (__ieee754_powl): Use __powl_helper for finite arguments except
9594 integer exponents below 8.
9595 * math/libm-test.inc (pow_test): Add more tests and enable some
9596 previously disabled tests.
9597 * sysdeps/i386/fpu/libm-test-ulps: Update.
9598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9599
0817d63d
SP
96002012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9601 Carlos O'Donell <carlos_odonell@mentor.com>
9602
9603 * nss/makedb.c (is_prime): Assert that input is odd and greater
9604 than 4. Note that fact in a comment too.
9605 (next_prime): Add 4 to input.
9606
de2fd463
SP
96072012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9608
9609 [BZ #11741]
9610 * libio/Makefile (tests): Add test case tst-fwrite-error.
9611 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9612 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9613 * libio/tst-fwrite-error.c: New test case.
9614
c515fb51
L
96152012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9616
9617 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9618 before casting to void *.
9619 * include/libc-internal.h (__pointer_type): New macro.
9620 (__integer_if_pointer_type_sub): Likewise.
9621 (__integer_if_pointer_type): Likewise.
9622 (cast_to_integer): Likewise.
9623 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9624 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9625 before casting to atomic64_t.
9626 (atomic_exchange_acq): Likewise.
9627 (__arch_exchange_and_add_body): Likewise.
9628 (__arch_add_body): Likewise.
9629 (atomic_add_negative): Likewise.
9630 (atomic_add_zero): Likewise.
9631
4cf77aa9
JM
96322012-11-26 Joseph Myers <joseph@codesourcery.com>
9633
9634 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9635 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9636 (add_fdes): Likewise.
9637 (linear_search_fdes): Likewise.
9638 (binary_search_unencoded_fdes): Likewise.
9639
d260b3b4
AS
96402012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9641
9642 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9643
67060746
AC
96442012-11-24 Adam Conrad <adconrad@0c3.net>
9645
9646 * configure.in: Autodetect C++ header directories.
9647 * configure: Regenerated.
9648
800938a1
MF
96492012-11-23 Mike Frysinger <vapier@gentoo.org>
9650
9651 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9652
4e6e34e6
AS
96532012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9654
9655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9656
7c7feb47
JM
96572012-11-22 Joseph Myers <joseph@codesourcery.com>
9658
7184dcdf
JM
9659 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9660 LDBL_MANT_DIG == 106]: Disable some tests.
9661 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9662 Likewise.
9663 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9664 Likewise.
9665
0a42601f
JM
9666 [BZ #14871]
9667 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9668 input for small inputs. Return +/- pi/2 for large inputs.
9669 * math/libm-test.inc (atan_test): Add more tests.
9670
79c9b9fe
JM
9671 * sysdeps/generic/unwind-dw2-fde-glibc.c
9672 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9673 __attribute__ ((unused)).
9674
c60d3bf2
JM
9675 [BZ #14645]
9676 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9677 x * y if x and y are nonzero and z is zero.
9678
ef1e0867
JM
9679 [BZ #14811]
9680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9681 nonzero exponents with absolute value below 0x1p-117 to +/-
9682 0x1p-117.
9683
1468ded3
JM
9684 [BZ #14869]
9685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9686 up arguments below 2**-450, not just those below 2**-500.
9687 * math/libm-test.inc (hypot_test): Add another test.
9688
8e27e3cc
JM
9689 [BZ #14868]
9690 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9691 Return a+b for ratio over 2**120, not 2**60.
9692 * math/libm-test.inc (hypot_test): Add another test.
9693
c9c0279b
JM
9694 * math/libm-test.inc (clog_test): Use
9695 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9696 (clog10_test): Likewise.
9697
7c7feb47
JM
9698 [BZ #6778]
9699 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9700
fff1530e
AS
97012012-11-22 Andreas Schwab <schwab@suse.de>
9702
9703 * sysdeps/i386/fpu/libm-test-ulps: Update.
9704
94558d30
PT
97052012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9706
9707 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9708 printf output with newline.
9709
7e1be741
L
97102012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9711
6bfea974
L
9712 [BZ #14865]
9713 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9714 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9715 -z nodlopen, -z initfirst and -z execstack support.
9716 * configure: Regenerated.
9717
7e1be741
L
9718 * elf/elf.h (DF_1_NODIRECT): New macro.
9719 (DF_1_IGNMULDEF): Likewise.
9720 (DF_1_NOKSYMS): Likewise.
9721 (DF_1_NOHDR): Likewise.
9722 (DF_1_EDITED): Likewise.
9723 (DF_1_NORELOC): Likewise.
9724 (DF_1_SYMINTPOSE): Likewise.
9725 (DF_1_GLOBAUDIT): Likewise.
9726 (DF_1_SINGLETON): Likewise.
9727 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9728 DT_1_SUPPORTED_MASK bits.
9729 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9730
105ce2ce
CD
97312012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9732
9733 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9734
123be9de
TS
97352012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9736
d072f3f7
TS
9737 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9738 macro.
9739
123be9de
TS
9740 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9741 (sendmmsg): Move declarations...
9742 * socket/sys/socket.h: ... here.
9743 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9744 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9745 include it from...
9746 * socket/recvmmsg.c: ... this new file.
9747 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9748 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9749 definition of __sendmmsg hidden.
9750 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9751 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9752 Move ENOSYS stub into and include it from...
9753 * socket/sendmmsg.c: ... this new file.
9754 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9755 (sysdep_routines): Move recvmmsg and sendmmsg...
9756 * socket/Makefile (routines): ... here.
9757 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9758 (GLIBC_PRIVATE): Add __sendmmsg.
9759 * include/sys/socket.h (__sendmmsg): Add declarations.
9760 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9761 sendmmsg.
9762
cf9a5d18
JM
97632012-11-20 Joseph Myers <joseph@codesourcery.com>
9764
9765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9766 variable I1 with __attribute__ ((unused)).
9767 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9768
ecd4caf9
JM
97692012-11-19 Joseph Myers <joseph@codesourcery.com>
9770
be14d48f
JM
9771 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9772 DUMMY variables with __attribute__ ((unused)).
9773
ecd4caf9
JM
9774 * bits/byteswap.h: Include <bits/types.h>.
9775 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9776
986cab95
PT
97772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9778
9779 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9780 string_t. Do not manually set errno.
9781 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9782 length with __strnlen. Make sure to both set errno and return it on
9783 failure.
9784
6d33cc9d
DM
97852012-11-19 David S. Miller <davem@davemloft.net>
9786
9787 With help from Joseph Myers.
9788 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9789 very large arguments properly.
9790 * math/libm-test.inc (atan_test): New tests.
9791 (atan2_test): New tests.
9792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9794
ee663277
JM
97952012-11-19 Joseph Myers <joseph@codesourcery.com>
9796
877f2d8e
JM
9797 [BZ #14856]
9798 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9799 Define to 3.
9800
116fc08a
JM
9801 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9802 [POSIX] (EADDRNOTAVAIL): Likewise.
9803 [POSIX] (EAFNOSUPPORT): Likewise.
9804 [POSIX] (EALREADY): Likewise.
9805 [POSIX] (ECONNABORTED): Likewise.
9806 [POSIX] (ECONNREFUSED): Likewise.
9807 [POSIX] (ECONNRESET): Likewise.
9808 [POSIX] (EDESTADDRREQ): Likewise.
9809 [POSIX] (EDQUOT): Likewise.
9810 [POSIX] (EHOSTUNREACH): Likewise.
9811 [POSIX] (EIDRM): Likewise.
9812 [POSIX] (EISCONN): Likewise.
9813 [POSIX] (ELOOP): Likewise.
9814 [POSIX] (EMULTIHOP): Likewise.
9815 [POSIX] (ENETDOWN): Likewise.
9816 [POSIX] (ENETUNREACH): Likewise.
9817 [POSIX] (ENOBUFS): Likewise.
9818 [POSIX] (ENODATA): Likewise.
9819 [POSIX] (ENOLINK): Likewise.
9820 [POSIX] (ENOMSG): Likewise.
9821 [POSIX] (ENOPROTOOPT): Likewise.
9822 [POSIX] (ENOSR): Likewise.
9823 [POSIX] (ENOSTR): Likewise.
9824 [POSIX] (ENOTCONN): Likewise.
9825 [POSIX] (ENOTSOCK): Likewise.
9826 [POSIX] (EOPNOTSUPP): Likewise.
9827 [POSIX] (EOVERFLOW): Likewise.
9828 [POSIX] (EPROTO): Likewise.
9829 [POSIX] (EPROTONOSUPPORT): Likewise.
9830 [POSIX] (EPROTOTYPE): Likewise.
9831 [POSIX] (ESTALE): Likewise.
9832 [POSIX] (ETIME): Likewise.
9833 [POSIX] (ETXTBSY): Likewise.
9834 [POSIX] (EWOULDBLOCK): Likewise.
9835 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9836 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9837 [POSIX] (SEEK_CUR): Likewise.
9838 [POSIX] (SEEK_END): Likewise.
9839 [POSIX || UNIX98] (mode_t): Do not require.
9840 [POSIX] (off_t): Likewise.
9841 [POSIX] (pid_t): Likewise.
9842 [POSIX] (sys/stat.h): Do not allow header.
9843 [POSIX] (unistd.h): Likewise.
9844 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9845 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9846 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9847 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9848 require.
9849 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9850 sigevent): Specify elements.
9851 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9852 entry.
9853 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9854 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9855
a483863f
JM
9856 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9857 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9858 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9859 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9860 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9861 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9862 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9863 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9864 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9865 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9866 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9867 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9868 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9869 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9870 Likewise.
9871 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9872 Likewise.
9873 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9874 Likewise.
9875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9876 Likewise.
9877 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9878 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9881 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9882 Specify lower bound on value.
9883 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9884 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9885 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9886 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9887 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9888 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9889 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9890 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9891 value.
9892 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9893 as optional.
9894 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9895 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9896 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9897 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9898 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9899 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9900 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9901 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9902 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9903 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9904 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9905 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9906 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9907 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9908 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9909 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9910 entry.
9911 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9912 optional.
9913 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9914 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9915 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9916 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9917 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9918 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9919 Likewise.
9920 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9922 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9923 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9924 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9925 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9926 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9927 as optional.
9928 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9931 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9932 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9933 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9934 specify as optional.
9935 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9936 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9937 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9938 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9939 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9940 [XPG3] (NL_LANGMAX): Likewise.
9941 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9942 [POSIX || XPG3] (NL_NMAX): Likewise.
9943 [POSIX || XPG3] (NL_SETMAX): Likewise.
9944 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9945 [XPG3] (NZERO): Likewise.
9946 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9947 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9948 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9949 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9950 (REG_ERANGE): Expect.
9951 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9952 optional-constant.
9953 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9954 Use (void) in prototype.
9955 [POSIX] (*_t): Allow.
9956 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9957 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9958 (WRDE_BADVAL): Expect.
9959
5ba924e3
JM
9960 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9961 expect.
9962 [XPG3 || XPG4] (O_RSYNC): Likewise.
9963 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9964 Likewise.
9965 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9966 [XPG3 || XPG4] (sigqueue): Likewise.
9967 [XPG3 || XPG4] (sigtimedwait): Likewise.
9968 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9969 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9970 [XPG3 || XPG4] (vsnprintf): Likewise.
9971 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9972 Likewise.
9973 [XPG3 || XPG4] (blksize_t): Likewise.
9974 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9975 Likewise.
9976 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9977 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9978 [XPG3 || XPG4] (struct itimerspec): Likewise.
9979 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9980 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9981 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9982 [XPG3 || XPG4] (clockid_t): Likewise.
9983 [XPG3 || XPG4] (timer_t): Likewise.
9984 [XPG3 || XPG4] (clock_getres): Likewise.
9985 [XPG3 || XPG4] (clock_gettime): Likewise.
9986 [XPG3 || XPG4] (clock_settime): Likewise.
9987 [XPG3 || XPG4] (nanosleep): Likewise.
9988 [XPG3 || XPG4] (timer_create): Likewise.
9989 [XPG3 || XPG4] (timer_delete): Likewise.
9990 [XPG3 || XPG4] (timer_gettime): Likewise.
9991 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9992 [XPG3 || XPG4] (timer_settime): Likewise.
9993 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9994 [XPG3 || XPG4] (getlogin_r): Likewise.
9995 [XPG3 || XPG4] (pread): Likewise.
9996 [XPG3 || XPG4] (pthread_atfork): Likewise.
9997 [XPG3 || XPG4] (pwrite): Likewise.
9998
ee663277
JM
9999 [BZ #14835]
10000 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10001 <bits/siginfo.h>.
10002
942caa16
PT
100032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10004
e19af380
PT
10005 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10006 finalizing MALLSTREAM.
10007
942caa16
PT
10008 * sysdeps/mach/hurd/syncfs.c: New file.
10009
cfde9b46
SP
100102012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10011
10012 [BZ #14719]
10013 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10014 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10015 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10016 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10017 (_nss_dns_gethostbyname4_r): Likewise.
10018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10019 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10020
f6da27e5
PH
100212012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10022
10023 [BZ #13763]
10024 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10025
6665d4a2
SM
100262012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10027
1f51ee92
SM
10028 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10029 * elf/cache.c (print_entry): Print ",AArch64" for
10030 FLAG_AARCH64_LIB64
10031
6665d4a2
SM
10032 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10033 * elf/cache.c (print_entry): Print ",hard-float" for
10034 FLAG_ARM_LIBHF.
10035
05b227bd
DM
100362012-11-18 David S. Miller <davem@davemloft.net>
10037
10038 With help from Joseph Myers.
10039 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10040 cutoff to 2**-13.
10041 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10042 cutoff to 2**-25.
10043 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10044 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10045 small.
10046 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10047 * math/libm-test.inc (y0_test): New tests.
10048 (y1_test): New tests.
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10052
786b0b67
AS
100532012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10054
10055 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10056 64-bit targets.
10057 * configure: Regenerated.
10058
8e18b86d
DM
100592012-11-17 David S. Miller <davem@davemloft.net>
10060
10061 [BZ #14811]
10062 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10063 nonzero exponents with absolute value below 0x1p-128 to +/-
10064 0x1p-128.
10065
531f1ae0
JM
100662012-11-17 Joseph Myers <joseph@codesourcery.com>
10067
12df29e2
JM
10068 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10069
150dc1a0
JM
10070 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10071
531f1ae0
JM
10072 * posix/getconf-speclist.c: New file.
10073 * posix/posix-envs.def: Likewise.
10074 * posix/confstr.c (START_ENV_GROUP): New macro.
10075 (END_ENV_GROUP): Likewise.
10076 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10077 (KNOWN_PRESENT_ENV_STRING): Likewise.
10078 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10079 (UNKNOWN_ENVIRONMENT): Likewise.
10080 (confstr): Include posix-envs.def instead of handling
10081 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10082 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10083 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10084 (END_ENV_GROUP): Likewise.
10085 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10086 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10087 (UNKNOWN_ENVIRONMENT): Likewise.
10088 (__sysconf): Include posix-envs.def instead of handling associated
10089 cases directly here.
10090 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10091 preprocessing getconf-speclist.c rather than running getconf or
10092 generating empty file.
10093
a93f9cbc
PT
100942012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10095
10096 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10097
d64d9f87
AL
100982012-11-16 Andrej Lajovic <natrij@gmail.com>
10099
10100 [BZ #14672]
10101 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10102
447885eb
DM
101032012-11-16 David S. Miller <davem@davemloft.net>
10104
10105 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10106 smaller than LDBL_EPSILON/2.0L, just return xm1.
10107
bcbf9830
L
101082012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * elf/tst-array1.c (init): Set constructor priority to 1000.
10111 (fini): Set destructor priority to 1000.
10112 * elf/tst-array2dep.c: Likewise.
10113
2b766585
SP
101142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10115
10116 [BZ #11741]
10117 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10118 (_IO_new_file_xsputn): Also return EOF if none of the input
10119 data was written when overflow failed.
10120 * libio/iopadn.c (_IO_padn): Likewise.
10121 * libio/iowpadn.c (_IO_wpadn): Likewise.
10122 * stdio-common/tst-put-error.c: Add copyright notice.
10123 (do_test): Add case for printing padded string.
10124 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10125 _IO_padn returned error.
10126 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10127 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10128 return EOF.
10129
b1848fde
SP
101302012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10131
10132 * libio/libioP.h: Add comment note that the references to C++
10133 bits are now obsolete.
10134
2fd89785
MS
101352012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10136
10137 * math/libm-test.inc (check_complex): Use asprintf.
10138
e3ea5409
JM
101392012-11-14 Joseph Myers <joseph@codesourcery.com>
10140
10141 * debug/pcprofiledump.c (print_version): Update copyright year.
10142 * malloc/memusagestat.c (print_version): Likewise.
10143
2e64d265
L
101442012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10145
10146 [BZ #14831]
10147 * elf/Makefile (tests): Add tst-audit8.
10148 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10149 ($(objpfx)tst-audit8.out): New target.
10150 (tst-audit8-ENV): New variable.
10151 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10152 audit if l_reloc_result is NULL.
10153 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10154 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10155 * elf/tst-audit8.c: New file.
10156
c485e4d2
MS
101572012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10158
10159 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10160 * misc/Makefile (CFLAGS-select.c): Define.
10161 * posix/Makefile (CFLAGS-pause.c): Define.
10162
3a0d900a
DM
101632012-11-13 David S. Miller <davem@davemloft.net>
10164
10165 * crypt/Makefile: Move test targets after toplevel Rules
10166 inclusion. Grab any necessary sysdep routines when linking.
10167 * crypt/md5.c (md5_process_block): Remove define, we will always
10168 name it __md5_process_block.
10169 (md5_finish_ctx): Update md5_process_block call.
10170 (md5_stream): Likewise.
10171 (md5_process_bytes): Likewise.
10172 (md5_process_block): Rename to __md5_process_block and move to ...
10173 * crypt/md5-block.c: ... here.
10174 * crypt/sha256.c (sha256_process_block): Move to ...
10175 * crypt/sha256-block.c: ... here.
10176 * crypt/sha512.c (sha512_process_block): Move to ...
10177 * crypt/sha512-block.c: ... here.
10178 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10179 path.
10180 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10181 * sysdeps/sparc/sparc64/multiarch/Makefile
10182 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10183 crypt subdir.
10184 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10185 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10186 multiarch changes.
10187 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10188 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10189 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10190 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10191 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10192 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10193 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10194 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10195 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10196 file.
10197 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10199 file.
10200 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10201
8ca89318
JM
102022012-11-13 Joseph Myers <joseph@codesourcery.com>
10203
e27d476a
JM
10204 * timezone/tzselect.ksh: Update from tzcode git revision
10205 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10206 * timezone/zdump.c: Likewise.
10207 * timezone/zic.c: Likewise.
10208 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10209 in TZVERSION setting, not $(PKGVERSION).
10210 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10211 REPORT_BUGS_TO settings.
10212
8ca89318
JM
10213 [BZ #14838]
10214 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10215 macro.
10216
47594329
MS
102172012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10218
10219 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10220 detection to immediately after _FP_ROUND().
10221 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10222 bits are 0.
10223
640ac3f1
DM
102242012-11-11 David S. Miller <davem@davemloft.net>
10225
10226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10227 inttypes.h
10228 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10229 __close rather than their public counterparts.
10230
3d2577bb
JM
102312012-11-10 Joseph Myers <joseph@codesourcery.com>
10232
10233 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10234 file.
10235 [UNIX98] (sem_timedwait): Do not expect.
10236 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10237 [XPG4 || UNIX98] (sockatmark): Do not expect.
10238 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10239 (clock_getcpuclockid): Do not expect.
10240 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10241 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10242 Do not expect.
10243 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10244 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10245 [UNIX98] (vwscanf): Likewise.
10246 [UNIX98] (vswscanf): Likewise.
10247
fb1ae1ee
JM
102482012-11-09 Joseph Myers <joseph@codesourcery.com>
10249
9ec6f8bd
JM
10250 * timezone/version.h: Remove file.
10251 * timezone/README: Do not refer to version.h.
10252 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10253 $(objpfx)version.h.
10254 ($(objpfx)zdump.o): Likewise.
c3f81911 10255 ($(objpfx)version.h): New target.
9ec6f8bd 10256
0aa8f8a1
JM
10257 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10258 2012i.
10259 * timezone/README: Don't mention modification to tzselect.ksh.
10260 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10261 work on unmodified tzselect.ksh. Substitute version numbers in
10262 tzselect.ksh.
10263
4e87147f
JM
10264 * Makefile (format-me): Remove.
10265 (INSTALL): Adjust indentation. Use commands directly instead of
10266 using $(format-me).
10267
8b748aed
JM
10268 * aclocal.m4 (ACX_PKGVERSION): New macro.
10269 (ACX_BUGURL): Likewise.
10270 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10271 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10272 (REPORT_BUGS_TO): Likewise.
10273 * configure: Regenerated.
10274 * config.h.in (PKGVERSION): New macro.
10275 (REPORT_BUGS_TO): Likewise.
10276 * config.make.in (PKGVERSION): New variable.
10277 (PKGVERSION_TEXI): Likewise.
10278 (REPORT_BUGS_TO): Likewise.
10279 (REPORT_BUGS_TEXI): Likewise.
10280 * Makefile (format-me): Use -I$(common-objpfx)manual.
10281 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10282 ($(common-objpfx)manual/%): New target.
10283 (manual/%): Remove target.
10284 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10285 (print_version): Use PKGVERSION.
10286 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10287 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10288 and REPORT_BUGS_TO.
10289 ($(objpfx)xtrace): Likewise.
10290 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10291 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10292 (print_version): Use PKGVERSION.
10293 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10294 (do_version): Use PKGVERSION.
10295 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10296 REPORT_BUGS_TO.
10297 (common-ldd-rewrite): Likewise.
10298 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10299 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10300 (print_version): Use PKGVERSION.
10301 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10302 * elf/pldd.c (argp_program_bug_address): Remove variable.
10303 (more_help): New function.
10304 (argp): Use more_help.
10305 (print_version): Use PKGVERSION.
10306 * elf/sln.c (main): Use PKGVERSION.
10307 (usage): Use REPORT_BUGS_TO.
10308 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10309 (top level): Use PKGVERSION.
10310 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10311 (print_version): Use PKGVERSION.
10312 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10313 (print_version): Use PKGVERSION.
10314 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10315 (print_version): Use PKGVERSION.
10316 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10317 (print_version): Use PKGVERSION.
10318 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10319 (print_version): Use PKGVERSION.
10320 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10321 (print_version): Use PKGVERSION.
10322 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10323 and BUGURL.
10324 ($(objpfx)memusage): Likewise.
10325 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10326 (do_version): Use PKGVERSION.
10327 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10328 (print_version): Use PKGVERSION.
10329 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10330 ($PKGVERSION): New variable.
10331 ($REPORT_BUGS_TO): Likewise.
10332 (usage): Use $REPORT_BUGS_TO.
10333 (top level): Use $PKGVERSION.
10334 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10335 ($(objpfx)pkgvers.texi): New rule.
10336 ($(objpfx)stamp-pkgvers): Likewise.
10337 * manual/install.texi: Include pkgvers.texi.
10338 (--with-pkgversion): Document new configure option.
10339 (--with-bugurl): Likewise.
10340 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10341 than necessarily for this particular distribution. Use
10342 REPORT_BUGS_TO for where to report bugs.
10343 * INSTALL: Regenerated.
10344 * manual/libc.texinfo: Include pkgvers.texi.
10345 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10346 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10347 (print_version): Use PKGVERSION.
10348 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10349 (print_version): Use PKGVERSION.
10350 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10351 (print_version): Use PKGVERSION.
10352 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10353 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10354 macro.
10355 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10356 (print_version): Use PKGVERSION.
10357 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10358 (print_version): Use PKGVERSION.
10359 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10360 and PKGVERSION.
10361
92e4b6a9
JM
10362 * timezone/checktab.awk: Update from tzcode 2012i.
10363 * timezone/ialloc.c: Likewise.
10364 * timezone/private.h: Likewise.
10365 * timezone/scheck.c: Likewise.
10366 * timezone/tzfile.h: Likewise.
10367 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10368 (TZVERSION): Hardcode tzcode version number.
10369 * timezone/zdump.c: Update from tzcode 2012i.
10370 * timezone/zic.c: Likewise.
10371 * timezone/version.h: New file.
10372 * timezone/README: Describe version.h. Update upstream location.
10373
9bde902c
JM
10374 [BZ #14824]
10375 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10376 (mktemp): Enable declaration.
10377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10381 Likewise.
10382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10383 Likewise.
10384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10385 Likewise.
10386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10387 Likewise.
10388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10389 Likewise.
10390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10391 Likewise.
10392
fb1ae1ee
JM
10393 [BZ #14821]
10394 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10395 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10396 for copies of such integer values.
10397 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10398 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10399
2c1adbcb
AJ
104002012-11-09 Andreas Jaeger <aj@suse.de>
10401
10402 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10403 definitions and declarations that are provided by
10404 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10405
d0f8457e
AK
104062012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10407
3a235abb 10408 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10409 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10410 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10411 definition.
10412
57241e26
MS
104132012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10414
10415 * elf/elf.h: Update comment before AArch64 relocations.
10416
60e8270d
DM
104172012-11-07 David S. Miller <davem@davemloft.net>
10418
10419 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10420 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10421 (__start_context): Declare.
10422 (__makecontext_ret): Delete.
10423 (__makecontext): Hook up __start_context instead of
10424 __makecontext_ret.
10425 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10426 (sysdep_routines): Add __start_context when in stdlib.
10427
0fbb0fbc
JM
104282012-11-07 Joseph Myers <joseph@codesourcery.com>
10429
10430 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10431 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10432 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10433 hardcoded "nm".
10434 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10435 (READELF): New variable. Use it instead of hardcoded "readelf".
10436
eb48db7e
L
104372012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10440 * sysdeps/x86/Makefile: Here.
10441 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10442 * sysdeps/x86/tst-xmmymm.sh: This.
10443
05bcf62a
JM
104442012-11-07 Joseph Myers <joseph@codesourcery.com>
10445
c4b6cf53
JM
10446 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10447 expectations.
10448 [UNIX98] (pthread_barrier_t): Do not expect.
10449 [UNIX98] (pthread_barrierattr_t): Likewise.
10450 [UNIX98] (pthread_spinlock_t): Likewise.
10451 [UNIX98] (pthread_barrier_destroy): Likewise.
10452 [UNIX98] (pthread_barrier_init): Likewise.
10453 [UNIX98] (pthread_barrier_wait): Likewise.
10454 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10455 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10456 [UNIX98] (pthread_barrierattr_init): Likewise.
10457 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10458 [UNIX98] (pthread_getcpuclockid): Likewise.
10459 [UNIX98] (pthread_mutex_timedlock): Likewise.
10460 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10461 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10462 [UNIX98] (pthread_sigmask): Likewise.
10463 [UNIX98] (pthread_spin_destroy): Likewise.
10464 [UNIX98] (pthread_spin_init): Likewise.
10465 [UNIX98] (pthread_spin_lock): Likewise.
10466 [UNIX98] (pthread_spin_trylock): Likewise.
10467 [UNIX98] (pthread_spin_unlock): Likewise.
10468 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10469 Do not expect.
10470 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10472 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10473 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10474 [XPG3 || XPG4] (pthread_key_t): Likewise.
10475 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10476 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10477 [XPG3 || XPG4] (pthread_once_t): Likewise.
10478 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10479 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10481 [XPG3 || XPG4] (pthread_t): Likewise.
10482
cbe6e120
JM
10483 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10484 not expect.
10485 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10486
1b126443
JM
10487 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10488 Change function return type to int.
10489
b961a573
JM
10490 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10491 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10492 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10493 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10494 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10495 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10496 [!POSIX] (posix_madvise): Likewise.
10497 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10498 && !UNIX98].
10499 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10500 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10501 (mode_t): Likewise.
10502 (posix_mem_offset): Likewise.
10503 (posix_typed_mem_get_info): Likewise.
10504 (posix_typed_mem_open): Likewise.
10505
9e188909
JM
10506 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10507 Change condition to [XOPEN2K8].
10508
05bcf62a
JM
10509 * conform/conformtest.pl: Preprocess allow-header data with -x c
10510 instead of from stdin.
10511 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10512 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10513 [C99-based standards] (cerfc): Likewise.
10514 [C99-based standards] (cexp2): Likewise.
10515 [C99-based standards] (cexpm1): Likewise.
10516 [C99-based standards] (clog10): Likewise.
10517 [C99-based standards] (clog1p): Likewise.
10518 [C99-based standards] (clog2): Likewise.
10519 [C99-based standards] (clgamma): Likewise.
10520 [C99-based standards] (ctgamma): Likewise.
10521 [C99-based standards] (cerff): Likewise.
10522 [C99-based standards] (cerfcf): Likewise.
10523 [C99-based standards] (cexp2f): Likewise.
10524 [C99-based standards] (cexpm1f): Likewise.
10525 [C99-based standards] (clog10f): Likewise.
10526 [C99-based standards] (clog1pf): Likewise.
10527 [C99-based standards] (clog2f): Likewise.
10528 [C99-based standards] (clgammaf): Likewise.
10529 [C99-based standards] (ctgammaf): Likewise.
10530 [C99-based standards] (cerfl): Likewise.
10531 [C99-based standards] (cerfcl): Likewise.
10532 [C99-based standards] (cexp2l): Likewise.
10533 [C99-based standards] (cexpm1l): Likewise.
10534 [C99-based standards] (clog10l): Likewise.
10535 [C99-based standards] (clog1pl): Likewise.
10536 [C99-based standards] (clog2l): Likewise.
10537 [C99-based standards] (clgammal): Likewise.
10538 [C99-based standards] (ctgammal): Likewise.
10539 * conform/data/inttypes.h-data [C99-based standards]: Include
10540 stdint.h-data. Remove all expectations for stdint.h contents.
10541 [C99-based standards] (PRI*): Do not allow.
10542 [C99-based standards] (SCN*): Likewise.
10543 [C99-based standards] (*_t): Likewise.
10544 [C99-based-standards] (PRId8): Expect macro.
10545 [C99-based-standards] (PRIi8): Likewise.
10546 [C99-based-standards] (PRIo8): Likewise.
10547 [C99-based-standards] (PRIu8): Likewise.
10548 [C99-based-standards] (PRIx8): Likewise.
10549 [C99-based-standards] (PRIX8): Likewise.
10550 [C99-based-standards] (SCNd8): Likewise.
10551 [C99-based-standards] (SCNi8): Likewise.
10552 [C99-based-standards] (SCNo8): Likewise.
10553 [C99-based-standards] (SCNu8): Likewise.
10554 [C99-based-standards] (SCNx8): Likewise.
10555 [C99-based-standards] (PRIdLEAST8): Likewise.
10556 [C99-based-standards] (PRIiLEAST8): Likewise.
10557 [C99-based-standards] (PRIoLEAST8): Likewise.
10558 [C99-based-standards] (PRIuLEAST8): Likewise.
10559 [C99-based-standards] (PRIxLEAST8): Likewise.
10560 [C99-based-standards] (PRIXLEAST8): Likewise.
10561 [C99-based-standards] (SCNdLEAST8): Likewise.
10562 [C99-based-standards] (SCNiLEAST8): Likewise.
10563 [C99-based-standards] (SCNoLEAST8): Likewise.
10564 [C99-based-standards] (SCNuLEAST8): Likewise.
10565 [C99-based-standards] (SCNxLEAST8): Likewise.
10566 [C99-based-standards] (PRIdFAST8): Likewise.
10567 [C99-based-standards] (PRIiFAST8): Likewise.
10568 [C99-based-standards] (PRIoFAST8): Likewise.
10569 [C99-based-standards] (PRIuFAST8): Likewise.
10570 [C99-based-standards] (PRIxFAST8): Likewise.
10571 [C99-based-standards] (PRIXFAST8): Likewise.
10572 [C99-based-standards] (SCNdFAST8): Likewise.
10573 [C99-based-standards] (SCNiFAST8): Likewise.
10574 [C99-based-standards] (SCNoFAST8): Likewise.
10575 [C99-based-standards] (SCNuFAST8): Likewise.
10576 [C99-based-standards] (SCNxFAST8): Likewise.
10577 [C99-based-standards] (PRId16): Likewise.
10578 [C99-based-standards] (PRIi16): Likewise.
10579 [C99-based-standards] (PRIo16): Likewise.
10580 [C99-based-standards] (PRIu16): Likewise.
10581 [C99-based-standards] (PRIx16): Likewise.
10582 [C99-based-standards] (PRIX16): Likewise.
10583 [C99-based-standards] (SCNd16): Likewise.
10584 [C99-based-standards] (SCNi16): Likewise.
10585 [C99-based-standards] (SCNo16): Likewise.
10586 [C99-based-standards] (SCNu16): Likewise.
10587 [C99-based-standards] (SCNx16): Likewise.
10588 [C99-based-standards] (PRIdLEAST16): Likewise.
10589 [C99-based-standards] (PRIiLEAST16): Likewise.
10590 [C99-based-standards] (PRIoLEAST16): Likewise.
10591 [C99-based-standards] (PRIuLEAST16): Likewise.
10592 [C99-based-standards] (PRIxLEAST16): Likewise.
10593 [C99-based-standards] (PRIXLEAST16): Likewise.
10594 [C99-based-standards] (SCNdLEAST16): Likewise.
10595 [C99-based-standards] (SCNiLEAST16): Likewise.
10596 [C99-based-standards] (SCNoLEAST16): Likewise.
10597 [C99-based-standards] (SCNuLEAST16): Likewise.
10598 [C99-based-standards] (SCNxLEAST16): Likewise.
10599 [C99-based-standards] (PRIdFAST16): Likewise.
10600 [C99-based-standards] (PRIiFAST16): Likewise.
10601 [C99-based-standards] (PRIoFAST16): Likewise.
10602 [C99-based-standards] (PRIuFAST16): Likewise.
10603 [C99-based-standards] (PRIxFAST16): Likewise.
10604 [C99-based-standards] (PRIXFAST16): Likewise.
10605 [C99-based-standards] (SCNdFAST16): Likewise.
10606 [C99-based-standards] (SCNiFAST16): Likewise.
10607 [C99-based-standards] (SCNoFAST16): Likewise.
10608 [C99-based-standards] (SCNuFAST16): Likewise.
10609 [C99-based-standards] (SCNxFAST16): Likewise.
10610 [C99-based-standards] (PRId32): Likewise.
10611 [C99-based-standards] (PRIi32): Likewise.
10612 [C99-based-standards] (PRIo32): Likewise.
10613 [C99-based-standards] (PRIu32): Likewise.
10614 [C99-based-standards] (PRIx32): Likewise.
10615 [C99-based-standards] (PRIX32): Likewise.
10616 [C99-based-standards] (SCNd32): Likewise.
10617 [C99-based-standards] (SCNi32): Likewise.
10618 [C99-based-standards] (SCNo32): Likewise.
10619 [C99-based-standards] (SCNu32): Likewise.
10620 [C99-based-standards] (SCNx32): Likewise.
10621 [C99-based-standards] (PRIdLEAST32): Likewise.
10622 [C99-based-standards] (PRIiLEAST32): Likewise.
10623 [C99-based-standards] (PRIoLEAST32): Likewise.
10624 [C99-based-standards] (PRIuLEAST32): Likewise.
10625 [C99-based-standards] (PRIxLEAST32): Likewise.
10626 [C99-based-standards] (PRIXLEAST32): Likewise.
10627 [C99-based-standards] (SCNdLEAST32): Likewise.
10628 [C99-based-standards] (SCNiLEAST32): Likewise.
10629 [C99-based-standards] (SCNoLEAST32): Likewise.
10630 [C99-based-standards] (SCNuLEAST32): Likewise.
10631 [C99-based-standards] (SCNxLEAST32): Likewise.
10632 [C99-based-standards] (PRIdFAST32): Likewise.
10633 [C99-based-standards] (PRIiFAST32): Likewise.
10634 [C99-based-standards] (PRIoFAST32): Likewise.
10635 [C99-based-standards] (PRIuFAST32): Likewise.
10636 [C99-based-standards] (PRIxFAST32): Likewise.
10637 [C99-based-standards] (PRIXFAST32): Likewise.
10638 [C99-based-standards] (SCNdFAST32): Likewise.
10639 [C99-based-standards] (SCNiFAST32): Likewise.
10640 [C99-based-standards] (SCNoFAST32): Likewise.
10641 [C99-based-standards] (SCNuFAST32): Likewise.
10642 [C99-based-standards] (SCNxFAST32): Likewise.
10643 [C99-based-standards] (PRId64): Likewise.
10644 [C99-based-standards] (PRIi64): Likewise.
10645 [C99-based-standards] (PRIo64): Likewise.
10646 [C99-based-standards] (PRIu64): Likewise.
10647 [C99-based-standards] (PRIx64): Likewise.
10648 [C99-based-standards] (PRIX64): Likewise.
10649 [C99-based-standards] (SCNd64): Likewise.
10650 [C99-based-standards] (SCNi64): Likewise.
10651 [C99-based-standards] (SCNo64): Likewise.
10652 [C99-based-standards] (SCNu64): Likewise.
10653 [C99-based-standards] (SCNx64): Likewise.
10654 [C99-based-standards] (PRIdLEAST64): Likewise.
10655 [C99-based-standards] (PRIiLEAST64): Likewise.
10656 [C99-based-standards] (PRIoLEAST64): Likewise.
10657 [C99-based-standards] (PRIuLEAST64): Likewise.
10658 [C99-based-standards] (PRIxLEAST64): Likewise.
10659 [C99-based-standards] (PRIXLEAST64): Likewise.
10660 [C99-based-standards] (SCNdLEAST64): Likewise.
10661 [C99-based-standards] (SCNiLEAST64): Likewise.
10662 [C99-based-standards] (SCNoLEAST64): Likewise.
10663 [C99-based-standards] (SCNuLEAST64): Likewise.
10664 [C99-based-standards] (SCNxLEAST64): Likewise.
10665 [C99-based-standards] (PRIdFAST64): Likewise.
10666 [C99-based-standards] (PRIiFAST64): Likewise.
10667 [C99-based-standards] (PRIoFAST64): Likewise.
10668 [C99-based-standards] (PRIuFAST64): Likewise.
10669 [C99-based-standards] (PRIxFAST64): Likewise.
10670 [C99-based-standards] (PRIXFAST64): Likewise.
10671 [C99-based-standards] (SCNdFAST64): Likewise.
10672 [C99-based-standards] (SCNiFAST64): Likewise.
10673 [C99-based-standards] (SCNoFAST64): Likewise.
10674 [C99-based-standards] (SCNuFAST64): Likewise.
10675 [C99-based-standards] (SCNxFAST64): Likewise.
10676 [C99-based-standards] (PRIdMAX): Likewise.
10677 [C99-based-standards] (PRIiMAX): Likewise.
10678 [C99-based-standards] (PRIoMAX): Likewise.
10679 [C99-based-standards] (PRIuMAX): Likewise.
10680 [C99-based-standards] (PRIxMAX): Likewise.
10681 [C99-based-standards] (PRIXMAX): Likewise.
10682 [C99-based-standards] (SCNdMAX): Likewise.
10683 [C99-based-standards] (SCNiMAX): Likewise.
10684 [C99-based-standards] (SCNoMAX): Likewise.
10685 [C99-based-standards] (SCNuMAX): Likewise.
10686 [C99-based-standards] (SCNxMAX): Likewise.
10687 [C99-based-standards] (PRIdPTR): Likewise.
10688 [C99-based-standards] (PRIiPTR): Likewise.
10689 [C99-based-standards] (PRIoPTR): Likewise.
10690 [C99-based-standards] (PRIuPTR): Likewise.
10691 [C99-based-standards] (PRIxPTR): Likewise.
10692 [C99-based-standards] (PRIXPTR): Likewise.
10693 [C99-based-standards] (SCNdPTR): Likewise.
10694 [C99-based-standards] (SCNiPTR): Likewise.
10695 [C99-based-standards] (SCNoPTR): Likewise.
10696 [C99-based-standards] (SCNuPTR): Likewise.
10697 [C99-based-standards] (SCNxPTR): Likewise.
10698 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10699 allow.
10700 * conform/data/stdint.h-data: Update comments to clarify
10701 requirements.
10702 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10703 type.
10704 [C99-based standards] (INT8_MAX): Likewise.
10705 [C99-based standards] (INT16_MIN): Likewise.
10706 [C99-based standards] (INT16_MAX): Likewise.
10707 [C99-based standards] (INT32_MIN): Likewise.
10708 [C99-based standards] (INT32_MAX): Likewise.
10709 [C99-based standards] (INT64_MIN): Likewise.
10710 [C99-based standards] (INT64_MAX): Likewise.
10711 [C99-based standards] (UINT8_MAX): Likewise.
10712 [C99-based standards] (UINT16_MAX): Likewise.
10713 [C99-based standards] (UINT32_MAX): Likewise.
10714 [C99-based standards] (UINT64_MAX): Likewise.
10715 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10716 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10717 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10718 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10719 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10720 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10721 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10722 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10723 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10724 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10725 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10726 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10727 [C99-based standards] (INT_FAST8_MIN): Likewise.
10728 [C99-based standards] (INT_FAST8_MAX): Likewise.
10729 [C99-based standards] (INT_FAST16_MIN): Likewise.
10730 [C99-based standards] (INT_FAST16_MAX): Likewise.
10731 [C99-based standards] (INT_FAST32_MIN): Likewise.
10732 [C99-based standards] (INT_FAST32_MAX): Likewise.
10733 [C99-based standards] (INT_FAST64_MIN): Likewise.
10734 [C99-based standards] (INT_FAST64_MAX): Likewise.
10735 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10736 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10737 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10738 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10739 [C99-based standards] (INTPTR_MIN): Likewise.
10740 [C99-based standards] (INTPTR_MAX): Likewise.
10741 [C99-based standards] (UINTPTR_MAX): Likewise.
10742 [C99-based standards] (INTMAX_MIN): Likewise.
10743 [C99-based standards] (INTMAX_MAX): Likewise.
10744 [C99-based standards] (UINTMAX_MAX): Likewise.
10745 [C99-based standards] (PTRDIFF_MIN): Likewise.
10746 [C99-based standards] (PTRDIFF_MAX): Likewise.
10747 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10748 [C99-based standards] (SIZE_MAX): Likewise.
10749 [C99-based standards] (WCHAR_MAX): Likewise.
10750 [C99-based standards] (WINT_MAX): Likewise.
10751 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10752 constraint on value.
10753 [C99-based standards] (WCHAR_MIN): Likewise.
10754 [C99-based standards] (WINT_MIN): Likewise.
10755 [C99-based standards] (*_t): Allow.
10756 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10757 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10758 Include math.h-data and complex.h-data. Remove all expectations
10759 of math.h and complex.h contents.
10760 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10761 at end of line.
10762 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10763 (struct tm): Expect tag.
10764 [C99-based-standards] (wcstof): Expect function.
10765 [C99-based-standards] (wcstold): Likewise.
10766 [C99-based-standards] (wcstoll): Likewise.
10767 [C99-based-standards] (wcstoull): Likewise.
10768 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10769 macro-int-constant. Specify type.
10770 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10771 constraint on value.
10772 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10773 Specify type.
10774 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10775 Specify value.
10776 [ISO C standards]: Do not allow headers.
10777 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10778 wcs[abcdefghijklmnopqrstuvwxyz]*.
10779 [ISO C standards] (*_t): Do not allow.
10780 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10781 Expect function.
10782 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10783 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10784 Specify type.
10785 [ISO C standards]: Do not allow headers.
10786 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10787 is[abcdefghijklmnopqrstuvwxyz]*.
10788 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10789 to[abcdefghijklmnopqrstuvwxyz]*.
10790 [ISO C standards] (*_t): Do not allow.
10791 * conform/data/stdalign.h-data: New file.
10792 * conform/data/stdbool.h-data: Likewise.
10793 * conform/data/stdnoreturn.h-data: Likewise.
10794
7514feb8
RM
107952012-11-07 Roland McGrath <roland@hack.frob.com>
10796
10797 [BZ #14815]
10798 * manual/filesys.texi (Directory Entries): Typo fix.
10799 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10800
19b2ecfc
MS
108012012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10802
10803 * elf/elf.h (EM_AARCH64): New macro.
10804 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10805 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10806 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10807 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10808 (R_AARCH64_TLSDESC): Likewise.
10809 (NT_ARM_TLS): Likewise.
10810 (NT_ARM_HW_BREAK): Likewise.
10811 (NT_ARM_HW_WATCH): Likewise.
10812
60e235ee
JM
108132012-11-07 Joseph Myers <joseph@codesourcery.com>
10814
10815 [BZ #14811]
10816 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10817 (__ieee754_powl): Saturate nonzero exponents with absolute value
10818 below 0x1p-79 to +/- 0x1p-79.
10819 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10820 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10821 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10822 nonzero exponents with absolute value below 0x1p-32 to +/-
10823 0x1p-32.
10824 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10825 (__ieee754_powl): Saturate nonzero exponents with absolute value
10826 below 0x1p-79 to +/- 0x1p-79.
10827 * math/libm-test.inc (pow_test): Add more tests.
10828
0ab234b7
AK
108292012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10830
10831 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10832 _dl_s390_cap_flags with kernel. Increase string length.
10833 (_dl_s390_platforms): Add z196 and zEC12.
10834
45832f74
JM
108352012-11-07 Joseph Myers <joseph@codesourcery.com>
10836
10837 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10838 Change XOPEN21K to XOPEN2K.
10839
19218757
MK
108402012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10841
10842 * string/memmove.c: Use memcpy when possible.
10843
c5f45721
AJ
108442012-11-06 Andreas Jaeger <aj@suse.de>
10845
10846 * po/eo.po: Update from translation team.
10847
82477c28
JM
108482012-11-06 Joseph Myers <joseph@codesourcery.com>
10849
10850 [BZ #14793]
10851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10852 exponent and small x and y exponents, scale x or y up. Increase
10853 by 2 the exponent used in scaling up.
10854 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10855 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10856 * math/libm-test.inc (fma_test): Add more tests.
10857 (fma_test_towardzero): Likewise.
10858 (fma_test_downward): Likewise.
10859 (fma_test_upward): Likewise.
10860
99252c8c
JM
108612012-11-05 Joseph Myers <joseph@codesourcery.com>
10862
acfa885f
JM
10863 [BZ #14805]
10864 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10865 fenv_t *.
10866
99252c8c
JM
10867 [BZ #14801]
10868 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10869 namespace for names of struct fields.
10870 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10871 fenv_t fields.
10872 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10873 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10874
d6d98dea
ST
108752012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10876
10877 [BZ #3665]
10878 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10879
e10bb107
TS
108802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10881
10882 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10883 PTR_DEMANGLE.
10884
10885 [BZ #5246]
10886 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10887 PTR_DEMANGLE.
10888
a0c2940d
JM
108892012-11-04 Joseph Myers <joseph@codesourcery.com>
10890
10891 [BZ #14797]
10892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10893 definitely overflow as x * y not x * y + z.
10894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10896 * math/libm-test.inc (fma_test): Add more tests.
10897 (fma_test_towardzero): Likewise.
10898 (fma_test_downward): Likewise.
10899 (fma_test_upward): Likewise.
10900
b830319d
TS
109012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10902
10903 [BZ #157]
10904
10905 * include/stub-tag.h: Remove file.
10906 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10907 '#include' of it.
10908 * manual/maint.texi (Porting): Don't reference it.
10909 * Makerules ($(objpfx)stubs): Likewise.
10910 * dirent/closedir.c: Don't include <stub-tag.h>.
10911 * dirent/dirfd.c: Likewise.
10912 * dirent/fdopendir.c: Likewise.
10913 * dirent/getdents.c: Likewise.
10914 * dirent/getdents64.c: Likewise.
10915 * dirent/opendir.c: Likewise.
10916 * dirent/readdir.c: Likewise.
10917 * dirent/readdir64.c: Likewise.
10918 * dirent/readdir64_r.c: Likewise.
10919 * dirent/readdir_r.c: Likewise.
10920 * dirent/rewinddir.c: Likewise.
10921 * dirent/seekdir.c: Likewise.
10922 * dirent/telldir.c: Likewise.
10923 * gmon/profil.c: Likewise.
10924 * grp/setgroups.c: Likewise.
10925 * inet/if_index.c: Likewise.
10926 * io/access.c: Likewise.
10927 * io/chdir.c: Likewise.
10928 * io/chmod.c: Likewise.
10929 * io/chown.c: Likewise.
10930 * io/close.c: Likewise.
10931 * io/dup.c: Likewise.
10932 * io/dup2.c: Likewise.
10933 * io/dup3.c: Likewise.
10934 * io/euidaccess.c: Likewise.
10935 * io/faccessat.c: Likewise.
10936 * io/fchdir.c: Likewise.
10937 * io/fchmod.c: Likewise.
10938 * io/fchmodat.c: Likewise.
10939 * io/fchown.c: Likewise.
10940 * io/fchownat.c: Likewise.
10941 * io/fcntl.c: Likewise.
10942 * io/flock.c: Likewise.
10943 * io/fstatfs.c: Likewise.
10944 * io/fstatfs64.c: Likewise.
10945 * io/fstatvfs.c: Likewise.
10946 * io/fstatvfs64.c: Likewise.
10947 * io/futimens.c: Likewise.
10948 * io/fxstat.c: Likewise.
10949 * io/fxstat64.c: Likewise.
10950 * io/fxstatat.c: Likewise.
10951 * io/fxstatat64.c: Likewise.
10952 * io/getcwd.c: Likewise.
10953 * io/isatty.c: Likewise.
10954 * io/lchmod.c: Likewise.
10955 * io/lchown.c: Likewise.
10956 * io/link.c: Likewise.
10957 * io/linkat.c: Likewise.
10958 * io/lseek.c: Likewise.
10959 * io/lseek64.c: Likewise.
10960 * io/lxstat64.c: Likewise.
10961 * io/mkdir.c: Likewise.
10962 * io/mkdirat.c: Likewise.
10963 * io/mkfifo.c: Likewise.
10964 * io/mkfifoat.c: Likewise.
10965 * io/open.c: Likewise.
10966 * io/open64.c: Likewise.
10967 * io/openat.c: Likewise.
10968 * io/openat64.c: Likewise.
10969 * io/pipe.c: Likewise.
10970 * io/pipe2.c: Likewise.
10971 * io/poll.c: Likewise.
10972 * io/posix_fadvise.c: Likewise.
10973 * io/posix_fadvise64.c: Likewise.
10974 * io/posix_fallocate.c: Likewise.
10975 * io/posix_fallocate64.c: Likewise.
10976 * io/read.c: Likewise.
10977 * io/readlink.c: Likewise.
10978 * io/readlinkat.c: Likewise.
10979 * io/rmdir.c: Likewise.
10980 * io/sendfile.c: Likewise.
10981 * io/sendfile64.c: Likewise.
10982 * io/statfs.c: Likewise.
10983 * io/statfs64.c: Likewise.
10984 * io/statvfs.c: Likewise.
10985 * io/statvfs64.c: Likewise.
10986 * io/symlink.c: Likewise.
10987 * io/symlinkat.c: Likewise.
10988 * io/ttyname.c: Likewise.
10989 * io/ttyname_r.c: Likewise.
10990 * io/umask.c: Likewise.
10991 * io/unlink.c: Likewise.
10992 * io/unlinkat.c: Likewise.
10993 * io/utime.c: Likewise.
10994 * io/utimensat.c: Likewise.
10995 * io/write.c: Likewise.
10996 * io/xmknod.c: Likewise.
10997 * io/xmknodat.c: Likewise.
10998 * io/xstat.c: Likewise.
10999 * io/xstat64.c: Likewise.
11000 * login/getpt.c: Likewise.
11001 * login/grantpt.c: Likewise.
11002 * login/unlockpt.c: Likewise.
11003 * math/e_acoshl.c: Likewise.
11004 * math/e_acosl.c: Likewise.
11005 * math/e_asinl.c: Likewise.
11006 * math/e_atan2l.c: Likewise.
11007 * math/e_atanhl.c: Likewise.
11008 * math/e_coshl.c: Likewise.
11009 * math/e_expl.c: Likewise.
11010 * math/e_fmodl.c: Likewise.
11011 * math/e_gammal_r.c: Likewise.
11012 * math/e_hypotl.c: Likewise.
11013 * math/e_j0l.c: Likewise.
11014 * math/e_j1l.c: Likewise.
11015 * math/e_jnl.c: Likewise.
11016 * math/e_lgammal_r.c: Likewise.
11017 * math/e_log10l.c: Likewise.
11018 * math/e_log2l.c: Likewise.
11019 * math/e_logl.c: Likewise.
11020 * math/e_powl.c: Likewise.
11021 * math/e_rem_pio2l.c: Likewise.
11022 * math/e_sinhl.c: Likewise.
11023 * math/e_sqrtl.c: Likewise.
11024 * math/fclrexcpt.c: Likewise.
11025 * math/fedisblxcpt.c: Likewise.
11026 * math/feenablxcpt.c: Likewise.
11027 * math/fegetenv.c: Likewise.
11028 * math/fegetexcept.c: Likewise.
11029 * math/fegetround.c: Likewise.
11030 * math/feholdexcpt.c: Likewise.
11031 * math/fesetenv.c: Likewise.
11032 * math/fesetround.c: Likewise.
11033 * math/feupdateenv.c: Likewise.
11034 * math/fgetexcptflg.c: Likewise.
11035 * math/fraiseexcpt.c: Likewise.
11036 * math/fsetexcptflg.c: Likewise.
11037 * math/ftestexcept.c: Likewise.
11038 * math/k_cosl.c: Likewise.
11039 * math/k_rem_pio2l.c: Likewise.
11040 * math/k_sinl.c: Likewise.
11041 * math/k_tanl.c: Likewise.
11042 * math/s_asinhl.c: Likewise.
11043 * math/s_atanl.c: Likewise.
11044 * math/s_cbrtl.c: Likewise.
11045 * math/s_erfl.c: Likewise.
11046 * math/s_expm1l.c: Likewise.
11047 * math/s_log1pl.c: Likewise.
11048 * math/s_tanhl.c: Likewise.
11049 * misc/acct.c: Likewise.
11050 * misc/brk.c: Likewise.
11051 * misc/chflags.c: Likewise.
11052 * misc/chroot.c: Likewise.
11053 * misc/fchflags.c: Likewise.
11054 * misc/fgetxattr.c: Likewise.
11055 * misc/flistxattr.c: Likewise.
11056 * misc/fremovexattr.c: Likewise.
11057 * misc/fsetxattr.c: Likewise.
11058 * misc/fsync.c: Likewise.
11059 * misc/ftruncate.c: Likewise.
11060 * misc/futimes.c: Likewise.
11061 * misc/futimesat.c: Likewise.
11062 * misc/getdomain.c: Likewise.
11063 * misc/getdtsz.c: Likewise.
11064 * misc/gethostid.c: Likewise.
11065 * misc/gethostname.c: Likewise.
11066 * misc/getloadavg.c: Likewise.
11067 * misc/getpagesize.c: Likewise.
11068 * misc/getsysstats.c: Likewise.
11069 * misc/getxattr.c: Likewise.
11070 * misc/gtty.c: Likewise.
11071 * misc/ioctl.c: Likewise.
11072 * misc/lgetxattr.c: Likewise.
11073 * misc/listxattr.c: Likewise.
11074 * misc/llistxattr.c: Likewise.
11075 * misc/lremovexattr.c: Likewise.
11076 * misc/lsetxattr.c: Likewise.
11077 * misc/lutimes.c: Likewise.
11078 * misc/madvise.c: Likewise.
11079 * misc/mincore.c: Likewise.
11080 * misc/mlock.c: Likewise.
11081 * misc/mlockall.c: Likewise.
11082 * misc/mmap.c: Likewise.
11083 * misc/mprotect.c: Likewise.
11084 * misc/msync.c: Likewise.
11085 * misc/munlock.c: Likewise.
11086 * misc/munlockall.c: Likewise.
11087 * misc/munmap.c: Likewise.
11088 * misc/preadv.c: Likewise.
11089 * misc/preadv64.c: Likewise.
11090 * misc/ptrace.c: Likewise.
11091 * misc/pwritev.c: Likewise.
11092 * misc/pwritev64.c: Likewise.
11093 * misc/readv.c: Likewise.
11094 * misc/reboot.c: Likewise.
11095 * misc/remap_file_pages.c: Likewise.
11096 * misc/removexattr.c: Likewise.
11097 * misc/revoke.c: Likewise.
11098 * misc/select.c: Likewise.
11099 * misc/setdomain.c: Likewise.
11100 * misc/setegid.c: Likewise.
11101 * misc/seteuid.c: Likewise.
11102 * misc/sethostid.c: Likewise.
11103 * misc/sethostname.c: Likewise.
11104 * misc/setregid.c: Likewise.
11105 * misc/setreuid.c: Likewise.
11106 * misc/setxattr.c: Likewise.
11107 * misc/sstk.c: Likewise.
11108 * misc/stty.c: Likewise.
11109 * misc/swapoff.c: Likewise.
11110 * misc/swapon.c: Likewise.
11111 * misc/sync.c: Likewise.
11112 * misc/syncfs.c: Likewise.
11113 * misc/syscall.c: Likewise.
11114 * misc/truncate.c: Likewise.
11115 * misc/ualarm.c: Likewise.
11116 * misc/usleep.c: Likewise.
11117 * misc/ustat.c: Likewise.
11118 * misc/utimes.c: Likewise.
11119 * misc/vhangup.c: Likewise.
11120 * misc/writev.c: Likewise.
11121 * posix/_exit.c: Likewise.
11122 * posix/alarm.c: Likewise.
11123 * posix/execve.c: Likewise.
11124 * posix/fexecve.c: Likewise.
11125 * posix/fork.c: Likewise.
11126 * posix/fpathconf.c: Likewise.
11127 * posix/getaddrinfo.c: Likewise.
11128 * posix/getegid.c: Likewise.
11129 * posix/geteuid.c: Likewise.
11130 * posix/getgid.c: Likewise.
11131 * posix/getgroups.c: Likewise.
11132 * posix/getlogin.c: Likewise.
11133 * posix/getlogin_r.c: Likewise.
11134 * posix/getpgid.c: Likewise.
11135 * posix/getpid.c: Likewise.
11136 * posix/getppid.c: Likewise.
11137 * posix/getresgid.c: Likewise.
11138 * posix/getresuid.c: Likewise.
11139 * posix/getsid.c: Likewise.
11140 * posix/getuid.c: Likewise.
11141 * posix/glob64.c: Likewise.
11142 * posix/nanosleep.c: Likewise.
11143 * posix/pathconf.c: Likewise.
11144 * posix/pause.c: Likewise.
11145 * posix/posix_madvise.c: Likewise.
11146 * posix/pread.c: Likewise.
11147 * posix/pread64.c: Likewise.
11148 * posix/pwrite.c: Likewise.
11149 * posix/pwrite64.c: Likewise.
11150 * posix/sched_getaffinity.c: Likewise.
11151 * posix/sched_getp.c: Likewise.
11152 * posix/sched_gets.c: Likewise.
11153 * posix/sched_primax.c: Likewise.
11154 * posix/sched_primin.c: Likewise.
11155 * posix/sched_rr_gi.c: Likewise.
11156 * posix/sched_setaffinity.c: Likewise.
11157 * posix/sched_setp.c: Likewise.
11158 * posix/sched_sets.c: Likewise.
11159 * posix/sched_yield.c: Likewise.
11160 * posix/setgid.c: Likewise.
11161 * posix/setlogin.c: Likewise.
11162 * posix/setpgid.c: Likewise.
11163 * posix/setresgid.c: Likewise.
11164 * posix/setresuid.c: Likewise.
11165 * posix/setsid.c: Likewise.
11166 * posix/setuid.c: Likewise.
11167 * posix/sleep.c: Likewise.
11168 * posix/spawni.c: Likewise.
11169 * posix/sysconf.c: Likewise.
11170 * posix/times.c: Likewise.
11171 * posix/wait.c: Likewise.
11172 * posix/wait3.c: Likewise.
11173 * posix/wait4.c: Likewise.
11174 * posix/waitpid.c: Likewise.
11175 * resolv/gai_sigqueue.c: Likewise.
11176 * resource/getpriority.c: Likewise.
11177 * resource/getrlimit.c: Likewise.
11178 * resource/getrusage.c: Likewise.
11179 * resource/nice.c: Likewise.
11180 * resource/setpriority.c: Likewise.
11181 * resource/setrlimit.c: Likewise.
11182 * resource/ulimit.c: Likewise.
11183 * rt/aio_cancel.c: Likewise.
11184 * rt/aio_fsync.c: Likewise.
11185 * rt/aio_read.c: Likewise.
11186 * rt/aio_sigqueue.c: Likewise.
11187 * rt/aio_suspend.c: Likewise.
11188 * rt/aio_write.c: Likewise.
11189 * rt/clock_getres.c: Likewise.
11190 * rt/clock_gettime.c: Likewise.
11191 * rt/clock_nanosleep.c: Likewise.
11192 * rt/clock_settime.c: Likewise.
11193 * rt/lio_listio.c: Likewise.
11194 * rt/mq_close.c: Likewise.
11195 * rt/mq_getattr.c: Likewise.
11196 * rt/mq_notify.c: Likewise.
11197 * rt/mq_open.c: Likewise.
11198 * rt/mq_receive.c: Likewise.
11199 * rt/mq_send.c: Likewise.
11200 * rt/mq_setattr.c: Likewise.
11201 * rt/mq_timedreceive.c: Likewise.
11202 * rt/mq_timedsend.c: Likewise.
11203 * rt/mq_unlink.c: Likewise.
11204 * rt/shm_open.c: Likewise.
11205 * rt/shm_unlink.c: Likewise.
11206 * rt/timer_create.c: Likewise.
11207 * rt/timer_delete.c: Likewise.
11208 * rt/timer_getoverr.c: Likewise.
11209 * rt/timer_gettime.c: Likewise.
11210 * rt/timer_settime.c: Likewise.
11211 * setjmp/__longjmp.c: Likewise.
11212 * setjmp/setjmp.c: Likewise.
11213 * signal/kill.c: Likewise.
11214 * signal/killpg.c: Likewise.
11215 * signal/raise.c: Likewise.
11216 * signal/sigaction.c: Likewise.
11217 * signal/sigaltstack.c: Likewise.
11218 * signal/sigblock.c: Likewise.
11219 * signal/sigignore.c: Likewise.
11220 * signal/sigintr.c: Likewise.
11221 * signal/signal.c: Likewise.
11222 * signal/sigpause.c: Likewise.
11223 * signal/sigpending.c: Likewise.
11224 * signal/sigqueue.c: Likewise.
11225 * signal/sigreturn.c: Likewise.
11226 * signal/sigset.c: Likewise.
11227 * signal/sigsetmask.c: Likewise.
11228 * signal/sigstack.c: Likewise.
11229 * signal/sigsuspend.c: Likewise.
11230 * signal/sigtimedwait.c: Likewise.
11231 * signal/sigvec.c: Likewise.
11232 * signal/sigwait.c: Likewise.
11233 * signal/sigwaitinfo.c: Likewise.
11234 * signal/sysv_signal.c: Likewise.
11235 * socket/accept.c: Likewise.
11236 * socket/accept4.c: Likewise.
11237 * socket/bind.c: Likewise.
11238 * socket/connect.c: Likewise.
11239 * socket/getpeername.c: Likewise.
11240 * socket/getsockname.c: Likewise.
11241 * socket/getsockopt.c: Likewise.
11242 * socket/isfdtype.c: Likewise.
11243 * socket/listen.c: Likewise.
11244 * socket/recv.c: Likewise.
11245 * socket/recvfrom.c: Likewise.
11246 * socket/recvmsg.c: Likewise.
11247 * socket/send.c: Likewise.
11248 * socket/sendmsg.c: Likewise.
11249 * socket/sendto.c: Likewise.
11250 * socket/setsockopt.c: Likewise.
11251 * socket/shutdown.c: Likewise.
11252 * socket/sockatmark.c: Likewise.
11253 * socket/socket.c: Likewise.
11254 * socket/socketpair.c: Likewise.
11255 * stdio-common/ctermid.c: Likewise.
11256 * stdio-common/cuserid.c: Likewise.
11257 * stdio-common/remove.c: Likewise.
11258 * stdio-common/rename.c: Likewise.
11259 * stdio-common/renameat.c: Likewise.
11260 * stdio-common/tempname.c: Likewise.
11261 * stdlib/getcontext.c: Likewise.
11262 * stdlib/makecontext.c: Likewise.
11263 * stdlib/setcontext.c: Likewise.
11264 * stdlib/swapcontext.c: Likewise.
11265 * stdlib/system.c: Likewise.
11266 * streams/fattach.c: Likewise.
11267 * streams/fdetach.c: Likewise.
11268 * streams/getmsg.c: Likewise.
11269 * streams/getpmsg.c: Likewise.
11270 * streams/putmsg.c: Likewise.
11271 * streams/putpmsg.c: Likewise.
11272 * sysdeps/unix/bsd/getpt.c: Likewise.
11273 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11274 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11275 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11277 Likewise.
11278 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11279 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11280 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11281 * sysvipc/msgctl.c: Likewise.
11282 * sysvipc/msgget.c: Likewise.
11283 * sysvipc/msgrcv.c: Likewise.
11284 * sysvipc/msgsnd.c: Likewise.
11285 * sysvipc/semctl.c: Likewise.
11286 * sysvipc/semget.c: Likewise.
11287 * sysvipc/semop.c: Likewise.
11288 * sysvipc/semtimedop.c: Likewise.
11289 * sysvipc/shmat.c: Likewise.
11290 * sysvipc/shmctl.c: Likewise.
11291 * sysvipc/shmdt.c: Likewise.
11292 * sysvipc/shmget.c: Likewise.
11293 * termios/tcdrain.c: Likewise.
11294 * termios/tcflow.c: Likewise.
11295 * termios/tcflush.c: Likewise.
11296 * termios/tcgetattr.c: Likewise.
11297 * termios/tcgetpgrp.c: Likewise.
11298 * termios/tcsendbrk.c: Likewise.
11299 * termios/tcsetattr.c: Likewise.
11300 * termios/tcsetpgrp.c: Likewise.
11301 * time/adjtime.c: Likewise.
11302 * time/clock.c: Likewise.
11303 * time/getitimer.c: Likewise.
11304 * time/gettimeofday.c: Likewise.
11305 * time/setitimer.c: Likewise.
11306 * time/settimeofday.c: Likewise.
11307 * time/stime.c: Likewise.
11308 * time/time.c: Likewise.
11309
113102012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11311
a20492cf
PT
11312 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11313 /usr/old/bin.
11314
72e182e3
PT
11315 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11316 instead of spaces.
11317 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11318
fbeafede
JM
113192012-11-03 Joseph Myers <joseph@codesourcery.com>
11320
5b5b04d6
JM
11321 [BZ #14796]
11322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11323 FE_TONEAREST before applying Dekker multiplication and Knuth
11324 addition. Clear inexact exceptions and check for exact zero
11325 results afterwards.
11326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11327 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11329 * math/libm-test.inc (fma_test): Add more tests.
11330 (fma_test_towardzero): Likewise.
11331 (fma_test_downward): Likewise.
11332 (fma_test_upward): Likewise.
11333 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11334 function.
11335 (libc_fesetround): New macro.
11336 (libc_fesetroundf): Likewise.
11337 (libc_fesetroundl): Likewise.
11338 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11339 function.
11340 (libc_fesetround_387): Likewise.
11341 (libc_fesetroundf): New macro.
11342 (libc_fesetround): Likewise.
11343 (libc_fesetroundl): Likewise.
11344 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11345 function.
11346 (libc_fesetroundf): New macro.
11347 (libc_fesetround): Likewise.
11348 (libc_fesetroundl): Likewise.
11349 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11350 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11351 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11352 libm_hidden_ver.
11353 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11354 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11355 libm_hidden_def.
11356 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11357 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11358 libm_hidden_ver.
11359 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11360 libm_hidden_def.
11361
fbeafede
JM
11362 [BZ #3439]
11363 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11364 integer constant usable in #if and use that to give value to enum
11365 constant.
11366 (FE_DIVBYZERO): Likewise.
11367 (FE_UNDERFLOW): Likewise.
11368 (FE_OVERFLOW): Likewise.
11369 (FE_INVALID): Likewise.
11370 (FE_INVALID_SNAN): Likewise.
11371 (FE_INVALID_ISI): Likewise.
11372 (FE_INVALID_IDI): Likewise.
11373 (FE_INVALID_ZDZ): Likewise.
11374 (FE_INVALID_IMZ): Likewise.
11375 (FE_INVALID_COMPARE): Likewise.
11376 (FE_INVALID_SOFTWARE): Likewise.
11377 (FE_INVALID_SQRT): Likewise.
11378 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11379 (FE_TONEAREST): Likewise.
11380 (FE_TOWARDZERO): Likewise.
11381 (FE_UPWARD): Likewise.
11382 (FE_DOWNWARD): Likewise.
11383 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11384 (FE_DIVBYZERO): Likewise.
11385 (FE_OVERFLOW): Likewise.
11386 (FE_UNDERFLOW): Likewise.
11387 (FE_INEXACT): Likewise.
11388 (FE_TONEAREST): Likewise.
11389 (FE_DOWNWARD): Likewise.
11390 (FE_UPWARD): Likewise.
11391 (FE_TOWARDZERO): Likewise.
11392 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11393 (FE_UNDERFLOW): Likewise.
11394 (FE_OVERFLOW): Likewise.
11395 (FE_DIVBYZERO): Likewise.
11396 (FE_INVALID): Likewise.
11397 (FE_TONEAREST): Likewise.
11398 (FE_TOWARDZERO): Likewise.
11399 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11400 (FE_OVERFLOW): Likewise.
11401 (FE_UNDERFLOW): Likewise.
11402 (FE_DIVBYZERO): Likewise.
11403 (FE_INEXACT): Likewise.
11404 (FE_TONEAREST): Likewise.
11405 (FE_TOWARDZERO): Likewise.
11406 (FE_UPWARD): Likewise.
11407 (FE_DOWNWARD): Likewise.
11408 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11409 (FE_DIVBYZERO): Likewise.
11410 (FE_OVERFLOW): Likewise.
11411 (FE_UNDERFLOW): Likewise.
11412 (FE_INEXACT): Likewise.
11413 (FE_TONEAREST): Likewise.
11414 (FE_DOWNWARD): Likewise.
11415 (FE_UPWARD): Likewise.
11416 (FE_TOWARDZERO): Likewise.
11417
105ca950
CM
114182012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11419
11420 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11421
a542b389
AS
114222012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11423
11424 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11425 commands. Quote $PWD.
11426 (blacklist_exports): Don't use remove_newlines. Replace "declare
11427 -x" by "export".
11428 (remove_newlines): Remove.
11429
f62c8abc
L
114302012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11431
11432 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11433 * stdlib/stdlib.h (atof): Moved to ...
11434 * include/bits/stdlib-float.h: Here. New file.
11435 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11436 * stdlib/bits/stdlib-float.h: New file.
11437 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11438 -mno-sse -mno-mmx.
11439 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11440 <xmmintrin.h>.
11441
0155d5b2
JM
114422012-11-02 Joseph Myers <joseph@codesourcery.com>
11443
a68d0680
JM
11444 * conform/conformtest.pl (@headers): Add fenv.h.
11445 * conform/data/fenv.h-data: New file.
11446 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11447 include of <math/fenv.h>.
11448
caf7f573
JM
11449 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11450 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11451 && !UNIX98]. Enables tests for XOPEN2K8.
11452 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11453 POSIX2008]: Likewise.
11454
6c073ad6
JM
11455 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11456 (struct rusage): Do not expect type or its members.
11457
0155d5b2
JM
11458 [BZ #3439]
11459 * math/math.h (FP_NAN): Define macro to integer constant usable in
11460 #if and use that to give value to enum constant.
11461 (FP_INFINITE): Likewise.
11462 (FP_ZERO): Likewise.
11463 (FP_SUBNORMAL): Likewise.
11464 (FP_NORMAL): Likewise.
11465
b5dcacb4
AS
114662012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11467
11468 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11469 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11470 arguments.
11471
f7934be8
RM
114722012-11-02 Roland McGrath <roland@hack.frob.com>
11473
11474 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11475 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11476 autoconf-time if not.
11477 * configure.in: Remove AC_PREREQ.
11478
d7d08bde
TMQMF
114792012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11480
11481 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11482 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11483 of the internal implementation.
11484
dcdae19a
JM
114852012-11-02 Joseph Myers <joseph@codesourcery.com>
11486
11487 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11488 except include of <misc/sys/syslog.h>.
11489
d6cffd3e
AS
114902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11491
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11493 function returns with a NULL context exit with zero.
11494
b3563932
TMQMF
114952012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11496
11497 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11498
b288a93d
L
114992012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11500
11501 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11502 (run_program_cmd): This.
11503 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11504 (tst_langinfo): New variable. Use it.
11505
a2421a68
SAS
115062012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11507
11508 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11509 floating point opcodes.
11510
6f796e1b
TS
115112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11512
7402596b
TS
11513 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11514 variable.
11515
d0d4f868
TS
11516 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11517
6f796e1b
TS
11518 * sysdeps/mach/hurd/powerpc: Remove directory.
11519 * sysdeps/mach/powerpc: Likewise.
11520
4da224a2
AS
115212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11522
11523 * scripts/check-local-headers.sh: Ignore c++ headers.
11524
341dd673
TS
115252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11526
11527 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11528 __libc_cleanup_region_start argument.
11529
473611b2
JM
115302012-11-01 Joseph Myers <joseph@codesourcery.com>
11531
11532 [BZ #14784]
11533 [BZ #14785]
11534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11535 x * y using scaling, not as x * y + z.
11536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11538 * math/libm-test.inc (fma_test): Add more tests.
11539 (fma_test_towardzero): Likewise.
11540 (fma_test_downward): Likewise.
11541 (fma_test_upward): Likewise.
11542
4078da3d
TS
115432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11544
11545 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11546
903252aa
JM
115472012-10-31 Joseph Myers <joseph@codesourcery.com>
11548
11549 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11550 New variable.
11551
cbc818d0
TS
115522012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11553
11554 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11555
5a03cb1e
AS
115562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11557
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11559 Fix sort order.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11561 Likewise.
11562
90aff2ff
TMQMF
115632012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11564
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11566 Fix the order of the list for glibc 2.17.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11568 Likewise.
11569
1818fcb7
AS
115702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11571
11572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11573
ef82f4da
JM
115742012-10-31 Joseph Myers <joseph@codesourcery.com>
11575
16a0e2ec
JM
11576 [BZ #14610]
11577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11578 for low part of x being zero before using __atanl (y).
11579 * math/libm-test.inc (atan2_test): Add another test.
11580
0eb69512
JM
11581 * manual/install.texi (Configuring and compiling): Document
11582 general use of test-wrapper and test-wrapper-env.
11583 * INSTALL: Regenerated.
11584
ef82f4da
JM
11585 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11586 (__fma): Do not extract and scale down low bits on after-rounding
11587 systems when result rounded to normal precision would have normal
11588 exponent.
11589 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11590 (__fmal): Do not extract and scale down low bits on after-rounding
11591 systems when result rounded to normal precision would have normal
11592 exponent.
11593 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11594 (__fmal): Do not extract and scale down low bits on after-rounding
11595 systems when result rounded to normal precision would have normal
11596 exponent.
11597 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11598 macro.
11599 (fma_test): Add more tests.
11600 (fma_test_towardzero): Likewise.
11601 (fma_test_downward): Likewise.
11602 (fma_test_upward): Likewise.
11603
954ef0d9
L
116042012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11605
11606 * sysdeps/i386/tininess.h: Renamed to ...
11607 * sysdeps/x86/tininess.h: This.
11608 * sysdeps/x86_64/tininess.h: Removed.
11609
df61ffb2
JM
116102012-10-30 Joseph Myers <joseph@codesourcery.com>
11611
11612 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11613 input. Use $(build-program-cmd).
11614 ($(objpfx)tst-array1-static.out): Likewise.
11615 ($(objpfx)tst-array2.out): Likewise.
11616 ($(objpfx)tst-array3.out): Likewise.
11617 ($(objpfx)tst-array4.out): Likewise.
11618 ($(objpfx)tst-array5.out): Likewise.
11619 ($(objpfx)tst-array5-static.out): Likewise.
11620
01767843
CM
116212012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11622
47cc1490
CM
11623 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11624 if defined.
11625
01767843
CM
11626 * nss/nsswitch.h (nss_interface_function): Provide new
11627 macro for use with NSS functions.
11628 * grp/initgroups.c: Use new macro.
11629 * nss/getXXbyYY.c: Likewise.
11630 * nss/getXXbyYY_r.c: Likewise.
11631 * nss/getXXent.c: Likewise.
11632 * nss/getXXent_r.c: Likewise.
11633 * sysdeps/posix/getaddrinfo.c: Likewise.
11634
8321aa97
AJ
116352012-10-30 Andreas Jaeger <aj@suse.de>
11636
11637 * po/ru.po: Update Russion translation from translation project.
11638
2a27fd6d
JM
116392012-10-30 Joseph Myers <joseph@codesourcery.com>
11640
8627a232
JM
11641 [BZ #14152]
11642 [BZ #14783]
11643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11644 result and shift together with sticky bit instead of replicating
11645 round-to-nearest rounding.
11646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11648 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11649 missing underflow exceptions.
11650 (fma_test_towardzero): Add more tests.
11651 (fma_test_downward): Likewise.
11652 (fma_test_upward): Likewise.
11653
2a27fd6d
JM
11654 [BZ #14047]
11655 * sysdeps/generic/tininess.h: New file.
11656 * sysdeps/i386/tininess.h: Likewise.
11657 * sysdeps/sh/tininess.h: Likewise.
11658 * sysdeps/x86_64/tininess.h: Likewise.
11659 * stdlib/tst-strtod-underflow.c: Likewise.
11660 * stdlib/tst-tininess.c: Likewise.
11661 * stdlib/strtod_l.c: Include <tininess.h>.
11662 (round_and_return): Do not set errno for exact underflow cases.
11663 Force an underflow exception when setting errno for underflow.
11664 Determine underflow based on rounding to normal precision if
11665 TININESS_AFTER_ROUNDING.
11666 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11667 ERANGE for exact underflow cases.
11668 * stdlib/Makefile (tests): Add tst-tininess and
11669 tst-strtod-underflow.
11670 ($(objpfx)tst-tininess): Use $(link-libm).
11671 ($(objpfx)tst-strtod-underflow): Likewise.
11672
e7170363
AJ
116732012-10-30 Andreas Jaeger <aj@suse.de>
11674
e5088dc6
AJ
11675 [BZ#14767]
11676 * elf/Makefile (tests): Remove conditional for have-initfini-array
11677 since this is now always required and the variable does not exist
11678 anymore.
11679 (tests-static): Likewise.
11680 (modules-names): Likewise.
11681
e7170363 11682 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11683
11684 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11685 merged with constructor/destructor.
11686 (init_array): Likewise.
11687 * elf/tst-array2dep.c (fini_array): Likewise.
11688 (init_array): Likewise.
11689
60457d8a
MF
116902012-10-29 Mike Frysinger <vapier@gentoo.org>
11691
11692 * manual/message.texi: Delete @cartouche tags.
11693
8bece752
PT
116942012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11695
94ce799f
PT
11696 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11697 EOPNOTSUPP.
11698 * sysdeps/mach/hurd/fsync.c: Likewise.
11699
8bece752
PT
11700 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11701 [_POSIX_REALTIME_SIGNALS]: Change condition to
11702 [_POSIX_REALTIME_SIGNALS > 0].
11703
86ebe6b1
AJ
117042012-10-27 Andreas Jaeger <aj@suse.de>
11705
11706 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11707 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11709 [__WORDSIZE != 64]: Likewise.
11710
54399c08
L
117112012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11712
11713 * iconvdata/tst-table.sh: Remove ${SHELL}.
11714 * iconvdata/tst-tables.sh: Likewise.
11715
e2211bed
DM
117162012-10-25 David S. Miller <davem@davemloft.net>
11717
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11719 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11720 of strtoull.
11721
f303f97c
DM
11722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11723 ifunc-impl-list.c
11724 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11725 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11726 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11727 file.
11728
1e9d84cd
RM
117292012-10-25 Roland McGrath <roland@hack.frob.com>
11730
11731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11732 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11733 __getdirentries.
11734
df381762
JM
117352012-10-25 Joseph Myers <joseph@codesourcery.com>
11736 Jim Blandy <jimb@codesourcery.com>
11737
11738 * scripts/cross-test-ssh.sh: New file.
11739 * manual/install.texi (Configuring and compiling): Document use of
11740 cross-test-ssh.sh.
11741 * INSTALL: Regenerated.
11742
bff64913
PT
117432012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11744
11745 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11746 EOPNOTSUPP.
11747
25fe8932
JM
117482012-10-25 Joseph Myers <joseph@codesourcery.com>
11749
11750 * Makeconfig (run-program-prefix): Fix comment.
11751
cc1290d0
JM
117522012-10-24 Joseph Myers <joseph@codesourcery.com>
11753 Jim Blandy <jimb@codesourcery.com>
11754
11755 * Makeconfig (test-wrapper): New variable,
11756 (test-wrapper-env): Likewise.
11757 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11758 (run-built-tests): Define to yes.
11759 (run-program-prefix): Use $(test-wrapper).
11760 (built-program-cmd): Likewise.
11761 * Rules (make-test-out): Use $(test-wrapper-env) and
11762 $(host-built-program-cmd).
11763 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11764 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11765 tst-pathopt.sh.
11766 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11767 $(test-wrapper-env) to tst-rtld-load-self.sh.
11768 ($(objpfx)order2.out): Use $(test-wrapper).
11769 ($(objpfx)tst-initorder.out): Likewise.
11770 ($(objpfx)tst-initorder2.out): Likewise.
11771 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11772 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11773 (test_wrapper_env): New variable. Use it to run ld.so.
11774 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11775 Use it to run ld.so.
11776 (test_wrapper_env): Likewise.
11777 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11778 $(test-wrapper) to run-iconv-test.sh.
11779 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11780 (ICONV): Use $test_wrapper.
11781 * posix/Makefile ($(objpfx)globtest.out): Pass
11782 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11783 globtest.sh, not $(run-program-prefix).
11784 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11785 (test_wrapper): Likewise.
11786 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11787 set together with run_via_rtld_prefix.
11788 (run_program_prefix): Define in terms of test_wrapper and
11789 run_via_rtld_prefix.
11790
6e6249d0
RM
117912012-10-24 Roland McGrath <roland@hack.frob.com>
11792
11793 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11794 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11795 Targets removed.
11796
11797 [BZ #14743]
11798 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11799 Declare __clock_getres, __clock_gettime, __clock_settime,
11800 __clock_nanosleep, and __clock_getcpuclockid.
11801 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11802 Remove librt_hidden_def (clock_gettime).
11803 * sysdeps/unix/clock_gettime.c: Likewise.
11804 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11805 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11806 * rt/clock_getres.c: Define __clock_getres as an alias.
11807 * sysdeps/posix/clock_getres.c: Likewise.
11808 * rt/clock_settime.c: Define __clock_settime as an alias.
11809 * sysdeps/unix/clock_settime.c: Likewise.
11810 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11811 * sysdeps/unix/clock_nanosleep.c: Likewise.
11812 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11813 * rt/clock-compat.c: New file.
11814 * rt/Makefile (librt-routines): Add clock-compat and move
11815 $(clock-routines) to ...
11816 (routines): ... here, new variable.
11817 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11818 Don't add get_clockfreq here.
11819 * rt/Versions (libc: GLIBC_2.17): New version set.
11820 Add clock_* symbols here.
11821 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11823 (GLIBC_2.17): Add clock_* symbols.
11824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11826 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11828 Likewise.
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11830 Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11835 * NEWS: Mention the move.
11836
11837 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11838 Use __open, __read, __close rather than their public counterparts.
11839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11840 (__get_clockfreq_via_cpuinfo): Likewise.
11841 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11842 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11843
11844 * config.h.in (HAVE_IFUNC): New #undef.
11845 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11846 was successful.
11847 * configure: Regenerated.
11848
0cae3f4b
MF
118492012-10-24 Mike Frysinger <vapier@gentoo.org>
11850
11851 * configure.in: Move READELF check to start of file.
11852 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11853 libc_cv_asm_gnu_indirect_function in the process.
11854 * configure: Regenerated.
11855
8175a253
MF
118562012-10-24 Mike Frysinger <vapier@gentoo.org>
11857
11858 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11859 send the output to /dev/null.
11860 (libc_cv_cc_with_libunwind): Likewise.
11861 (libc_cv_as_noexecstack): Likewise.
11862 * configure: Regenerate.
11863
0708a7d1
JM
118642012-10-24 Joseph Myers <joseph@codesourcery.com>
11865
10b40d85
JM
11866 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11867
0708a7d1
JM
11868 * posix/globtest.sh (TMPDIR): Do not set.
11869 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11870 (testout): Likewise.
11871
9fddec1a
AJ
118722012-10-24 Andreas Jaeger <aj@suse.de>
11873
3a8db22f
AJ
11874 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11875 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11876 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11877 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11878 posix_fadvise64, posix_fallocate64.
11879
9fddec1a
AJ
11880 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11881 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11882 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11883 Likewise.
11884 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11885 Likewise.
11886 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11887
11888 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11889 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11890 <bits/fcntl-linux.h>.
11891 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11892
11893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11894 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11895 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11896 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11897 [__WORDSIZE != 64]: Likewise.
11898
ebfd1bbd
JM
118992012-10-23 Joseph Myers <joseph@codesourcery.com>
11900
03ac099f
JM
11901 * Makeconfig (run-built-tests): New variable.
11902 * Rules [$(cross-compiling) = yes]: Change condition to
11903 [$(run-built-tests) = no].
11904 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11905 to [$(run-built-tests) = yes].
11906 * elf/Makefile [$(cross-compiling) = no]: Likewise
11907 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11908 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11909 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11910 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11911 * io/Makefile [$(cross-compiling) = no]: Likewise.
11912 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11913 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11914 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11915 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11916 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11917 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11918 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11919 * string/Makefile [$(cross-compiling) = no]: Likewise.
11920
ebfd1bbd
JM
11921 * posix/Makefile ($(objpfx)globtest.out): Pass
11922 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11923 $(rtld-installed-name).
11924 * posix/globtest.sh (elf_objpfx): Remove variable.
11925 (rtld_installed_name): Likewise.
11926 (library_path): Likewise.
11927 (run_program_prefix): New variable. Use for running globtest
11928 binary.
11929
166bca24
JB
119302012-10-23 Jim Blandy <jimb@codesourcery.com>
11931 Joseph Myers <joseph@codesourcery.com>
11932
11933 * Makeconfig (host-built-program-cmd): New variable.
11934 * elf/Makefile (tst-stackguard1-ARGS): Use
11935 $(host-built-program-cmd).
11936 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11937 (tst-spawn-ARGS): Likewise.
11938 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11939
88866099
JM
119402012-10-23 Joseph Myers <joseph@codesourcery.com>
11941 Jim Blandy <jimb@codesourcery.com>
11942
11943 * Makeconfig (run-via-rtld-prefix): New variable.
11944 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11945 (built-program-cmd): Likewise.
11946
b4b4c296
AJ
119472012-10-22 Andreas Jaeger <aj@suse.de>
11948
11949 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11950 __O_RSYNC if it exists, otherwise to O_SYNC.
11951
6fb54a22
JB
119522012-10-22 Jim Blandy <jimb@codesourcery.com>
11953 Joseph Myers <joseph@codesourcery.com>
11954
11955 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11956 /dev/null.
11957 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11958 from /dev/null
11959 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11960 /dev/null.
11961
481b90b9
AJ
119622012-10-22 Andreas Jaeger <aj@suse.de>
11963
2a0e2669
AJ
11964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11965 Define always.
11966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11967
76e38f9a
AJ
11968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11969 bits/fcntl-linux.h.
11970
7cd37b43
AJ
11971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11972 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11973
481b90b9
AJ
11974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11975 to __O_LARGEFILE.
11976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11977 to __O_LARGEFILE.
11978
aba75984
JB
119792012-10-21 Jim Blandy <jimb@codesourcery.com>
11980 Joseph Myers <joseph@codesourcery.com>
11981
11982 * config.make.in (NM): New variable.
11983
88d4247f
AJ
119842012-10-21 Andreas Jaeger <aj@suse.de>
11985
11986 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11987 definitions and declarations that are provided by
11988 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11989
f2eed205
L
119902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11991
11992 [BZ #14683]
11993 * elf/Makefile (tests-static): Add tst-leaks1-static.
11994 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11995 ($(objpfx)tst-leaks1-static): New rule.
11996 ($(objpfx)tst-leaks1-static-mem): Likewise.
11997 (tst-leaks1-static-ENV): New macro.
11998 * elf/dl-open.c (dl_open_worker): Check the main application
11999 only if SHARED is defined.
12000 * elf/tst-leaks1-static.c: New file.
12001
335e6931
AJ
120022012-10-20 Andreas Jaeger <aj@suse.de>
12003
12004 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12005 generic values for Linux.
12006 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12007 and declarations that are provided by <bits/fcntl-linux.h> and
12008 include <bits/fcntl-linux.h>.
12009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12011
ac5c94d3
RM
120122012-10-20 Roland McGrath <roland@hack.frob.com>
12013
12014 * io/fcntl.h: Move include of <bits/types.h> to the top and
12015 include it unconditionally.
12016
de54b33a
L
120172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12018
228cfb01
L
12019 * wcsmbs/Makefile (tests-ifunc): New variable.
12020 (tests): Add $(tests-ifunc).
12021 * wcsmbs/test-wcschr-ifunc.c: New file.
12022 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12023 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12024 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12025 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12026 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12027
69f07e5f
L
12028 * string/Makefile (tests-ifunc): New variable.
12029 (tests): Add $(tests-ifunc).
12030 * string/test-memccpy.c (TEST_NAME): New macro.
12031 * string/test-memchr.c (TEST_NAME): Likewise.
12032 * string/test-memcmp.c (TEST_NAME): Likewise.
12033 * string/test-memcpy.c (TEST_NAME): Likewise.
12034 * string/test-memmem.c (TEST_NAME): Likewise.
12035 * string/test-memmove.c (TEST_NAME): Likewise.
12036 * string/test-memset.c (TEST_NAME): Likewise.
12037 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12038 * string/test-stpcpy.c (TEST_NAME): Likewise.
12039 * string/test-stpncpy.c (TEST_NAME): Likewise.
12040 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12041 * string/test-strcasestr.c (TEST_NAME): Likewise.
12042 * string/test-strcat.c (TEST_NAME): Likewise.
12043 * string/test-strchr.c (TEST_NAME): Likewise.
12044 * string/test-strcmp.c(TEST_NAME): Likewise.
12045 * string/test-strcpy.c (TEST_NAME): Likewise.
12046 * string/test-strcspn.c (TEST_NAME): Likewise.
12047 * string/test-strlen.c (TEST_NAME): Likewise.
12048 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12049 * string/test-strncmp.c (TEST_NAME): Likewise.
12050 * string/test-strncpy.c (TEST_NAME): Likewise.
12051 * string/test-strnlen.c (TEST_NAME): Likewise.
12052 * string/test-strpbrk.c (TEST_NAME): Likewise.
12053 * string/test-strrchr.c (TEST_NAME): Likewise.
12054 * string/test-strspn.c (TEST_NAME): Likewise.
12055 * string/test-strstr.c (TEST_NAME): Likewise.
12056 * string/test-bcopy-ifunc.c: New file.
12057 * string/test-bzero-ifunc.c: Likewise.
12058 * string/test-memccpy-ifunc.c: Likewise.
12059 * string/test-memchr-ifunc.c: Likewise.
12060 * string/test-memcmp-ifunc.c: Likewise.
12061 * string/test-memcpy-ifunc.c: Likewise.
12062 * string/test-memmem-ifunc.c: Likewise.
12063 * string/test-memmove-ifunc.c: Likewise.
12064 * string/test-mempcpy-ifunc.c: Likewise.
12065 * string/test-memset-ifunc.c: Likewise.
12066 * string/test-rawmemchr-ifunc.c: Likewise.
12067 * string/test-stpcpy-ifunc.c: Likewise.
12068 * string/test-stpncpy-ifunc.c: Likewise.
12069 * string/test-strcasecmp-ifunc.c: Likewise.
12070 * string/test-strcasestr-ifunc.c: Likewise.
12071 * string/test-strcat-ifunc.c: Likewise.
12072 * string/test-strchr-ifunc.c: Likewise.
12073 * string/test-strchrnul-ifunc.c: Likewise.
12074 * string/test-strcmp-ifunc.c: Likewise.
12075 * string/test-strcpy-ifunc.c: Likewise.
12076 * string/test-strcspn-ifunc.c: Likewise.
12077 * string/test-strlen-ifunc.c: Likewise.
12078 * string/test-strncasecmp-ifunc.c: Likewise.
12079 * string/test-strncat-ifunc.c: Likewise.
12080 * string/test-strncmp-ifunc.c: Likewise.
12081 * string/test-strncpy-ifunc.c: Likewise.
12082 * string/test-strnlen-ifunc.c: Likewise.
12083 * string/test-strpbrk-ifunc.c: Likewise.
12084 * string/test-strrchr-ifunc.c: Likewise.
12085 * string/test-strspn-ifunc.c: Likewise.
12086 * string/test-strstr-ifunc.c: Likewise.
12087
de54b33a
L
12088 * debug/Makefile (tests-ifunc): New variable.
12089 (tests): Add $(tests-ifunc).
12090 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12091 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12092 * debug/test-stpcpy_chk-ifunc.c: New file.
12093 * debug/test-strcpy_chk-ifunc.c: Likewise.
12094
88481c16
SP
120952012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12096
12097 [BZ #13601]
12098 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12099 header is not read in.
12100
135948bd
JM
121012012-10-19 Joseph Myers <joseph@codesourcery.com>
12102
89f1c388
JM
12103 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12104 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12105 directly. Pass built executable to script as
12106 $(built-program-cmd).
12107 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12108 $testprogram without using LD_LIBRARY_PATH and $ldso.
12109
e40a0d21
JM
12110 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12111 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12112 $(rtld-installed-name).
12113 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12114 (rtld_installed_name): Likewise.
12115 (library_path): Likewise.
12116 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12117 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12118 $(run-program-prefix) to tst-tables.sh.
12119 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12120 it to run tst-table-from and tst-table-to.
12121 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12122 Pass it to tst-table.sh.
12123 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12124 $(run-program-prefix) to tst-gettext.sh.
12125 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12126 tst-translit.sh.
12127 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12128 tst-gettext2.sh.
12129 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12130 to run tst-gettext.
12131 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12132 to run tst-gettext2.
12133 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12134 to run tst-translit.
12135 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12136 $(run-program-prefix) to tst-mtrace.sh.
12137 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12138 to run tst-mtrace.
12139 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12140 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12141 $(rtld-installed-name).
12142 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12143 (rtld_installed_name): Likewise.
12144 (run_program_prefix): New variable. Use it to run wordexp-test.
12145
728e272a
JM
12146 * Makeconfig (ARCH): Remove all definitions.
12147 (machine): Likewise.
12148 [ARCH]: Remove conditional code.
12149 [!objdir]: Give error.
12150 [!objdir] (objpfx): Remove.
12151 [!objdir] (common-objpfx): Likewise.
12152 [!objdir] (common-objdir): Likewise.
12153 * configure.in (config_makefile): Remove. Hardcode Makefile in
12154 AC_CONFIG_FILES call.
12155 * configure: Regenerated.
12156
d528cdcf
JM
12157 [BZ #13888]
12158 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12159 or TMPDIR.
12160 (testout): Likewise.
12161
135948bd
JM
12162 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12163 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12164 $(rtld-installed-name).
12165 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12166 (rtld_installed_name): Likwise.
12167 (runit): Remove function.
12168 (run_getconf): New variable, Use it for running getconf binary.
12169
38c78296
L
121702012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12171
12172 [BZ #14716]
12173 * string/test-memmem.c (check_result): New function.
12174 (do_one_test): Use it.
12175 (check1): New function.
12176 (test_main): Use it.
12177
d077f65f
MT
121782012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12179
12180 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12181
ced52c71
JM
121822012-10-18 Joseph Myers <joseph@codesourcery.com>
12183
12184 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12185 (_G_LSEEK64): Likewise.
12186 (_G_MMAP64): Likewise.
12187 (_G_FSTAT64): Likewise.
12188 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12189 (_G_LSEEK64): Likewise.
12190 (_G_MMAP64): Likewise.
12191 (_G_FSTAT64): Likewise.
12192 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12193 unconditional. Call __mmap64 directly.
12194 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12195 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12196 __lseek64 directly.
12197 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12198 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12199 __mmap64 directly.
12200 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12201 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12202 __lseek64 directly.
12203 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12204 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12205 __lseek64 directly.
12206 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12207 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12208 __lseek64 directly.
12209 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12210 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12211 __fxstat64 directly.
12212 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12213 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12214 unconditional.
12215 (freopen64) [!_G_OPEN64]: Remove conditional code.
12216 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12217 unconditional.
12218 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12219 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12220 unconditional.
12221 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12222 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12223 unconditional.
12224 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12225 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12226 unconditional.
12227 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12228 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12229 unconditional.
12230 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12231 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12232 unconditional.
12233 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12234 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12235 unconditional.
12236 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12237
b741de23
SP
122382012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12239
12240 [BZ #12140]
12241 * manual/memory.texi (Malloc Tunable Parameters): Add note
12242 about free list pointers overwriting some perturb bytes.
12243 Wording suggested by Roland McGrath.
12244
f9b9d9c9
JM
122452012-10-17 Joseph Myers <joseph@codesourcery.com>
12246
12247 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12248 (lgamma_test): Likewise.
12249 (tgamma_test): Likewise.
12250
172a631a
FW
122512012-10-16 Florian Weimer <fweimer@redhat.com>
12252
12253 [BZ #14700]
12254 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12255 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12256
e9f37252
MK
122572012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12258
12259 * NEWS: Mention BZ #14716.
12260 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12261 when removing AVAILABLE1_USES_J macro.
12262
d394eb74
L
122632012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12266 (__bswap_64): __uint64_t for unsigned 64-bit int.
12267
ca38dc17
AS
122682012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12269
12270 * include/string.h (memmem): Declare libc hidden alias.
12271 * string/memmem.c (memmem): Define libc hidden alias.
12272 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12273 __read, __close instead of open, read, close.
12274
9a387d1f
L
122752012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12276
ac49ecaf
L
12277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12278 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12279 global and hidden.
12280 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12281 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12282 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12283 Likewise.
12284 (__rawmemchr_sse2): Likewise.
12285 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12286 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12287 (__strchr_sse2): Likewise.
12288 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12289 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12290 (__strcasecmp_sse2): Likewise.
12291 (__strncasecmp_sse2): Likewise.
12292 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12293 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12294 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12295 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12296 (__strrchr_sse2): Likewise.
12297 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12298 ifunc-impl-list.c.
12299 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12300 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12301 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12302 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12303 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12304 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12305 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12306 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12307 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12308 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12309 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12310 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12311 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12312 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12313 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12314 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12315 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12316 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12317 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12318 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12319 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12320 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12321 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12322 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12323 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12324 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12325 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12326 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12327 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12328 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12329
b090e8ea
L
12330 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12331 global and hidden.
12332 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12333 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12334 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12335 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12336 Likewise.
12337 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12338 Likewise.
12339 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12340 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12341 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12342 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12343 ifunc-impl-list.c.
12344 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12345 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12346 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12347 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12348 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12349 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12350 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12351 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12352 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12353 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12354 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12355 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12356 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12360 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12361 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12362 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12363 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12365 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12366 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12367 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12368 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12369 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12370 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12371 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12372 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12373 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12375 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12376 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12377 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12378 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12379 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12381 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12382 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12383 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12384 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12385
11dd4af6
L
12386 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12387 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12388 * include/ifunc-impl-list.h: New file.
12389 * misc/ifunc-impl-list.c: Likewise.
12390 * misc/Makefile (routines): Add ifunc-impl-list.
12391 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12392 * string/test-string.h: Include <ifunc-impl-list.h>.
12393 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12394 impl_array): New variables.
12395 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12396 are defined.
12397 (test_init): Call __libc_ifunc_impl_list to initialize
12398 func_list if TEST_IFUNC and TEST_NAME are defined.
12399
9a387d1f
L
12400 * string/Makefile (strop-tests): Add bcopy and bzero.
12401 * string/test-bcopy.c: New file.
12402 * string/test-bzero.c: Likewise.
12403 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12404 defined.
12405 * string/test-memset.c: Support bzero test if TEST_BZERO is
12406 defined.
12407 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12408 __libc_memmove.
12409 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12410 __libc_memset.
12411 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12412 of memset.
12413
472371b9
JM
124142012-10-10 Joseph Myers <joseph@codesourcery.com>
12415
1e4a9536
JM
12416 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12417 * configure: Regenerated.
12418
d173d12e
JM
12419 * Makeconfig (+link-static-before-libc): Don't include
12420 $(link-static-libc).
12421
472371b9
JM
12422 * libio/libio.h (_IO_pos_t): Remove.
12423
89a3ad0b
AO
124242012-10-10 Alexandre Oliva <aoliva@redhat.com>
12425
12426 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12427 McGrath.
12428
e7451425
AO
124292012-10-10 Alexandre Oliva <aoliva@redhat.com>
12430
12431 * crypt/crypt-entry.c: Include fips-private.h.
12432 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12433 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12434 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12435 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12436
4ba74a35
AO
124372012-10-10 Alexandre Oliva <aoliva@redhat.com>
12438
12439 * crypt/crypt-private.h: Include stdbool.h.
12440 (_ufc_setup_salt_r): Return bool.
12441 * crypt/crypt-entry.c: Include errno.h.
12442 (__crypt_r): Return NULL with EINVAL for bad salt.
12443 * crypt/crypt_util.c (bad_for_salt): New.
12444 (_ufc_setup_salt_r): Check that salt is long enough and within
12445 the specified alphabet.
12446 * crypt/badsalttest.c: New file.
12447 * crypt/Makefile (tests): Add it.
12448 ($(objpfx)badsalttest): New.
12449
f96f1242
MK
124502012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12451
12452 * NEWS: Add entry for BZ #14602.
12453
0e8e0c1c
JM
124542012-10-09 Joseph Myers <joseph@codesourcery.com>
12455
12456 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12457 type-generic.
12458 * math/libm-test.inc: Update comment listing what functions and
12459 macros are tested.
12460 (isgreater_test): New function.
12461 (isgreaterequal_test): Likewise.
12462 (isless_test): Likewise.
12463 (islessequal_test): Likewise.
12464 (islessgreater_test): Likewise.
12465 (isunordered_test): Likewise.
12466 (main): Call the new functions.
12467
273edc5e
RM
124682012-10-09 Roland McGrath <roland@hack.frob.com>
12469
b8493de0
RM
12470 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12471 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12472 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12473 * sysdeps/i386/configure: Regenerated.
12474 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12475 * sysdeps/mach/configure: Regenerated.
12476 * sysdeps/mach/hurd/configure: Regenerated.
12477 * sysdeps/powerpc/configure: Regenerated.
12478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12480 * sysdeps/s390/s390-32/configure: Regenerated.
12481 * sysdeps/s390/s390-64/configure: Regenerated.
12482 * sysdeps/sh/configure: Regenerated.
12483 * sysdeps/sparc/configure: Regenerated.
12484 * sysdeps/unix/sysv/linux/configure: Regenerated.
12485 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12486 * sysdeps/x86_64/configure: Regenerated.
12487
273edc5e
RM
12488 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12489 defined. Don't check if MAP is NULL.
12490
c8450f70
JM
124912012-10-09 Joseph Myers <joseph@codesourcery.com>
12492
12493 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12494 (_G_stat64): Likewise.
12495 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12496 (_G_stat64): Likewise.
12497 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12498 instead of struct _G_stat64.
12499 * libio/fileops.c (mmap_remap_check): Likewise.
12500 (decide_maybe_mmap): Likewise.
12501 (_IO_new_file_seekoff): Likewise.
12502 (_IO_file_stat): Likewise.
12503 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12504 _G_off64_t.
12505 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12506 instead of struct _G_stat64.
12507 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12508
57e605ba
MK
125092012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12510
12511 [BZ #14602]
12512 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12513 Replace with ...
12514 (CHECK_EOL): New macro.
12515 (two_way_short_needle): Check beginning of haystack for EOL. Use
12516 CHECK_EOL.
12517 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12518 Replace with CHECK_EOL.
12519 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12520 Replace with CHECK_EOL.
12521
ef1bb361
JM
125222012-10-08 Joseph Myers <joseph@codesourcery.com>
12523
12524 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12525 type-generic.
12526 * math/libm-test.inc: Update comment listing what functions and
12527 macros are tested.
12528 (finite_test): New function.
12529 (isinf_test): Likewise.
12530 (isnan_test): Likewise.
12531 (fpclassify_test): Test subnormal input.
12532 (isfinite_test): Likewise.
12533 (isnormal_test): Likewise.
12534 (main): Call the new functions.
12535
55f11534
JN
125362012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12537
12538 [BZ #14660]
12539 * Makerules (%.dynsym): Force C locale when running
12540 $(OBJDUMP) --dynamic-syms.
12541
1ab29350
AS
125422012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12543
12544 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12545 <stdint.h>.
12546
f1ecb7ef
DM
125472012-10-06 David S. Miller <davem@davemloft.net>
12548
12549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12550 upper 32-bits of the length value in %o2 since we use branch-on-register
12551 tests which consider the entire 64-bit register.
12552
5d41d91a
L
125532012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * string/test-strstr.c (check2): Add a test for page boundary.
12556
3baddb72
DM
125572012-10-05 David S. Miller <davem@davemloft.net>
12558
12559 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12560 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12561 file.
12562 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12563 sysdep_routines.
12564 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12565 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12566 and bzero when HWCAP_SPARC_CRYPTO is present.
12567
9cee5585
L
125682012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12569
d7e0dab9
L
12570 [BZ #14602]
12571 * string/test-strstr.c (check2): New function.
12572 (test_main): Call check2.
12573
03759f47
L
12574 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12575 and bug-strchr1.
12576 * string/bug-strcasestr1.c (do_test): Moved to ...
12577 * string/test-strcasestr.c (check1): Here. New function.
12578 (do_one_test): Break out result checking code into ...
12579 (check_result): This. New function.
12580 (do_one_test): Call check_result.
12581 (test_main): Call check1.
12582 * string/bug-strchr1.c (do_test): Moved to ...
12583 * string/test-strchr.c (check1): Here. New function.
12584 (do_one_test): Break out result checking code into ...
12585 (check_result): This. New function.
12586 (do_one_test): Call check_result.
12587 (test_main): Call check1.
12588 * string/bug-strstr1.c (main): Moved to ...
046f153e 12589 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12590 (do_one_test): Break out result checking code into ...
12591 (check_result): This. New function.
12592 (do_one_test): Call check_result.
12593 (test_main): Call check1.
12594 * string/bug-strcasestr1.c: Removed.
12595 * string/bug-strchr1.c: Likewise.
12596 * string/bug-strstr1.c: Likewise.
12597
53cea63e
L
12598 * elf/Makefile (dl-routines): Add hwcaps.
12599 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12600 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12601 (_dl_important_hwcaps): Moved to ...
12602 * elf/dl-hwcaps.c: Here. New file.
12603 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12604
9cee5585 12605 [BZ #14557]
bb859b06
L
12606 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12607 if IS_IN_rtld isn't defined.
12608
9cee5585
L
12609 * elf/dl-support.c (_dl_sysinfo_map): New.
12610 Include "get-dynamic-info.h" and "setup-vdso.h".
12611 (_dl_non_dynamic_init): Call setup_vdso.
12612 * elf/dynamic-link.h: Don't include <assert.h>.
12613 (elf_get_dynamic_info): Moved to ...
12614 * elf/get-dynamic-info.h: Here. New file.
12615 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12616 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12617 * elf/setup-vdso.h: Here. New file.
12618 * elf/rtld.c: Include "setup-vdso.h".
12619 (dl_main): Call setup_vdso.
12620
23c31b76
JM
126212012-10-05 Joseph Myers <joseph@codesourcery.com>
12622
28234b07
JM
12623 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12624 creal in comment listing functions tested. List finite, isinf,
12625 isnan, isless, islessequal, isgreater, isgreaterequal,
12626 islessgreater, isunordered, lgamma_r and pow10 as functions and
12627 macros not tested. Mention which functions not tested are aliases
12628 for other functions. Fix typo. Note that signs of NaNs are not
12629 tested.
12630
23c31b76
JM
12631 * scripts/config.guess: Update from config.git.
12632 * scripts/config.sub: Likewise.
12633
9043e228
RM
126342012-10-04 Roland McGrath <roland@hack.frob.com>
12635
12636 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12637 * misc/madvise.c (madvise): Renamed to __madvise.
12638 Make madvise a weak alias.
12639 * include/sys/mman.h: Declare __madvise.
12640 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12641 * sysdeps/unix/syscalls.list
12642 (madvise): Make __madvise the strong name, and madvise a weak alias.
12643 * sysdeps/unix/sysv/linux/syscalls.list
12644 (madvise, mmap): Remove redundant entries.
12645 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12646 * malloc/malloc.c (mtrim): Likewise.
12647 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12648
f57f8055
RM
126492012-10-03 Roland McGrath <roland@hack.frob.com>
12650
12651 * sysdeps/mach/hurd/dl-cache.c: File removed.
12652 * config.h.in (USE_LDCONFIG): New #undef.
12653 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12654 * configure: Regenerated.
12655 * elf/Makefile (dl-routines): Add dl-cache only under
12656 [$(use-ldconfig) = yes].
12657 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12658 cache on [USE_LDCONFIG].
12659 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12660 [USE_LDCONFIG].
12661 * elf/rtld.c (dl_main): Likewise.
12662
5bb0c10a
PT
126632012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12664
12665 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12666 _SC_LEVEL4_CACHE_LINESIZE.
12667
010188c6
RM
126682012-10-03 Roland McGrath <roland@hack.frob.com>
12669
12670 * sysdeps/unix/bsd/confstr.h: File removed.
12671
b6c5ec07
AO
126722012-10-02 Alexandre Oliva <aoliva@redhat.com>
12673
12674 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12675 sys/sdt-config.h.
12676
408223d4
RM
126772012-10-02 Roland McGrath <roland@hack.frob.com>
12678
12679 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12680 Make 'mapoff' field ElfW(Off) rather than off_t.
12681
bb9510dc
DL
126822012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12683
fc997c6e
DL
12684 * nscd/Makefile: Remove nscd-cflags and all its users.
12685 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12686 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12687
bb9510dc
DL
12688 [BZ #10631]
12689 * malloc.c (malloc_printerr): Clarify error message.
12690
05699367
L
126912012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 [BZ #14648]
12694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12695 Set bit_FMA_Usable if FMA is supported.
12696 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12697 macro.
12698 (bit_FMA4_Usable): Updated.
12699 (index_FMA_Usable): New macro.
12700 (CPUID_FMA): Likewise
12701 (HAS_FMA): Defined with bit_FMA_Usable.
12702
51367701
RM
127032012-10-01 Roland McGrath <roland@hack.frob.com>
12704
12705 * bits/types.h (__swblk_t): Type removed.
12706 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12707 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12709 (__SWBLK_T_TYPE): Likewise.
12710 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12711 (__SWBLK_T_TYPE): Likewise.
12712 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12713 (__SWBLK_T_TYPE): Likewise.
12714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12715 (__SWBLK_T_TYPE): Likewise.
12716
4d57bf63 127172012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12718 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12719
12720 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12721 (xdr_mapname): Use YPMAXMAP as maxsize.
12722 (xdr_peername): Use YPMAXPEER as maxsize.
12723 (xdr_keydat): Use YPAXRECORD as maxsize.
12724 (xdr_valdat): Use YPMAXRECORD as maxsize.
12725
93c65d43
RM
127262012-10-01 Roland McGrath <roland@hack.frob.com>
12727
497a03d6
RM
12728 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12729
93c65d43
RM
12730 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12731 * csu/init-first.c: ... here.
12732 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12733 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12734 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12735 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12736 * sysdeps/i386/init-first.c: File removed.
12737 * sysdeps/sh/init-first.c: File removed.
12738
bec749fd
JM
127392012-10-01 Joseph Myers <joseph@codesourcery.com>
12740
12741 [BZ #14645]
12742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12743 if x * y might underflow to zero and z is zero.
12744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12746 * math/libm-test.inc (min_subnorm_value): New variable.
12747 (fma_test): Add more tests.
12748 (fma_test_towardzero): Likewise.
12749 (fma_test_downward): Likewise
12750 (fma_test_upward): Likewise.
12751 (initialize): Set min_subnorm_value.
12752
8ec5b013
JM
127532012-09-29 Joseph Myers <joseph@codesourcery.com>
12754
12755 [BZ #14638]
12756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12757 0 + 0.
12758 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12759 mode for addition resulting in exact zero.
12760 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12762 exact 0 + 0.
12763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12765 * math/libm-test.inc (fma_test): Add more tests.
12766 (fma_test_towardzero): New function.
12767 (fma_test_downward): Likewise.
12768 (fma_test_upward): Likewise.
12769 (main): Call the new functions.
12770
b1fa802e
DM
127712012-09-28 David S. Miller <davem@davemloft.net>
12772
12773 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12774
d3b9fd9e
RM
127752012-09-28 Roland McGrath <roland@hack.frob.com>
12776
ea4d37b3
RM
12777 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12778 instead of SIGALRM.
12779
ac51c949
RM
12780 * sysdeps/gnu/_G_config.h: Moved to ...
12781 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12782 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12783 * sysdeps/generic/_G_config.h: ... here.
12784
28c195f7
RM
12785 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12786
848917f9
RM
12787 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12788
6bacf05b
RM
12789 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12790 Conditionalize target on [libnss_test1.so-version].
12791
91363dbb
RM
12792 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12793
cc87f7d8
RM
12794 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12795 (elfobjdir): Move out of conditionals.
12796
b1c608fe
RM
12797 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12798 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12799 (__nss_lookup_function): Conditionalize label remove_from_tree on
12800 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12801
1d9a6d96
DM
128022012-09-28 David S. Miller <davem@davemloft.net>
12803
12804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12805 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12806 file.
12807 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12808 sysdep_routines.
12809 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12811 when HWCAP_SPARC_CRYPTO is present.
12812
72581615
PT
128132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12814
12815 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12816
715a900c
JL
128172012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12818
12819 [BZ #6530]
12820 * stdio-common/vfprintf.c (process_string_arg): Revert
12821 2000-07-22 change.
12822
128232011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12824
12825 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12826 for testcase.
12827 * stdio-common/tst-sprintf.c: Include <locale.h>
12828 (main): Test sprintf's handling of incomplete multibyte
12829 characters.
12830
9bac1d86
L
128312012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12832
12833 * elf/dl-runtime.c (VERSYMIDX): Removed.
12834 * elf/dl-version.c (VERSYMIDX): Likewise.
12835 * elf/do-rel.h (VERSYMIDX): Likewise.
12836 (VALIDX): Likewise.
12837 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12838 * elf/rtld.c (VALIDX): Likewise.
12839 (ADDRIDX): Likewise.
9bac1d86
L
12840 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12841 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12842 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12843 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12844 (VALIDX): Likewise.
12845 (ADDRIDX): Likewise.
9bac1d86 12846
b31606c0
PT
128472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12848
12849 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12850
11541177
JL
128512012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12852
12853 [BZ #11438]
12854 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12855 to global scope.
12856 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12857 addresses are in the same scope as 192.0.2/24.
12858 * posix/gai.conf: Document new scope table defaults.
12859
adb26fae
SP
128602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12861
12862 [BZ #5298]
12863 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12864 for ftell. Compute offsets from write pointers instead.
12865 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12866
4573c6b0
SP
128672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12868
12869 [BZ #14543]
12870 * libio/Makefile (tests): New test case tst-fseek.
12871 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12872 combination works in wide mode.
12873 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12874 state when the external buffer state changes.
12875
aa9bbfe6
DM
128762012-09-27 David S. Miller <davem@davemloft.net>
12877
12878 [BZ #14376]
12879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12880 pass reloc->r_addend in as the 'high' argument to
12881 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12882
784421e7
DM
12883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12884
c39bc8b8
PT
128852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12886
12887 * rt/tst-aio2.c: Include <pthread.h>.
12888 * rt/tst-aio3.c: Likewise.
12889
1ccc2399
SE
128902012-09-27 Steve Ellcey <sellcey@mips.com>
12891
12892 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12893
31ed4153
L
128942012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12895
25f5f885
L
12896 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12897 contents on [SHARED].
31ed4153 12898
b7bfe116
MP
128992012-09-26 Marek Polacek <polacek@redhat.com>
12900
12901 [BZ #14530]
12902 [BZ #13741]
12903 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12904 for C++ and GCC <4.3 as well as for non GCC compilers.
12905
43c4edba
MT
129062012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12907
12908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12909
6a1bf82f
RM
129102012-09-25 Roland McGrath <roland@hack.frob.com>
12911
12912 * Makefile.in (all, install): Declare with .PHONY.
12913 Reported by Michael Hope <michael.hope@linaro.org>.
12914
8ad11b9a
TMQMF
129152012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12916
12917 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12918 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12919 system header.
12920 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12921 Likewise.
12922 (sydep_routines): Add the new and the internal functions.
12923 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12924 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12926 (GLIBC_2.17): Add the new function.
12927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12928 (GLIBC_2.17): Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12930 (GLIBC_2.17): Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12932 (GLIBC_2.17): Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12934
7e2fca8d
AM
129352012-09-25 Alan Modra <amodra@gmail.com>
12936
12937 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12938 Add release barrier before setting once_control to say
12939 initialisation is done. Add hints on lwarx. Use macro in
12940 place of isync.
12941 (clear_once_control): Add release barrier.
12942
b87c4b24
JM
129432012-09-25 Joseph Myers <joseph@codesourcery.com>
12944
d032e0d2
JM
12945 [BZ #13629]
12946 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12947 specially.
12948 * math/s_clog10.c (__clog10): Likewise.
12949 * math/s_clog10f.c (__clog10f): Likewise.
12950 * math/s_clog10l.c (__clog10l): Likewise.
12951 * math/s_clogf.c (__clogf): Likewise.
12952 * math/s_clogl.c (__clogl): Likewise.
12953 * math/Makefile (libm-calls): Add x2y2m1.
12954 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12955 (__x2y2m1): Likewise.
12956 (__x2y2m1l): Likewise.
12957 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12958 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12961 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12962 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12963 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12964 * sysdeps/i386/fpu/libm-test-ulps: Update.
12965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12966
b87c4b24
JM
12967 [BZ #14621]
12968 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12969 int as type of variable DEPTH.
12970 (glob): Use size_t instead of int as type of variables NEWCOUNT
12971 and OLD_PATHC.
12972
6d3bf199
LD
129732012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12974
22bf5c17
LD
12975 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12976 Add s_sincosf-sse2.
12977 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12979 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12980 macros for using routine as __sincosf_ia32.
12981 Use macro for function declaration and weak_alias.
12982 * sysdeps/i386/fpu/libm-test-ulps: Update.
12983
12984 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12986
12987 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12988 subnormal argument.
12989 * math/s_cexpf.c (__cexpf): Likewise.
12990 * math/s_csinf.c (__csinf): Likewise.
12991 * math/s_csinhf.c (__csinhf): Likewise.
12992 * math/s_ctanf.c (__ctanf): Likewise.
12993 * math/s_ctanhf.c (__ctanhf): Likewise.
12994 * math/s_ccosh.c (__ccoshf): Likewise.
12995 * math/s_cexp.c (__cexpl): Likewise.
12996 * math/s_csin.c (__csin): Likewise.
12997 * math/s_csinh.c (__csinh): Likewise.
12998 * math/s_ctan.c (__ctan): Likewise.
12999 * math/s_ctanh.c (ctanh): Likewise.
13000 * math/s_ccoshl.c (__ccoshl): Likewise.
13001 * math/s_cexpl.c (__cexpl): Likewise.
13002 * math/s_csinl.c (__csinl): Likewise.
13003 * math/s_csinhl.c (__csinhl): Likewise.
13004 * math/s_ctanl.c (__ctanl): Likewise.
13005 * math/s_ctanhl.c (__ctanhl): Likewise.
13006
203e5603
JM
130072012-09-25 Joseph Myers <joseph@codesourcery.com>
13008
13009 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13010 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13011 (_IO_off_t): Define to __off_t, not _G_off_t.
13012 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13013 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13014 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13015 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13016 type of __dummy and __dummy2 fields.
13017 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13018 (_G_ssize_t): Likewise.
13019 (_G_off_t): Likewise.
13020 (_G_pid_t): Likewise.
13021 (_G_uid_t): Likewise.
13022 (_G_wchar_t): Likewise.
13023 (_G_wint_t): Likewise.
13024 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13025 (_G_ssize_t): Likewise.
13026 (_G_off_t): Likewise.
13027 (_G_pid_t): Likewise.
13028 (_G_uid_t): Likewise.
13029 (_G_wchar_t): Likewise.
13030 (_G_wint_t): Likewise.
13031 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13032 (_G_ssize_t): Likewise.
13033 (_G_off_t): Likewise.
13034 (_G_pid_t): Likewise.
13035 (_G_uid_t): Likewise.
13036 (_G_wchar_t): Likewise.
13037 (_G_wint_t): Likewise.
13038
9fab36eb
SP
130392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13040
13041 * malloc/arena.c: Include malloc-sysdep.h.
13042 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13043 is sufficient to shrink the heap or an unmap is needed.
13044 * sysdeps/generic/malloc-sysdep.h: New file. Define
13045 new function check_may_shrink_heap.
13046 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13047 new function check_may_shrink_heap.
13048
2b4f00d1
SP
130492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13050
13051 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13052 comments.
13053
9a9028b1
DL
130542012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13055
57c69bef
DL
13056 * catgets/test-gencat.sh: Add "set -e".
13057 * elf/tst-pathopt.sh: Likewise.
13058 * grp/tst_fgetgrent.sh: Likewise.
13059 * iconvdata/run-iconv-test.sh: Likewise.
13060 * intl/tst-gettext.sh: Likewise.
13061 * intl/tst-gettext2.sh: Likewise.
13062 * intl/tst-gettext4.sh: Likewise.
13063 * intl/tst-gettext6.sh: Likewise.
13064 * intl/tst-translit.sh: Likewise.
13065 * io/ftwtest-sh: Likewise.
13066 * libio/test-freopen.sh: Likewise.
13067 * malloc/tst-mtrace.sh: Likewise.
13068 * posix/globtest.sh: Likewise.
13069 * posix/tst-getconf.sh: Likewise.
13070 * posix/wordexp-tst.sh: Likewise.
13071 * stdio-common/tst-printf.sh: Likewise.
13072 * stdio-common/tst-unbputc.sh: Likewise.
13073 * stdlib/tst-fmtmsg.sh: Likewise.
13074 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13075 * catgets/Makefile: Do not specify -e option when running
13076 testsuite shell scripts.
13077 * elf/Makefile: Likewise.
13078 * grp/Makefile: Likewise.
13079 * iconvdata/Makefile: Likewise.
13080 * intl/Makefile: Likewise.
13081 * io/Makefile: Likewise.
13082 * libio/Makefile: Likewise.
13083 * malloc/Makefile: Likewise.
13084 * posix/Makefile: Likewise.
13085 * stdio-common/Makefile: Likewise.
13086 * stdlib/Makefile: Likewise.
13087 * sysdeps/x86_64/Makefile: Likewise.
13088
9a9028b1
DL
13089 * io/ftwtest-sh: Add copyright header.
13090 * posix/globtest.sh: Likewise.
13091 * posix/tst-getconf.sh: Likewise.
13092 * posix/wordexp-tst.sh: Likewise.
13093 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13094
ced6f16e
L
130952012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13096
94b32c39
L
13097 [BZ #13679]
13098 * Makeconfig (+link): Defined as $(+link-static) if
13099 $(build-shared) isn't yes.
13100 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13101 isn't yes.
13102 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13103
189e935b
L
13104 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13105
ced6f16e
L
13106 [BZ #14562]
13107 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13108 new chunk size with MALLOC_ALIGN_MASK.
13109
a9f8e53a
JM
131102012-09-24 Joseph Myers <joseph@codesourcery.com>
13111
13112 [BZ #5044]
13113 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13114 <rounding-mode.h>.
13115 (__printf_fphex): Determine rounding using get_rounding_mode and
13116 round_away.
13117 * stdio-common/tst-printf-round.c (struct hex_test): New
13118 structure.
13119 (hex_tests): New variable.
13120 (test_hex_in_one_mode): New function.
13121 (do_test): Also run tests for hex float output.
13122
43153109
JM
131232012-09-21 Joseph Myers <joseph@codesourcery.com>
13124
13125 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13126 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13127 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13128 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13129 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13130 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13131 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13132 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13133
8a26625d
JM
131342012-09-20 Joseph Myers <joseph@codesourcery.com>
13135
13136 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13137 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13138 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13139 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13140
f3fd569c
DL
131412012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13142
13143 [BZ #14579]
13144 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13145 mode only.
13146 * elf/tst-rtld-load-self.sh: New test.
13147 * elf/Makefile: Run it.
13148
63bbedd4
JM
131492012-09-18 Joseph Myers <joseph@codesourcery.com>
13150
13151 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13152 (tst-writev-ENV): Remove.
13153 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13154
626f8b6a
CM
131552012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13156
13157 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13158
b7aaa4d6
JM
131592012-09-17 Joseph Myers <joseph@codesourcery.com>
13160
13161 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13162 unconditional.
13163 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13164 Likewise.
13165 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13166 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13168 Likewise.
13169
65513990
L
131702012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13171
13172 [BZ #14587]
13173 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13174 * config.make.in (have-cpp-asm-debuginfo): Removed.
13175 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13176 * configure: Regenerated.
13177
784761be
JM
131782012-09-14 Joseph Myers <joseph@codesourcery.com>
13179
13180 [BZ #5044]
13181 * stdio-common/printf_fp.c: Include <stdbool.h> and
13182 <rounding-mode.h>.
13183 (___printf_fp): Determine rounding using get_rounding_mode and
13184 round_away.
13185 * stdio-common/tst-printf-round.c: New file.
13186 * stdio-common/Makefile (tests): Add tst-printf-round.
13187 (link-libm): New variable.
13188 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13189
9503345f
L
131902012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 [BZ #14576]
13193 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13194 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13195 Likewise.
13196 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13197 Likewise.
13198
ad35fc00
JM
131992012-09-13 Joseph Myers <joseph@codesourcery.com>
13200
13201 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13202 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13203 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13204 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13205
6c9b0f68
JM
132062012-09-12 Joseph Myers <joseph@codesourcery.com>
13207
13208 [BZ #14518]
13209 * include/rounding-mode.h: New file.
13210 * sysdeps/generic/get-rounding-mode.h: Likewise.
13211 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13212 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13213 (MAX_VALUE): New macro.
13214 (MIN_VALUE): Likewise.
13215 (overflow_value): New function.
13216 (underflow_value): Likewise.
13217 (round_and_return): Use overflow_value and underflow_value to
13218 determine return values in overflow and underflow cases. Use
13219 round_away to determine rounding depending on rounding mode.
13220 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13221 determine return values in overflow and underflow cases.
13222 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13223 (struct test_results): New structure.
13224 (struct test): Use struct test_results to store expected results
13225 for all rounding modes.
13226 (TEST): Include expected results for all rounding modes.
13227 (test_in_one_mode): New function.
13228 (do_test): Use test_in_one_mode to compute and check results.
13229 Check results for all rounding modes.
13230 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13231 $(link-libm).
13232
19fcedd5
AM
132332012-12-09 Allan McRae <allan@archlinux.org>
13234
1e9d84cd 13235 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13236
8bbfd2f1
JM
132372012-09-11 Joseph Myers <joseph@codesourcery.com>
13238
13239 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13240 (_G_int32_t): Likewise.
13241 (_G_uint16_t): Likewise.
13242 (_G_uint32_t): Likewise.
13243 (_G_HAVE_BOOL): Likewise.
13244 (_G_HAVE_ATEXIT): Likewise.
13245 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13246 (_G_HAVE_IO_FILE_OPEN): Likewise.
13247 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13248 (_G_int32_t): Likewise.
13249 (_G_uint16_t): Likewise.
13250 (_G_uint32_t): Likewise.
13251 (_G_HAVE_BOOL): Likewise.
13252 (_G_HAVE_ATEXIT): Likewise.
13253 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13254 (_G_HAVE_IO_FILE_OPEN): Likewise.
13255 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13256 (_G_int32_t): Likewise.
13257 (_G_uint16_t): Likewise.
13258 (_G_uint32_t): Likewise.
13259 (_G_HAVE_BOOL): Likewise.
13260 (_G_HAVE_ATEXIT): Likewise.
13261 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13262 (_G_HAVE_IO_FILE_OPEN): Likewise.
13263
b1dc5912
L
132642012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13265
13266 * csu/libc-tls.c: Update copyright years.
13267
0e886ef9
JM
132682012-09-10 Joseph Myers <joseph@codesourcery.com>
13269
28361c5e
JM
13270 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13271 [!_G_USING_THUNKS]: Remove conditional code.
13272 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13273 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13274
0e886ef9
JM
13275 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13276 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13277 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13278 (_G_VTABLE_LABEL_PREFIX): Likewise.
13279 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13280 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13281 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13282 (_G_VTABLE_LABEL_PREFIX): Likewise.
13283 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13284 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13285 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13286 (_G_VTABLE_LABEL_PREFIX): Likewise.
13287 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13288
bcba7aa2
L
132892012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13290
13291 * libio/Makefile: Include ../Makeconfig before tests.
13292 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13293 only if $(build-shared) is yes.
13294
06585ee8
L
13295 * iconv/gconv_db.c: Update copyright years.
13296
80ccd52c
LD
132972012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13298
13299 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13300 unwind info if defined PIC. Fix special cases description.
13301 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13302
13303 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13304 DP_HI_MASK entry.
13305 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13306
691bc9c1
L
133072012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13308
3d9b46b3
L
13309 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13310
de2139a9
L
13311 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13312 is NULL.
13313
5ca78dd0
L
13314 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13315 (LDLIBS-tst-chk4): This.
13316 (LDFLAGS-tst-chk5): Renamed to ...
13317 (LDLIBS-tst-chk5): This.
13318 (LDFLAGS-tst-chk6): Renamed to ...
13319 (LDLIBS-tst-chk6): This.
13320 (LDFLAGS-tst-lfschk4): Renamed to ...
13321 (LDLIBS-tst-lfschk4): This.
13322 (LDFLAGS-tst-lfschk5): Renamed to ...
13323 (LDLIBS-tst-lfschk5): This.
13324 (LDFLAGS-tst-lfschk6): Renamed to ...
13325 (LDLIBS-tst-lfschk6): This.
13326
691bc9c1
L
13327 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13328 on $(common-objpfx)soversions.mk.
13329
65cafb1c
JM
133302012-09-07 Joseph Myers <joseph@codesourcery.com>
13331
13332 [BZ #10014]
13333 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13334 example host name.
13335
c78ab094
SP
133362012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13337
13338 * malloc/arena.c (arena_get_retry): New function that gets
13339 another arena for the caller to try its request on.
13340 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13341 current arena cannot fulfill the request.
13342 (__libc_memalign): Likewise.
13343 (__libc_memalign): Likewise.
13344 (__libc_pvalloc): Likewise.
13345 (__libc_calloc): Likewise.
13346
01f49f59
JT
133472012-09-05 John Tobey <john.tobey@gmail.com>
13348
13349 [BZ #13542]
13350 * manual/arith.texi (Operations on Complex): Fix description
13351 of carg branch cut.
13352
4c23fed5
JM
133532012-09-06 Joseph Myers <joseph@codesourcery.com>
13354
1d3c8572
JM
13355 [BZ #10014]
13356 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13357 host name.
13358
4c23fed5
JM
13359 [BZ #10038]
13360 * manual/memory.texi (Memory): Make order of menu items match
13361 order of sections.
13362
04570aaa
L
133632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13364
13365 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13366 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13367 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13368
b80af2f4
L
133692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13370
13371 * csu/libc-tls.c (static_dtv): Renamed to ...
13372 (_dl_static_dtv): This. Make it global.
13373 (_dl_initial_dtv): Removed.
13374 (__libc_setup_tls): Updated.
13375 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13376 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13377 DL_INITIAL_DTV.
13378
2abe9f15
PM
133792012-09-06 Petr Machata <pmachata@redhat.com>
13380
13381 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13382 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13383 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13384 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13385
0948c3af
L
133862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13387
13388 [BZ #14545]
13389 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13390 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13391 freeing dtv[-1].
13392
a5055ad1
L
133932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13394
13395 [BZ #14544]
13396 * Makeconfig (link-static-before-libc): Replace $(+prector)
13397 with $(+prectorT).
13398 (link-static-after-libc): Replace $(+postctor) with
13399 $(+postctorT).
13400 (link-bounded): Replace $(+prector)/$(+postctor) with
13401 $(+prectorT)/$(+postctorT).
13402 (+prectorT): New macro.
13403 (+postctorT): Likewise.
13404
ed8c2ecd
JM
134052012-09-06 Joseph Myers <joseph@codesourcery.com>
13406
13407 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13408 (round_str): Handle values above the maximum for IBM long double
13409 as inexact.
13410 * stdlib/tst-strtod-round.c (tests): Regenerated.
13411
14c996c8
AK
134122012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13413
13414 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13415 assembler flag.
13416 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13417 zarch_nohighgprs around the zarch optimized routines.
13418 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13419 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13420 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13421 for zarch.
13422
430d6ce6
DM
134232012-09-05 David S. Miller <davem@davemloft.net>
13424
13425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13426
ff04dda4
DM
13427 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13428 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13429 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13430 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13431 entries.
13432
24d4e01b
AO
134332012-09-05 Alexandre Oliva <aoliva@redhat.com>
13434
13435 * malloc/arena.c: Fold copyright years.
13436 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13437
61d58174
AO
134382012-09-05 Alexandre Oliva <aoliva@redhat.com>
13439
13440 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13441
20196a5e
AO
134422012-09-05 Alexandre Oliva <aoliva@redhat.com>
13443
13444 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13445
5c447383
AO
134462012-09-05 Alexandre Oliva <aoliva@redhat.com>
13447
13448 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13449 change internal state upon failure.
13450
fad64255
AO
134512012-09-05 Alexandre Oliva <aoliva@redhat.com>
13452
13453 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13454 * malloc/memusage.c (mmap): Likewise.
13455 (mmap64, mremap): Likewise. Adjust name in comment.
13456
1ffb8c90
SP
134572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13458
13459 * libio/fileops.c: Fix typos in comments.
13460 * libio/oldfileops.c: Likewise.
13461 * libio/wfileops.c: Likewise.
13462
6ef9cc37
SP
134632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13464
13465 [BZ #1349]
13466 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13467 (tst-malloc-usable-ENV): Set environment for test case.
13468 * malloc/hooks.c (malloc_check_get_size): New function to get
13469 requested size.
13470 * malloc/malloc.c (musable): Use malloc_check_get_size.
13471 * malloc/tst-malloc-usable.c: New test case.
13472
4d038ae3
AS
134732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13474
13475 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13476
c4e85184
AM
134772012-09-05 Allan McRae <allan@archlinux.org>
13478
b9dafc56 13479 [BZ #13966]
c4e85184
AM
13480 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13481 determine header location.
13482 * configure: Regenerated.
13483
e1343020
AS
134842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13485
13486 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13487 float format.
13488 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13489 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13490 format.
e1343020
AS
13491 (test): Regenerate.
13492
0a9f1987
DM
134932012-09-04 David S. Miller <davem@davemloft.net>
13494
13495 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13496 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13497 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13498
29237804
FW
134992012-09-04 Florian Weimer <fweimer@redhat.com>
13500
13501 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13502 failures.
13503
edb3cb88
FW
13504 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13505
60160d83
JM
135062012-09-04 Joseph Myers <joseph@codesourcery.com>
13507
13508 [BZ #9914]
13509 * libio/iogetdelim.c: Include <limits.h>.
13510 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13511 + len + 1 would overflow.
13512
bcd6c8dc
AJ
135132012-09-03 Andreas Jaeger <aj@suse.de>
13514
13515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13516 * sysdeps/i386/fpu/libm-test-ulps: Update.
13517
4ffffbd2
LD
135182012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13519
13520 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13521 Add s_sinf-sse2, s_conf-sse2.
13522
13523 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13524 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13525 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13526 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13527
13528 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13529 for using routine as __sinf_ia32.
13530 Use macro for function declaration and weak_alias.
13531 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13532 for using routine as __cosf_ia32.
13533 Use macro for function declaration and weak_alias.
13534
13535 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13536 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13537
13538 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13539 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13541
13542 * math/libm-test.inc (cos_test): Add more test cases.
13543 (sin_test): Likewise.
13544 (sincos_test): Likewise.
13545
511fa286
AK
135462012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13547
13548 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13549 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13550 hidden.
13551 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13552
5f30cfec
L
135532012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13554
13555 [BZ #14538]
13556 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13557 first element of the GOT.
13558 (elf_machine_load_address): Return the difference between
13559 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13560
0786794f
AM
135612012-09-01 Allan McRae <allan@archlinux.org>
13562
5f30cfec
L
13563 [BZ #13412]
13564 * configure.in (AWK): Require gawk version 3.0 or later.
13565 * configure: Regenerated.
0786794f 13566
26889eac
JM
135672012-09-01 Joseph Myers <joseph@codesourcery.com>
13568
13569 * sysdeps/unix/sysv/linux/kernel-features.h
13570 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13572 [__NR_clock_getres]: Make code unconditional.
13573 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13574 (clock_getcpuclockid): Remove code left unreachable by removal of
13575 conditionals.
13576 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13577 code unconditional.
13578 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13579 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13580 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13581 Make code unconditional.
13582 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13583 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13584 * sysdeps/unix/sysv/linux/clock_settime.c
13585 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13586 conditional code.
13587 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13588 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13589
d22e28b0
L
135902012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13591
13592 [BZ #14476]
13593 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13594 scripts/test-installation.pl.
13595
13596 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13597 and $ld_so_version if it is set.
13598
050af9c4
SP
135992012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13600
13601 [BZ #14516]
13602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13603 failure if reading from procfs failed.
13604 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13605
ad845c0b
JM
136062012-08-27 Joseph Myers <joseph@codesourcery.com>
13607
13608 * sysdeps/unix/sysv/linux/kernel-features.h
13609 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13610 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13611 Remove conditional code.
13612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13613 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13614 Remove conditional code.
13615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13616 * sysdeps/unix/sysv/linux/i386/fxstat.c
13617 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13619 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13622 * sysdeps/unix/sysv/linux/i386/lxstat.c
13623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13625 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13626 Remove conditional code.
13627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13628 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13629 Remove conditional code.
13630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13631 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13632 <kernel-features.h>.
13633 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13634 Remove.
13635 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13636 Remove conditional code.
13637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13638 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13639 Remove conditional.
13640
5dbf56af
MF
136412012-08-27 Mike Frysinger <vapier@gentoo.org>
13642
13643 [BZ #5400]
13644 * NEWS: Add fixed bug number.
13645
d6e70f43
JM
136462012-08-27 Joseph Myers <joseph@codesourcery.com>
13647
7efb4737
JM
13648 [BZ #14519]
13649 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13650 underflowing exponent in case of negative sign.
13651 * stdlib/tst-strtod-round-data: Add more tests.
13652 * stdlib/tst-strtod-round.c (tests): Regenerated.
13653
af92131a
JM
13654 [BZ #3479]
13655 * stdlib/strtod_l.c (NDIG): Remove.
13656 (HEXNDIG): Likewise.
13657 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13658 smallest representable value.
13659 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13660 lie within an exact representation of 1/2 ulp of the result.
13661 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13662 unconditionally.
13663 (TENS_P9_IDX): Define unconditionally.
13664 (TENS_P9_SIZE): Likewise.
13665 (TENS_P10_IDX): Likewise.
13666 (TENS_P10_SIZE): Likewise.
13667 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13668 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13669 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13670 entries for 10^2^13 and 10^2^14.
13671 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13672 (TENS_P13_IDX): Define.
13673 (TENS_P13_SIZE): Likewise.
13674 (TENS_P14_IDX): Likewise.
13675 (TENS_P14_SIZE): Likewise.
13676 (_fpioconst_pow10): Change array size to
13677 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13678 unconditional.
13679 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13680 1024]: Add entries for 10^2^13 and 10^2^14.
13681 [LAST_POW10 > _LAST_POW10]: Remove #error.
13682 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13683 (_fpioconst_pow10): Change array size to
13684 FPIOCONST_POW10_ARRAY_SIZE.
13685 * stdlib/gen-fpioconst.c: New file.
13686 * stdlib/gen-tst-strtod-round.c: Likewise.
13687 * stdlib/tst-strtod-round-data: Likewise.
13688 * stdlib/tst-strtod-round.c: Likewise.
13689 * stdlib/Makefile (tests): Add tst-strtod-round.
13690
d6e70f43
JM
13691 [BZ #14459]
13692 * stdlib/strtod_l.c: Include <stdint.h>.
13693 (NDEBUG): Do not define.
13694 (round_and_return): Change EXPONENT parameter to type intmax_t.
13695 Rearrange calculations to avoid internal overflow possibilities.
13696 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13697 Rearrange calculations to avoid internal overflow possibilities.
13698 Assert that number fits inside MPNSIZE limbs.
13699 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13700 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13701 calculations and add assertions to avoid internal overflow
13702 possibilities. Add casts to avoid signed/unsigned operations.
13703 * stdlib/tst-strtod-overflow.c: New file.
13704 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13705
1f529f7d
MP
137062012-08-25 Marek Polacek <polacek@redhat.com>
13707
13708 * time/time.h: Fix some typos in comments.
13709
59a629f1
RM
137102012-08-23 Roland McGrath <roland@hack.frob.com>
13711
13712 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13713 * posix/tst-rfc3484-2.c: Likewise.
13714 * posix/tst-rfc3484-3.c: Likewise.
13715
d3bafbc9
SM
137162012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13717
13718 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13719 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13720
4efcc022
JM
137212012-08-23 Joseph Myers <joseph@codesourcery.com>
13722
13723 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13724 #include of fxstatat64.c.
13725
3cc3ef96
RM
137262012-08-22 Roland McGrath <roland@hack.frob.com>
13727
f04e2132
RM
13728 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13729 * shadow/getspent_r.c: Likewise.
13730 * shadow/getspnam.c: Likewise.
13731 * shadow/getspnam_r.c: Likewise.
13732 * gshadow/getsgent.c: Likewise.
13733 * gshadow/getsgent_r.c: Likewise.
13734 * gshadow/getsgnam.c: Likewise.
13735 * gshadow/getsgnam_r.c: Likewise.
13736 * inet/getnetbyad.c: Likewise.
13737 * inet/getnetbyad_r.c: Likewise.
13738 * inet/getnetbynm.c: Likewise.
13739 * inet/getnetbynm_r.c: Likewise.
13740 * inet/getnetent.c: Likewise.
13741 * inet/getnetent_r.c: Likewise.
13742 * inet/getproto.c: Likewise.
13743 * inet/getproto_r.c: Likewise.
13744 * inet/getprtent.c: Likewise.
13745 * inet/getprtent_r.c: Likewise.
13746 * inet/getprtname.c: Likewise.
13747 * inet/getprtname_r.c: Likewise.
13748 * inet/getrpcbyname.c: Likewise.
13749 * inet/getrpcbyname_r.c: Likewise.
13750 * inet/getrpcbynumber.c: Likewise.
13751 * inet/getrpcbynumber_r.c: Likewise.
13752 * inet/getrpcent.c: Likewise.
13753 * inet/getrpcent_r.c: Likewise.
13754 * inet/getaliasent.c: Likewise.
13755 * inet/getaliasent_r.c: Likewise.
13756 * inet/getaliasname.c: Likewise.
13757 * inet/getaliasname_r.c: Likewise.
13758 * nscd/getgrgid_r.c: Likewise.
13759 * nscd/getgrnam_r.c: Likewise.
13760 * nscd/gethstbyad_r.c: Likewise.
13761 * nscd/gethstbynm3_r.c: Likewise.
13762 * nscd/getpwnam_r.c: Likewise.
13763 * nscd/getpwuid_r.c: Likewise.
13764 * nscd/getsrvbynm_r.c: Likewise.
13765 * nscd/getsrvbypt_r.c: Likewise.
13766 * nscd/gai.c: Likewise.
13767
c53d909c
RM
13768 * configure.in (build_nscd): New substituted variable, set
13769 by --disable-build-nscd and defaults to $use_nscd.
13770 * configure: Regenerated.
13771 * config.make.in (build-nscd): New substituted variable.
13772 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13773 Change conditional to require [$(build-nscd) = yes] as well.
13774 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13775
3cc3ef96
RM
13776 [BZ# 13696]
13777 * configure.in (use_nscd): New substituted variable, set by
13778 --disable-nscd. If enabled, define USE_NSCD.
13779 * configure: Regenerated.
13780 * config.h.in: Add USE_NSCD.
13781 * config.make.in (use-nscd): New substituted variable.
13782 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13783 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13784 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13785 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13786 (CFLAGS-getgrnam_r.c): Likewise.
13787 (CFLAGS-initgroups.c): Likewise.
13788 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13789 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13790 Variables removed.
13791 * inet/getnetgrent_r.c
13792 (nscd_setnetgrent): New function, broken out of ...
13793 (setnetgrent): ... here. Call it.
13794 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13795 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13796 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13797 * nscd/Makefile (routines, aux): Move definitions after include of
13798 Makeconfig. Conditionalize on [$(use-nscd) != no].
13799 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13800 Conditionalize on [USE_NSCD].
13801 (is_nscd, nscd_init_cb): Likewise.
13802 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13803 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13804 * nss/nss_db/db-init.c: Likewise.
13805 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13806 [USE_NSCD].
13807 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13808 (make_request): Use it.
13809 (cache_valid_p): New function.
13810 (__check_pf): Use it.
13811 * NEWS: Add item for --disable-nscd.
13812
07e51550
DL
138132012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13814
13815 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13816 to support sed >= 4.2.1-20-ga9bf076.
13817 * configure: Regenerated.
13818
35a5b08b
RM
138192012-08-22 Roland McGrath <roland@hack.frob.com>
13820
13821 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13822 Conditionalize whole body on [IREL].
13823
8479f23a
JL
138242012-08-22 Jeff Law <law@redhat.com>
13825
13826 [BZ #14505]
13827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13828 if the family is PF_UNSPEC.
13829
48da0b21
MF
138302012-08-22 Mike Frysinger <vapier@gentoo.org>
13831
13832 * Makerules (lib-version): Rename from V.
13833 (install-lib-nosubdir): Change V to lib-version.
13834
15d0da8c
WS
138352012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13836
13837 [BZ #14252]
13838 * powerpc32/power6/wcschr.c: New file.
13839 * powerpc32/power6/wcscpy.c: New file.
13840 * powerpc32/power6/wcsrchr.c: New file.
13841 * powerpc64/power6/wcschr.c: New file.
13842 * powerpc64/power6/wcscpy.c: New file.
13843 * powerpc64/power6/wcsrchr.c: New file.
13844
bcca0895
MK
138452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13846
13847 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13848 (two_way_short_needle): Use it.
5a4aaa33
RM
13849 * string/strstr.c (AVAILABLE1_USES_J): Define.
13850 * string/strcasestr.c: Likewise.
99677e57
MK
13851
13852 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13853 array references.
13854 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13855
400726de
MK
13856 [BZ #11607]
13857 * NEWS: Add an entry.
13858 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13859 define their defaults.
13860 (two_way_short_needle): Detect end-of-string on-the-fly.
13861 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13862 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13863 * string/bug-strcasestr1.c: New test.
13864 * string/Makefile: Run it.
13865
20a71f2c
MK
138662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13867
13868 [BZ #11607]
13869 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13870 the first character.
13871
21ad0558
RM
138722012-08-21 Roland McGrath <roland@hack.frob.com>
13873
13874 * csu/elf-init.c (__libc_csu_irel): Function removed.
13875 * csu/libc-start.c (apply_irel): New function.
13876 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13877
0e1d9911
JM
138782012-08-21 Joseph Myers <joseph@codesourcery.com>
13879
13880 * sysdeps/unix/sysv/linux/kernel-features.h
13881 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13882 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13883 <kernel-features.h>.
13884 [__NR_fadvise64_64]: Make code unconditional.
13885 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13886 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13887 !__NR_fadvise64_64)]: Likewise.
13888 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13889 !__NR_fadvise64_64))]: Likewise.
13890 [__NR_fadvise64]: Make code unconditional.
13891 [!__NR_fadvise64]: Remove conditional code.
13892 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13893 <kernel-features.h>.
13894 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13895 unconditional.
13896 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13897 conditional code.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13899 not include <kernel-features.h>.
13900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13901 unconditional.
13902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13903 conditional code.
13904 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13905 include <kernel-features.h>.
13906 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13907 unconditional.
13908 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13909 conditional code.
13910
14a50c9d
WS
139112012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13912
13913 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13914 slight instruction rearrangements per scrollpipe analysis.
13915 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13916
c0f4faf0
RM
139172012-08-20 Roland McGrath <roland@hack.frob.com>
13918
696da859
RM
13919 * manual/syslog.texi (syslog; vsyslog, closelog):
13920 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13921 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13922
c0f4faf0
RM
13923 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13924 DSOCAPS to match condition on defining it.
13925
348363b2
JM
139262012-08-20 Joseph Myers <joseph@codesourcery.com>
13927
a35cbf28
JM
13928 * sysdeps/unix/sysv/linux/kernel-features.h
13929 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13931 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13932 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13939
445f7ecd
JM
13940 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13941 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13942
348363b2
JM
13943 * sysdeps/unix/sysv/linux/kernel-features.h
13944 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13945 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13946 unconditional.
13947 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13948 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13949 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13950 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13951 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13952 Make code unconditional.
13953 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13954 (__mmap64) [!__NR_mmap2]: Likewise.
13955 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13956 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13957 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13958 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13959 [__NR_mmap2]: Make code unconditional.
13960 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13961 (__mmap64) [!__NR_mmap2]: Likewise.
13962
bc5bc0e5
AK
139632012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13964
13965 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13966
88d506de
AJ
139672012-08-18 Andreas Jaeger <aj@suse.de>
13968
13969 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13970
493387d2
MF
139712012-08-18 Mike Frysinger <vapier@gentoo.org>
13972
13973 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13974 * include/unistd.h (__have_sock_cloexec): Likewise.
13975 (__have_pipe2): Likewise.
13976 (__have_dup3): Likewise.
13977
a277af22
MF
139782012-08-18 Mike Frysinger <vapier@gentoo.org>
13979
13980 [BZ #9685]
13981 * include/unistd.h (__have_pipe2): Change define into an extern int.
13982 (__have_dup3): Likewise.
13983 * socket/have_sock_cloexec.c: Include fcntl.h.
13984 (__have_pipe2): New variable.
13985 (__have_dup3): Likewise.
13986
fdab8fd3
MF
139872012-08-17 Mike Frysinger <vapier@gentoo.org>
13988
13989 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13990
31035e80
MP
139912012-08-17 Marek Polacek <polacek@redhat.com>
13992
13993 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13994 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13995
3bd9e993
RM
139962012-08-17 Roland McGrath <roland@hack.frob.com>
13997
c91c505f
RM
13998 * configure.in: Add AC_SUBST for sysheaders.
13999 * configure: Regenerated.
14000 * config.make.in (sysheaders): New substituted variable.
14001
7c6f9d53
RM
14002 * sysdeps/unix/mkfifo.c: Moved ...
14003 * sysdeps/posix/mkfifo.c: ... here.
14004 * sysdeps/unix/mkfifoat.c: Moved ...
14005 * sysdeps/posix/mkfifoat.c: ... here.
14006
14007 * sysdeps/unix/utime.c: Moved ...
14008 * sysdeps/posix/utime.c: ... here.
14009
14010 * sysdeps/unix/time.c: Moved ...
14011 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14012 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14013 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14014
14015 * sysdeps/unix/nice.c: Moved ...
14016 * sysdeps/posix/nice.c: ... here.
14017
14018 * sysdeps/unix/alarm.c: Moved ...
14019 * sysdeps/posix/alarm.c: ... here.
14020
3bd9e993
RM
14021 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14022
d1f09384
JL
140232012-08-17 Jeff Law <law@redhat.com>
14024
14025 * intl/Makefile (codeset_mo): New variable.
14026 ($(codeset_mo)): New target.
14027 (tst-codeset.out): Depend on that. Remove explicit rule.
14028 (tst-gettext3.out, tst-gettext5.out): Likewise.
14029 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14030 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14031 * intl/tst-codeset.sh: Remove.
14032 * intl/tst-gettext3.sh: Likewise.
14033 * intl/tst-gettext5.sh: Likewise.
14034
2ae1ae5c
RM
140352012-08-17 Roland McGrath <roland@hack.frob.com>
14036
c31fdb83
RM
14037 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14038 * sysdeps/unix/syscalls.list: ... here.
14039
a0844057
RM
14040 * sysdeps/posix/getaddrinfo.c
14041 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14042 (gaiconf_init, gaiconf_reload): Use them.
14043 [!_STATBUF_ST_NSEC]
14044 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14045 Define using time_t rather than struct timespec.
14046
750c1f2a
RM
14047 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14048 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14049 Macros removed.
14050 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14051 [!NO_THREADS].
14052 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14053 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14054 Likewise.
14055
2ae1ae5c
RM
14056 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14057 __libc_cleanup_push argument.
14058
e66a42f5
RM
14059 * bits/param.h: New file.
14060 * misc/sys/param.h: New file.
14061 * include/sys/param.h: New file.
14062 * misc/Makefile (headers): Add bits/param.h.
14063 * sysdeps/generic/sys/param.h: File removed.
14064 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14065 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14066 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14067 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14068
b7c08a66
RM
14069 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14070 last change.
14071
b2e1c562
RM
14072 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14073 [_IO_MTSAFE_IO].
14074 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14075 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14076 New macros.
14077
c75ccd4c
RM
14078 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14079 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14080 rather than -D_IO_MTSAFE_IO conditionally.
14081 * stdio-common/Makefile (CPPFLAGS): Likewise.
14082 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14083 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14084 Use $(libio-mtsafe).
14085 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14086 of -D_IO_MTSAFE_IO.
14087 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14088 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14089 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14090 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14091 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14092 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14093 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14094 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14095 (CFLAGS-fread_u_chk.c): Likewise.
14096 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14097 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14098 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14099 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14100 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14101 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14102 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14103 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14104 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14105
14106 * libio/Makefile: Test [$(libc-reentrant) = yes]
14107 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14108
14109 * Makeconfig
14110 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14111 * sysdeps/pthread/configure: File removed.
14112 * sysdeps/pthread/Makeconfig: New file.
14113 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14114 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14115
d9195db8
GB
141162012-08-16 Gary Benson <gbenson@redhat.com>
14117
14118 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14119 unmapping the first object in a namespace.
14120
86466cd9
RM
141212012-08-16 Roland McGrath <roland@hack.frob.com>
14122
14123 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14124 (__internal_setnetgrent): ... this. Add internal_function to
14125 definition. Add libc_hidden_def.
14126 (setnetgrent): Update caller.
14127 (internal_endnetgrent): Renamed to ...
14128 (__internal_endnetgrent): ... this. Add internal_function to
14129 definition. Add libc_hidden_def.
14130 (endnetgrent): Update caller.
14131 (internal_getnetgrent_r): Renamed to ...
14132 (__internal_getnetgrent_r): ... this. Add internal_function to
14133 definition. Add libc_hidden_def.
14134 (__getnetgrent_r): Update caller.
14135 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14136
c3c8283c
JM
141372012-08-16 Joseph Myers <joseph@codesourcery.com>
14138
14139 * stdlib/longlong.h: Update from GCC.
14140
db1ee0a8
RM
141412012-08-16 Roland McGrath <roland@hack.frob.com>
14142
14143 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14144 on _QL, which is set by umul_ppmm but never used.
14145 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14146 variables, which are set by GMP macros but never used.
14147 * stdio-common/_itowa.c (_itowa): Likewise.
14148 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14149 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14150
30f69637
CD
141512012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14152
14153 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14154 struct La_sh_regs is not constant.
14155 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14156 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14157 and struct La_sparc64_regs are not constant.
14158
93a78ac4
JM
141592012-08-16 Joseph Myers <joseph@codesourcery.com>
14160
14161 * sysdeps/unix/sysv/linux/kernel-features.h
14162 (__ASSUME_POSIX_TIMERS): Remove.
14163 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14165 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14166 Make code unconditional.
14167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14168 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14169 Make code unconditional.
14170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14171 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14172 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14174 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14175 Make code unconditional.
14176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14177 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14178 (__libc_missing_posix_timers): Remove.
14179
dd924cd7
RM
141802012-08-15 Roland McGrath <roland@hack.frob.com>
14181
4b4f2771
RM
14182 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14183 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14184
601c888b
RM
14185 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14186
176790a7
RM
14187 * elf/dl-sym.c: Include <stdlib.h>.
14188
329bc018
RM
14189 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14190 constants, which avoids warnings in 32-bit builds.
14191
e04e272d
RM
14192 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14193 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14194
952bf94a
RM
14195 * misc/lseek.c: File moved to ...
14196 * io/lseek.c: ... here.
14197
7c99b50a
RM
14198 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14199
dd924cd7
RM
14200 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14201 shifting LEN more than 31 bits at once.
14202
b3f479a8
LD
142032012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14204
14205 [BZ #14195]
8c4ae0d4
RM
14206 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14207 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14208 * string/test-strncasecmp.c (check1): Renamed to...
14209 (bz12205): ...this.
14210 (bz14195): Add new testcase for two empty input strings and N > 0.
14211 (test_main): Call new testcase, adapt for renamed function.
14212
9c55864e
AJ
142132012-08-15 Andreas Jaeger <aj@suse.de>
14214
14215 [BZ #14090]
14216 * crypt/md5test2.c: New test, based on test supplied by Serge
14217 Belyshev <belyshev@depni.sinp.msu.ru>.
14218 * crypt/Makefile (xtests): Add md5test-giant..
14219 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14220
02dcb6c5
PE
142212012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14222
14223 [BZ #14090]
14224 * crypt/md5.c (md5_process_block): Don't assume the buffer
14225 length is less than 2**32.
14226 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14227 length is less than 2**64.
14228
a3f95dcc
RM
142292012-08-15 Roland McGrath <roland@hack.frob.com>
14230
be75d758
RM
14231 * string/str-two-way.h: Include <sys/param.h>.
14232 (MAX): Macro removed.
14233
7312ca90
RM
14234 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14235 Move #define and #undef of memmove to just before and after
14236 including <string.h>.
14237
9a0a5486
RM
14238 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14239 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14240 and after including <string.h>. Move declarations of
14241 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14242 to before #include "string/memmove.c".
14243
67cc348d
RM
14244 * include/dirent.h: Declare __getdirentries.
14245
a3f95dcc
RM
14246 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14247 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14248
ca98e171
MF
142492012-08-14 Mike Frysinger <vapier@gentoo.org>
14250
14251 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14252 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14253 * sysdeps/i386/configure: Regenerated.
14254 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14255 STABS_CURRENT_FILE, and STABS_FUN.
14256 (END): Remove call to STABS_FUN_END.
14257 (STABS_CURRENT_FILE1): Delete.
14258 (STABS_CURRENT_FILE): Likewise.
14259 (STABS_FUN): Likewise.
14260 (STABS_FUN_END): Likewise.
14261 (STABS_FUN2): Likewise.
14262 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14263 * sysdeps/x86_64/configure: Regenerated.
14264
5908bf46
RM
142652012-08-14 Roland McGrath <roland@hack.frob.com>
14266
14267 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14268 * elf/dl-lookup.c: Likewise.
5908bf46 14269
f2c05b9e
JM
142702012-08-14 Joseph Myers <joseph@codesourcery.com>
14271
14272 * sysdeps/unix/sysv/linux/kernel-features.h
14273 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14274 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14275 unconditionally.
14276 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14277 unconditionally.
14278 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14279 condition on __ASSUME_CLONE_THREAD_FLAGS.
14280
e11f5155
AJ
142812012-08-14 Andreas Jaeger <aj@suse.de>
14282
14283 * sysdeps/i386/fpu/libm-test-ulps: Update.
14284
51a9ba86
MK
142852012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14286
2fdd4f78
AJ
14287 * include/atomic.h (atomic_exchange_and_add): Split into ...
14288 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14289 New atomic macros.
51a9ba86 14290
ba6cba9e
MT
142912012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14292
14293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14294
42443a47
JL
142952012-08-13 Jeff Law <law@redhat.com>
14296
14297 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14298 null byte in the output string.
14299
121dce05
JM
143002012-08-10 Joseph Myers <joseph@codesourcery.com>
14301
14302 * sysdeps/unix/sysv/linux/kernel-features.h
14303 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14304 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14305 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14306 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14307 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14308 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14309 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14310
bf51f568
JL
143112012-08-09 Jeff Law <law@redhat.com>
14312
14313 [BZ #13939]
14314 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14315 When avoid_arena is set, don't retry in the that arena. Pick the
14316 next one, whatever it might be.
14317 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14318 (arena_lock): Pass in new parameter to arena_get2.
14319 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14320 arena_get2.
14321 (__libc_malloc): Unify retrying after main arena failure with
14322 __libc_memalign version.
14323 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14324
f85fa270
L
143252012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14326
14327 [BZ #14166]
14328 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14329 to __redirect_strstr.
14330 (__strstr_sse42): Use typeof __redirect_strstr.
14331 (__strstr_ia32): Likewise.
14332 (__libc_strstr): New prototype.
14333 (strstr): Renamed to ...
14334 (__libc_strstr): This.
14335 (strstr): New strong alias of __libc_strstr.
14336 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14337 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14338 __redirect_time.
14339 Include <time.h>.
14340 (__libc_time): New prototype.
14341 (time_ifunc): Replace time with __libc_time.
14342 (time): New strong alias and hidden definition of __libc_time.
14343 (__GI_time): Remove strong alias.
14344 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14345 Include <stddef.h>.
14346 (memmove): Redefined to __redirect_memmove.
14347 (__memmove_sse2): Use typeof __redirect_memmove.
14348 (__memmove_ssse3): Likewise.
14349 (__memmove_ssse3_back): Likewise.
14350 (__libc_memmove): New prototype.
14351 (memmove): Renamed to ...
14352 (__libc_memmove): This.
14353 (memmove): New strong alias of __libc_memmove.
14354
33b4a91e
MS
143552012-08-08 Mark Salter <msalter@redhat.com>
14356
14357 * elf/elf.h
14358 (R_MN10300_TLS_GD): Define.
14359 (R_MN10300_TLS_LD): Likewise.
14360 (R_MN10300_TLS_LDO): Likewise.
14361 (R_MN10300_TLS_GOTIE): Likewise.
14362 (R_MN10300_TLS_IE): Likewise.
14363 (R_MN10300_TLS_LE): Likewise.
14364 (R_MN10300_TLS_DTPMOD): Likewise.
14365 (R_MN10300_TLS_DTPOFF): Likewise.
14366 (R_MN10300_TLS_TPOFF): Likewise.
14367 (R_MN10300_SYM_DIFF): Likewise.
14368 (R_MN10300_ALIGN): Likewise.
14369 (R_MN10300_NUM): Update.
14370
b36137f1
JM
143712012-08-08 Joseph Myers <joseph@codesourcery.com>
14372
14373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14374 Remove.
14375
cdd915fd
RM
143762012-08-08 Roland McGrath <roland@hack.frob.com>
14377
a2433aac
RM
14378 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14379
cdd915fd
RM
14380 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14381 sysdeps/unix -> sysdeps/posix move.
14382 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14383
bf9b740a
AM
143842012-08-07 Allan McRae <allan@archlinux.org>
14385
14386 [BZ #14303]
14387 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14388 (SUNOS_CPP): Likewise.
14389 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14390 not found.
14391 (open_input): Call CPP using execvp.
14392
93df14ee
JM
143932012-08-07 Joseph Myers <joseph@codesourcery.com>
14394
14395 * sysdeps/unix/sysv/linux/kernel-features.h
14396 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14397 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14398 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14399 (__ASSUME_WAITID_SYSCALL): Likewise.
14400 * sysdeps/unix/sysv/linux/dl-execstack.c
14401 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14402 code unconditional.
14403 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14404 conditional code.
14405 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14406 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14407 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14408 code.
14409 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14410 unconditional.
14411 [__ASSUME_WAITID_SYSCALL]: Likewise.
14412 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14413
d34689de
RM
144142012-08-07 Roland McGrath <roland@hack.frob.com>
14415
a281decc
RM
14416 * sysdeps/unix/closedir.c: Renamed to ...
14417 * sysdeps/posix/closedir.c: ... here.
14418 * sysdeps/unix/dirfd.c: Renamed to ...
14419 * sysdeps/posix/dirfd.c: ... here.
14420 * sysdeps/unix/dirstream.h: Renamed to ...
14421 * sysdeps/posix/dirstream.h: ... here.
14422 * sysdeps/unix/fdopendir.c: Renamed to ...
14423 * sysdeps/posix/fdopendir.c: ... here.
14424 * sysdeps/unix/opendir.c: Renamed to ...
14425 * sysdeps/posix/opendir.c: ... here.
14426 * sysdeps/unix/readdir.c: Renamed to ...
14427 * sysdeps/posix/readdir.c: ... here.
14428 * sysdeps/unix/readdir_r.c: Renamed to ...
14429 * sysdeps/posix/readdir_r.c: ... here.
14430 * sysdeps/unix/rewinddir.c: Renamed to ...
14431 * sysdeps/posix/rewinddir.c: ... here.
14432 * sysdeps/unix/seekdir.c: Renamed to ...
14433 * sysdeps/posix/seekdir.c: ... here.
14434 * sysdeps/unix/telldir.c: Renamed to ...
14435 * sysdeps/posix/telldir.c: ... here.
14436 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14437 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14438 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14439 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14440
22895b47
RM
14441 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14442 * bits/fcntl.h: ... here.
14443
707a53b6
RM
14444 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14445 not 0.
14446 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14447 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14448 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14449 (struct flock): Move l_start, l_len to the beginning.
14450 Use __pid_t for l_pid.
14451 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14452 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14453 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14454 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14455 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14456 [__USE_LARGEFILE64] (struct flock64): New type.
14457 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14458
f0bd3e25
RM
14459 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14460 * bits/dirent.h: ... here.
14461
d34689de
RM
14462 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14463 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14464
6dad2c06
JM
144652012-08-07 Joseph Myers <joseph@codesourcery.com>
14466
14467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14468 Change from 2.6.0 to 2.6.16.
14469 * sysdeps/unix/sysv/linux/configure: Regenerated.
14470 * sysdeps/unix/sysv/linux/kernel-features.h
14471 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14472 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14473 version.
14474 (__ASSUME_UTIMES): Likewise.
14475 (__ASSUME_CLONE_STOPPED): Remove.
14476 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14477 architectures, not kernel version.
14478 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14479 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14480 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14481 (__ASSUME_WAITID_SYSCALL): Likewise.
14482 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14483 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14484 * README: State 2.6.16 as minimum Linux kernel version. Do not
14485 refer to older versions.
14486
03af9520
RM
144872012-08-06 Roland McGrath <roland@hack.frob.com>
14488
8e49df1d
RM
14489 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14490 Define alphasort64 as an alias.
14491 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14492 Define versionsort64 as an alias.
14493 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14494 Define scandir64 as an alias.
14495 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14496 Define scandirat64 as an alias.
14497 * dirent/alphasort64.c (alphasort64):
14498 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14499 * dirent/versionsort64.c: Likewise.
14500 * dirent/scandir64.c: Likewise.
14501 * dirent/scandirat64.c: Likewise.
14502 * sysdeps/wordsize-64/alphasort.c: File removed.
14503 * sysdeps/wordsize-64/alphasort64.c: File removed.
14504 * sysdeps/wordsize-64/scandir.c: File removed.
14505 * sysdeps/wordsize-64/scandir64.c: File removed.
14506 * sysdeps/wordsize-64/scandirat.c: File removed.
14507 * sysdeps/wordsize-64/scandirat64.c: File removed.
14508 * sysdeps/wordsize-64/versionsort.c: File removed.
14509 * sysdeps/wordsize-64/versionsort64.c: File removed.
14510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14512 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14513 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14514 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14515 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14516 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14518
14519 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14521 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14523 [defined __arch64__ || defined __sparcv9]
14524 (__INO_T_MATCHES_INO64_T): New macro.
14525 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14526 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14527 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14528 * sysdeps/unix/sysv/linux/bits/dirent.h
14529 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14530 (_DIRENT_MATCHES_DIRENT64): New macro.
14531
03af9520
RM
14532 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14533 Define lockf64 as an alias.
14534 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14535 Define fseeko64 as an alias.
14536 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14537 Define ftello64 as an alias.
14538 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14539 Define _IO_fgetpos64 and fgetpos64 as aliases.
14540 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14541 Define _IO_fsetpos64 and fsetpos64 as aliases.
14542 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14543 Conditionalize body on this.
14544 * libio/fseeko64.c: Likewise.
14545 * libio/ftello64.c: Likewise.
14546 * libio/iofgetpos64.c: Likewise.
14547 * libio/iofsetpos64.c: Likewise.
14548 * sysdeps/wordsize-64/lockf.c: File removed.
14549 * sysdeps/wordsize-64/lockf64.c: File removed.
14550 * sysdeps/wordsize-64/fseeko.c: File removed.
14551 * sysdeps/wordsize-64/fseeko64.c: File removed.
14552 * sysdeps/wordsize-64/ftello.c: File removed.
14553 * sysdeps/wordsize-64/ftello64.c: File removed.
14554 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14555 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14556 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14557 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14558 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14560 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14562 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14564 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14565 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14568
14569 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14571 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14573 [defined __arch64__ || defined __sparcv9]
14574 (__OFF_T_MATCHES_OFF64_T): New macro.
14575 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14576 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14578 (__OFF_T_MATCHES_OFF64_T): New macro.
14579
c5757acd
L
145802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14581
14582 * stdlib/secure-getenv.c (__secure_getenv): Replace
14583 GLIBC_2_16 with GLIBC_2_17.
14584
3a31811e
L
145852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14586
14587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14589
faa2bccb
DM
145902012-08-03 David S. Miller <davem@davemloft.net>
14591
14592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14593
85fe1997
JM
145942012-08-03 Joseph Myers <joseph@codesourcery.com>
14595
14596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14597 Remove.
14598 (__ASSUME_CORRECT_SI_PID): Likewise.
14599 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14600 (__ASSUME_TMPFS_NAME): Likewise.
14601 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14602 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14603 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14604 (HAVE_AUX_SECURE): Make definition unconditional.
14605 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14606 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14607
4f75b7a0
RM
146082012-08-03 Roland McGrath <roland@hack.frob.com>
14609
14610 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14611 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14612 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14613 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14614 __eloop_threshold instead of SYMLOOP_MAX.
14615
14616 * sysdeps/generic/eloop-threshold.h: New file.
14617 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14618 of MAXSYMLINKS.
14619 * elf/chroot_canon.c (chroot_canon): Likewise.
14620
7aab07e4
JM
146212012-08-03 Joseph Myers <joseph@codesourcery.com>
14622
14623 [BZ #13717]
14624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14625 Change to 2.6.0 everywhere.
14626 * sysdeps/unix/sysv/linux/configure: Regenerated.
14627 * sysdeps/unix/sysv/linux/kernel-features.h
14628 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14629 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14630 kernel versions.
14631 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14632 (__ASSUME_FUTEX_REQUEUE): Remove.
14633 (__ASSUME_STATFS64): Define unconditionally.
14634 (__ASSUME_AT_SECURE): Likewise.
14635 (__ASSUME_CORRECT_SI_PID): Likewise.
14636 (__ASSUME_TGKILL): Define without depending on kernel version for
14637 i386.
14638 (__ASSUME_UTIMES): Likewise.
14639 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14640 kernel version.
14641 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14642 (__ASSUME_TMPFS_NAME): Likewise.
14643 * README: Update reference to Linux kernel versions.
14644
b67e9372
MP
146452012-08-02 Marek Polacek <polacek@redhat.com>
14646
1f529f7d 14647 [BZ# 14150]
b67e9372
MP
14648 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14649 libc_cv_asm_type_prefix with %.
14650 * configure: Regenerated.
d2441631
RM
14651 * include/libc-symbols.h: Remove comment about
14652 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14653 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14654 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14655 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14656 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14657 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14658 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14659 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14660 * elf/tst-unique2mod1.c: Likewise.
14661 * elf/tst-unique1mod2.c: Likewise.
14662 * elf/tst-unique1mod1.c: Likewise.
14663 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14664 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14665 Replace ASM_TYPE_DIRECTIVE with .type.
14666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14667 * sysdeps/i386/sysdep.h: Likewise.
14668 * sysdeps/x86_64/sysdep.h: Likewise.
14669 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14671 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14672 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14673 * sysdeps/powerpc/powerpc32/sysdep.h:
14674 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14675 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14676 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14677 * sysdeps/i386/fpu/e_powf.S: Likewise.
14678 * sysdeps/i386/fpu/e_expl.S: Likewise.
14679 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14680 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14681 * sysdeps/i386/fpu/e_pow.S: Likewise.
14682 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14683 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14684 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14685 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14686 * sysdeps/i386/fpu/e_log2.S: Likewise.
14687 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14688 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14689 * sysdeps/i386/fpu/e_powl.S: Likewise.
14690 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14691 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14692 * sysdeps/i386/fpu/e_logl.S: Likewise.
14693 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14694 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14695 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14696 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14697 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14698 * sysdeps/i386/fpu/e_log.S: Likewise.
14699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14700 * sysdeps/i386/fpu/e_logf.S: Likewise.
14701 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14702 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14703 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14704 * sysdeps/i386/fpu/e_log10.S: Likewise.
14705 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14706 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14707 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14708 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14709 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14711 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14712 * sysdeps/i386/i686/strtok.S: Likewise.
14713 * sysdeps/i386/i386-mcount.S: Likewise.
14714 * sysdeps/i386/strtok.S: Likewise.
14715 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14716 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14717 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14718 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14719 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14721 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14722 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14723 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14724 * sysdeps/x86_64/_mcount.S: Likewise.
14725 * sysdeps/x86_64/strtok.S: Likewise.
14726 * sysdeps/sh/_mcount.S: Likewise.
14727
2747bf9a
RM
147282012-08-01 Roland McGrath <roland@hack.frob.com>
14729
14730 * libio/iofopen.c: Include <fcntl.h>.
14731 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14732 (_IO_fopen64, fopen64): Define as aliases.
14733 * libio/iofopen64.c: Include <fcntl.h>.
14734 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14735 Conditionalize body on this.
14736 * sysdeps/wordsize-64/iofopen.c: File removed.
14737 * sysdeps/wordsize-64/iofopen64.c: File removed.
14738
3fb791b8
MP
147392012-08-01 Marek Polacek <polacek@redhat.com>
14740
14741 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14742 Use dlfcn directly instead of a variable.
14743 (binfmt-subdir): Do not define.
14744 (dlfcn): Likewise.
14745
a9f1039f
JM
147462012-08-01 Joseph Myers <joseph@codesourcery.com>
14747
23bddc06
JM
14748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14749 Remove all definitions.
14750 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14751 <kernel-features.h>.
14752 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14753 (miss_F_GETOWN_EX): Remove all definitions.
14754 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14755 macro definition.
14756 [!__ASSUME_FCNTL64]: Remove conditional code.
14757 [__ASSUME_FCNTL64]: Make code unconditional.
14758 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14759 <kernel-features.h>.
14760 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14761 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14762 (lockf64) [__NR_fcntl64]: Make code unconditional.
14763 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14764
a9f1039f
JM
14765 * sysdeps/unix/sysv/linux/kernel-features.h
14766 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14767 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14768 Make code unconditional.
14769 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14770 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14772 [__NR_vfork]: Make code unconditional.
14773 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14774 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14776 [__NR_vfork]: Make code unconditional.
14777 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14778 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14779
09c0ee5f
RM
147802012-08-01 Roland McGrath <roland@hack.frob.com>
14781
48aec5b9
RM
14782 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14783 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14784
cd97c966
RM
14785 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14786 Define mkstemp64 as an alias.
3f55550c
RM
14787 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14788 Define mkstemps64 as an alias.
cd97c966
RM
14789 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14790 Define mkostemp64 as an alias.
b8625cfc
RM
14791 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14792 Define mkostemps64 as an alias.
cd97c966
RM
14793 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14794 Conditionalize body on this.
14795 * misc/mkostemp64.c: Likewise.
b8625cfc 14796 * misc/mkostemps64.c: Likewise.
3f55550c 14797 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14798 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14799 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14800 * sysdeps/wordsize-64/mkostemp.c: File removed.
14801 * sysdeps/wordsize-64/mkstemp.c: File removed.
14802 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14803 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14804 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14805 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14806
09c0ee5f
RM
14807 [BZ #14138]
14808 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14809 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14810 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14811 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14812
14813 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14814 compat_symbol macros from <shlib-compat.h> rather than the underlying
14815 default_symbol_version and symbol_version macros, so that DEFAULT
14816 lines in shlib-versions are respected.
14817 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14818
7e66ee51
FW
148192012-08-01 Florian Weimer <fweimer@redhat.com>
14820
14821 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14822 Declare with warn_unused_result.
14823 (setgid, setregid, setegid, setresgid): Likewise.
14824 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14825 Likewise.
14826 * WUR-REPORT: Remove set*id functions.
14827
d2a54255
PT
148282012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14829
14830 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14831
7ecdb005
RM
148322012-07-31 Roland McGrath <roland@hack.frob.com>
14833
b4180a5e 14834 [BZ #10191]
789bd351
RM
14835 * include/sys/socket.h (__libc_accept, __libc_accept4):
14836 Add attribute_hidden.
14837 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14838
40ce302d
RM
14839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14840 use of PTR_MANGLE.
14841 * inet/getnetgrent_r.c (setup): Likewise.
14842
7ecdb005
RM
14843 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14844
e2eabb2c
DM
148452012-07-31 David S. Miller <davem@davemloft.net>
14846
14847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14848
d0419dbf
JM
148492012-07-31 Joseph Myers <joseph@codesourcery.com>
14850
14851 [BZ #13629]
14852 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14853 value between 1.0 and 2.0 and smaller part has absolute value less
14854 than 1.0.
14855 * math/s_clog10.c (__clog10): Likewise.
14856 * math/s_clog10f.c (__clog10f): Likewise.
14857 * math/s_clog10l.c (__clog10l): Likewise.
14858 * math/s_clogf.c (__clogf): Likewise.
14859 * math/s_clogl.c (__clogl): Likewise.
14860 * math/libm-test.inc (clog_test): Add more tests.
14861 (clog10_test): Likewise.
14862 * sysdeps/i386/fpu/libm-test-ulps: Update.
14863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14864
2bc13872
FW
148652012-07-31 Florian Weimer <fweimer@redhat.com>
14866
14867 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14868 Exit with zero in case no suitable GID is found, and write a
14869 message to standard error.
14870
bea9b193
RM
148712012-07-30 Roland McGrath <roland@hack.frob.com>
14872
14873 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14874 rather than to 1.
14875 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14876 (MAXPATHLEN): Removed.
14877 (NOGROUP, NODEV): New macros.
14878 (setbit, clrbit, isset, isclr): New macros.
14879 (howmany, roundup, powerof2): New macros.
14880 (DEV_BSIZE): New macro.
14881
14882 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14883 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14884
14885 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14886 definition on [!__NO_LONG_DOUBLE_MATH].
14887
14888 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14889 PTR_MANGLE and PTR_DEMANGLE.
14890
14891 * socket/accept4.c (accept4): Rename to __libc_accept4.
14892 Define accept4 as a weak alias.
14893
14894 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14895 on [_DIRENT_HAVE_D_TYPE].
14896 * io/ftw.c (ftw_dir): Likewise.
14897
14898 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14899
14900 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14901
14902 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14903 Use the BSD numbers rather than the arbitrary ones we had.
14904 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14905 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14906 (SIGXCPU, SIGXFSZ): New macros.
14907 (_NSIG): Now 32.
14908
14909 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14910 initializer on [_LIBC_REENTRANT].
14911
14912 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14913 definitions inside [_POSIX_MAPPED_FILES].
14914
14915 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14916
14917 * dirent/opendir.c: Include <fcntl.h>.
14918
14919 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14920 (__libc_getspecific): Likewise.
14921 (__libc_key_create): Likewise.
14922
14923 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14924 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14925 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14926 (tmpfile64): Define as alias.
14927 * sysdeps/wordsize-64/tmpfile.c: File removed.
14928 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14931
14932 * stdio-common/vfscanf.c: Include <stdbool.h>.
14933 * nss/makedb.c: Likewise.
14934 * stdio-common/_i18n_number.h: Likewise.
14935 * argp/argp-help.c: Likewise.
14936 * posix/wordexp.c: Likewise.
14937 * sysdeps/posix/spawni.c: Likewise.
14938 * nss/nss_files/files-initgroups.c: Likewise.
14939 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14940 * nss/nss_files/files-initgroups.c: Likewise.
14941 * nss/nss_db/db-netgrp.c: Likewise.
14942 * nss/nss_db/db-initgroups.c: Likewise.
14943 * io/fchmodat.c: Include <sys/stat.h>.
14944
14945 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14946 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14947
14948 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14949 [HAVE_MMAP].
14950
14951 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14952 Add multiple inclusion protection.
14953
e5abc686
DM
149542012-07-27 David S. Miller <davem@davemloft.net>
14955
14956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14957
815e6fa3
GB
149582012-07-27 Gary Benson <gbenson@redhat.com>
14959
14960 [BZ #14298]
14961 * elf/rtld.c: Include <stap-probe.h>.
14962 (dl_main): Added static probes "init_start" and "init_complete".
14963 * elf/dl-load.c: Include <stap-probe.h>.
14964 (lose): Take new parameter "nsid".
14965 Added static probe "map_failed".
14966 (_dl_map_object_from_fd): Pass namespace id to lose.
14967 Added static probe "map_start".
14968 (open_verify): Pass namespace id to lose.
14969 * elf/dl-open.c: Include <stap-probe.h>.
14970 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14971 and "reloc_complete".
14972 * elf/dl-close.c: Include <stap-probe.h>.
14973 (_dl_close_worker): Added static probes "unmap_start" and
14974 "unmap_complete".
14975 * elf/rtld-debugger-interface.txt: New file documenting the above.
14976
9f98c16c
RM
149772012-07-26 Roland McGrath <roland@hack.frob.com>
14978
14979 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14980 rather than a string variable.
14981 * sunrpc/rpc_main.c (h_output): Likewise.
14982 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14983
f3c22df3
PT
149842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14985
14986 * inet/check_native.c: New file.
14987
3129cfc6
JM
149882012-07-26 Joseph Myers <joseph@codesourcery.com>
14989
da865e95
JM
14990 [BZ #13629]
14991 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14992 if larger part has absolute value 1.0.
14993 * math/s_clog10.c (__clog10): Likewise.
14994 * math/s_clog10f.c (__clog10f): Likewise.
14995 * math/s_clog10l.c (__clog10l): Likewise.
14996 * math/s_clogf.c (__clogf): Likewise.
14997 * math/s_clogl.c (__clogl): Likewise.
14998 * math/libm-test.inc (clog_test): Add more tests.
14999 (clog10_test): Likewise.
15000 * sysdeps/i386/fpu/libm-test-ulps: Update.
15001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15002
3129cfc6
JM
15003 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15004 (pltexit): Likewise.
15005 (La_regs): Likewise.
15006 (La_retval): Likewise.
15007 (int_retval): Likewise.
15008 Update #error for removed macros to refer only to definitions in
15009 tst-audit.h.
15010 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15011 macro.
15012 (pltexit): Likewise.
15013 (La_regs): Likewise.
15014 (La_retval): Likewise.
15015 (int_retval): Likewise.
15016 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15017 macro.
15018 (pltexit): Likewise.
15019 (La_regs): Likewise.
15020 (La_retval): Likewise.
15021 (int_retval): Likewise.
15022 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15023 macro.
15024 (pltexit): Likewise.
15025 (La_regs): Likewise.
15026 (La_retval): Likewise.
15027 (int_retval): Likewise.
15028 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15029 macro.
15030 (pltexit): Likewise.
15031 (La_regs): Likewise.
15032 (La_retval): Likewise.
15033 (int_retval): Likewise.
15034 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15035 macro.
15036 (pltexit): Likewise.
15037 (La_regs): Likewise.
15038 (La_retval): Likewise.
15039 (int_retval): Likewise.
15040 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15041 macro.
15042 (pltexit): Likewise.
15043 (La_regs): Likewise.
15044 (La_retval): Likewise.
15045 (int_retval): Likewise.
15046 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15047 macro definitions in tst-audit.h.
15048 * sysdeps/i386/tst-audit.h: New file.
15049 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15050 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15051 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15052 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15053 * sysdeps/sh/tst-audit.h: Likewise.
15054 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15055 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15056 * sysdeps/x86_64/tst-audit.h: Likewise.
15057
bfc07087
AJ
150582012-07-26 Andreas Jaeger <aj@suse.de>
15059
b1b2aaf8
AJ
15060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15061 ptrace.
15062
15063 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15064 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15065 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15066 PTRACE_O_MASK.
15067 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15068 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15069 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15070
bfc07087
AJ
15071 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15072 value.
15073
15074 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15075 _sigsys.
15076 (si_call_addr, si_syscall, si_arch): Define new macro.
15077 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15078 _sigsys.
15079 (si_call_addr, si_syscall, si_arch): Define new marcro.
15080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15081 _sigsys.
15082 (si_call_addr, si_syscall, si_arch): Define new macro.
15083 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15084 _sigsys.
15085 (si_call_addr, si_syscall, si_arch): Define new macro.
15086
89b4b02f
JM
150872012-07-25 Joseph Myers <joseph@codesourcery.com>
15088
15089 [BZ #13717]
15090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15091 Change to 2.4.21 where previously 2.4.1.
15092 * sysdeps/unix/sysv/linux/configure: Regenerated.
15093 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15094 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15095 Linux kernel version.
15096 (__ASSUME_STD_AUXV): Remove.
15097 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15098 kernel version.
15099 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15100 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15101 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15102 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15103 (__ASSUME_NETLINK_SUPPORT): Likewise.
15104 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15105 (__no_netlink_support): Remove conditional definition.
15106 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15107 Remove.
15108 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15109 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15110 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15111 (if_nameindex_ioctl): Remove.
15112 (if_nameindex_netlink): Do not handle __no_netlink_support.
15113 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15114 code.
15115 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15116 Remove conditional code.
15117 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15118 code.
15119 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15120 unconditional.
15121 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15122 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15123 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15124 Remove.
15125 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15126 [!__ASSUME_STD_AUXV]: Remove conditional code.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15128 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15129 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15131 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15132 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15133 code.
15134 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15137 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15138 conditional code.
15139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15141 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15142 code.
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15144 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15145 conditional code.
15146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15147 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15148 code unconditional.
15149 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15150 conditional code.
15151 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15152 unconditional.
15153 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15154 conditional code.
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15156 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15157 unconditional.
15158 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15159 conditional code.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15161 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15162 code unconditional.
15163 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15164 conditional code.
15165 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15166 unconditional.
15167 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15168 conditional code.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15170 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15171 code unconditional.
15172 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15173 conditional code.
15174 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15175 unconditional.
15176 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15177 conditional code.
15178
842a39cd
AS
151792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15180
15181 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15182 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15183 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15184 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15186 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15187 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15188 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15189 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15190 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15191 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15192 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15193 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15194 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15197 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15199 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15201 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15204
84b3fd84
FW
152052012-07-25 Florian Weimer <fweimer@redhat.com>
15206
15207 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15208 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15209 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15210 Introduce __libc_secure_getenv.
0c7936d5
FW
15211 * stdlib/Versions (2.17): Add secure_getenv
15212 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15213 * stdlib/secure-getenv.c: Rename __secure_getenv to
15214 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15215 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15216 * stdlib/tst-secure-getenv.c: New.
15217 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15218 * manual/startup.texi (Environment Access): Document
15219 secure_getenv.
84b3fd84
FW
15220 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15221 __libc_secure_getenv.
15222 * inet/ruserpass.c (ruserpass): Likewise.
15223 * malloc/mtrace.c (mtrace): Likewise.
15224 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15225 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15226 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15227 * sysdeps/posix/tempname.c: Likewise. Evaluate
15228 HAVE_SECURE_GETENV.
15229 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15230 __secure_getenv to __libc_secure_getenv.
84b3fd84 15231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15233 Likewise.
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15235 Likewise.
15236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15243
56e49b71
JM
152442012-07-25 Joseph Myers <joseph@codesourcery.com>
15245
15246 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15247 (struct La_i86_retval): Likewise.
15248 (struct La_x86_64_regs): Likewise.
15249 (struct La_x86_64_retval): Likewise.
15250 (struct La_x32_regs): Likewise.
15251 (struct La_x32_retval): Likewise.
15252 (struct La_ppc32_regs): Likewise.
15253 (struct La_ppc32_retval): Likewise.
15254 (struct La_ppc64_regs): Likewise.
15255 (struct La_ppc64_retval): Likewise.
15256 (struct La_sh_regs): Likewise.
15257 (struct La_sh_retval): Likewise.
15258 (struct La_s390_32_regs): Likewise.
15259 (struct La_s390_32_retval): Likewise.
15260 (struct La_s390_64_regs): Likewise.
15261 (struct La_s390_64_retval): Likewise.
15262 (struct La_sparc32_regs): Likewise.
15263 (struct La_sparc32_retval): Likewise.
15264 (struct La_sparc64_regs): Likewise.
15265 (struct La_sparc64_retval): Likewise.
15266 (struct audit_ifaces): Remove architecture-specific pltenter and
15267 pltexit members.
15268 * sysdeps/i386/ldsodefs.h: New file.
15269 * sysdeps/powerpc/ldsodefs.h: Likewise.
15270 * sysdeps/s390/ldsodefs.h: Likewise.
15271 * sysdeps/sh/ldsodefs.h: Likewise.
15272 * sysdeps/sparc/ldsodefs.h: Likewise.
15273 * sysdeps/x86_64/ldsodefs.h: Likewise.
15274
354691b7
MP
152752012-07-25 Marek Polacek <polacek@redhat.com>
15276
15277 [BZ #6808]
15278 * math/libm-test.inc (yn_test): Add another test.
15279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15280 to ERANGE when the result is +-Inf.
15281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15283 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15285
bf9e2071
JM
152862012-07-24 Joseph Myers <joseph@codesourcery.com>
15287
15288 * conform/data/time.h-data (NULL): Use macro-constant. Require
15289 equal to 0.
15290 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15291 clock_t.
15292 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15293
57633811
TS
152942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15295
15296 * configure.in <sysdeps resolving>: Correct printing
15297 Implies_before.
15298 * configure: Regenerate.
15299
c23c33b0
TS
153002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15301
15302 * math/w_ilogb.c: Include <limits.h>.
15303 * math/w_ilogbl.c: Likewise.
15304
b5982523
JM
153052012-07-20 Joseph Myers <joseph@codesourcery.com>
15306
15307 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15308 va_copy. Document allowing for unavailable va_copy only as
15309 pre-C99 compatibility.
15310 * manual/string.texi (Copying and Concatenation): Use va_copy
15311 instead of __va_copy in concat example.
15312
ac4ea442
PT
153132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15314
15315 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15316 (__sendto): Use create_address_port. Initialize APORT and deallocate
15317 it if not null.
15318
f98eafbd
PT
15319 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15320 with O_NOLINK passed to __file_name_lookup.
15321
898c7aab
PT
15322 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15323 with O_NOLINK passed to __file_name_lookup.
15324
0ced335a
PT
15325 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15326 negative N or less than NGIDS.
15327
b3404dbd
PT
15328 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15329 type to string_t. Set ERANGE as errno and return it if NAME is not big
15330 enough. Use memcpy instead of strncpy.
15331
0f48659e
JM
153322012-07-20 Joseph Myers <joseph@codesourcery.com>
15333
15334 * elf/Makefile (check-data): Remove.
15335 (localplt.data): New vpath directive.
15336 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15337 instead of $(check-data).
15338 * scripts/data/localplt-generic.data: Move to ...
15339 * sysdeps/generic/localplt.data: ... here.
15340 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15341 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15342 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15344 ... here.
15345 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15347 ... here.
15348 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15350 ... here.
15351 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15353 ... here.
15354 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15356 ... here.
15357 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15359 ... here.
15360
d37cbdaa
AZ
153612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15362
15363 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15364 PPC32 and PPC64 files.
15365 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15366 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15367
46f85fc2
AK
153682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15369
15370 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15371 __makecontext_ret to ...
15372 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15373 ... here and call exit if uc_link is NULL. New file.
15374 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15375 __makecontext_ret.S.
15376 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15377 __makecontext_ret to ...
15378 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15379 ... here and call exit if uc_link is NULL. New file.
15380 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15381 __makecontext_ret.S.
15382
08f43f9b
AK
153832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15384
15385 * elf/elf.h (R_390_IRELATIVE): New definition.
15386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15387 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15388 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15390 (elf_machine_lazy_rel): Likewise.
15391 * sysdeps/s390/dl-irel.h: New file.
15392 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15393 * sysdeps/s390/s390-64/memset.S: New asm code.
15394 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15395 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15396 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15397 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15398 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15399 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15401 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15402 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15403 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15404 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15405 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15406 * sysdeps/s390/s390-32/memset.S: New asm code.
15407 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15408
3b05db33
MP
154092012-07-17 Marek Polacek <polacek@redhat.com>
15410
15411 [BZ #14349]
15412 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15413 * sysdeps/s390/s390-64/configure.in: Likewise.
15414 * sysdeps/sparc/configure.in: Likewise.
15415 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15416 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15417 * sysdeps/i386/configure.in: Likewise.
15418 * sysdeps/x86_64/configure.in: Likewise.
15419 * sysdeps/sh/configure.in: Likewise.
15420 * sysdeps/s390/s390-32/configure: Regenerated.
15421 * sysdeps/s390/s390-64/configure: Likewise.
15422 * sysdeps/x86_64/configure: Likewise.
15423 * sysdeps/sh/configure: Likewise.
15424 * sysdeps/powerpc/powerpc64/configure: Likewise.
15425 * sysdeps/powerpc/powerpc32/configure: Likewise.
15426 * sysdeps/sparc/configure: Likwise.
15427 * sysdeps/i386/configure: Likewise.
15428
a66877c6
MP
15429 * elf/dl-open.c: Comment fixes.
15430
cfc82fd8
JM
154312012-07-17 Joseph Myers <joseph@codesourcery.com>
15432
bd29910a
JM
15433 * Makefile [CXX] (check-data): Remove.
15434 [CXX] (c++-types.data): New vpath directive.
15435 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15436 vpath. Do not allow for C++ type data being missing.
15437 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15438 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15439 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15440 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15441 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15442 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15443 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15445 ... here.
15446 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15448 ... here.
15449 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15451 ... here.
15452 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15454 ... here.
15455 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15457 ... here.
15458 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15460 ... here.
15461 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15463 ... here.
15464 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15466
cfc82fd8
JM
15467 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15468 definitions to architecture-specific files.
15469 (TLS_IE): Likewise.
15470 (TLS_LD): Likewise.
15471 (TLS_GD): Likewise.
15472 * sysdeps/i386/tls-macros.h: New file.
15473 * sysdeps/powerpc/tls-macros.h: Likewise.
15474 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15475 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15476 * sysdeps/sh/tls-macros.h: Likewise.
15477 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15478 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15479 * sysdeps/x86_64/tls-macros.h: Likewise.
15480
f7db3170
TS
154812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15482
07cbfc23
TS
15483 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15484 zero value for regular exit case.
15485
f7db3170
TS
15486 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15487 (__start_context): Preserve zero value for regular exit case.
15488
dc97c227
TS
154892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15490 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15491
15492 * manual/setjmp.texi (setcontext): Clarify normal process
15493 termination when uc_link is the null pointer.
15494 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15495 exit call.
15496
d0cd7d02
AS
154972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15498
15499 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15500 preprocessor. Test for each exception mask separately.
15501
dd318934
AJ
155022012-07-16 Andreas Jaeger <aj@suse.de>
15503
15504 * po/ru.po: Update from translation team.
15505
8048311a
JM
155062012-07-15 Joseph Myers <joseph@codesourcery.com>
15507
15508 * conform/data/string.h-data (NULL): Use macro-constant. Require
15509 equal to 0.
15510 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15511 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15512 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15513 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15515
b637d46e
AJ
155162012-07-13 Andreas Jaeger <aj@suse.de>
15517
15518 * po/fr.po: Update from translation team.
15519
541428fe
MP
155202012-07-12 Marek Polacek <polacek@redhat.com>
15521
15522 [BZ #14173]
15523 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15525 loop condition.
15526
ec332e94
JM
155272012-07-12 Joseph Myers <joseph@codesourcery.com>
15528
15529 [BZ #13717]
15530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15531 Change to 2.4.1 where previously 2.4.0.
15532 * sysdeps/unix/sysv/linux/configure: Regenerated.
15533 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15534 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15535 version.
15536 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15537 (__ASSUME_AT_CLKTCK): Remove.
15538 (__ASSUME_AT_PAGESIZE): Likewise.
15539 (__ASSUME_AT_XID): Likewise.
15540 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15541 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15542 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15543 unconditionally.
15544 (HAVE_AUX_PAGESIZE): Likewise.
15545 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15546 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15547 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15548
7b6e99be
JB
155492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15550
15551 [BZ #14307]
15552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15553 the temporary buffer used to invoke __gethostbyname2_r,
15554 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15555 host_data / struct gaih_addrtuple.
15556 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15557 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15558 header file nss/nsswitch.h.
15559 * nss/nsswitch.h (global scope): Add definition of implementation
15560 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15561 resolv/nss_dns/dns-host.c).
15562
608404eb
AJ
155632012-07-11 Andreas Jaeger <aj@suse.de>
15564
15565 * po/fr.po: Update from translation team.
15566
71220aca
AJ
15567 * po/sv.po: Update from translation team
15568 * po/fr.po: Another update from translation team.
15569
28cfe843
AZ
155702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15571
15572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15573 for subnormals or multiply small sinh result by itself.
15574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15576
6b90f981
DM
155772012-07-11 David S. Miller <davem@davemloft.net>
15578
15579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15580
c6825772
AS
155812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15582
15583 [BZ #14347]
15584 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15585 (INTERNAL_MARK): Shift it here.
15586
7b8e0d49
MP
155872012-07-10 Marek Polacek <polacek@redhat.com>
15588
15589 [BZ #14151]
15590 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15591 libc_cv_asm_global_directive with .globl.
15592 * configure: Regenerated.
15593 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15594 with .globl.
15595 * sysdeps/i386/configure: Regenerated.
15596 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15597 with .globl.
15598 * sysdeps/x86_64/configure: Regenerated.
15599 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15600 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15601 * elf/tst-unique2mod2.c: Likewise.
15602 * elf/tst-unique2mod1.c: Likewise.
15603 * elf/tst-unique1mod2.c: Likewise.
15604 * elf/tst-unique1mod1.c: Likewise.
15605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15606 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15607 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15608 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15609 * sysdeps/mach/sysdep.h: Likewise.
15610 * sysdeps/i386/sysdep.h: Likewise.
15611 * sysdeps/i386/i386-mcount.S: Likewise.
15612 * sysdeps/x86_64/_mcount.S: Likewise.
15613 * sysdeps/x86_64/sysdep.h: Likewise.
15614 * sysdeps/sh/_mcount.S: Likewise.
15615 * sysdeps/sh/sysdep.h: Likewise.
15616 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15617 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15618 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15620 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15621 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15622 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15623 * locale/localeinfo.h: Likewise.
15624 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15625 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15626
6c55cda3
RM
156272012-07-09 Roland McGrath <roland@hack.frob.com>
15628
15629 [BZ #14336]
15630 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15631 system".
15632 * manual/message.texi (The Uniforum approach): Likewise.
15633 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15634 (glibc iconv Implementation): Likewise.
15635
638a572e
JM
156362012-07-09 Joseph Myers <joseph@codesourcery.com>
15637
15638 [BZ #14337]
15639 * math/s_clog.c (__clog): Avoid scaling a value down where that
15640 could result in underflow.
15641 * math/s_clog10.c (__clog10): Likewise.
15642 * math/s_clog10f.c (__clog10f): Likewise.
15643 * math/s_clog10l.c (__clog10l): Likewise.
15644 * math/s_clogf.c (__clogf): Likewise.
15645 * math/s_clogl.c (__clogl): Likewise.
15646 * math/libm-test.inc (clog_test): Add more tests.
15647 (clog10_test): Likewise.
15648 * sysdeps/i386/fpu/libm-test-ulps: Update.
15649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15650
261f4859
AS
156512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15652
0abaf3e4
AS
15653 [BZ #14283]
15654 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15655 by 7 not 8 to examine high bit of fractional part.
15656
261f4859
AS
15657 [BZ #14042]
15658 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15659 for call to __mcount_internal.
15660 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15661 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15662 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15663
f17ac40d
JM
156642012-07-06 Joseph Myers <joseph@codesourcery.com>
15665
9ad63c23
JM
15666 [BZ #14154]
15667 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15668 approximation for values within 0x1p-13f of an odd multiple of
15669 pi/4.
15670 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15671 exception. Add more tests.
15672 * sysdeps/i386/fpu/libm-test-ulps: Update.
15673
f17ac40d
JM
15674 [BZ #6778]
15675 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15676 inputs and return -1 for them. Do not check for +Inf in case not
15677 reachable for +Inf.
15678 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15679 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15681 and return -1 for them. Do not check for +Inf in case not
15682 reachable for +Inf.
15683 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15684 define.
15685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15686 and return -1 for them. Do not check for +Inf in case not
15687 reachable for +Inf.
15688 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15689 spurious underflow.
15690 * sysdeps/i386/fpu/libm-test-ulps: Update.
15691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15692
fb21f89b
MF
156932012-07-06 Mike Frysinger <vapier@gentoo.org>
15694
15695 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15696
cdfe2c5e
JM
156972012-07-05 Joseph Myers <joseph@codesourcery.com>
15698
15699 [BZ #14157]
15700 [BZ #14331]
15701 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15702 could result in spurious underflow. Scale down values above
15703 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15704 * math/s_csqrtf.c (__csqrtf): Likewise.
15705 * math/s_csqrtl.c (__csqrtl): Likewise.
15706 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15707 spurious underflow.
15708 * sysdeps/i386/fpu/libm-test-ulps: Update.
15709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15710
70d35b67
AS
157112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15712
704bc459
AS
15713 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15714 xopen-msg.sed.
15715 * catgets/xopen-msg.awk: New file.
15716 * catgets/xopen-msg.sed: Removed.
15717
70d35b67
AS
15718 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15719 po2text.sed.
15720 * intl/po2test.awk: New file.
15721 * intl/po2test.sed: Removed.
15722
ca61cf32
JM
157232012-07-04 Joseph Myers <joseph@codesourcery.com>
15724
15725 [BZ #14328]
15726 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15727 or multiply small sinh result by itself.
15728 * math/s_ctanf.c (__ctanf): Likewise.
15729 * math/s_ctanh.c (__ctanh): Likewise.
15730 * math/s_ctanhf.c (__ctanhf): Likewise.
15731 * math/s_ctanhl.c (__ctanhl): Likewise.
15732 * math/s_ctanl.c (__ctanl): Likewise.
15733 * math/libm-test.inc (ctan_test_tonearest): New function.
15734 (ctan_test_towardzero): Likewise.
15735 (ctan_test_downward): Likewise.
15736 (ctan_test_upward): Likewise.
15737 (ctanh_test_tonearest): Likewise.
15738 (ctanh_test_towardzero): Likewise.
15739 (ctanh_test_downward): Likewise.
15740 (ctanh_test_upward): Likewise.
15741 (main): Call these new functions.
15742 * sysdeps/i386/fpu/libm-test-ulps: Update.
15743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15744
ca48a46a
MF
157452012-07-03 Mike Frysinger <vapier@gentoo.org>
15746
15747 * .gitignore: Delete /ports entry.
15748
9d63d37d
AJ
157492012-07-03 Andreas Jaeger <aj@suse.de>
15750
15751 * po/bg.po: Update from translation team.
15752 * po/cs.po: Likewise.
15753 * po/de.po: Likewise.
15754 * po/hr.po: Likewise.
15755 * po/nl.pl: Likewise.
15756 * po/pl.po: Likewise.
15757 * po/vi.po: Likewise.
15758
370ca3d2
JM
157592012-07-03 Joseph Myers <joseph@codesourcery.com>
15760
95f5a9a8
JM
15761 * Makeconfig [!+link] (+link-before-libc): New variable.
15762 [!+link] (+link-after-libc): Likewise.
15763 [!+link] (+link-tests): Likewise.
15764 [!+link] (+link): Define in terms of $(+link-before-libc) and
15765 $(+link-after-libc).
15766 [!+link-static] (+link-static-before-libc): New variable.
15767 [!+link-static] (+link-static-after-libc): Likewise.
15768 [!+link-static] (+link-static-tests): Likewise.
15769 [!+link-static] (+link-static): Define in terms of
15770 $(+link-static-before-libc) and $(+link-static-after-libc).
15771 [build-shared] (link-libc-before-gnulib): New variable.
15772 [build-shared] (link-libc-tests): Likewise.
15773 [build-shared] (link-libc): Define in terms of
15774 $(link-libc-before-gnulib).
15775 [!build-shared] (link-libc-tests): New variable.
15776 (link-libc-static-tests): New variable.
15777 [!gnulib] (gnulib-arch): New variable.
15778 [!gnulib] (gnulib-tests): Likewise.
15779 [!gnulib] (static-gnulib-arch): Likewise.
15780 [!gnulib] (static-gnulib-tests): Likewise.
15781 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15782 Define with "=" instead of ":=".
15783 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15784 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15785 * Rules (binaries-all-notests): New variable.
15786 (binaries-all-tests): Likewise.
15787 (binaries-static-notests): Likewise.
15788 (binaries-static-tests): Likewise.
15789 (binaries-all): Define using $(binaries-all-notests) and
15790 $(binaries-all-tests).
15791 (binaries-static): Define using $(binaries-static-notests) and
15792 $(binaries-static-tests).
15793 (binaries-shared-tests): New variable.
15794 (binaries-shared-notests): Likewise.
15795 (binaries-shared): Remove variable.
15796 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15797 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15798 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15799 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15800 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15801 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15802 * elf/Makefile (sln-modules): New variable.
15803 (extra-objs): Add $(sln-modules:=.o).
15804 (ldconfig-modules): Add static-stubs.
15805 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15806 * elf/static-stubs.c: New file.
15807
7a845b2c
JM
15808 [BZ #14283]
15809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15810 by 7 not 8 to examine high bit of fractional part. Use volatile
15811 variables when splitting into final array of floats if
15812 __FLT_EVAL_METHOD__ != 0.
15813 * math/libm-test.inc (cos_test): Add another test.
15814 (sin_test): Likewise.
15815 * sysdeps/i386/fpu/libm-test-ulps: Update.
15816
e2283f38
JM
15817 [BZ #14273]
15818 * math/libm-test.inc (cosh_test): Add more tests.
15819
370ca3d2
JM
15820 * version.h (RELEASE): Set to "development".
15821 (VERSION): Set to "2.16.90".
15822
ee9247c3
CD
158232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15824
15825 * NEWS: Update copyright. Remove last-updated date.
15826 Mention math library bug fixes and timezone data changes.
15827 * README: Mention GNU/Hurd, x32, and HPPA support status.
15828
4648c381
TS
158292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15830
15831 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15832
aac78a43
AJ
158332012-06-27 Andreas Jaeger <aj@suse.de>
15834
15835 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15836
ed3dbfad
AJ
158372012-06-25 Andreas Jaeger <aj@suse.de>
15838
15839 * sysdeps/s390/fpu/libm-test-ulps: Update.
15840
4d0ee855
AS
158412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15842 Thomas Schwinge <thomas@codesourcery.com>
15843
15844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15845 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15847 fanotify_mark.
15848
af1bce34
TS
158492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15850
a9fa33ba
TS
15851 * sysdeps/mach/start.c: Remove file.
15852 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15853 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15854 * sysdeps/sh/init-first.c: Likewise.
15855
58f902b8
TS
15856 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15857 registers for frame unwinding purposes, add CFI directives.
15858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15860 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15861 Likewise.
15862
1518f58b
TS
15863 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15864 __fortify_fail returning.
15865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15866
db9b5059
TS
15867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15868 sysdeps/sh/____longjmp_chk.S.
15869 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15870 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15871 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15872 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15873
967705fe
TS
15874 * sysdeps/sh/abort-instr.h: New file.
15875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15876 process in case exit returns.
15877
a9def8c4
TS
15878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15879 initialize the GOT register before use.
15880
2a649725
TS
15881 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15882 calculation of ARGC > 4.
15883
af1bce34
TS
15884 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15885 meaningful names to some local labels.
15886
d230f50a
KK
158872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15888 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15889
15890 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15891 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15892 (__arch_compare_and_exchange_val_16_acq): Likewise.
15893 (__arch_compare_and_exchange_val_32_acq): Likewise.
15894 (atomic_exchange_and_add): Fix gUSA sequence.
15895 (atomic_add): Likewise.
15896 (atomic_add_negative): Likewise.
15897 (atomic_add_zero): Likewise.
15898 (atomic_bit_test_set): Likewise.
15899
0479b305
AS
159002012-06-22 Andreas Schwab <schwab@redhat.com>
15901
15902 [BZ #13579]
15903 * include/link.h (struct link_map): Add l_free_initfini.
15904 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15905 l_initfini.
15906 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15907 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15908 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15909 set.
15910
0e3933b9
CD
159112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15912
15913 * configure.in: Use AC_LANG_SOURCE.
15914 * configure: Regenerate.
15915
4248b1b1
RM
159162012-06-22 Roland McGrath <roland@hack.frob.com>
15917
15918 * configure.in (libc_cv_localstatedir): New substituted variable.
15919 * configure: Regenerated.
15920 * config.make.in (localstatedir): New variable, substituted from
15921 libc_cv_localstatedir.
15922 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15923 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15924 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15925 * sysdeps/gnu/configure: Regenerated.
15926
006dd861
JL
159272012-06-21 Jeff Law <law@redhat.com>
15928
15929 [BZ #14277]
15930 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15931 free. Simplify list management for _LIBC case.
15932
79662d42
JM
159332012-06-21 Joseph Myers <joseph@codesourcery.com>
15934
b7abb4bf
JM
15935 [BZ #14273]
15936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15937 Clear sign bit of 64-bit integer value before comparing against
15938 overflow value.
15939
79662d42
JM
15940 * sysdeps/mach/configure: Regenerated.
15941
1f150908
L
159422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15943
15944 [BZ #14278]
15945 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15946
28363bbf
JL
159472012-06-21 Jeff Law <law@redhat.com>
15948
15949 [BZ #13882]
15950 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15951 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15953 * elf/dl-open.c (dl_open_worker): Likewise.
15954
09615db4
CD
159552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15956
15957 * scripts/list-sources.sh: Scan PORTS for translations.
15958 * po/libc.pot: Regenerated.
15959
2174c6dd
AJ
159602012-06-21 Andreas Jaeger <aj@suse.de>
15961
15962 [BZ #12194]
15963 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15964 warning.
15965 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15966 * bits/byteswap-16.h (__bswap_16): Likewise.
15967 * bits/byteswap.h (__bswap_constant_16): Likewise.
15968
3ee947b1
L
159692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15970
15971 [BZ #14117]
a2f34833
L
15972 * sysdeps/i386/fpu_control.h: Removed.
15973 * sysdeps/x86_64/fpu_control.h: Moved to ...
15974 * sysdeps/x86/fpu_control.h: Here.
15975
3ee947b1
L
15976 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15977 (_FPU_SETCW): Likewise.
15978
ed1825f8
L
159792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15980
25f1282a
L
15981 [BZ #14117]
15982 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15983 * sysdeps/x86/fpu/bits/mathinline.h: This.
15984 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15985
ed1825f8
L
15986 [BZ #14050]
15987 [BZ #14117]
15988 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15989 functions if __x86_64__ is defined.
15990
36d54b74
CLT
159912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15992
15993 * string/endian.h: Add !__ASSEMBLER__ condition for including
15994 conversion interfaces.
15995
10285c21
JM
159962012-06-15 Joseph Myers <joseph@codesourcery.com>
15997
15998 [BZ #14241]
15999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16000 of ABS(x) in calculating zero to negative powers other than odd
16001 integers.
16002 * math/libm-test.inc (pow_test): Add more tests.
16003
06c5abbd
AJ
160042012-06-15 Andreas Jaeger <aj@suse.de>
16005
16006 * manual/contrib.texi (Contributors): Update entry of Liubov
16007 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16008 Machado Filho.
16009
a3aeac40
CH
160102012-06-15 Cyril Hrubis <metan@ucw.cz>
16011
16012 * string/string.h: Add __wur to GNU version of strerror_r.
16013
49bdf4c1
L
160142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16015
16016 [BZ #14229]
16017 * string/Makefile (tests): Add tst-strtok_r.
16018 * string/tst-strtok_r.c: New file.
16019 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16020 RAX_LP/RDX_LP on SAVE_PTR.
16021
834f9b8d
RM
160222012-06-14 Roland McGrath <roland@hack.frob.com>
16023
16024 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16025
75fa1921
JM
160262012-06-14 Joseph Myers <joseph@codesourcery.com>
16027
16028 * libm_test.inc (csqrt_test): Allow more spurious underflow
16029 exceptions.
16030 (j0_test): Likewise.
16031 (j1_test): Likewise.
16032 (y0_test): Likewise.
16033 (y1_test): Likewise.
16034
771766df
CD
160352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16036
16037 * po/Makefile (libc.pot): Use UTF-8 charset.
16038
ceb9e56b
PP
160392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16040
16041 [BZ #14210]
16042 Suppress sign-conversion warning from FD_SET.
16043 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16044 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16045 not unsigned long int.
16046 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16047
ddb28975
L
160482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16049
16050 [BZ #14050]
16051 [BZ #14117]
16052 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16053 __extern_always_inline instead of __extern_inline.
16054 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16055 (__signbit): Likewise.
16056 (__signbitl): Support C++ namespace.
16057 (lrintf): New inline function.
16058 (lrint): Likewise.
16059 (llrintf): Likewise.
16060 (llrint): Likewise.
16061 (fmaxf): Likewise.
16062 (fmax): Likewise.
16063 (fminf): Likewise.
16064 (fmin): Likewise.
16065 (rint): Likewise.
16066 (rintf): Likewise.
16067 (ceil): Likewise.
16068 (ceilf): Likewise.
16069 (floor): Likewise.
16070 (floorf): Likewise.
16071 (nearbyint): Likewise.
16072 (nearbyintf): Likewise.
16073
d7b4fb26
TS
160742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16075
16076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16077 non-default versions.
16078
eb55f5c2
RM
160792012-06-11 Roland McGrath <roland@hack.frob.com>
16080
16081 [BZ #14218]
16082 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16083
366af02c
TS
160842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16085
99ff6e5c
TS
16086 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16087 (FE_UPWARD, FE_DOWNWARD): Don't define.
16088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16089 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16090
366af02c
TS
16091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16092 reading it.
16093 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16095
793ea851
KK
160962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16097
16098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16102
a728a38f
L
161032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16104
16105 [BZ #14117]
c08010c7
L
16106 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16107 * sysdeps/i386/fpu/Implies: New file.
16108 * sysdeps/x86_64/fpu/Implies: Likewise.
16109 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16110 * sysdeps/x86/fpu/bits/fenv.h: This.
16111
a728a38f
L
16112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16113 __SSE_MATH__.
16114
6e230d11
SP
161152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16116
16117 [BZ #14134]
16118 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16119 character 0xffff that matches the last element of the
16120 conversion table.
16121
1b671feb
AZ
161222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16123
16124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16125 fmodl commit.
16126
6043738b
AZ
161272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16128
16129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16130 values higher than 25.6283.
16131
34ae0b32
AZ
161322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16133
16134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16135 subnormal exponent extraction and add some __builtin_expect.
16136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16137 Fix for subnormal mantissa calculation.
16138
1214ec8f
MF
161392012-06-04 Mike Frysinger <vapier@gentoo.org>
16140
16141 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16142 cpu2 is -1 and errno is not ENOSYS.
16143
f3d1f93c
L
161442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16145
16146 [BZ #14117]
0e4a3cd7
L
16147 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16148 * sysdeps/x86/bits/string.h: This.
16149 * sysdeps/x86_64/bits/string.h: Removed.
16150
6704c645
L
16151 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16152 if not compiling for x86-64, but compiling for >= i486.
16153
48495318
L
16154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16155 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16156
14adcbfc
L
16157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16158 New macro from Linux kernel 3.4.0.
16159 (FP_XSTATE_MAGIC2): Likewise.
16160 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16161 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16162 (struct _fpx_sw_bytes): New struct.
16163 (struct _xsave_hdr): Likewise.
16164 (struct _ymmh_state): Likewise.
16165 (struct _xstate): Likewise.
16166
68e408ab
L
16167 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16168 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16170 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16172 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16173
f3d1f93c
L
16174 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16176 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16177 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16178 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16179 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16180
d9dc34cd
TMQMF
161812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16182
16183 [BZ #13743]
16184 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16185 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16186 (sysdep_headers): Include sys/platform/ppc.h.
16187 * sysdeps/powerpc/test-gettimebase.c: Test for
16188 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16189 * manual/Makefile (appendices): Include platform.texi.
16190 * manual/contrib.texi (Contributors): Update @node pointers.
16191 * manual/maint.texi (Maintenance): Likewise.
16192 (Platform): New node.
16193 * manual/platform.texi: New file. Document the new features.
16194
4af3879c
SP
161952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16196 Jakub Jelinek <jakub@redhat.com>
16197
16198 [BZ #14188]
16199 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16200 where __builtin_expect is unavailable.
16201
2fd6ff13
DM
162022012-06-03 David S. Miller <davem@davemloft.net>
16203
16204 * stdlib/longlong.h: Updated from GCC.
16205
173f7220
AS
162062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16207
16208 [BZ #14042]
16209 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16210 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16211 __mcount_internal.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16213 (GLIBC_2.16): Likewise.
16214
f34a1c6f
L
162152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16216
16217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16218
88a4576f
JM
162192012-06-01 Joseph Myers <joseph@codesourcery.com>
16220
ea32bcdd
JM
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16222 (default-abi): New variable.
16223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16224 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16225 variable.
16226 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16227 Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16229 Likewise.
16230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16231 Likewise.
16232
88a4576f
JM
16233 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16234 definition. Document in comment.
16235
402fe938
DM
162362012-06-01 David S. Miller <davem@davemloft.net>
16237
16238 * stdlib/longlong.h: Updated from GCC.
16239
3553723f
L
162402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16241
16242 [BZ #14117]
3bd872c4
L
16243 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16244 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16245 sys/debugreg.h sys/io.h here.
16246 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16247 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16248 sys/io.h.
16249 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16250 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16251 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16252 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16253 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16254 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16255
3553723f
L
16256 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16257 Define only if __x86_64__ is defined.
16258
4842e4fe
JM
162592012-06-01 Joseph Myers <joseph@codesourcery.com>
16260
c5bfe3d5
JM
16261 [BZ #14048]
16262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16263 Use int64_t for variable i.
16264 * math/libm-test.inc (fmod_test): Add more tests.
16265
4842e4fe
JM
16266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16267 z computation is not scheduled after fetestexcept.
16268 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16269 Use math_force_eval instead of asm to ensure calculation scheduled
16270 before exception test.
16271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16272 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16273
efb73488
AJ
162742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16275
16276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16277 computation is not scheduled after fetestexcept.
16278
29bcce7c
L
162792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16280
16281 [BZ #14117]
16282 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16284
73a68f94
AZ
162852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16286
16287 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16289
67b6df78
L
162902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16291
edf2933a 16292 [BZ #14117]
ebc64a18
L
16293 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16294 <bits/wordsize.h>.
16295 (__WCHAR_MIN): Support __WORDSIZE == 64.
16296 (__WCHAR_MAX): Likewise.
16297
edf2933a
L
16298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16300
57c6cf40
L
16301 [BZ #14183]
16302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16303 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16304
67b6df78 16305 [BZ #14117]
8eb6281e
L
16306 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16308
aac639f4
L
16309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16311
67b6df78
L
16312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16313 Defined to 1 if __x86_64__ isn't defined.
16314 (_STAT_VER_LINUX_OLD): New.
16315 (st_atime): Remove duplicate.
16316 (st_mtime): Likewise.
16317 (st_ctime): Likewise.
16318
1c2cfe81
DM
163192012-05-31 David S. Miller <davem@davemloft.net>
16320
16321 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16322 entries.
16323
5be8418c
AS
163242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16325
e7725326
AS
16326 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16327 gen-libm-test.pl.
16328
5be8418c
AS
16329 [BZ #14132]
16330 * elf/dl-reloc.c: Include <_itoa.h>.
16331 (_dl_reloc_bad_type): Remove use of INTUSE.
16332 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16333 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16334 * stdio-common/psiginfo.c (psiginfo): Likewise.
16335 * stdio-common/psignal.c (psignal): Likewise.
16336 * string/strsignal.c (strsignal): Likewise.
16337 * include/signal.h (_sys_siglist): Declare hidden proto.
16338 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16339 INTVARDEF with libc_hidden_data_def.
16340 * stdio-common/itoa-udigits.c: Likewise.
16341 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16342 (_itoa_lower_digits_internal): Remove declaration.
16343 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16344 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16345 (_sys_sigabbrev_internal): Remove aliases.
16346 (_sys_siglist): Define hidden alias.
16347
507352f1
MT
163482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16349
16350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16351 bits/sysctl.h.
16352
42bbb1c3
L
163532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16354
16355 [BZ #14117]
6bd784b6
L
16356 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16357 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16358
8bca20f0
L
16359 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16360 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16361 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16362 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16364 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16365
f9e890a9
L
16366 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16367 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16368 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16369
471101a1
L
16370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16371 with __addr.
16372 (insw): Likewise.
16373 (insl): Likewise.
16374 (outsb): Likewise.
16375 (outsw): Likewise.
16376 (outsl): Likewise.
16377
6451c862
L
16378 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16381
a254b8c9
L
16382 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16383 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16384 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16385 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16386 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16387 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16388
b8dfdd92
L
16389 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16390 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16391
578cd270
L
16392 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16393 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16394
de662f5f
L
16395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16398
25653439
L
16399 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16400 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16401 to ...
16402 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16403
6bad24a0
L
16404 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16405 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16406 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16407
42bbb1c3
L
16408 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16409 for x86-64.
16410 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16411
2d10d547
JM
164122012-05-31 Joseph Myers <joseph@codesourcery.com>
16413
16414 * math/math.h (M_El): Use two more decimal places.
16415 (M_LOG2El): Likewise.
16416 (M_LOG10El): Likewise.
16417 (M_LN2l): Likewise.
16418 (M_LN10l): Likewise.
16419 (M_PIl): Likewise.
16420 (M_PI_2l): Likewise.
16421 (M_PI_4l): Likewise.
16422 (M_1_PIl): Likewise.
16423 (M_2_PIl): Likewise.
16424 (M_2_SQRTPIl): Likewise.
16425 (M_SQRT2l): Likewise.
16426 (M_SQRT1_2l): Likewise.
16427
f230c29b
DM
164282012-05-31 David S. Miller <davem@davemloft.net>
16429
16430 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16431 values between float registers.
16432 * sysdeps/sparc/sparc64/memset.S: Likewise.
16433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16434
fed806c3
MF
164352012-05-31 Mike Frysinger <vapier@gentoo.org>
16436
16437 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16438 -D_FORTIFY_SOURCE=1.
16439 (CPPFLAGS-tst-longjmp_chk.c): Define.
16440 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16441 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16442 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16443 CFLAGS-tst-wchar-h.c.
16444
30917259
MP
164452012-05-31 Marek Polacek <polacek@redhat.com>
16446
16447 [BZ #14132]
16448 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16449 __endmntent_internal): Remove declaration.
16450 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16451 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16452 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16453
1c58d5dc
DM
164542012-05-30 David S. Miller <davem@davemloft.net>
16455
16456 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16457 (___Q_simulate_exceptions): Use real FP ops rather than writing
16458 into the %fsr.
16459 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16460 Likewise.
16461
7dc00e0d
L
164622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16463
16464 [BZ #14117]
0bd53985
L
16465 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16466 * sysdeps/x86/bits/xtitypes.h: This.
16467
3a257e66
L
16468 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16469 * sysdeps/x86/bits/wordsize.h: This.
16470
62f62904
L
16471 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16472 * sysdeps/x86/bits/huge_vall.h: This.
16473
404fe9d9
L
16474 * sysdeps/i386/bits/select.h: Removed.
16475 * sysdeps/x86_64/bits/select.h: Renamed to ...
16476 * sysdeps/x86/bits/select.h: This.
16477
d48d0446
L
16478 * sysdeps/i386/bits/setjmp.h: Removed.
16479 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16480 * sysdeps/x86/bits/setjmp.h: This.
16481
7dc00e0d
L
16482 * sysdeps/i386/bits/mathdef.h: Removed.
16483 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16484 * sysdeps/x86/bits/mathdef.h: This.
16485
03277f8f
AS
164862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16487
16488 [BZ #14132]
16489 * include/sys/socket.h (__connect_internal)
16490 (__libc_sa_len_internal): Remove declaration.
16491 (__connect, __libc_sa_len): Declare hidden_proto.
16492 (SA_LEN): Remove use of INTUSE.
16493 * socket/connect.c: Add libc_hidden_def.
16494 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16495 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16496 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16497 alias.
16498 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16499 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16500 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16501 of adding _internal alias.
16502
13764867
L
165032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16504
16505 [BZ #14117]
6bd97696
L
16506 * sysdeps/i386/bits/link.h: Removed.
16507 * sysdeps/i386/bits/linkmap.h: Likewise.
16508 * sysdeps/x86_64/bits/link.h: Renamed to ...
16509 * sysdeps/x86/bits/link.h: This.
16510 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16511 * sysdeps/x86/bits/linkmap.h: This.
16512
f726f0bb
L
16513 * sysdeps/i386/bits/endian.h: Removed.
16514 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16515 * sysdeps/x86/bits/endian.h: This.
16516
13764867
L
16517 * sysdeps/i386/bits/byteswap.h: Removed.
16518 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16519 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16520 * sysdeps/x86/bits/byteswap.h: This.
16521 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16522 * sysdeps/x86/bits/byteswap-16.h: This.
16523 * sysdeps/i386/Implies: Add x86.
16524 * sysdeps/x86_64/Implies: Likewise.
16525
ae251b0b
DM
165262012-05-30 David S. Miller <davem@davemloft.net>
16527
16528 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16529 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16530 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16531 (FP_TRAPPING_EXCEPTIONS): Define.
16532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16533 (FP_TRAPPING_EXCEPTIONS): Define.
16534 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16535 subnormals only when inexact has been signalled or underflow
16536 exceptions are enabled.
16537 (_FP_PACK_CANONICAL): Likewise.
16538
d5c90867
L
165392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16540
16541 [BZ #14183]
16542 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16543 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16544
63f1549e
RH
165452012-05-30 Richard Henderson <rth@twiddle.net>
16546
8d8f2279
RH
16547 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16548 with #ifndef NOT_IN_libc.
16549
63f1549e
RH
16550 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16551 marked to avoid plt entry.
16552
0ab0291b
L
165532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16554
16555 [BZ #14112]
16556 * Makeconfig (default-abi): New macro.
16557 (abi-includes): Likewise.
16558 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16559 $(abi-$(default-abi)-lib-soname) for soname if defined.
16560 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16561 abi-variants.
16562 * Makefile (installed-stubs): Likewise.
16563 * include/stubs-biarch.h: Removed.
16564 * scripts/lib-names.awk: Only handle one library at a time.
16565 * scripts/soversions.awk: Remove WORDSIZE support.
16566 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16567 entries.
16568 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16569 Removed.
16570 (syscall-list-default-condition): Likewise.
16571 (syscall-list-default-condition): Likewise.
16572 (syscall-list-includes): Likewise.
16573 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16574 syscall-list-* with abi-*. Handle undefined abi-variants.
16575 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16576 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16577 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16578 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16579 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16580 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16581 Removed.
16582 (syscall-list-32-options): Likewise.
16583 (syscall-list-32-condition): Likewise.
16584 (syscall-list-64-options): Likewise.
16585 (syscall-list-64-condition): Likewise.
16586 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16587 macro.
16588 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16589 Renamed to ...
16590 (abi-*): This.
16591 (abi-64-ld-soname): New macro.
16592 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16593 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16594 Renamed to ...
16595 (abi-*): This.
16596 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16597 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16598
4da0431d
JM
165992012-05-30 Joseph Myers <joseph@codesourcery.com>
16600
3a85279c
JM
16601 * sysdeps/unix/sysv/linux/kernel-features.h
16602 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16603 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16604 include <kernel-features.h>.
16605 [!__NR_ftruncate64]: Remove conditional code.
16606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16607 [__NR_ftruncate64]: Make code unconditional.
16608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16609 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16610 include <kernel-features.h>.
16611 [!__NR_ftruncate64]: Remove conditional code.
16612 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16613 [__NR_ftruncate64]: Make code unconditional.
16614 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16616 include <kernel-features.h>.
16617 [!__NR_ftruncate64]: Remove conditional code.
16618 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16619 [__NR_ftruncate64]: Make code unconditional.
16620 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16622 include <kernel-features.h>.
16623 [!__NR_ftruncate64]: Remove conditional code.
16624 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16625 [__NR_ftruncate64]: Make code unconditional.
16626 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16627
4da0431d
JM
16628 * configure.in (libc_cv_fpie): Weaken to a compile test using
16629 LIBC_TRY_CC_OPTION.
16630 * configure: Regenerated.
16631
11ef492c
AK
166322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16633
16634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16638 Refreshed.
16639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16645 Refreshed.
16646
d66ef399
DM
166472012-05-27 David S. Miller <davem@davemloft.net>
16648
16649 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16650 (___Q_zero): New.
16651 (__Q_simulate_exceptions): Return void. Change to simulate
16652 exceptions by writing into the %fsr.
16653 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16654 (__Qp_handle_exceptions): Likewise.
16655 (numbers): Delete.
16656 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16657 __Qp_handle_exceptions.
16658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16659 __Qp_handle_exceptions.
16660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16661 as unused and give dummy FP_RND_NEAREST initializer.
16662 (FP_INHIBIT_RESULTS): Define.
16663 (___Q_simulate_exceptions): Update declaration.
16664 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16665 formatting.
16666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16667 as unused and give dummy FP_RND_NEAREST initializer.
16668 (__Qp_handle_exceptions): Update declaration.
16669 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16670 formatting.
16671
04fb54b5
TS
166722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16673
16674 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16675 the temporary FPU control word.
16676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16677 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16678 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16682 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16684 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16685 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16687
3f99608f
KK
166882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16689
16690 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16691 fields.
16692
65a4de4e
CLT
166932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16694
16695 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16696 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16697 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16698 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16699 Likewise.
16700 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16701 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16702 Likewise.
16703
15749d40
UD
167042012-05-27 Ulrich Drepper <drepper@gmail.com>
16705
16706 * po/h.po: Update from translation team.
16707
25dbcb27
AS
167082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16709
3d3f8e55
AS
16710 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16711
25dbcb27
AS
16712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16713 handling of denormals.
16714 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16715 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16716 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16717 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16721 Likewise.
16722
7ad47a80 167232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16724
16725 [BZ #14152]
16726 * math/libm-test.inc (fma_test): Don't always expect underflow
16727 exception.
16728
9c6ea9fa
SP
167292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16730
16731 [BZ #12416]
16732 * elf/tst-execstack.c: Include stackinfo.h.
16733 (do_test): Adjust test case to ensure that pthread_getattr_np
16734 behaviour remains the same after marking stack executable.
16735
a8239222
JM
167362012-05-25 Joseph Myers <joseph@codesourcery.com>
16737
16738 * sysdeps/unix/sysv/linux/kernel-features.h
16739 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16740 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16741 kernel-features.h.
16742 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16743 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16744 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16745 kernel-features.h.
16746 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16747 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16748
918b5606
L
167492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16750
16751 * configure.in: Define the default includes to being none.
16752 * configure: Regenerated.
16753
3a097cc7
RM
167542012-05-25 Roland McGrath <roland@hack.frob.com>
16755
8422c9a5
RM
16756 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16757 * sysdeps/x86_64/setjmp.S: Likewise.
16758 * sysdeps/i386/bsd-setjmp.S: Likewise.
16759 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16760 * sysdeps/i386/setjmp.S: Likewise.
16761 * sysdeps/i386/__longjmp.S: Likewise.
16762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16763 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16764
3a097cc7
RM
16765 * include/stap-probe.h: New file.
16766 * configure.in: Handle --enable-systemtap.
16767 * configure: Regenerated.
16768 * config.h.in (USE_STAP_PROBE): New #undef.
16769 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16770 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16771 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16772
21708942
JM
167732012-05-25 Joseph Myers <joseph@codesourcery.com>
16774
16775 [BZ #13717]
16776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16777 to 2.4.0 where earlier.
16778 * sysdeps/unix/sysv/linux/configure: Regenerated.
16779 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16780 <kernel-features.h>.
16781 [__ASSUME_32BITUIDS]: Make code unconditional.
16782 [!__ASSUME_32BITUIDS]: Remove conditional code.
16783 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16784 <kernel-features.h>.
16785 [__ASSUME_32BITUIDS]: Make code unconditional.
16786 [!__ASSUME_32BITUIDS]: Remove conditional code.
16787 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16788 [__ASSUME_32BITUIDS]: Make code unconditional.
16789 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16790 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16791 <kernel-features.h>.
16792 [__ASSUME_32BITUIDS]: Make code unconditional.
16793 [!__ASSUME_32BITUIDS]: Remove conditional code.
16794 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16795 <kernel-features.h>.
16796 [__ASSUME_32BITUIDS]: Make code unconditional.
16797 [!__ASSUME_32BITUIDS]: Remove conditional code.
16798 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16799 <kernel-features.h>.
16800 [__ASSUME_32BITUIDS]: Make code unconditional.
16801 [!__ASSUME_32BITUIDS]: Remove conditional code.
16802 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16803 <kernel-features.h>.
16804 [__ASSUME_32BITUIDS]: Make code unconditional.
16805 [!__ASSUME_32BITUIDS]: Remove conditional code.
16806 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16807 <kernel-features.h>.
16808 [__ASSUME_32BITUIDS]: Make code unconditional.
16809 [!__ASSUME_32BITUIDS]: Remove conditional code.
16810 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.c: Do not include
16819 <kernel-features.h>.
16820 [__ASSUME_32BITUIDS]: Make code unconditional.
16821 [!__ASSUME_32BITUIDS]: Remove conditional code.
16822 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16823 <kernel-features.h>.
16824 [__ASSUME_32BITUIDS]: Make code unconditional.
16825 [!__ASSUME_32BITUIDS]: Remove conditional code.
16826 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16827 <kernel-features.h>.
16828 [__ASSUME_32BITUIDS]: Make code unconditional.
16829 [!__ASSUME_32BITUIDS]: Remove conditional code.
16830 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16831 <kernel-features.h>.
16832 [__NR_setresgid] (__setresgid): Do not declare.
16833 [__ASSUME_32BITUIDS]: Make code unconditional.
16834 [!__ASSUME_32BITUIDS]: Remove conditional code.
16835 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16836 <kernel-features.h>.
16837 [__NR_setresuid] (__setresuid): Do not declare.
16838 [__ASSUME_32BITUIDS]: Make code unconditional.
16839 [!__ASSUME_32BITUIDS]: Remove conditional code.
16840 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16841 <kernel-features.h>.
16842 [__ASSUME_32BITUIDS]: Make code unconditional.
16843 [!__ASSUME_32BITUIDS]: Remove conditional code.
16844 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16845 <kernel-features.h>.
16846 [__ASSUME_32BITUIDS]: Make code unconditional.
16847 [!__ASSUME_32BITUIDS]: Remove conditional code.
16848 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16849 <kernel-features.h>.
16850 [__ASSUME_32BITUIDS]: Make code unconditional.
16851 [!__ASSUME_32BITUIDS]: Remove conditional code.
16852 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16853 <kernel-features.h>.
16854 [__ASSUME_32BITUIDS]: Make code unconditional.
16855 [!__ASSUME_32BITUIDS]: Remove conditional code.
16856 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16857 <kernel-features.h>.
16858 [__ASSUME_32BITUIDS]: Make code unconditional.
16859 [!__ASSUME_32BITUIDS]: Remove conditional code.
16860 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16861 <kernel-features.h>.
16862 [__ASSUME_32BITUIDS]: Make code unconditional.
16863 [!__ASSUME_32BITUIDS]: Remove conditional code.
16864 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16865 <kernel-features.h>.
16866 [__ASSUME_32BITUIDS]: Make code unconditional.
16867 [!__ASSUME_32BITUIDS]: Remove conditional code.
16868 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16869 <kernel-features.h>.
16870 [__ASSUME_32BITUIDS]: Make code unconditional.
16871 [!__ASSUME_32BITUIDS]: Remove conditional code.
16872 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16873 <kernel-features.h>.
16874 [__ASSUME_32BITUIDS]: Make code unconditional.
16875 [!__ASSUME_32BITUIDS]: Remove conditional code.
16876 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16877 <kernel-features.h>.
16878 [__ASSUME_32BITUIDS]: Make code unconditional.
16879 [!__ASSUME_32BITUIDS]: Remove conditional code.
16880 * sysdeps/unix/sysv/linux/kernel-features.h
16881 (__ASSUME_SETRESUID_SYSCALL): Remove.
16882 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16883 (__ASSUME_32BITUIDS): Likewise.
16884 (__ASSUME_LDT_WORKS): Likewise.
16885 (__ASSUME_O_DIRECTORY): Likewise.
16886 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16887 architecture but not kernel version.
16888 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16889 (__ASSUME_MMAP2_SYSCALL): Likewise.
16890 (__ASSUME_STAT64_SYSCALL): Likewise.
16891 (__ASSUME_IPC64): Likewise.
16892 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16893 <kernel-features.h>.
16894 [__ASSUME_32BITUIDS]: Make code unconditional.
16895 [!__ASSUME_32BITUIDS]: Remove conditional code.
16896 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16897 <kernel-features.h>.
16898 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16899 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16900 132096]: Remove conditional code.
16901 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16902 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16903 <kernel-features.h>.
16904 [__ASSUME_32BITUIDS]: Make code unconditional.
16905 [!__ASSUME_32BITUIDS]: Remove conditional code.
16906 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16907 <kernel-features.h>.
16908 [__ASSUME_32BITUIDS]: Make code unconditional.
16909 [!__ASSUME_32BITUIDS]: Remove conditional code.
16910 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16911 <kernel-features.h>.
16912 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16913 unconditional.
16914 (__setresgid): Do not declare.
16915 [__ASSUME_32BITUIDS]: Make code unconditional.
16916 [!__ASSUME_32BITUIDS]: Remove conditional code.
16917 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16918 <kernel-features.h>.
16919 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16920 unconditional.
16921 (__setresuid): Do not declare.
16922 [__ASSUME_32BITUIDS]: Make code unconditional.
16923 [!__ASSUME_32BITUIDS]: Remove conditional code.
16924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16925 <kernel-features.h>.
16926 [__ASSUME_32BITUIDS]: Make code unconditional.
16927 [!__ASSUME_32BITUIDS]: Remove conditional code.
16928 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16929 <kernel-features.h>.
16930 [__ASSUME_32BITUIDS]: Make code unconditional.
16931 [!__ASSUME_32BITUIDS]: Remove conditional code.
16932
a386f1cc
RH
169332012-05-25 Richard Henderson <rth@twiddle.net>
16934
16935 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16936 dl_hwcap to ifunc resolver.
16937 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16938 elf_ifunc_invoke.
16939 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16940 dl_hwcap to ifunc resolver.
16941 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16942
b6550497
JM
169432012-05-24 Joseph Myers <joseph@codesourcery.com>
16944
16945 [BZ #14153]
16946 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16947 for |x| <= 2**-26, not 2**-57.
16948 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16949 exception.
16950
b0bc23a1
JL
169512012-05-24 Jeff Law <law@redhat.com>
16952
16953 * stdio-common/Makefile (tests): Add bug25.
16954 * stdio-common/bug25.c: New test.
16955
347c92e9
L
169562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16957
16958 [BZ #13576]
16959 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16960 multiple of MALLOC_ALIGNMENT in size.
16961 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16962
6bcc8b3f
JM
169632012-05-24 Joseph Myers <joseph@codesourcery.com>
16964
16965 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16966 Require >= 256.
16967 (FILENAME_MAX): Use macro-int-constant.
16968 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16969 (_IOFBF): Use macro-int-constant.
16970 (_IOLBF): Likewise.
16971 (_IONBF): Likewise.
16972 (SEEK_CUR): Likewise.
16973 (SEEK_END): Likewise.
16974 (SEEK_SET): Likewise.
16975 (TMP_MAX): Likewise.
16976 (EOF): Use macro-int-constant. Require < 0.
16977 (NULL): Use macro-constant. Require == 0.
16978 (stdin): Require type to be FILE *.
16979 (stdout): Likewise.
16980 (stderr): Likewise.
16981 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16982 macro-int-constant.
16983 (EXIT_SUCCESS): Likewise.
16984 (NULL): Use macro-constant. Require == 0.
16985 (RAND_MAX): Use macro-int-constant.
16986 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16987 [C99-based standards] (strtof): Require function.
16988 [C99-based standards] (strtold): Likewise.
16989 [C99-based standards] (strtoll): Likewise.
16990 [C99-based standards] (strtoull): Likewise.
16991 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16992 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16993 [ISO || ISO99 || ISO11] (math.h): Likewise.
16994 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16995 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16997
d18ea0c5
AS
169982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16999
17000 [BZ #14132]
56d25bb8
AS
17001 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17002 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17003 * intl/dgettext.c (DCGETTEXT): Likewise.
17004 * intl/gettext.c (DCGETTEXT): Likewise.
17005 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17006 * posix/regex_internal.h (gettext): Likewise.
17007 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17008 Remove declaration.
17009 * include/argz.h (__argz_count_internal)
17010 (__argz_stringify_internal): Remove declaration.
17011 (__argz_count, __argz_stringify): Declare hidden proto.
17012 * intl/dcgettext.c: Remove use of INTDEF.
17013 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17014 * string/argz-stringify.c: Likewise.
17015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17017 Declare hidden proto.
d18ea0c5
AS
17018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17020 Declare hidden proto.
17021 * include/stdio.h (__asprintf_internal): Don't declare.
17022 (__asprintf): Don't define as macro. Declare hidden proto.
17023 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17024 (__fsetlocking): Declare hidden proto.
17025 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17026 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17027 hidden proto.
17028 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17029 (_IO_setlinebuf): Remove use of INTUSE.
17030 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17031 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17032 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17033 Remove declaration.
17034 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17035 (_IO_do_flush): Remove use of INTUSE.
17036 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17037 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17038 (_IO_adjust_column, _IO_least_wmarker)
17039 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17040 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17041 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17042 (_IO_default_doallocate, _IO_wdefault_doallocate)
17043 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17044 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17045 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17046 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17047 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17048 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17049 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17050 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17051 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17052 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17053 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17054 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17055 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17056 proto.
17057 (_IO_flush_all_internal, _IO_adjust_column_internal)
17058 (_IO_default_uflow_internal, _IO_default_finish_internal)
17059 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17060 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17061 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17062 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17063 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17064 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17065 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17066 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17067 (_IO_file_close_internal, _IO_file_close_it_internal)
17068 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17069 (_IO_file_init_internal, _IO_file_attach_internal)
17070 (_IO_file_fopen_internal, _IO_file_read_internal)
17071 (_IO_file_sync_internal, _IO_file_seek_internal)
17072 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17073 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17074 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17075 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17076 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17077 (_IO_list_all_internal, _IO_link_in_internal)
17078 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17079 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17080 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17081 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17082 (_IO_do_write_internal, _IO_padn_internal)
17083 (_IO_getline_info_internal, _IO_getline_internal)
17084 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17085 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17086 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17087 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17088 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17089 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17090 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17091 with libc_hidden_ver, remove use of INTUSE.
17092 * libio/genops.c: Likewise.
17093 * libio/freopen.c: Likewise.
17094 * libio/freopen64.c: Likewise.
17095 * libio/iofclose.c: Likewise.
17096 * libio/iofdopen.c: Likewise.
17097 * libio/iofflush.c: Likewise.
17098 * libio/iofflush_u.c: Likewise.
17099 * libio/iofgets.c: Likewise.
17100 * libio/iofgets_u.c: Likewise.
17101 * libio/iofopen.c: Likewise.
17102 * libio/iofopncook.c: Likewise.
17103 * libio/iofread.c: Likewise.
17104 * libio/iofread_u.c: Likewise.
17105 * libio/ioftell.c: Likewise.
17106 * libio/iofwrite.c: Likewise.
17107 * libio/iogetline.c: Likewise.
17108 * libio/iogets.c: Likewise.
17109 * libio/iogetwline.c: Likewise.
17110 * libio/iopadn.c: Likewise.
17111 * libio/iopopen.c: Likewise.
17112 * libio/ioseekoff.c: Likewise.
17113 * libio/ioseekpos.c: Likewise.
17114 * libio/iosetbuffer.c: Likewise.
17115 * libio/iosetvbuf.c: Likewise.
17116 * libio/ioungetc.c: Likewise.
17117 * libio/ioungetwc.c: Likewise.
17118 * libio/iovdprintf.c: Likewise.
17119 * libio/iovsprintf.c: Likewise.
17120 * libio/iovsscanf.c: Likewise.
17121 * libio/memstream.c: Likewise.
17122 * libio/obprintf.c: Likewise.
17123 * libio/oldfileops.c: Likewise.
17124 * libio/oldiofclose.c: Likewise.
17125 * libio/oldiofdopen.c: Likewise.
17126 * libio/oldiofopen.c: Likewise.
17127 * libio/oldiopopen.c: Likewise.
17128 * libio/oldstdfiles.c: Likewise.
17129 * libio/putc.c: Likewise.
17130 * libio/setbuf.c: Likewise.
17131 * libio/setlinebuf.c: Likewise.
17132 * libio/stdfiles.c: Likewise.
17133 * libio/strops.c: Likewise.
17134 * libio/vasprintf.c: Likewise.
17135 * libio/vscanf.c: Likewise.
17136 * libio/vsnprintf.c: Likewise.
17137 * libio/vswprintf.c: Likewise.
17138 * libio/wfiledoalloc.c: Likewise.
17139 * libio/wfileops.c: Likewise.
17140 * libio/wgenops.c: Likewise.
17141 * libio/wmemstream.c: Likewise.
17142 * libio/wstrops.c: Likewise.
17143 * libio/__fpurge.c: Likewise.
17144 * libio/__fsetlocking.c: Likewise.
17145 * assert/assert.c: Likewise.
17146 * debug/fgets_chk.c: Likewise.
17147 * debug/fgets_u_chk.c: Likewise.
17148 * debug/fread_chk.c: Likewise.
17149 * debug/fread_u_chk.c: Likewise.
17150 * debug/gets_chk.c: Likewise.
17151 * debug/obprintf_chk.c: Likewise.
17152 * debug/vasprintf_chk.c: Likewise.
17153 * debug/vdprintf_chk.c: Likewise.
17154 * debug/vsnprintf_chk.c: Likewise.
17155 * debug/vsprintf_chk.c: Likewise.
17156 * malloc/mtrace.c: Likewise.
17157 * misc/error.c: Likewise.
17158 * misc/syslog.c: Likewise.
17159 * stdio-common/asprintf.c: Likewise.
17160 * stdio-common/fxprintf.c: Likewise.
17161 * stdio-common/getw.c: Likewise.
17162 * stdio-common/isoc99_fscanf.c: Likewise.
17163 * stdio-common/isoc99_scanf.c: Likewise.
17164 * stdio-common/isoc99_vfscanf.c: Likewise.
17165 * stdio-common/isoc99_vscanf.c: Likewise.
17166 * stdio-common/isoc99_vsscanf.c: Likewise.
17167 * stdio-common/printf-prs.c: Likewise.
17168 * stdio-common/printf_fp.c: Likewise.
17169 * stdio-common/printf_fphex.c: Likewise.
17170 * stdio-common/printf_size.c: Likewise.
17171 * stdio-common/putw.c: Likewise.
17172 * stdio-common/scanf.c: Likewise.
17173 * stdio-common/sprintf.c: Likewise.
17174 * stdio-common/tmpfile.c: Likewise.
17175 * stdio-common/vfprintf.c: Likewise.
17176 * stdio-common/vfscanf.c: Likewise.
17177 * stdlib/strfmon_l.c: Likewise.
17178 * sunrpc/openchild.c: Likewise.
17179 * sunrpc/xdr_stdio.c: Likewise.
17180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17181 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17182
d6c33fda
RM
171832012-05-24 Roland McGrath <roland@hack.frob.com>
17184
c1487492
RM
17185 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17186
17187 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17188 in the third column, to generate for the shared library an IFUNC
17189 that uses _dl_vdso_vsym.
17190 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17191 * Makeconfig (object-suffixes-noshared): New variable.
17192
17193 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17194 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17195 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17196 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17197
d6c33fda
RM
17198 [BZ #14132]
17199 * include/sys/time.h (__gettimeofday): Remove macro.
17200 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17201 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17202 Remove INTDEF.
17203 (__gettimeofday): Add libc_hidden_def.
17204 (gettimeofday): Add libc_hidden_weak.
17205 * sysdeps/mach/gettimeofday.c: Likewise.
17206 * sysdeps/posix/gettimeofday.c: Likewise.
17207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17208 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17210 (__gettimeofday_internal): Remove strong_alias.
17211 (__gettimeofday): Add libc_hidden_def.
17212 (gettimeofday): Add libc_hidden_weak.
17213 * sysdeps/unix/syscalls.list (gettimeofday):
17214 Remove __gettimeofday_internal alias.
17215
b5a2bbe6
L
172162012-05-24 Daniel Jacobowitz <drow@false.org>
17217 H.J. Lu <hongjiu.lu@intel.com>
17218
17219 [BZ #12495]
17220 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17221 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17222 (largebin_index_32_big): New.
17223 (largebin_index): Use it for 16-byte alignment.
17224 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17225 correction with front_misalign.
17226
cfba4fda
L
172272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17228
7f907421
L
17229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17231 Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17233 Likewise.
17234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17235 Likewise.
17236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17237 Likewise.
17238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17239 Likewise.
17240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17241 Likewise.
17242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17243 Likewise.
17244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17245 Likewise.
17246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17247 Likewise.
17248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17249 Likewise.
17250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17251 Likewise.
17252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17253 Likewise.
17254
cfba4fda
L
17255 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17256 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17257
80bad0cc
JM
172582012-05-24 Joseph Myers <joseph@codesourcery.com>
17259
7a25eb06
JM
17260 [BZ #10846]
17261 [BZ #14036]
17262 * math/libm-test.inc (exp_test): Add test from bug 14036.
17263 (pow_test): Add test from bug 10846.
17264
795405f9
JM
17265 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17266 and other flags.
17267 (special_function): Do not include flags in test name.
17268 (parse_args): Likewise.
17269 * sysdeps/i386/fpu/libm-test-ulps: Update.
17270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17274
80bad0cc
JM
17275 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17276 exceptions.
17277 * math/libm-test.inc ("Philosophy"): Update comment about
17278 exception testing.
17279 (UNDERFLOW_EXCEPTION): New macro.
17280 (UNDERFLOW_EXCEPTION_OK): Likewise.
17281 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17282 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17283 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17284 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17285 (INVALID_EXCEPTION_OK): Update value.
17286 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17287 (OVERFLOW_EXCEPTION_OK): Likewise.
17288 (IGNORE_ZERO_INF_SIGN): Likewise.
17289 (test_exceptions): Handle underflow exceptions.
17290 (acos_test): Update for underflow exception expectations.
17291 (cexp_test): Likewise.
17292 (clog_test): Likewise.
17293 (clog10_test): Likewise.
17294 (csqrt_test): Likewise.
17295 (ctan_test): Likewise.
17296 (ctanh_test): Likewise.
17297 (exp_test): Likewise.
17298 (exp10_test): Likewise.
17299 (exp2_test): Likewise.
17300 (expm1_test): Likewise.
17301 (fma_test): Likewise.
17302 (j0_test): Likewise.
17303 (jn_test): Likewise.
17304 (nexttoward_test): Likewise.
17305 (pow_test): Likewise.
17306 (scalbn_test): Likewise.
17307 (scalbln_test): Likewise.
17308 (tan_test): Likewise.
17309 (y1_test): Likewise.
17310 * sysdeps/i386/fpu/libm-test-ulps: Update.
17311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17312
9e0e3d0b
DM
173132012-05-23 David S. Miller <davem@davemloft.net>
17314
17315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17316 (__libc_sigaction): Remove unused local variables.
17317
ccd0a08f
L
173182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17321
62bdf9a6
PE
173222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17323
f8591f80
PE
17324 mktime: avoid signed integer overflow
17325 * time/mktime.c (__mktime_internal): Do not mishandle the case
17326 where diff == INT_MIN.
17327
94c7d826
PE
17328 mktime: simplify computation of average
17329 * time/mktime.c (ranged_convert): Use new time_t_avg function
17330 instead of rolling our own (probably-slower) code.
17331
ce73d683
PE
17332 mktime: do not assume signed right shift propagates sign bit
17333 * time/mktime.c (isdst_differ): New static function.
17334 (__mktime_internal): No need to normalize tm_isdst now.
17335 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17336 tm_isdst values.
17337
72a22e59
PE
17338 mktime: merge another wrapv change from gnulib
17339 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17340 from some compilers.
17341
68605433
PE
17342 mktime: remove incorrect attempt at unusual arithmetics
17343 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17344 The code didn't really work on such machines anyway.
17345 (TYPE_MINIMUM): Assume two's complement.
17346 (twos_complement_arithmetic): Verify that long_int and time_t
17347 are two's complement (or unsigned, in the latter case).
17348
03cf7fe3
PE
17349 mktime: check signed shifts on long_int and time_t, too
17350 * time/mktime.c (SHR): Check that shifts work as desired
17351 on the types long_int and time_t too, as SHR is used on
17352 such types.
17353
f04dfbc2
PE
17354 mktime: do not assume 'long' is wide enough
17355 * time/mktime.c (verify): Move decl up.
17356 (long_int): New type.
17357 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17358 to remove assumption in the code that 'long' is wide enough to
17359 store year values. This assumption is not true on x32 and on
17360 some non-glibc platforms.
17361
62bdf9a6
PE
17362 mktime: merge wrapv change from gnulib
17363 * time/mktime.c (WRAPV): New macro.
17364 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17365 (guess_time_tm, __mktime_internal): Do not assume that signed
17366 integer overflow wraps around; modern compilers generate code
17367 where this assumption is no longer valid.
17368
5e292e4f
L
173692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17370
17371 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17372 Replace "jmp L(pseudo_end)" with "ret".
17373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17374 Likewise.
17375
8caf8c87
AJ
173762012-05-23 Andreas Jaeger <aj@suse.de>
17377
17378 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17379 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17380
1a09dc56
AJ
173812012-05-23 Andreas Jaeger <aj@suse.de>
17382 Maximilian Attems <max@stro.at>
17383
17384 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17385 New macros.
17386
1c87aba0
L
173872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17388
17389 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17390 code so that pseudo_end is just ret and the stack pointer is
17391 correct also for static library in error case.
17392
40e45bd5
JM
173932012-05-23 Joseph Myers <joseph@codesourcery.com>
17394
c2670533
JM
17395 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17396 move to syscalls.list.
17397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17401
40e45bd5
JM
17402 * manual/install.texi (Running make install): Do not mention Linux
17403 kernel version for which pt_chown is not needed.
17404 (Linux): Do not mention problems with nscd with 2.0 kernels.
17405 * INSTALL: Regenerated.
17406
be08eda5
AJ
174072012-05-23 Andreas Jaeger <aj@suse.de>
17408
17409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17410 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17411 macro.
17412 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17414 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17416 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17422 * sysdeps/unix/sysv/linux/bits/in.h
17423 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17424
a6a056bb
RM
174252012-05-22 Roland McGrath <roland@hack.frob.com>
17426
17427 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17428 (PREPARE_VERSION): Just use assert instead, it will be elided
17429 under [NDEBUG] anyway.
17430
c9009328
L
174312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17432
17433 * sysdeps/unix/sysv/linux/Makefile: Include
17434 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17435 (sysdep_routines): Remove sysctl.
c9009328
L
17436 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17437 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17438 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17439 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17440 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17441
73338355
AJ
174422012-05-22 Andreas Jaeger <aj@suse.de>
17443
17444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17445 that pseudo_end is just ret and the stack pointer is correct also
17446 for static library in error case.
17447
d44638b0
PP
174482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17449
17450 [BZ #14122]
17451 * nss/nsswitch.c (defconfig_entries): New variable.
17452 (__nss_database_lookup): Don't leak defconfig entries.
17453 (nss_parse_service_list): Don't leak on error paths.
17454 (free_database_entries): New function.
17455 (free_defconfig): New function.
17456 (free_mem): Move common code to free_database_entries.
17457
31a39bd8
L
174582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17459
da0331a8
L
17460 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17461 Add arch_prctl.
17462 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17463
31a39bd8
L
17464 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17465 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17467 New macro.
17468 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17469 (INTERNAL_SYSCALL_TYPES): Likewise.
17470 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17471 (LOAD_REGS_TYPES_[1-6]): Likewise.
17472 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17473 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17474
45470df3
AZ
174752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17476
17477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17478 copysignl for GLIBC_2_0.
17479 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17480 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17482 logbl for GLIBC_2_0.
17483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17484 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17485
98a61bcb
L
174862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17487
a4f6e481
L
17488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17490
f63d5db6
L
17491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17492 Use "neg %eax".
17493
98a61bcb
L
17494 * time/mktime.c: Update copyright years.
17495
95770f14
PE
174962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17497
6226efbd
PE
17498 mktime: merge comment-quoting-style change from gnulib
17499 * time/mktime.c: Quote 'like this' in comments.
17500 The GNU coding standards suggest that we no longer quote `like this',
17501 as "`" and "'" are typically rendered asymmetrically nowadays.
17502 The typical gnulib style is to quote 'like this' when quoting
17503 code, and "like this" when quoting English.
17504
b99e4f78
PE
17505 * time/mktime.c (compile-command): Add "-I.".
17506
643e01e6
PE
17507 mktime: merge mktime-internal.h change from gnulib
17508 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17509
2554247d
PE
17510 mktime: merge time_r change from gnulib
17511 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17512
826dd0ab
PE
17513 mktime: merge DEBUG change from gnulib
17514 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17515 case system <time.h> has a #define.
17516
bd83aabe
PE
17517 mktime: merge <sys/types.h> change from gnulib
17518 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17519 since <time.t> is now guaranteed to define time_t.
17520
95770f14
PE
17521 mktime: merge HAVE_CONFIG_H change from gnulib
17522 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17523
5e1a27a9
L
175242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17525
0e44a77e
L
17526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17527 Use "neg %eax".
17528
5e1a27a9
L
17529 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17530 __rlim_t cast.
17531 (struct rusage): Use anonymous union to pad each field to
17532 __syscall_slong_t.
17533
46259bec
DM
175342012-05-21 David S. Miller <davem@davemloft.net>
17535
17536 * Makefules (o-iterator): Remove .s cases.
17537 (compile-command.s): Delete.
17538 (COMPILE.s): Delete.
17539 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17540
59f0c22e
JM
175412012-05-21 Joseph Myers <joseph@codesourcery.com>
17542
17543 * configure.in (libc_cv_predef_stack_protector): Only consider
17544 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17545 * configure: Regenerated.
17546
20c07380
L
175472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17548
bbb3154b
L
17549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17550 New macro. Use R*LP on int and pointer.
17551 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17552 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17553 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17554 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17555
20c07380
L
17556 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17557 [__WORDSIZE_TIME64_COMPAT32] instead of
17558 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17559 (struct utmp): Likewise.
17560 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17561 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17562 Renamed to ...
17563 (__WORDSIZE_TIME64_COMPAT32): This.
17564 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17565 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17566 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17567 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17568 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17569 (__WORDSIZE_TIME64_COMPAT32): New macro.
17570
d8d1017e
AJ
175712012-05-21 Andreas Jaeger <aj@suse.de>
17572
17573 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17574 only if [SHARED]. Add prototype for __wcschr_ia32.
17575
6c7fb145
RM
175762012-05-21 Roland McGrath <roland@hack.frob.com>
17577
17578 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17579 of %rbp unmolested in the jmp_buf while mangling the low bits.
17580 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17581 unmolested high bits of %rbp while demangling the low bits.
17582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17583
66274218
AJ
175842012-05-21 Andreas Jaeger <aj@suse.de>
17585
07c58f8f
AJ
17586 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17587 * sunrpc/svc_simple.c: Use it for registerrpc.
17588 * sunrpc/xcrypt.c: Use it for passwd2des.
17589
66274218
AJ
17590 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17591
61f65140
L
175922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17593
17594 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17595 Don't define if [__SYSCALL_WORDSIZE != 32].
17596 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17597 New macro.
17598
5fefb436
AJ
175992012-05-21 Bruno Haible <bruno@clisp.org>
17600 Andreas Jaeger <aj@suse.de>
17601
17602 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17603 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17604 inptr and inend for must_buffer_ch.
17605 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17606 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17607 * stdio-common/Makefile (tests): Remove bug15.
17608 (bug15-ENV): Remove macro.
17609 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17610 anymore.
17611
d8e272ab
AJ
176122012-05-19 Andreas Jaeger <aj@suse.de>
17613 Roland McGrath <roland@hack.frob.com>
17614
17615 * manual/contrib.texi: Completely rewritten. It contains now an
17616 alphabetical list of contributors and their contributions.
17617
4a56a162
RH
176182012-05-21 Richard Henderson <rth@twiddle.net>
17619
17620 * misc/getauxval.c (__getauxval): Use unsigned long int.
17621 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17622 (getauxval): Use unsigned long int.
17623
d024d23c
L
176242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17625
17626 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17627
cbc00a03
RM
176282012-05-21 Roland McGrath <roland@hack.frob.com>
17629
17630 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17631 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17632 __alignof__ (long double).
17633
478143fa
AZ
176342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17635
17636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17637
c7683a6d
RH
176382012-05-20 Richard Henderson <rth@twiddle.net>
17639
17640 * misc/getauxval.c: New file.
17641 * misc/sys/auxv.h: New file.
17642 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17643 (routines): Add getauxval.
17644 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17646 * elf/dl-sysdep.c (_dl_auxv): Remove.
17647 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17648 * elf/dl-support.c (_dl_auxv): New variable.
17649 (_dl_aux_init): Initialize it.
17650 * manual/startup.texi (Auxiliary Vector): New node.
17651 * sysdeps/generic/bits/hwcap.h: New file.
17652 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17653 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17654 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17655 * sysdeps/sparc/sysdep.h: ... here. Include it.
17656 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17659 Update.
c7683a6d
RH
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17668
a6f1845d
AZ
176692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17670
17671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17672
cbcbe830
DM
176732012-05-19 David S. Miller <davem@davemloft.net>
17674
17675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17676
e0b16cc2
JM
176772012-05-19 Joseph Myers <joseph@codesourcery.com>
17678
17679 [BZ #14123]
17680 * math/s_ccosh.c: Include <float.h>
17681 (__ccosh): Avoid internal overflow calculating sinh and cosh
17682 values before multiplying by sin and cos values.
17683 * math/s_ccoshf.c: Likewise.
17684 * math/s_ccoshl.c: Likewise.
17685 * math/s_csin.c: Likewise.
17686 * math/s_csinf.c: Likewise.
17687 * math/s_csinl.c: Likewise.
17688 * math/s_csinh.c: Likewise.
17689 * math/s_csinhf.c: Likewise.
17690 * math/s_csinhl.c: Likewise.
17691 * math/libm-test.inc (ccos_test): Add more tests.
17692 (ccosh_test): Likewise.
17693 (csin_test): Likewise.
17694 (csinh_test): Likewise.
17695 * sysdeps/i386/fpu/libm-test-ulps: Update.
17696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17697
6ad13e08
L
176982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17699
f66f0ce8
L
17700 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17701 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17702
6ad13e08
L
17703 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17704
b1d072a7
JM
177052012-05-19 Joseph Myers <joseph@codesourcery.com>
17706
17707 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17708 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17709 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17710 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17711 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17712 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17713 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17714 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17715 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17716 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17717 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17718 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17719 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17720 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17721 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17722 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17723 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17724 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17725 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17726 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17727 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17728 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17729 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17730 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17731 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17732 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17733 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17734 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17735 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17736 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17737 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17738
9eae47cb
AJ
177392012-05-18 Andreas Jaeger <aj@suse.de>
17740
17741 * csu/.gitignore: Delete.
17742
bb07f69f
L
177432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17744
17745 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17746 (timex): Use __syscall_slong_t.
17747
e6bdb741
AJ
177482012-05-18 Andreas Jaeger <aj@suse.de>
17749 Carlos O'Donell <carlos_odonell@mentor.com>
17750
17751 * manual/install.texi (Configuring and compiling): Update
17752 description about files modified in the source directory.
d6c33fda 17753 * INSTALL: Regenerated.
e6bdb741 17754
1b74487e
L
177552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17758 value. Use "or" to set return value to -1.
17759 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17760 negate return value.
17761
a88b64b9
TMQMF
177622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17763
17764 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17765 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17766 failure if the compiler has Graphite support disabled.
17767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17768 Likewise.
17769 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17770 CFLAGS-memmove.c): Likewise.
17771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17772 Likewise.
17773
3707636e
L
177742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17775
610b8622
L
17776 * sysdeps/x86_64/x32/_itoa.h: New file.
17777
7cd195df
L
17778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17779 getdents system call only if kernel and user dirents have the
17780 same d_ino and d_off.
17781
94b07d20
L
17782 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17783 LLONG_MAX != LONG_MAX.
17784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17785 (_fitoa_word): Likewise.
17786
18298070
L
17787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17788 years.
17789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17791 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17792
553c7ea4
L
17793 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17794 include <bits/wordsize.h>. Check __x86_64__ instead of
17795 __WORDSIZE.
17796 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17797 if __x86_64__ is defined. Use anonymous union on fpstate.
17798
3707636e
L
17799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17800 anonymous union.
17801
b53ef01a
AS
178022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17803
37fb1dc0
AS
17804 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17805 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17806 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17807 Refer to _rtld_local_ro instead of _rtld_global_ro.
17808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17809 Likewise.
17810 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17811 Likewise.
17812 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17813 Likewise.
17814 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17815 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17816 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17817
b53ef01a
AS
17818 * sysdeps/powerpc/powerpc32/dl-machine.c
17819 (__elf_machine_runtime_setup) [PROF]: Don't reference
17820 _dl_prof_resolve.
17821
7a185db2
AJ
178222012-05-18 Andreas Jaeger <aj@suse.de>
17823
17824 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17825 function only available for GCCs before 3.4 since GCC 3.4
17826 introduced a builtin.
17827 (lrint): Likewise.
17828 (llrintf): Likewise.
17829 (llrint): Likewise.
17830 (fmaxf): Likewise.
17831 (fmax): Likewise.
17832 (fminf): Likewise.
17833 (fmin): Likewise.
17834 (rint): Likewise.
17835 (rintf): Likewise.
17836 (nearbyint): Likewise.
17837 (nearbyintf): Likewise.
17838 (ceil): Likewise.
17839 (ceilf): Likewise.
17840 (floor): Likewise.
17841 (floorf): Likewise.
17842
3e5aef87
L
178432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17844
428bd707
L
17845 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17846 on both fields and cast pointer to __syscall_ulong_t.
17847
3e5aef87
L
17848 * bits/types.h (__fsword_t): New type.
17849 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17850 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17852 (__FSWORD_T_TYPE): Likewise.
17853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17854 (__FSWORD_T_TYPE): Likewise.
17855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17856 (__FSWORD_T_TYPE): Likewise.
17857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17858 (__FSWORD_T_TYPE): Likewise.
17859 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17860 __SWORD_TYPE with __fsword_t.
17861 (statfs64): Likewise.
17862
1ba7c3dc
DM
178632012-05-17 David S. Miller <davem@davemloft.net>
17864
17865 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17866
59910343
AJ
178672012-05-17 Andreas Jaeger <aj@suse.de>
17868
17869 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17870 warning.
17871
2e4c1e9e
L
178722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17873
17874 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17875
de7f5ce7
AJ
178762012-05-17 Andreas Jaeger <aj@suse.de>
17877
17878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17879 when it is used.
17880
286abc3d
CM
178812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17882
17883 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17884
477cc68e
L
178852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17886
17887 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17888 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17889
1a0994f5
CD
178902012-05-17 Andreas Jaeger <aj@suse.de>
17891 Carlos O'Donell <carlos_odonell@mentor.com>
17892
17893 [BZ #14059]
17894 * sysdeps/x86_64/multiarch/init-arch.h
17895 (bit_YMM_Usable): Rename to...
17896 (bit_AVX_Usable): ... this.
17897 (bit_FMA4_Usable): New macro.
17898 (bit_XMM_state): New macro.
17899 (bit_YMM_state): New macro.
17900 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17901 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17902 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17903 (CPUID_OSXSAVE): New macro.
17904 (CPUID_AVX): New macro.
17905 (CPUID_FMA4): New macro.
17906 (index_YMM_Usable): Rename to...
17907 (index_AVX_Usable): ... this.
17908 (HAS_AVX): Use HAS_ARCH_FEATURE.
17909 (HAS_FMA4): Likewise.
17910 (HAS_YMM_USABLE): Remove.
17911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17912 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17913 are present.
17914 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17915 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17916 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17917 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17918 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17919
0af797de
CM
179202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17921
17922 * math/libm-test.c: Support platforms without multiple rounding modes.
17923 * math/bug-nextafter.c: Support platforms without FP exceptions.
17924 * math/bug-nexttoward.c: Likewise.
17925 * math/test-fenv.c: Likewise.
17926 * math/test-misc.c: Likewise.
17927 * stdlib/bug-getcontext.c: Likewise.
17928
e39745ff
AJ
179292012-05-17 Andreas Jaeger <aj@suse.de>
17930
17931 * manual/examples/search.c (critter_cmp): Change signature to
17932 avoid warnings.
17933 * manual/string.texi (Collation Functions): Likewise.
17934
48970aba
L
179352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 * bits/types.h: Fold copyright years.
17938 * bits/typesizes.h: Likewise.
17939 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17943 * time/time.h: Likewise.
17944
bedee953
PP
179452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17946
17947 [BZ #208]
17948 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17949 in instead of returning them. Return void.
17950 (__libc_mallinfo): Accumulate over all arenas.
17951 (__malloc_stats): Adjust for change in int_mallinfo interface.
17952
61653dfb
RM
179532012-05-16 Roland McGrath <roland@hack.frob.com>
17954
30b99d79
RM
17955 [BZ #10375]
17956 * configure.in (NM): Add AC_CHECK_TOOL for it.
17957 (libc_extra_cflags): New substituted variable.
17958 Check for -fstack-protector being used implicitly.
17959 * configure: Regenerated.
17960 * config.make.in (config-extra-cflags): New variable,
17961 gets @libc_extra_cflags@.
17962 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17963
61653dfb
RM
17964 [BZ #10375]
17965 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17966 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17967 * configure: Regenerated.
17968 * config.make.in (CPPUNDEFS): New substituted variable.
17969 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17970 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17971 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17972
661768bb
L
179732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17974
17975 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17976 (mq_attr): Use __syscall_slong_t.
17977
d4261567
L
179782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17979
17980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17981 Check __x86_64__ instead of __WORDSIZE.
17982 (_STAT_VER_LINUX): Likewise.
17983 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17984 __syscall_ulong_t and __syscall_slong_t.
17985 (stat64): Likewise.
17986
cf3ff365
L
179872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17988
17989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17990
76cf3e4d
L
179912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17992
17993 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17994
a637753a
L
179952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17996
17997 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17998 __syscall_ulong_t.
17999
d5e05119
L
18000 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18001 include <bits/wordsize.h>. Check __x86_64__ instead of
18002 __WORDSIZE.
18003 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18004 defined.
18005 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18006
f62ee380
L
18007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18008 include <bits/wordsize.h>. Check __x86_64__ instead of
18009 __WORDSIZE.
18010 (user_regs_struct): Use "__extension__ unsigned long long"
18011 instead of "unsigned long" if __x86_64__ is defined.
18012 (user): Likewise. Pad after pointer field if __ILP32__ is
18013 defined.
18014
4e124ced
JM
180152012-05-16 Joseph Myers <joseph@codesourcery.com>
18016
6a3951a0
JM
18017 * configure.in (makeinfo): Require version 4.5 or later. Allow
18018 versions 5 to 9.
18019 * configure: Regenerated.
18020 * manual/install.texi (texinfo): Increase version requirement to
18021 4.5 or later.
18022 * INSTALL: Regenerated.
18023
4e124ced
JM
18024 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18025
953ca31a
L
180262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18027
18028 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18029
617aca05
L
18030 * sysdeps/x86_64/x32/ffs.c: New file.
18031
5762f7ae
L
18032 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18033 __syscall_ulong_t.
18034 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18035 defined. Use __syscall_ulong_t.
18036 (shminfo): Use __syscall_ulong_t.
18037 (shm_info): Likewise.
18038
a26b6856
L
18039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18040 __syscall_ulong_t.
18041
cb2b9ef7
L
18042 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18043 <bits/wordsize.h>.
18044 (msgqnum_t): Use __syscall_ulong_t.
18045 (msglen_t): Likewise.
18046 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18047 __syscall_ulong_t.
18048
34683bb0
L
18049 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18051
84a68786
L
18052 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18053
48baa5f1
L
18054 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18055 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18056
180be88b
L
18057 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18058 __syscall_slong_t.
18059
5e90c8ad
L
18060 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18061 include <bits/wordsize.h>. Check __x86_64__ instead of
18062 __WORDSIZE.
18063
23dfb58b
L
18064 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18065 "unsigned long long int" if __x86_64__ is defined.
18066 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18067
ce5d54b0
L
18068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18069 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18070 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18071
13dc9eac
L
18072 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18073 <stdint.h>.
18074 (GET_PC): Cast to uintptr_t first.
18075 (GET_FRAME): Likewise.
18076 (GET_STACK): Likewise.
18077
a7895d15
L
18078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18086 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18107
656416c9
AS
181082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18109
5bd66283
AS
18110 * Makerules (+depfiles): Also collect depfiles from .oS in
18111 $(extra-objs).
18112 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18113 .oS, $(libnldbl-routines)).
18114
656416c9
AS
18115 * Makerules (native-compile-mkdep-flags): Define.
18116 * sunrpc/Makefile (extra-objs): Add $(addprefix
18117 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18118 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18119 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18120 calling $(make-target-directory).
18121
a46f2169
L
181222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18123
18124 * bits/types.h (__snseconds_t): Removed.
18125 * time/time.h (struct timespec): Replace __snseconds_t with
18126 __syscall_slong_t.
18127 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18128 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18129 Likewise.
18130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18131 (__SNSECONDS_T_TYPE): Likewise.
18132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18133 (__SNSECONDS_T_TYPE): Likewise.
18134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18135 (__SNSECONDS_T_TYPE): Likewise.
18136
6af6528b
L
181372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18138
18139 * sysdeps/mach/hurd/bits/typesizes.h
18140 (__SYSCALL_SLONG_TYPE): New macro.
18141 (__SYSCALL_ULONG_TYPE): Likewise.
18142
de986b56
L
181432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18144
18145 * bits/types.h (__syscall_slong_t): New type.
18146 (__syscall_ulong_t): Likewise.
18147
18148 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18149 (__SYSCALL_ULONG_TYPE): Likewise.
18150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18151 (__SYSCALL_SLONG_TYPE): Likewise.
18152 (__SYSCALL_ULONG_TYPE): Likewise.
18153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18154 (__SYSCALL_SLONG_TYPE): Likewise.
18155 (__SYSCALL_ULONG_TYPE): Likewise.
18156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18157 (__SYSCALL_SLONG_TYPE): Likewise.
18158 (__SYSCALL_ULONG_TYPE): Likewise.
18159
85736dc7
L
181602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18161
18162 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18163 Add sigaltstack-offsets.sym.
18164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18165 <sigaltstack-offsets.h>.
18166 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18167 longjmp_msg pointer.
18168 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18169 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18170 signal stack.
18171 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18172
cc03b296
JM
181732012-05-15 Joseph Myers <joseph@codesourcery.com>
18174
a9538892
JM
18175 * elf/stackguard-macros.h: Remove file.
18176 * sysdeps/generic/stackguard-macros.h: New file.
18177 * sysdeps/i386/stackguard-macros.h: Likewise.
18178 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18179 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18180 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18181 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18182 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18183 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18184 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18185 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18186 <elf/stackguard-macros.h>.
18187
cc03b296
JM
18188 [BZ #14109]
18189 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18190 __aligned__ in attribute.
18191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18192 (gregset_t): Likewise.
18193
93171016
L
181942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18195
18196 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18197 * sysdeps/x86_64/64/Implies-after: Here. New file.
18198 * sysdeps/x86_64/x32/Implies-after: New file.
18199
d86813a0
L
182002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18201
18202 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18203 and access return value for _dl_profile_fixup. Use R10_LP to
18204 load frame size.
18205
2953ec75
L
182062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18207
18208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18209
3b550e9e
L
182102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18211
18212 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18213 * sysdeps/x86_64/x32/sysdep.h: New file.
18214
eda41706
L
182152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18216
18217 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18218 * sysdeps/x86_64/setjmp.S: Likewise.
18219
9ea01d93
AZ
182202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18221
18222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18224 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18225 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18226 remove unused global constant.
18227
02a91938
CM
182282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18229
18230 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18231 include of <not-cancel.h>.
18232
6540185f
RM
182332012-05-15 Roland McGrath <roland@hack.frob.com>
18234
18235 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18236
509072a0
AJ
182372012-05-15 Jeff Law <law@redhat.com>
18238 Andreas Jaeger <aj@suse.de>
18239
18240 [BZ #13594]
18241 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18242 out from...
18243 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18244 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18246 code changing __hst_map_handle.map.
18247
ba75122d
RM
182482012-05-15 Roland McGrath <roland@hack.frob.com>
18249
18250 * configure.in (sysnames): Look for Implies-before and Implies-after
18251 files.
18252 * configure: Regenerated.
18253
890d8bd8
L
182542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18255
18256 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18257 8-byte data alignment with LP_SIZE alignment.
18258
f6ee6623
L
182592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18260
18261 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18262 into R10_LP.
18263
ea2626f6
L
182642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18265
18266 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18267
085f715e
L
182682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18269
18270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18271 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18273 Likewise.
18274 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18275
be8498fc
L
182762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18277
18278 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18279 (stackinfo_sub_sp): Likewise.
18280
70bc83b9
L
182812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18282
18283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18284 RAX_LP.
18285
9bc0b730
L
182862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18287
18288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18289 into R*_LP.
18290
6d2850e7
L
182912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18292
18293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18294 sizes into R*_LP.
18295
3cb84561
L
182962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18297
18298 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18299
54e2ed81
L
183002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18301
18302 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18303 into R11_LP and load __x86_64_shared_cache_size_half into
18304 R8_LP.
18305
8a17f349
L
183062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18307
18308 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18309 R8_LP.
18310
777b1eea
AZ
183112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18312
18313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18314 logb for POWER7.
18315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18316 logbf for POWER7.
18317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18318 logbl for POWER7.
18319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18320 powerpc32/power7/fpu/s_logb.c via #include.
18321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18322 powerpc32/power7/fpu/s_logbf.c via #include.
18323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18324 powerpc32/power7/fpu/s_logbl.c via #include.
18325
d20d4ac2
JM
183262012-05-15 Joseph Myers <joseph@codesourcery.com>
18327
18328 * README.libm: Remove file.
18329
6cdef1ab
L
183302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18331
18332 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18333 count for x32. Use R*_LP and omit operand-size suffix.
18334
0b254d8f
L
183352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18338 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18339 * sysdeps/x86_64/x32/shlib-versions: New file.
18340
ceb809dc
RM
183412012-05-14 Roland McGrath <roland@hack.frob.com>
18342
18343 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18344 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18345 Use _dl_fatal_printf instead.
18346
37f1abd4
JM
183472012-05-14 Joseph Myers <joseph@codesourcery.com>
18348
18349 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18350 set if not set by the user. Do not allow for being unset.
18351 * sysdeps/unix/sysv/linux/configure: Regenerated.
18352
11de3a33
L
183532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18354
18355 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18356 the `q' suffix from lea and replace .quad with ASM_ADDR.
18357
e02f153a
L
183582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18359
18360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18361 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18362 instead of $17.
18363 (PTR_DEMANGLE): Likewise.
18364
520ae0fd
L
183652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18366
18367 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18368 (LP_OP): Likewise.
18369 (ASM_ADDR): Likewise.
18370 (RAX_LP): Likewise.
18371 (RBP_LP): Likewise.
18372 (RBX_LP): Likewise.
18373 (RCX_LP): Likewise.
18374 (RDI_LP): Likewise.
18375 (RSI_LP): Likewise.
18376 (RSP_LP): Likewise.
18377 (R8_LP): Likewise.
18378 (R9_LP): Likewise.
18379 (R10_LP): Likewise.
18380 (R10_LP): Likewise.
18381 (R11_LP): Likewise.
18382 (R12_LP): Likewise.
18383 (R13_LP): Likewise.
18384 (R14_LP): Likewise.
18385 (R15_LP): Likewise.
18386
b985be81
L
183872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18388
18389 * sysdeps/x86_64/x32/dl-machine.h: New file.
18390
6a4888ff
AJ
183912012-05-14 Andreas Jaeger <aj@suse.de>
18392
18393 * manual/Makefile (subdir): Remove export of subdir.
18394 (all): Remove target.
18395 (.PHONY): Remove all from list.
18396 (mkinstalldirs): Remove.
18397 (.PHONY): Remove installdirs from list.
18398 ($(inst_infodir)/libc.info): Use make-target-directory.
18399 (installdirs): Remove.
18400 (subdir_%): Remove.
18401 (glibc-targets): Remove.
18402 (lib): Remove.
18403 (stubs): Remove.
18404 ($(objpfx)stubs ../po/manual.pot): Remove.
18405 ($(objpfx)stamp%): Remove.
18406 (make-target-directory): Remove.
18407 (subdir_install): Remove.
18408 (routines): Remove.
18409 (aux): Remove.
18410 (sources): Remove.
18411 (objects): Remove.
18412 (headers): Remove.
18413
18414 [BZ #13750]
18415 * manual/.gitignore: Remove, it's not needed anymore.
18416 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18417 all files in it.
18418 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18419 directory.
18420 (texis): Renamed to $(objpfx)texis.
18421 (texis-path): New, contains path to generated files.
18422 (chapters.%): Use texis-path for complete path, add extra argument
18423 libc-texinfo.sh.
18424 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18425 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18426 (summary,texi, stamp-summary): Use complete path of
18427 files. Generate files in build dir.
18428 (dir-add.texi): Build in build dir.
18429 (libm-err.texi,stamp-libm-err): Likewise.
18430 (version.texi, stamp-version): Likewise.
18431 (.%c.texi): Likewise.
18432 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18433 (mostlyclean): Remove target.
18434 (realclean): Remove target.
18435 (generated): Add new variable with contents from mostlyclean and
18436 realclean, remove entries duplicated in common-mostlyclean, add
18437 stamp-libm-err and stamp-version.
18438 (generated-dirs): Add libc directory.
18439 ($(inst_infodir)/libc.info): Install files from build dir.
18440
18441 * manual/install.texi (Configuring and compiling): Adjust since
18442 the info files are not part of the tar ball anymore.
18443
7ac77294
AJ
184442012-05-14 Andreas Jaeger <aj@suse.de>
18445
18446 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18447 variable.
18448
ffb7875d
JM
184492012-05-14 Joseph Myers <joseph@codesourcery.com>
18450
18451 [BZ #13717]
18452 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18453 to 2.2.0 where earlier.
18454 * sysdeps/unix/sysv/linux/configure: Regenerated.
18455 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18456 Remove conditional code.
18457 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18458 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18459 Remove conditional code.
18460 [!__NR_lchown]: Likewise.
18461 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18462 [__NR_lchown]: Likewise.
18463 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18464 comment referencing __ASSUME_LCHOWN_SYSCALL.
18465 * sysdeps/unix/sysv/linux/i386/sigaction.c
18466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18468 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18469 Remove conditional code.
18470 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18471 (__protocol_available): Remove #if 0 code.
18472 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18473 conditional code.
18474 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18475 * sysdeps/unix/sysv/linux/kernel-features.h
18476 (__ASSUME_GETCWD_SYSCALL): Don't define.
18477 (__ASSUME_REALTIME_SIGNALS): Likewise.
18478 (__ASSUME_PREAD_SYSCALL): Likewise.
18479 (__ASSUME_PWRITE_SYSCALL): Likewise.
18480 (__ASSUME_POLL_SYSCALL): Likewise.
18481 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18482 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18483 non-SPARC.
18484 (__ASSUME_SIOCGIFNAME): Don't define.
18485 (__ASSUME_MSG_NOSIGNAL): Likewise.
18486 (__ASSUME_SENDFILE): Define unconditionally.
18487 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18488 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18489 conditional code.
18490 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18491 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18493 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18494 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18496 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18521 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18522 Remove conditional code.
18523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18524 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18525 Remove conditional code.
18526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18527 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18528 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18529 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18530 Remove conditional code.
18531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18532 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18533 Remove conditional code.
18534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18535 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18536 Remove conditional code.
18537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18538 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18539 Remove conditional code.
18540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18541 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18542 Remove conditional code.
18543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18544 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18547 * sysdeps/unix/sysv/linux/sigaction.c
18548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18550 * sysdeps/unix/sysv/linux/sigpending.c
18551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18553 * sysdeps/unix/sysv/linux/sigprocmask.c
18554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18556 * sysdeps/unix/sysv/linux/sigsuspend.c
18557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18560 (__libc_missing_rt_sigs): Remove.
18561 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18562 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18563 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18564 Remove conditional code.
18565 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18566 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18567 return 1.
18568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18569 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18570 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18571 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18572
1bfb7291
AJ
185732012-05-14 Andreas Jaeger <aj@suse.de>
18574
caae5a81
AJ
18575 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18576 it's not used in glibc.
18577 (__coshm1): Likewise.
18578 (__acosh1p): Likewise.
18579 (__sgn): Likewise.
18580
1bfb7291
AJ
18581 * manual/string.texi (Copying and Concatenation): Add missing
18582 variable in concat example.
18583 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18584
c044d724
L
185852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18586
144c5467 18587 [BZ #14103]
c044d724
L
18588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18589 __builtin_clzl with __builtin_clzll.
18590
2523c62b
L
185912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18592
18593 [BZ #14104]
18594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18595 libc_freeres_ptr.
18596
d7bb4c42
LD
185972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18598
18599 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18600 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18601 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18602 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18603
9dc4e1fb
MF
186042012-05-14 Mike Frysinger <vapier@gentoo.org>
18605
18606 * NEWS: Update ia64 info.
18607
c7df0112
AS
186082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18609
18610 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18611 used as bcopy.
18612
dc70356c
TS
186132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18614
18615 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18616 * sysdeps/unix/syscalls.list (dup3): Likewise.
18617 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18618 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18619
9fb1a21f
L
186202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18621
18622 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18623 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18624
4822a2a5
L
186252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18628 thread pointer.
18629 (TLS_IE): Use mov/add instead of movq/addq to load thread
18630 pointer.
18631 (TLS_GD_PREFIX): New.
18632 (TLS_GD): Use it.
18633
842b81d6
DM
186342012-05-11 David S. Miller <davem@davemloft.net>
18635
18636 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18637 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18638 (_FPU_SETCW): Likewise.
18639
1cf463cd
L
186402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18643 is 32-byte aligned.
18644
60cc4a18
AS
186452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18646
18647 [BZ #11837]
18648 * iconvdata/gb18030.c: Update tables.
18649 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18650 characters specially.
18651 (BODY for TO_LOOP): Add encoding of missing ranges.
18652
febb44a4
TS
186532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18654
18655 [BZ #13673]
18656 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18657 * sysdeps/mach/hurd/dup3.c: Likewise.
18658 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18659 * sysdeps/powerpc/memmove.c:: Likewise.
18660
0a10fb9e
L
186612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18664 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18665
df8a552f
L
186662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18667
18668 * elf/elf.h (R_X86_64_RELATIVE64): New.
18669 (R_X86_64_NUM): Updated.
18670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18671 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18672 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18673 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18674 tst-quad1pie tst-quad2pie
18675 (modules-names): Add tst-quadmod1 tst-quadmod2.
18676 ($(objpfx)tst-quad1): New dependency.
18677 ($(objpfx)tst-quad2): Likewise.
18678 ($(objpfx)tst-quad1pie): Likewise.
18679 ($(objpfx)tst-quad2pie): Likewise.
18680 * sysdeps/x86_64/tst-quad1.c: New file.
18681 * sysdeps/x86_64/tst-quad1pie.c: New file.
18682 * sysdeps/x86_64/tst-quad2.c: Likewise.
18683 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18684 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18685 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18686 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18687 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18688
f34d6f84
ST
186892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18690
f42d41d1
ST
18691 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18692 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18693 * streams/stropts.h (t_scalar_t): Define type.
18694
3c3571fc
ST
18695 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18696 (_PATH_PRESERVE): Set to "/var/lib".
18697 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18698
61f06bd3
ST
18699 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18700 instead of int.
18701
918d4d71
ST
18702 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18703 if __dir_mkfile succeeded.
18704
f34d6f84
ST
18705 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18706 checking for _hurd_dtablesize. Unlock it right after having
18707 finished _hurd_dtable allocation.
18708
10589b4a
TS
187092012-05-10 Thomas Schwinge <thomas@schwinge.name>
18710
674cdbc7
TS
18711 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18712 * sysdeps/mach/hurd/configure: Regenerated.
18713 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18714 special-casing to...
18715 * sysdeps/gnu/configure.in: ... this new file.
18716 * sysdeps/unix/sysv/linux/configure: Regenerated.
18717 * sysdeps/gnu/configure: New generated file.
18718
8e41b99f
TS
18719 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18720 for Linux: use nsec instead of usec, as well as:
18721 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18722 members of type struct timespec.
18723 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18724 New macros.
18725 (struct stat64): Likewise.
18726 (_STATBUF_ST_NSEC): New macro.
18727 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18728
10589b4a
TS
18729 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18730 __strtoul_internal rather than strtoul.
18731
63643c85
PT
187322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18733
18734 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18735 and reject them.
18736
3faebe6a
ST
187372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18738
18739 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18740 which preserves existing values.
18741 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18742
c6474b07
PT
187432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18744
18745 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18746 TIMEOUT values. Return EINVAL for NFDS values either negative or
18747 greater than FD_SETSIZE.
18748
1043890b
ST
187492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18750
18751 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18752 allocated, call __vm_protect to finish enabling the existing space, and
18753 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18754 allocate the remainder.
18755
37ed8b9b
PT
187562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18757
18758 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18759 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18760
db653660
ST
187612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18762
37ed8b9b
PT
18763 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18764 sysdeps/mach/hurd/readlink.c.
b29d4053 18765
db653660
ST
18766 * posix/tst-sysconf.c (posix_options): Only use
18767 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18768 _POSIX_SYNCHRONIZED_IO when they are defined
18769 * sysdeps/mach/hurd/bits/posix_opt.h:
18770 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18771 (_XOPEN_REALTIME): Undefine macro.
18772 (_XOPEN_REALTIME_THREADS): Undefine macro.
18773 (_XOPEN_SHM): Undefine macro.
18774 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18775 macro to -1.
18776 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18777 macro to -1.
18778 (_POSIX_ASYNC_IO): Undefine macro.
18779 (_POSIX_PRIORITIZED_IO): Undefine macro.
18780 (_POSIX_SPIN_LOCKS): Define macro to -1.
18781
ee16e894
ST
18782 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18783 SA_NODEFER, SA_RESETHAND.
18784 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18785 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18786 F_DUPFD_CLOEXEC.
18787
6103ae3b
TS
187882012-05-10 Thomas Schwinge <thomas@schwinge.name>
18789
18790 * elf/Makefile (pldd-modules): Define unconditionally.
18791
80b4e5f3
TS
187922012-05-10 Thomas Schwinge <thomas@schwinge.name>
18793
18794 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18795
edadcbd6
ST
187962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18797
18798 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18799 Return ENOENT when name is empty.
18800 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18801
80694780
TS
188022012-05-10 Thomas Schwinge <thomas@schwinge.name>
18803
1792c087
TS
18804 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18805
80694780
TS
18806 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18807
6b645f0d
ST
188082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18809
80694780
TS
18810 Fix mlock in all cases except non-readable pages.
18811 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18812 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18813
6b645f0d
ST
18814 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18815 (__mkdir): When path is `/', just fail with EEXIST.
18816 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18817
e468f8a3
TS
188182012-05-10 Thomas Schwinge <thomas@schwinge.name>
18819
18820 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18821 <sys/uio.h> (for writev).
18822 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18823 and <sys/param.h> (for MIN).
18824
a4186cff
PT
188252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18826
18827 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18828 REQUESTED_TIME. Properly set the remaining time and return EINTR
18829 if interrupted.
18830
510bbf14
TS
188312012-05-10 Thomas Schwinge <thomas@schwinge.name>
18832
18833 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18834 Depend on against $(link-rpcuserlibs).
18835
5d5722e8
ST
188362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18837
a4186cff
PT
18838 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18839 (__libc_stack_end): Do not use attribute_relro.
18840 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18841 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18842 to libthread-provided value.
a4186cff
PT
18843 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18844 attribute_relro.
5d5722e8 18845
37233df9
TS
188462012-05-10 Thomas Schwinge <thomas@schwinge.name>
18847
be971a2b
TS
18848 [BZ #3748]
18849 * bits/libc-lock.h (__libc_once_get): New macro.
18850 * sysdeps/mach/bits/libc-lock.h: Likewise.
18851 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18853 instead of using implementation details.
18854
37233df9
TS
18855 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18856 * libio/freopen.c: Likewise.
18857 * libio/freopen64.c: Likewise.
18858 * misc/syslog.c: Likewise.
18859 * nscd/connections.c: Likewise.
18860 * nscd/netgroupcache.c: Likewise.
18861 * sysdeps/posix/getcwd.c: Likewise.
18862
38de94a5
RM
188632012-05-10 Roland McGrath <roland@hack.frob.com>
18864
18865 * math/w_ilogbf.c: Add #include <limits.h>.
18866
67530489
ST
188672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18868
a4186cff 18869 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18870 path instead of returning without unlocking.
18871
67530489
ST
18872 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18873 immediate-write ioctls.
18874 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18875
5aa3a74a
TS
188762012-05-10 Thomas Schwinge <thomas@schwinge.name>
18877
18bad2ae
TS
18878 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18879 __builtin_frame_address instead of making assumptions about the
18880 location of the return address relative to DATA. Force early load of
18881 the return address.
18882 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18883 __builtin_frame_address.
18884
5aa3a74a
TS
18885 dup3 for GNU Hurd.
18886 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18887 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18888 implement dup3 and do some further code clean-ups.
18889 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18891
ecd0de9a
ST
188922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18893
cd9fa985
ST
18894 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18895
a4186cff
PT
18896 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18897 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18898 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18899 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18900 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18901 d->port.lock.
802ca5a5 18902
a4186cff
PT
18903 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18904 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18905 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18906
bcf55240
TS
189072012-05-10 Thomas Schwinge <thomas@schwinge.name>
18908
6960eb42
TS
18909 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18910 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18911 definitions.
18912
eb43375f
TS
18913 accept4 for GNU Hurd.
18914 * include/sys/socket.h (__libc_accept4): New prototype.
18915 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18916 to implement __libc_accept4.
18917 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18918 __libc_accept4.
18919 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18920
bcf55240
TS
18921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18922 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18923 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18924 signal-defines.sym.
18925
6178c55b
ST
189262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18927
a4186cff 18928 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18929
6f080c2f
TS
189302012-05-10 Thomas Schwinge <thomas@schwinge.name>
18931
18932 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18933 assertion on O_CLOEXEC flag.
18934 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18935 * hurd/intern-fd.c: Likewise.
18936 * hurd/port2fd.c: Likewise.
18937
bcfe3a54
ST
189382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18939
18940 [BZ #3906]
18941 * bits/in.h (IPV6_PKTINFO): Define new macro.
18942 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18943
89c9aa49
AZ
189442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18945
18946 [BZ #13954]
18947 [BZ #13955]
18948 [BZ #13956]
18949 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18951 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18952 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18954 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18955 * math/libm-test.inc (logb_test) : Additional logb tests.
18956
021db4be
AJ
189572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18958 Andreas Jaeger <aj@suse.de>
18959
18960 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18961 * configure: Regenerated.
18962 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18963 * config.make.in (link-obsolete-rpc): New substituted variable.
18964 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18965 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18966 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18967 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18968 so that libc.a contains the symbols.
18969 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18970 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18971 * sunrpc/auth_none.c: Likewise.
18972 * sunrpc/auth_unix.c: Likewise.
18973 * sunrpc/authdes_prot.c: Likewise.
18974 * sunrpc/authuxprot.c: Likewise.
18975 * sunrpc/clnt_gen.c: Likewise.
18976 * sunrpc/clnt_perr.c: Likewise.
18977 * sunrpc/clnt_raw.c: Likewise.
18978 * sunrpc/clnt_simp.c: Likewise.
18979 * sunrpc/clnt_tcp.c: Likewise.
18980 * sunrpc/clnt_udp.c: Likewise.
18981 * sunrpc/clnt_unix.c: Likewise.
18982 * sunrpc/des_crypt.c: Likewise.
18983 * sunrpc/des_soft.c: Likewise.
18984 * sunrpc/get_myaddr.c: Likewise.
18985 * sunrpc/key_call.c: Likewise.
18986 * sunrpc/key_prot.c: Likewise.
18987 * sunrpc/netname.c: Likewise.
18988 * sunrpc/pm_getmaps.c: Likewise.
18989 * sunrpc/pm_getport.c: Likewise.
18990 * sunrpc/pmap_clnt.c: Likewise.
18991 * sunrpc/pmap_prot.c: Likewise.
18992 * sunrpc/pmap_prot2.c: Likewise.
18993 * sunrpc/pmap_rmt.c: Likewise.
18994 * sunrpc/publickey.c: Likewise.
18995 * sunrpc/rpc_cmsg.c: Likewise.
18996 * sunrpc/rpc_common.c: Likewise.
18997 * sunrpc/rpc_dtable.c: Likewise.
18998 * sunrpc/rpc_prot.c: Likewise.
18999 * sunrpc/rpc_thread.c: Likewise.
19000 * sunrpc/rtime.c: Likewise.
19001 * sunrpc/svc.c: Likewise.
19002 * sunrpc/svc_auth.c: Likewise.
19003 * sunrpc/svc_raw.c: Likewise.
19004 * sunrpc/svc_run.c: Likewise.
19005 * sunrpc/svc_tcp.c: Likewise.
19006 * sunrpc/svc_udp.c: Likewise.
19007 * sunrpc/svc_unix.c: Likewise.
19008 * sunrpc/svcauth_des.c: Likewise.
19009 * sunrpc/xcrypt.c: Likewise.
19010 * sunrpc/xdr.c: Likewise.
19011 * sunrpc/xdr_array.c: Likewise.
19012 * sunrpc/xdr_float.c: Likewise.
19013 * sunrpc/xdr_intXX_t.c: Likewise.
19014 * sunrpc/xdr_mem.c: Likewise.
19015 * sunrpc/xdr_rec.c: Likewise.
19016 * sunrpc/xdr_ref.c: Likewise.
19017 * sunrpc/xdr_sizeof.c: Likewise.
19018 * sunrpc/xdr_stdio.c: Likewise.
19019
b5c086a2
RM
190202012-05-10 Roland McGrath <roland@hack.frob.com>
19021
19022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19023 change. Update copyright years.
19024
6d74dd09
JM
190252012-05-10 Joseph Myers <joseph@codesourcery.com>
19026
19027 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19028
28e72501
MK
190292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19030 Joseph Myers <joseph@codesourcery.com>
19031 Paul Pluzhnikov <ppluzhnikov@google.com>
19032
19033 [BZ #14012]
19034 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19035 requiring rpcgen.
19036 [cross-compiling] (extra-libs): Likewise.
19037 [cross-compiling] (extra-libs-others): Likewise.
19038 [cross-compiling] (librpcsvc-routines): Likewise.
19039 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19040 [cross-compiling] (omit-deps): Likewise.
19041 (sunrpc-CPPFLAGS): New variable.
19042 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19043 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19044 (cross-rpcgen-objs): New variable.
19045 (extra-objs): Append $(cross-rpcgen-objs).
19046 ($(cross-rpcgen-objs)): New rule.
19047 ($(objpfx)cross-rpcgen): Likewise.
19048 (rpcgen-cmd): Define to use $(built-program-file). Expand
19049 comment.
19050 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19051 ($(objpfx)x%.stmp): Likewise.
19052 * sunrpc/proto.h [IS_IN_build] (_): Define.
19053 [IS_IN_build] (_libc_intl_domainname): Likewise.
19054
c8c59454
L
190552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19056
19057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19058 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19059 and R_X86_64_TPOFF64.
19060
6f27cd16
JM
190612012-05-10 Joseph Myers <joseph@codesourcery.com>
19062
19063 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19064 sysdeps/unix/sysv/syscalls.list.
19065 (stime): Likewise.
19066 (utime): Likewise.
19067 * sysdeps/unix/sysv/syscalls.list: Remove file.
19068
02467e1c
PE
190692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19070
19071 [BZ #3440]
19072 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19073 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19074 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19075 (__LC_IDENTIFICATION): Make these macros useful in #if
19076 expressions, as required by C99.
19077
da392631
AS
190782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19079
19080 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19081 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19082 after this.
19083
8115f29b
L
190842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19085
19086 * stdlib/longlong.h: Updated from GCC.
19087
bdd74070
AJ
190882012-05-09 Andreas Jaeger <aj@suse.de>
19089
edfe0dbe
AJ
19090 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19091 default is first entry.
19092 (run_mode): Set type.
19093 (main): Remove informal message about syslog.
19094 (options): Fix typo.
19095
bcfe3a54
ST
19096 [BZ #14053]
19097 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19098 to asm.
bcfe3a54
ST
19099 (lrint): Likewise.
19100 (llrintf): Likewise.
19101 (llrint): Likewise.
19102 (rint): Likewise.
19103 (rintf): Likewise.
19104 (nearbyint): Likewise.
19105 (nearbyintf): Likewise.
bdd74070 19106
91d8d69e
AJ
191072012-05-09 Andreas Jaeger <aj@suse.de>
19108 Pedro Alves <palves@redhat.com>
19109
19110 * nscd/nscd.c (run_mode): Use enum.
19111 (main): Cleanup coding style issue.
19112
bb90b80b
AJ
191132012-05-09 Alexandre Oliva <aoliva@redhat.com>
19114 Andreas Jaeger <aj@suse.de>
19115
bcfe3a54
ST
19116 * nscd/nscd.c (go_background): Replaced with...
19117 (run_mode): ... this.
bb90b80b 19118 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19119 (options): Add -F --foreground.
19120 (main): Implement it.
19121 (parse_opt): Parse it.
bb90b80b 19122
1a4b75a1
AJ
191232012-05-09 Andreas Jaeger <aj@suse.de>
19124
19125 [BZ #14083]
19126 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19127 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19128 -Wconversion warning.
19129 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19130 Likewise.
19131
b1cc2472
JM
191322012-05-09 Joseph Myers <joseph@codesourcery.com>
19133
19134 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19135 == 0.
19136 (LC_ALL): Use macro-int-constant.
19137 (LC_COLLATE): Likewise.
19138 (LC_CTYPE): Likewise.
19139 (LC_MESSAGES): Likewise.
19140 (LC_MONETARY): Likewise.
19141 (LC_NUMERIC): Likewise.
19142 (LC_TIME): Likewise.
19143 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19144 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19146 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19147 Specify type.
19148 [C99-based standards] (float_t): Expect type.
19149 [C99-based standards] (double_t): Expect type.
19150 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19151 type.
19152 [C99-based standards] (HUGE_VALL): Likewise.
19153 [C99-based standards] (INFINITY): Likewise.
19154 [C99-based standards] (NAN): Likewise.
19155 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19156 [C99-based standards] (FP_NAN): Likewise.
19157 [C99-based standards] (FP_NORMAL): Likewise.
19158 [C99-based standards] (FP_SUBNORMAL): Likewise.
19159 [C99-based standards] (FP_ZERO): Likewise.
19160 [C99-based standards] (FP_FAST_FMA): Use
19161 optional-macro-int-constant. Specify type. Require == 1.
19162 [C99-based standards] (FP_FAST_FMAF): Likewise.
19163 [C99-based standards] (FP_FAST_FMAL): Likewise.
19164 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19165 [C99-based standards] (FP_ILOGBNAN): Likewise.
19166 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19167 Specify type.
19168 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19169 [C99-based standards] (math_errhandling): Specify type.
19170 [ISO99 || ISO11] (signgam): Do not allow.
19171 [non-C99-based standards] (copysignf): Do not allow.
19172 [non-C99-based standards] (exp2f): Likewise.
19173 [non-C99-based standards] (log2f): Likewise.
19174 [non-C99-based standards] (modff): Allow.
19175 [non-C99-based standards] (erff): Do not allow.
19176 [non-C99-based standards] (erfcf): Likewise.
19177 [non-C99-based standards] (gammaf): Likewise.
19178 [non-C99-based standards] (hypotf): Likewise.
19179 [non-C99-based standards] (j0f): Likewise.
19180 [non-C99-based standards] (j1f): Likewise.
19181 [non-C99-based standards] (jnf): Likewise.
19182 [non-C99-based standards] (lgammaf): Likewise.
19183 [non-C99-based standards] (tgammaf): Likewise.
19184 [non-C99-based standards] (y0f): Likewise.
19185 [non-C99-based standards] (y1f): Likewise.
19186 [non-C99-based standards] (ynf): Likewise.
19187 [non-C99-based standards] (isnanf): Likewise.
19188 [non-C99-based standards] (acoshf): Likewise.
19189 [non-C99-based standards] (asinhf): Likewise.
19190 [non-C99-based standards] (atanhf): Likewise.
19191 [non-C99-based standards] (cbrtf): Likewise.
19192 [non-C99-based standards] (expm1f): Likewise.
19193 [non-C99-based standards] (ilogbf): Likewise.
19194 [non-C99-based standards] (log1pf): Likewise.
19195 [non-C99-based standards] (logbf): Likewise.
19196 [non-C99-based standards] (nextafterf): Likewise.
19197 [non-C99-based standards] (remainderf): Likewise.
19198 [non-C99-based standards] (rintf): Likewise.
19199 [non-C99-based standards] (scalbf): Likewise.
19200 [non-C99-based standards] (copysignl): Likewise.
19201 [non-C99-based standards] (exp2l): Likewise.
19202 [non-C99-based standards] (log2l): Likewise.
19203 [non-C99-based standards] (modfl): Allow.
19204 [non-C99-based standards] (erfl): Do not allow.
19205 [non-C99-based standards] (erfcl): Likewise.
19206 [non-C99-based standards] (gammal): Likewise.
19207 [non-C99-based standards] (hypotl): Likewise.
19208 [non-C99-based standards] (j0l): Likewise.
19209 [non-C99-based standards] (j1l): Likewise.
19210 [non-C99-based standards] (jnl): Likewise.
19211 [non-C99-based standards] (lgammal): Likewise.
19212 [non-C99-based standards] (tgammal): Likewise.
19213 [non-C99-based standards] (y0l): Likewise.
19214 [non-C99-based standards] (y1l): Likewise.
19215 [non-C99-based standards] (ynl): Likewise.
19216 [non-C99-based standards] (isnanl): Likewise.
19217 [non-C99-based standards] (acoshl): Likewise.
19218 [non-C99-based standards] (asinhl): Likewise.
19219 [non-C99-based standards] (atanhl): Likewise.
19220 [non-C99-based standards] (cbrtl): Likewise.
19221 [non-C99-based standards] (expm1l): Likewise.
19222 [non-C99-based standards] (ilogbl): Likewise.
19223 [non-C99-based standards] (log1pl): Likewise.
19224 [non-C99-based standards] (logbl): Likewise.
19225 [non-C99-based standards] (nextafterl): Likewise.
19226 [non-C99-based standards] (remainderl): Likewise.
19227 [non-C99-based standards] (rintl): Likewise.
19228 [non-C99-based standards] (scalbl): Likewise.
19229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19230 [non-C99-based standards] (FP_*): Do not allow.
19231 [C99-based standards] (FP_*): Change to
19232 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19233 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19234 allow.
19235 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19236 (SIG_ERR): Likewise.
19237 [X/Open-based standards] (SIG_HOLD): Likewise.
19238 (SIG_IGN): Likewise.
19239 (SIGABRT): Use macro-int-constant. Specify type. Require
19240 positive value.
19241 (SIGFPE): Likewise.
19242 (SIGILL): Likewise.
19243 (SIGINT): Likewise.
19244 (SIGSEGV): Likewise.
19245 (SIGTER): Likewise.
19246 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19247 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19248 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19249 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19250 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19251 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19252 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19253 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19254 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19255 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19256 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19257 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19258 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19259 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19260 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19261 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19262 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19263 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19264 [X/Open-based standards] (SIGTRAP): Likewise.
19265 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19266 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19267 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19268 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19269 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19270 allow.
19271
b9f1922d
IW
192722012-05-08 Ian Wienand <ianw@vmware.com>
19273
19274 [BZ #14080]
19275 * time/tzset.c (__tzset_parse_tz): Update default rules for
19276 daylight time changes in the Energy Policy Act of 2005.
19277
1db86e88
AJ
192782012-05-09 Andreas Jaeger <aj@suse.de>
19279
19280 [BZ #13983]
19281 * elf/ldconfig.c (parse_conf): Change string to make clear that
19282 ldconfig only issued a warning if ld.so.conf does not exist.
19283
dee4a4e3
DM
192842012-05-08 David S. Miller <davem@davemloft.net>
19285
ee0db190
DM
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19287 movxtod instead of popping the value on the stack.
19288
dee4a4e3
DM
19289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19290
6a43ec98
CD
192912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19292
19293 * config.h.in: Add HAVE_ARM_PCS_VFP.
19294
05c2c961
RMG
192952012-05-08 Roland Mc Grath <roland@hack.frob.com>
19296
bcfe3a54
ST
19297 [BZ #13979]
19298 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19299 checking but the checks are disabled for any reason.
05c2c961 19300
4b30f61a
L
193012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19302
19303 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19304 and ELF64_R_TYPE with ELFW(R_TYPE).
19305
eee2bc67
JM
193062012-05-08 Joseph Myers <joseph@codesourcery.com>
19307
7ea5391a
JM
19308 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19309 (ulimit): Likewise.
19310
eee2bc67
JM
19311 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19312 (settimeofday): Likewise.
19313
abb66a67
MF
193142012-05-08 Mike Frysinger <vapier@gentoo.org>
19315
19316 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19317 a struct th_u2 inside the union, and move tu_block/tu_code into
19318 a new th_u3 union of tu_block/tu_code inside of that. Move
19319 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19320 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19321 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19322 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19323 (th_stuff): Change to th_u1.tu_stuff.
19324 (th_data): Define.
19325 (th_msg): Change to th_u1.th_u2.tu_data.
19326
7f18b530
DM
193272012-05-07 David S. Miller <davem@davemloft.net>
19328
05760585
DM
19329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19330
7f18b530
DM
19331 [BZ #14074]
19332 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19333 (SETUP_PIC_REG): Use it.
19334 (SETUP_PIC_REG_LEAF): Use it.
19335
495fd99f
JM
193362012-05-07 Joseph Myers <joseph@codesourcery.com>
19337
19338 [BZ #13885]
19339 [BZ #13923]
19340 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19341 USE_AS_EXPM1L.
19342 (EXPL_FINITE): Likewise.
19343 (FLDLOG): Likewise.
19344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19345 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19346 e_expl.S.
19347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19348 USE_AS_EXPM1L.
19349 (EXPL_FINITE): Likewise.
19350 (FLDLOG): Likewise.
19351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19352 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19353 e_expl.S.
19354 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19355 test of -max_value argument for long double.
19356 * sysdeps/i386/fpu/libm-test-ulps: Update.
19357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19358
6693d694
DM
193592012-05-06 David S. Miller <davem@davemloft.net>
19360
19361 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19362 quad soft-float symbols whose references which are compiler
19363 generated.
19364 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19365
6c23e11c
JM
193662012-05-06 Joseph Myers <joseph@codesourcery.com>
19367
d8b82cad
JM
19368 [BZ #13884]
19369 [BZ #13914]
19370 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19371 USE_AS_EXP10L.
19372 (EXPL_FINITE): Likewise.
19373 (FLDLOG): Likewise.
19374 (c0): Likewise.
19375 (c1): Likewise.
19376 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19377 Adjust comments for base varying.
19378 (__expl_finite): Change alias to EXPL_FINITE.
19379 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19380 e_expl.S.
19381 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19382 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19384 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19386 USE_AS_EXP10L.
19387 (EXPL_FINITE): Likewise.
19388 (FLDLOG): Likewise.
19389 (c0): Likewise.
19390 (c1): Likewise.
19391 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19392 Adjust comments for base varying.
19393 (__expl_finite): Change alias to EXPL_FINITE.
19394 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19395 tests for bugs.
19396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19397
6c23e11c
JM
19398 [BZ #14064]
19399 * math/libm-test.inc (check_float_internal): Correct ulp
19400 calculation for subnormal expected results.
19401
29ba805c
AJ
194022012-05-06 Andreas Jaeger <aj@suse.de>
19403
19404 * Makeconfig (+math-flags): New, set to -frounding-math.
19405 (+cflags): Add +math-flags so that all of glibc gets compiled with
19406 it.
19407
19408 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19409
7b17aeda
JM
194102012-05-05 Joseph Myers <joseph@codesourcery.com>
19411
5779f134
JM
19412 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19413 Disable one test.
19414
41498f4d
JM
19415 [BZ #13787]
19416 [BZ #13922]
19417 [BZ #14036]
19418 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19419 (__ieee754_expl): Allow for and saturate large arguments.
19420 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19421 (u_threshold): Likewise.
19422 (__exp): Call __ieee754_exp before checking for overflow and
19423 underflow.
19424 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19425 (u_threshold): Likewise.
19426 (__expf): Call __ieee754_expf before checking for overflow and
19427 underflow.
19428 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19429 (u_threshold): Likewise.
19430 (__expl): Call __ieee754_expl before checking for overflow and
19431 underflow.
19432 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19433 (__ieee754_expl): Allow for and saturate large arguments.
19434 * math/libm-test.inc (exp_test): Add another test. Do not allow
19435 missing overflow exception on overflow.
19436 (expm1_test): Do not allow missing overflow exception on overflow.
19437
6698b8bf
JM
19438 * sysdeps/i386/fpu/e_expl.c: Move to ...
19439 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19440 rather than using inline asm.
19441 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19442 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19443 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19444
7b17aeda
JM
19445 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19446 (nice): Likewise.
19447 (poll): Likewise.
19448 (signal): Likewise.
19449 (time): Likewise.
19450 (times): Likewise.
19451
f7c85819
JM
194522012-05-04 Joseph Myers <joseph@codesourcery.com>
19453
19454 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19455 sysdeps/unix/common/syscalls.list.
19456 (fchmod): Likewise.
19457 (fchown): Likewise.
19458 (ftruncate): Likewise.
19459 (getrusage): Likewise.
19460 (gettimeofday): Likewise.
19461 (setpgid): Likewise.
19462 (setregid): Likewise.
19463 (setreuid): Likewise.
19464 (sigaction): Likewise.
19465 (truncate): Likewise.
19466 (vhangup): Likewise.
19467 * sysdeps/unix/common/syscalls.list: Remove file.
19468 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19469 * sysdeps/unix/sysv/linux/Implies: Likewise.
19470
336270d0
L
194712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19472
19473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19476 Moved to ...
19477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19478 Here.
19479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19480 to ...
19481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19483 to ...
19484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19485 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19486 to ...
19487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19488 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19489 to ...
19490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19492 to ...
19493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19494 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19495 to ...
19496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19497 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19498 to ...
19499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19500 Here.
19501 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19502 to ...
19503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19504 Here.
19505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19506 to ...
19507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19508 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19509 Moved to ...
19510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19511 Here.
19512 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19513 to ...
19514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19515
d128e450
JM
195162012-05-04 Joseph Myers <joseph@codesourcery.com>
19517
fa8ee516
JM
19518 * sysdeps/unix/common/bits/dirent.h: Remove file.
19519 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19520
d128e450
JM
19521 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19522 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19523 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19524 * sysdeps/unix/bsd/isatty.c: Likewise.
19525 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19526 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19527 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19528
ff8faaf0 195292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19530
62881be4 19531 [BZ #13563]
31dc8730
AZ
19532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19533 long double comparison inaccuracies.
19534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19536
6fef930c
AS
195372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19538
19539 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19541
8f203e6c
JM
195422012-05-04 Joseph Myers <joseph@codesourcery.com>
19543
19544 [BZ #14049]
19545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19546 nonzero digits before rounding a hex value.
19547 * stdlib/tst-strtod.c (tests): Add another test.
19548
5197d9c2
AK
195492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19550
19551 * sysdeps/s390/fpu/libm-test-ulps: Update.
19552
f0c1dedf
AJ
195532012-05-03 Andreas Jaeger <aj@suse.de>
19554
19555 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19556 does not get optimized out.
19557 (malloc_opt_barrier): New.
19558
a65ef2ae 195592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19560 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19561
2b942cb7 19562 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19563 intermediate file deletion.
2b942cb7 19564 (generated): Add .symlist files.
a65ef2ae 19565
54b71e02
JM
195662012-05-03 Joseph Myers <joseph@codesourcery.com>
19567
19568 [BZ #13775]
19569 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19570 Redirect under this condition.
19571 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19572 [__USE_GNU] (__dprintf_chk): Not under this condition.
19573 [__USE_GNU] (__vdprintf_chk): Likewise.
19574 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19575 under this condition.
19576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19577 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19578 [__USE_XOPEN2K8] (vdprintf): Likewise.
19579 [__USE_GNU] (__dprintf_chk): Not under this condition.
19580 [__USE_GNU] (__vdprintf_chk): Likewise.
19581 [__USE_GNU] (dprintf): Likewise.
19582 [__USE_GNU] (vdprintf): Likewise.
19583
d3dfcc41
RM
195842012-05-03 Roland McGrath <roland@hack.frob.com>
19585
19586 * elf/Makefile (common-generated): Set this instead of generated for
19587 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19588 $(all-built-dso)-derived lists.
19589
7ac30cc5
AJ
195902012-05-03 Andreas Jaeger <aj@suse.de>
19591
0c51e550
AJ
19592 * sysdeps/i386/fpu/libm-test-ulps: Update.
19593
7ac30cc5
AJ
19594 * FAQ: Removed.
19595 * FAQ.in: Likewise.
19596 * scripts/gen-FAQ.pl: Likewise.
19597 * manual/install.texi (Installation): Point to online location of
19598 FAQ.
19599 * Makefile (files-for-dist): Remove FAQ.
19600 (FAQ): Remove.
19601
d4c2917f
AM
196022012-05-02 Allan McRae <allan@archlinux.org>
19603
19604 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19605 (LDFLAGS-reldepmod5.so): Likewise.
19606 (LDFLAGS-reldep6mod1.so): Likewise.
19607 (LDFLAGS-reldep6mod4.so): Likewise.
19608 (LDFLAGS-reldep8mod3.so): Likewise.
19609 (LDFLAGS-unload4mod1.so): Likewise.
19610 (LDFLAGS-unload4mod2.so): Likewise.
19611 (LDFLAGS-tst-initorder): Likewise.
19612 (LDFLAGS-tst-initordera2.so): Likewise.
19613 (LDFLAGS-tst-initordera3.so): Likewise.
19614 (LDFLAGS-tst-initordera4.so): Likewise.
19615 (LDFLAGS-tst-initorderb2.so): Likewise.
19616 (LDFLAGS-noload): Likewise.
19617 (LDFLAGS-next): Likewise.
19618 (LDFLAGS-order2mod1.so): Likewise.
19619 (LDFLAGS-order2mod2.so): Likewise.
19620 (LDFLAGS-tst-initorder2): Likewise.
19621 (LDFLAGS-tst-initorder2a.so): Likewise.
19622 (LDFLAGS-tst-initorder2b.so): Likewise.
19623 (LDFLAGS-tst-initorder2c.so): Likewise.
19624 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19625
d77f993f
DM
196262012-05-02 David S. Miller <davem@davemloft.net>
19627
19628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19629
171a70b4
PP
196302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19631
19632 [BZ #14055]
19633 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19634
0be196ad
AJ
196352012-05-02 Andreas Jaeger <aj@suse.de>
19636
19637 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19638 since we manipulate rounding mode.
19639 (CPPFLAGS-test-idouble.c): Likewise.
19640 (CPPFLAGS-test-ifloat.c): Likewise.
19641 (CFLAGS-test-ldouble.c): Likewise.
19642 (CFLAGS-test-double.c): Likewise.
19643 (CFLAGS-test-float.c): Likewise.
19644 (CFLAGS-test-misc.c): Likewise.
19645 (CFLAGS-test-test-fenv.c): Likewise.
19646
4f9d04aa
AZ
196472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19648
2b942cb7
RM
19649 [BZ #2550]
19650 [BZ #2570]
19651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19652 comparisons to determine direction to adjust input.
4f9d04aa 19653
82a79e7d
RM
196542012-05-01 Roland McGrath <roland@hack.frob.com>
19655
f5a01ca9
RM
19656 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19657 output to the target.
19658
90fe4186
RM
19659 * scripts/localplt.awk: New file.
19660 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19661 (check-localplt-CFLAGS): Variable removed.
19662 ($(all-built-dso:=.jmprel)): New static pattern rule.
19663 (generated): Add those targets.
19664 (localplt-built-dso): New variable.
19665 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19666
19667 * elf/check-localplt.c: File removed.
19668
82397ed6
RM
19669 * scripts/check-execstack.awk: New file.
19670 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19671 (check-execstack-CFLAGS): Variable removed.
19672 ($(objpfx)check-execstack.h): Target removed.
19673 ($(objpfx)execstack-default): New target.
19674 (generated): Add that instead of check-execstack.h.
19675 ($(all-built-dso:=.phdr)): New static pattern rule.
19676 (generated): Add those targets.
19677 * elf/check-execstack.c: File removed.
19678
82a79e7d
RM
19679 * scripts/check-textrel.awk: New file.
19680 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19681 (check-textrel-CFLAGS): Variable removed.
19682 (all-built-dso): Use := to define.o
19683 ($(all-built-dso:=.dyn)): New static pattern rule.
19684 (generated): Add those targets.
19685 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19686 * config.make.in (READELF): New substituted variable.
19687 * elf/check-textrel.c: File removed.
19688
62fde54f 196892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19690
615605c9
JM
19691 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19692 allow.
19693 * conform/data/ctype.h-data [C99-based standards] (isblank):
19694 Expect function.
19695 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19696 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19698 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19699 Specify type. Require positive value.
19700 (EILSEQ): Likewise.
19701 (ERANGE): Likewise.
19702 [ISO || POSIX] (EILSEQ): Do not expect.
19703 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19704 Specify type. Require positive value.
19705 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19706 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19707 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19708 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19709 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19710 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19711 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19712 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19713 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19714 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19715 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19716 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19717 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19718 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19720 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19721 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19722 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19723 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19724 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19725 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19726 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19727 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19728 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19729 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19730 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19731 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19732 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19733 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19734 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19735 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19736 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19737 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19738 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19739 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19740 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19741 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19742 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19743 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19744 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19745 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19746 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19747 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19748 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19749 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19750 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19751 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19752 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19753 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19754 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19755 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19756 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19757 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19758 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19759 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19760 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19761 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19762 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19763 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19764 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19765 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19766 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19767 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19768 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19769 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19770 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19771 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19772 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19773 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19774 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19775 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19776 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19777 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19778 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19779 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19780 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19781 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19782 Require >= 2.
19783 (FLT_ROUNDS): Expect as macro, not constant.
19784 (FLT_MANT_DIG): Use macro-int-constant.
19785 (DBL_MANT_DIG): Likewise.
19786 (LDBL_MANT_DIG): Likewise.
19787 (FLT_DIG): Likewise.
19788 (DBL_DIG): Likewise.
19789 (LDBL_DIG): Likewise.
19790 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19791 (DBL_MIN_EXP): Likewise.
19792 (LDBL_MIN_EXP): Likewise.
19793 (FLT_MAX_EXP): Use macro-int-constant.
19794 (DBL_MAX_EXP): Likewise.
19795 (LDBL_MAX_EXP): Likewise.
19796 (FLT_MAX_10_EXP): Likewise.
19797 (DBL_MAX_10_EXP): Likewise.
19798 (LDBL_MAX_10_EXP): Likewise.
19799 (FLT_MAX): Use macro-constant.
19800 (DBL_MAX): Likewise.
19801 (LDBL_MAX): Likewise.
19802 (FLT_EPSILON): Use macro-constant. Give upper bound.
19803 (DBL_EPSILON): Likewise.
19804 (LDBL_EPSILON): Likewise.
19805 (FLT_MIN): Likewise.
19806 (DBL_MIN): Likewise.
19807 (LDBL_MIN): Likewise.
19808 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19809 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19810 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19811 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19812 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19813 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19814 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19815 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19816 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19817 [ISO11] (FLT_TRUE_MIN): Likewise.
19818 [ISO11] (LDBL_TRUE_MIN): Likewise.
19819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19820 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19821 (SCHAR_MIN): Use macro-int-constant. Specify type.
19822 (SCHAR_MAX): Likewise.
19823 (UCHAR_MAX): Likewise.
19824 (CHAR_MIN): Likewise.
19825 (CHAR_MAX): Likewise.
19826 (MB_LEN_MAX): Use macro-int-constant.
19827 (SHRT_MIN): Use macro-int-constant. Specify type.
19828 (SHRT_MAX): Likewise.
19829 (USHRT_MAX): Likewise.
19830 (INT_MAX): Likewise.
19831 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19832 bound negative.
19833 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19834 bound with "U".
19835 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19836 bound with "L".
19837 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19838 bound negative. Suffix upper bound with "L".
19839 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19840 bound with "UL".
19841 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19842 Specify type.
19843 [C99-based standards] (LLONG_MAX): Likewise.
19844 [C99-based standards] (ULLONG_MAX): Likewise.
19845 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19846 == 0.
19847 [ISO11] (max_align_t): Require type.
19848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19849
c9140a62
JM
19850 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19851 from $CFLAGS, without defining away __attribute__ calls.
19852 (checknamespace): Use $CFLAGS_namespace.
19853
9af0bf29
JM
19854 * conform/conformtest.pl (@keywords): Only include C99 keywords
19855 for standards based on C99 or C11.
19856
343222a2
JM
19857 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19858 Disable tests.
19859 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19860 UNIX98]: Likewise.
19861
661f8cf0
JM
19862 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19863 usability of symbols in #if.
19864
ee74b9cb
JM
19865 * conform/conformtest.pl: If macro or constant types start
19866 "promoted:", expect the symbol to be of the following type
19867 promoted by the integer promotions.
62fde54f 19868
aafc49b3
JM
19869 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19870 in one place. Also handle "macro-constant".
19871
fefdf574
JM
19872 * conform/conformtest.pl: Only accept expected macro values with
19873 "==". Parse all "macro" lines in one place.
19874 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19875
f2d922fe
JM
19876 * conform/conformtest.pl: Handle braced types on "constant" lines
19877 instead of handling "typed-constant".
19878 * conform/data/signal.h-data: Use "constant" instead of
19879 "typed-constant".
19880
d22956c9
JM
19881 * conform/conformtest.pl: Handle "optional-" at start of lines in
19882 one place rather than duplicating several cases. Handle each
19883 format of "macro" line with initial "optional-".
19884
028e2e38
JM
19885 * conform/conformtest.pl: Only accept expected constant or
19886 optional-constant values with "==". Parse all "constant" lines in
19887 one place. Parse all "optional-constant" lines in one place.
19888 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19889 * conform/data/fmtmsg.h-data: Likewise.
19890 * conform/data/netinet/in.h-data: Likewise.
19891 * conform/data/tar.h-data: Likewise.
19892 * conform/data/limits.h-data: Use "==" form on "constant" and
19893 "optional-constant" lines.
19894
1b8f2850
JM
19895 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19896 Use -std=c99 for XOPEN2K.
19897 (@knownproblems): Remove.
19898 (newtoken): Don't check %isknown.
19899
a05a144b
JM
19900 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19901 Do not expect macro.
19902 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19907 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19908 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19909 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19910 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19911 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19912 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19913 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19914 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19915 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19916 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19917 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19918 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19919 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19920 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19921 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19922 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19926 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19927 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19928 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19929 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19930 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19931 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19932 [XPG3] (acosh): Likewise.
19933 [XPG3] (asinh): Likewise.
19934 [XPG3] (atanh): Likewise.
19935 [XPG3] (cbrt): Likewise.
19936 [XPG3] (expm1): Likewise.
19937 [XPG3] (ilogb): Likewise.
19938 [XPG3] (log1p): Likewise.
19939 [XPG3] (logb): Likewise.
19940 [XPG3] (nextafter): Likewise.
19941 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19942 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19943 [XPG3] (remainder): Likewise.
19944 [XPG3] (rint): Likewise.
19945 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19946 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19947 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19948 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19949 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19950 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19951 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19952 [UNIX98 || XOPEN2K] (scalb): Expect.
19953 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19954 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19955 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19956 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19957 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19958 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19959 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19960 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19961 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19962 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19963 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19964 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19965 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19966 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19967 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19968 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19969 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19970 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19971 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19972 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19973 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19974 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19975 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19976 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19977 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19978 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19979 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19980 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19981 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19982 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19983 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19984 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19985 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19986 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19987 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19988 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19989 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19990 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19991 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19992 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19993 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19994 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19995 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19996 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19997 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19998 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19999 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20000 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20001 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20002 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20003 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20004 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20005 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20006 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20007 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20008 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20009 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20010 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20011 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20012 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20013 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20014 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20015 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20016 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20017 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20018 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20019 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20020 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20021 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20022 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20023 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20024 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20025 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20026 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20027 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20028 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20029 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20030 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20031 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20032 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20033 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20034 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20035 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20036 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20037 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20038 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20039 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20040 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20041 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20042 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20043 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20044 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20045 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20046 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20047 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20048 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20049 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20050 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20051 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20052 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20053 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20054 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20055 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20056 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20057 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20058 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20059 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20060 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20061 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20062 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20063 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20064 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20065 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20066 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20067 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20068 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20069 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20070 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20071 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20072 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20073 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20074 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20075 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20076 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20077 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20078 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20079 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20080 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20081 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20082 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20083 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20084 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20085 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20086 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20087 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20088 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20089 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20090
73c5ebe3
JM
20091 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20092 _XOPEN_SOURCE_EXTENDED for XPG4.
20093
39c33b6c
JM
20094 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20095
62fde54f
JM
20096 * Makeconfig (localtime): Remove variable.
20097 (inst_localtime-file): Likewise.
20098
0741d64c
AS
200992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20100
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20102 Update.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20104 Update.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20106 Update.
20107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20108 Update.
20109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20110 Update.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20112 Update.
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20114 Update.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20116 Update.
20117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20118 Update.
20119
7cb029ee
JM
201202012-05-01 Joseph Myers <joseph@codesourcery.com>
20121
20122 [BZ #2550]
20123 [BZ #2570]
20124 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20125 comparisons to determine direction to adjust input.
20126 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20127 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20129 Likewise.
20130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20131 Likewise.
20132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20133 Likewise.
20134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20136 Likewise.
20137 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20138 Likewise.
20139 * math/libm-test.inc (nexttoward_test): Add more tests.
20140
412bd966
AS
201412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20142
20143 [BZ #14040]
20144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20145 in version GLIBC_2.1, not GLIBC_2.0.
20146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20147 Likewise.
20148
9568c0c2
JM
201492012-04-30 Joseph Myers <joseph@codesourcery.com>
20150
adfbc8ac
JM
20151 [BZ #13942]
20152 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20153 (1 - x) * (1 + x).
20154 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20155 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20156 * math/libm-test.inc (acos_test): Add more tests.
20157 (asin_test): Likewise.
20158 * sysdeps/i386/fpu/libm-test-ulps: Update.
20159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20160
5ba3cc69
JM
20161 [BZ #14034]
20162 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20163 of square root.
20164 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20165 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20166 * math/libm-test.inc (acos_test_tonearest): New function.
20167 (acos_test_towardzero): Likewise.
20168 (acos_test_downward): Likewise.
20169 (acos_test_upward): Likewise.
20170 (asin_test_tonearest): Likewise.
20171 (asin_test_towardzero): Likewise.
20172 (asin_test_downward): Likewise.
20173 (asin_test_upward): Likewise.
20174 (main): Call the new functions.
20175 * sysdeps/i386/fpu/libm-test-ulps: Update.
20176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20177
9568c0c2
JM
20178 [BZ #13884]
20179 [BZ #13924]
20180 * math/e_exp10.c: Include <float.h>.
20181 (__ieee754_exp10): Handle underflow here rather than multiplying
20182 large negative argument by M_LN10.
20183 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20184 of __ieee754_expf.
20185 * math/e_exp10l.c: Include <float.h>.
20186 (__ieee754_exp10l): Handle underflow here rather than multiplying
20187 large negative argument by M_LN10l.
20188 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20189 spurious overflow exception on underflow.
20190
5ac3ea17
MP
201912012-04-29 Marek Polacek <polacek@redhat.com>
20192
20193 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20194 (__fortify_function): New macro.
20195 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20196 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20197 __extern_always_inline.
20198 * libio/bits/stdio2.h: Likewise.
20199 * libio/bits/stdio.h: Likewise.
20200 * string/string.h: Likewise.
20201 * string/bits/string3.h: Likewise.
20202 * include/stdio.h: Likewise.
20203 * stdlib/bits/stdlib.h: Likewise.
20204 * stdlib/stdlib.h: Likewise.
20205 * rt/bits/mqueue2.h: Likewise.
20206 * rt/mqueue.h: Likewise.
20207 * posix/bits/unistd.h: Likewise.
20208 * posix/unistd.h: Likewise.
20209 * io/bits/poll2.h: Likewise.
20210 * io/bits/fcntl2.h: Likewise.
20211 * io/fcntl.h: Likewise.
20212 * io/sys/poll.h: Likewise.
20213 * misc/bits/syslog.h: Likewise.
20214 * misc/bits/syslog-ldbl.h: Likewise.
20215 * misc/sys/syslog.h: Likewise.
20216 * socket/bits/socket2.h: Likewise.
20217 * socket/sys/socket.h: Likewise.
20218 * debug/tst-chk1.c: Likewise.
20219 * wcsmbs/bits/wchar2.h: Likewise.
20220 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20221 * wcsmbs/wchar.h: Likewise.
20222
ecf0ebfb
AJ
202232012-04-29 Andreas Jaeger <aj@suse.de>
20224
20225 * Makerules (tests): Remove enable-check-abi protection.
20226 (check-abi-warn): Remove.
20227 (check-abi-%): Remove check-abi-warn usage.
20228
20229 * configure.in: Remove check-abi configure option.
20230 * configure: Regenerated.
20231 * config.make.in (enable-check-abi): Remove.
20232
6d5c57fa
AS
202332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20234
24c5d07e 20235 [BZ #14033]
ded5180a
AS
20236 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20237 double functions to double *_finite functions.
20238
7e0d315d
AS
20239 [BZ #13941]
20240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20241 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20242 LDBL_MIN_EXP.
20243 * stdio-common/Makefile (tests): Add tst-sprintf3.
20244 * stdio-common/tst-sprintf3.c: New file.
20245
6d5c57fa
AS
20246 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20247 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20248
0749ff8b
JM
202492012-04-28 Joseph Myers <joseph@codesourcery.com>
20250
20251 * conform/conformtest.pl: Remove duplicate typed-constant
20252 handling.
20253
8dbd5d7b
DM
202542012-04-28 David S. Miller <davem@davemloft.net>
20255
20256 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20257 (check-abi-%): Remove AWK script prerequisite and explicit
20258 abilist directory.
20259 (check-abi): Rewrite to just diff the symlist with the abilist.
20260 (config-tls, config-abi-config): Delete, no longer used.
20261 (update-abi-%): Remove AWK script and explicit abilist directory.
20262 (update-abi): Rewrite to simply compare and conditionally copy the
20263 symlist and the sysdep abilist file. Remove update-abi-config
20264 checks.
20265 * abilist/ld.abilist: Remove.
20266 * abilist/libBrokenLocale.abilist: Remove.
20267 * abilist/libanl.abilist: Remove.
20268 * abilist/libcrypt.abilist: Remove.
20269 * abilist/libdl.abilist: Remove.
20270 * abilist/librt.abilist: Remove.
20271 * abilist/libthread_db.abilist: Remove.
20272 * abilist/libutil.abilist: Remove.
20273 * scripts/extract-abilist.awk: Remove.
20274 * scripts/merge-abilist.awk: Remove.
20275 * sysdeps/generic/libcidn.abilist: New file.
20276 * sysdeps/generic/libnss_compat.abilist: New file.
20277 * sysdeps/generic/libnss_db.abilist: New file.
20278 * sysdeps/generic/libnss_dns.abilist: New file.
20279 * sysdeps/generic/libnss_files.abilist: New file.
20280 * sysdeps/generic/libnss_hesiod.abilist: New file.
20281 * sysdeps/generic/libnss_nis.abilist: New file.
20282 * sysdeps/generic/libnss_nisplus.abilist: New file.
20283 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20284 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20285 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20286 file.
20287 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20288 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20289 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20290 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20291 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20292 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20293 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20294 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20295 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20296 file.
20297 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20298 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20299 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20300 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20301 file.
20302 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20303 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20304 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20305 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20306 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20307 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20308 file.
20309 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20311 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20312 file.
20313 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20315 New file.
20316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20317 New file.
20318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20319 New file.
20320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20321 New file.
20322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20323 New file.
20324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20325 New file.
20326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20327 New file.
20328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20329 New file.
20330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20331 New file.
20332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20333 New file.
20334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20335 New file.
20336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20337 New file.
20338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20339 New file.
20340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20341 file.
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20343 New file.
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20345 New file.
20346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20347 file.
20348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20349 New file.
20350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20351 New file.
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20353 file.
20354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20355 New file.
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20357 New file.
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20359 New file.
20360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20361 New file.
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20363 New file.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20365 New file.
20366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20368 file.
20369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20370 New file.
20371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20372 file.
20373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20374 file.
20375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20376 file.
20377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20378 file.
20379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20380 file.
20381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20382 New file.
20383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20384 file.
20385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20386 file.
20387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20388 New file.
20389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20390 file.
20391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20393 file.
20394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20395 New file.
20396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20397 file.
20398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20399 file.
20400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20401 file.
20402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20403 file.
20404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20405 file.
20406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20407 New file.
20408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20409 file.
20410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20411 file.
20412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20413 New file.
20414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20415 file.
20416 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20417 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20418 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20419 file.
20420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20421 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20422 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20423 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20424 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20425 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20426 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20427 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20428 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20429 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20432 file.
20433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20434 New file.
20435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20436 file.
20437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20438 file.
20439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20440 file.
20441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20442 file.
20443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20444 file.
20445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20446 New file.
20447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20448 New file.
20449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20450 file.
20451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20452 New file.
20453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20454 file.
20455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20457 file.
20458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20459 New file.
20460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20461 file.
20462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20463 file.
20464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20465 file.
20466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20467 file.
20468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20469 file.
20470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20471 New file.
20472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20473 New file.
20474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20475 file.
20476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20477 New file.
20478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20479 file.
20480
41d73a1b
JM
204812012-04-28 Joseph Myers <joseph@codesourcery.com>
20482
20483 * conform/conformtest.pl: Fix typo in handling typed-constant from
20484 allow-header.
20485
28aeeda4
JM
204862012-04-27 Joseph Myers <joseph@codesourcery.com>
20487
adae8f5e
JM
20488 * README: Cut down references to pre-2.6 Linux kernels and
20489 Linuxthreads. Update lists of configurations in libc and ports
20490 and sort alphabetically. Say "or newer" with Linux kernel version
20491 requirements.
20492
28aeeda4
JM
20493 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20494
a462cb63
RA
204952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20496
20497 [BZ #887]
20498 * math/libm-test.inc (logb_test_downward): New test to expose
20499 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20500 rounding mode.
20501
6ad3493e
JM
205022012-04-27 Joseph Myers <joseph@codesourcery.com>
20503
20504 [BZ #14027]
20505 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20506 to be done.
20507 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20508 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20509
2ce4f015
JM
205102012-04-26 Joseph Myers <joseph@codesourcery.com>
20511
5aeb141a
JM
20512 * sysdeps/unix/i386/brk.S: Remove file.
20513 * sysdeps/unix/i386/dl-brk.S: Likewise.
20514 * sysdeps/unix/i386/pipe.S: Likewise.
20515 * sysdeps/unix/i386/sigreturn.S: Likewise.
20516 * sysdeps/unix/i386/syscall.S: Likewise.
20517 * sysdeps/unix/i386/vfork.S: Likewise.
20518 * sysdeps/unix/i386/wait.S: Likewise.
20519
7143acae
JM
20520 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20521 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20522
2ce4f015
JM
20523 * configure.in (arm*-none*): Do not allow without
20524 --enable-hacker-mode.
20525 (netbsd*): Remove case setting base_os.
20526 (386bsd*): Likewise.
20527 (freebsd*): Likewise.
20528 (bsdi*): Likewise.
20529 (osf*): Likewise.
20530 (sunos*): Likewise.
20531 (ultrix*): Likewise.
20532 (newsos*): Likewise.
20533 (dynix*): Likewise.
20534 (*bsd*): Likewise.
20535 (sysv*): Likewise.
20536 (isc*): Likewise.
20537 (esix*): Likewise.
20538 (sco*): Likewise.
20539 (minix*): Likewise.
20540 (irix4*): Likewise.
20541 (irix6*): Likewise.
20542 (solaris[2-9]*): Likewise.
20543 (none): Likewise.
20544 * configure: Regenerated.
20545
0ac229c8
AZ
205462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20547
20548 [BZ #11521]
20549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20550 overflow or cancellation in calculating denominator.
20551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20553 down expression to avoid unexpected rounding in newer GCCs.
20554 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20555
33f244f4
DM
205562012-04-26 David S. Miller <davem@davemloft.net>
20557
20558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20559 long-double compat symbols.
20560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20573
cfa1f3e8
DM
205742012-04-25 David S. Miller <davem@davemloft.net>
20575
20576 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20577 HWCAP_* values only after the memory barriers have been defined.
20578 (atomic_full_barrier): Define.
20579 (atomic_read_barrier): Define.
20580 (atomic_write_barrier): Define.
20581
6e236b92
SP
205822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20583
20584 * shlib-versions: Add libgcc_s version information.
20585 * sysdeps/generic/libgcc_s.h: Remove.
20586 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20587 libgcc_s.h.
20588 * sysdeps/gnu/unwind-resume.c: Likewise.
20589 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20590
aab39a09
DM
205912012-04-25 David S. Miller <davem@davemloft.net>
20592
20593 * sysdeps/unix/sparc/brk.S: Delete.
20594 * sysdeps/unix/sparc/dl-brk.S: Delete.
20595 * sysdeps/unix/sparc/pipe.S: Delete.
20596 * sysdeps/unix/sparc/sysdep.S: Delete.
20597 * sysdeps/unix/sparc/sysdep.h: Delete.
20598 * sysdeps/unix/sparc/vfork.S: Delete.
20599 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20600 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20602 ret_ERRVAL, r0, r1, MOVE): Define.
20603 (JUMPTARGET): Remove.
20604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20605 sysdeps/unix/sparc/sysdep.h
20606 (ENTRY, END): Remove.
20607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20608
a3cc4f48
JM
206092012-04-25 Joseph Myers <joseph@codesourcery.com>
20610
2ed8cda2
JM
20611 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20612 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20613 -DIS_IN_build.
20614
35d76d59
JM
20615 * timezone/README: Update upstream location and email address for
20616 tzcode and tzdata.
20617 * timezone/zdump.c: Update from tzcode 2012b.
20618 * timezone/zic.c: Likewise.
20619
a3cc4f48
JM
20620 * configure.in (libc_cv_as_needed): Remove test.
20621 * configure: Regenerated.
20622 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20623 conditional definition.
20624 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20625 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20626 * config.make.in (have-as-needed): Remove variable.
20627
ceab42c3
SP
206282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20629 Paul Pluzhnikov <ppluzhnikov@google.com>
20630
20631 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20632 strings correctly.
20633
3ce2865f
CLT
206342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20635
20636 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20637 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20638 * sysdeps/sh/strlen.S: Likewise.
20639
f37e0d68
JM
206402012-04-24 Joseph Myers <joseph@codesourcery.com>
20641
ae186e9a
JM
20642 * sysdeps/unix/fork.S: Remove file.
20643 * sysdeps/unix/i386/fork.S: Likewise.
20644 * sysdeps/unix/sparc/fork.S: Likewise.
20645
b96914af
JM
20646 * sysdeps/unix/system.c: Remove file.
20647 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20648
f37e0d68
JM
20649 * sysdeps/unix/getegid.S: Remove file.
20650 * sysdeps/unix/geteuid.S: Likewise.
20651
87ef29ca
RM
206522012-04-24 Roland McGrath <roland@hack.frob.com>
20653
83bcd236
RM
20654 * scripts/check-localplt.awk: New file.
20655 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20656 of diff.
20657 * scripts/data/localplt-generic.data: Add a comment.
20658
87ef29ca
RM
20659 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20660 NODE when __dir_mkfile failed.
20661 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20662 Reported by Ludovic Courtès <ludo@gnu.org>.
20663
e5a6e567
AJ
206642012-04-24 Andreas Jaeger <aj@suse.de>
20665
20666 * Makerules (common-clean): Also remove gen-as-const-headers
20667 files.
20668
c1820385
JM
206692012-04-24 Joseph Myers <joseph@codesourcery.com>
20670
20671 * Makerules (native-compile): Do not change working directory for
20672 build. Use $(OUTPUT_OPTION) in command.
20673 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20674
94e02fc4
AZ
206752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20676
20677 [BZ #13886]
20678 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20679 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20680 * math/libm-test.inc (floor_test): Add more tests.
20681 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20682
3a533ca3
JM
206832012-04-24 Joseph Myers <joseph@codesourcery.com>
20684
940ab4b3
JM
20685 * sysdeps/unix/getdents.c: Remove file.
20686 * sysdeps/unix/sysv/getdents.c: Likewise.
20687 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20688
90e037bd
JM
20689 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20690 sysdeps/unix/mman/syscalls.list.
20691 (mmap): Likewise.
20692 (mprotect): Likewise.
20693 (msync): Likewise.
20694 (munmap): Likewise.
20695 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20696 * sysdeps/unix/mman/syscalls.list: Remove.
20697 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20698
3a533ca3
JM
20699 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20700 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20701 * configure: Regenerated.
20702 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20703 $(libgcc_s_suffix).
20704 * config.make.in (libgcc_s_suffix): Remove variable.
20705
1ad743de
JM
207062012-04-23 Joseph Myers <joseph@codesourcery.com>
20707
4ad451e2
JM
20708 * sysdeps/unix/sysv/gethostname.c: Move to ...
20709 * sysdeps/posix/gethostname.c: ... here.
20710
5e37ce39
JM
20711 * sysdeps/unix/execve.S: Remove file.
20712
1ad743de
JM
20713 * sysdeps/unix/_exit.S: Remove file.
20714
4e681b5b
AJ
207152012-04-23 Andreas Jaeger <aj@suse.de>
20716
20717 [BZ #13739]
20718 * manual/Makefile: Remove make dist support, there's no
20719 need for a stand-alone documentation tar ball.
20720 (TEXI2DVI): Define always, it's not in Makeconfig.
20721 (dist): Removed.
20722 (tar-it): Removed.
20723 (edition): Removed.
20724 (glibc-doc-$(edition).tar): Removed
20725 (%.Z): Removed.
20726 (%.gz): Removed.
20727 (%.uu): Removed.
20728 (ETAGS): Remove, it's in Makeconfig.
20729 (move-if-change): Remove, it's in Makeconfig.
20730
38686a03 207312012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20732
20733 [BZ #13970]
20734 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20735 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20736 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20737 (strtod_l, strtof_l, strtold_l): Remove __wur.
20738 It is not necessarily an error to ignore strtol's return value.
20739 One can reliably look at the stored endptr to decide whether
20740 the number had valid syntax.
20741
7c0616fa
AJ
207422012-04-21 Andreas Jaeger <aj@suse.de>
20743
803cb6b7 20744 [BZ #13739]
7c0616fa
AJ
20745 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20746
b0fe253f
JM
207472012-04-21 Joseph Myers <joseph@codesourcery.com>
20748
20749 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20750 * sysdeps/unix/sysv/Versions: Remove file.
20751
8280f22d
MT
207522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20753
20754 [BZ #13927]
20755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20756
75ce411f 207572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20758
20759 [BZ #7064]
20760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20761 version from __vm86.
20762
097d59fa
JM
207632012-04-20 Joseph Myers <joseph@codesourcery.com>
20764
a90f3bcb
JM
20765 * sysdeps/unix/common/lxstat.c: Remove file.
20766 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20767
edc7ea78
JM
20768 * sysdeps/unix/sysv/Makefile: Remove file.
20769
cb78c221
JM
20770 * sysdeps/unix/sysv/direct.h: Remove file.
20771
efa6a45f
JM
20772 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20773 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20774 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20775 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20776 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20777 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20778 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20779
9c9f2d0c
JM
20780 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20781
4541c83b
JM
20782 * sysdeps/unix/xmknod.c: Remove file.
20783 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20784
f5d153a0
JM
20785 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20786
aa746595
JM
20787 * sysdeps/unix/sysv/i386/time.S: Remove file.
20788
cce5905e
JM
20789 * sysdeps/unix/fxstat.c: Remove file.
20790 * sysdeps/unix/xstat.c: Likewise.
20791 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20792
37fa3841
JM
20793 * sysdeps/unix/sysv/sigaction.c: Remove file.
20794
ff1962a3
JM
20795 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20796 (sysdep_headers): Remove variable.
20797 [termio.h not in sysdep_headers] (generated): Likewise.
20798 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20799 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20800 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20801 * sysdeps/unix/sysv/tcflow.c: Likewise.
20802 * sysdeps/unix/sysv/tcflush.c: Likewise.
20803 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20804 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20805 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20806 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20807 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20808
e7740d31
JM
20809 * sysdeps/unix/siglist.c: Remove file.
20810
ee06f18b
JM
20811 * sysdeps/unix/getppid.S: Remove file.
20812
097d59fa
JM
20813 * sysdeps/unix/mkdir.c: Remove file.
20814 * sysdeps/unix/rmdir.c: Likewise.
20815
ff3d51ec
AS
208162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20817
20818 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20819 ERR_MAX value.
20820 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20821 errlist-compat value.
20822
50f81fd7
DM
208232012-04-18 David S. Miller <davem@davemloft.net>
20824
20825 * sysdeps/generic/memcopy.h (reg_char): Delete.
20826 * debug/strcat_chk.c: Use char, not reg_char.
20827 * debug/strcpy_chk.c: Likewise.
20828 * debug/strncat_chk.c: Likewise.
20829 * debug/strncpy_chk.c: Likewise.
20830 * string/memchr.c: Likewise.
20831 * string/memrchr.c: Likewise.
20832 * string/rawmemchr.c: Likewise.
20833 * string/strcat.c: Likewise.
20834 * string/strchr.c: Likewise.
20835 * string/strchrnul.c: Likewise.
20836 * string/strcmp.c: Likewise.
20837 * string/strcpy.c: Likewise.
20838 * string/strncat.c: Likewise.
20839 * string/strncmp.c: Likewise.
20840 * string/strncpy.c: Likewise.
20841
8ff41c46
WS
208422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20843
20844 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20845 __builtin_memcopy is called when src and dest ranges are known to not
20846 overlap.
20847
6b652f46
WS
208482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20849
20850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20851 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20852 fwd_align_merge macro call.
20853 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20854 bwd_align_merge macro call.
20855 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20856
b282631e
WS
208572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20858
20859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20860 bwd_align_merge macros.
20861 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20862 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20864
95aa737c
DM
208652012-04-18 David S. Miller <davem@davemloft.net>
20866
20867 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20868
7a99a614
AJ
208692012-04-18 Andreas Jaeger <aj@suse.de>
20870
20871 [BZ# 6794]
20872 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20873 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20874 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20875
20876 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20877 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20878 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20879
20880 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20881 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20882 Adjust for changed ldbl-128 files.
20883
20884 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20885 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20886 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20887
e5270c23
DM
208882012-04-17 David S. Miller <davem@davemloft.net>
20889
20890 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20891
fb5e92c9
AS
208922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20893
20894 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20895 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20896 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20897 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20898 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20899 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20900
76da7265
AZ
209012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20902
20903 [BZ #6794]
20904 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20905 * math/libm-test.inc: Add ilogb errno and exception tests.
20906 * math/w_ilogb.c: New file: ilogb wrapper.
20907 * math/w_ilogbf.c: New file: ilogbf wrapper.
20908 * math/w_ilogbl.c: New file: ilogbl wrapper.
20909 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20910 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20911 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20912 exception being thrown with 0.0 as argument.
20913 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20914 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20915 exception being thrown with 0.0 as argument.
20916 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20917 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20918 exception being thrown with 0.0 as argument.
20919 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20920 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20921 exception being thrown with 0.0 as argument.
20922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20923 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20925 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20927 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20928 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20929 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20930 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20931
0396e69d
PB
209322012-04-17 Petr Baudis <pasky@ucw.cz>
20933
20934 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20935 with altivec.
20936
750b5926
MP
209372012-04-16 Marek Polacek <polacek@redhat.com>
20938
20939 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20940
751728a1
MP
209412012-04-16 Marek Polacek <polacek@redhat.com>
20942
20943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20944 operands of fdivp instruction.
20945
34a27407
L
209462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20947
20948 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20949 * elf/tst-auditmod3b.c: Likewise.
20950 * elf/tst-auditmod4b.c: Likewise.
20951 * elf/tst-auditmod5b.c: Likewise.
20952 * elf/tst-auditmod6b.c: Likewise.
20953 * elf/tst-auditmod6c.c: Likewise.
20954 * elf/tst-auditmod7b.c: Likewise.
20955 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20956 * sysdeps/x86_64/preconfigure.in: Likewise.
20957 * sysdeps/x86_64/preconfigure: Regenerated.
20958
7e73e17d
L
209592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20960
20961 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20962 __ILP32__.
20963
c7a6ab72
AB
209642012-04-13 Antoine Balestrat <merkil33@gmail.com>
20965
20966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20967 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20968
a9e8e0e0
CL
209692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20970
20971 [BZ #13973]
20972 * locale/iso-639.def: Fix gl language name. Spotted by
20973 Yaron Shahrabani.
20974
ec98af7d
RM
209752012-04-12 Roland McGrath <roland@hack.frob.com>
20976
20977 [BZ #2074]
20978 * libio/libio.h (__io_write_fn): Update comment.
20979
247c3ede
PB
209802012-04-12 Petr Baudis <pasky@ucw.cz>
20981
20982 [BZ #2074]
20983 * stdio.texi (Hook Functions): The user provided writer function
20984 is not allowed to return -1.
20985
55939d6d
DM
209862012-04-11 David S. Miller <davem@davemloft.net>
20987
20988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20989
90020f5a
MF
209902012-04-11 Mike Frysinger <vapier@gentoo.org>
20991
20992 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20993 Add a leading slash to rtkaio.
20994
288f9098
JM
209952012-04-11 Jim Meyering <meyering@redhat.com>
20996
90020f5a
MF
20997 [BZ #11959]
20998 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20999 It is not necessarily an error to ignore fwrite's return
21000 value. One can reliably use ferror to test for errors after
21001 the fact.
288f9098 21002
4be2b570
L
210032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21004
21005 * bits/types.h (__snseconds_t): New type.
21006 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21007
21008 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21010 (__SNSECONDS_T_TYPE): Likewise.
21011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21012 (__SNSECONDS_T_TYPE): Likewise.
21013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21014 (__SNSECONDS_T_TYPE): Likewise.
21015
288f9098 210162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21017
21018 [BZ #2636]
21019 * manual/time.texi (Processor Time): Return type of times is
21020 elapsed real time since an arbitrary point in the past.
21021 (CPU Time): Move CLK_TCK from here...
21022 (Processor Time): ...to here. Correct description.
21023 * manual/conf.texi (Constants for Sysconf): Correct description of
21024 _SC_CLK_TCK.
21025
d7dd4413
DM
210262012-04-10 David S. Miller <davem@davemloft.net>
21027
21028 [BZ #13967]
21029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21030 where the is a gap between DT_REL(A) and DT_JMPREL.
21031
b46068fc
L
210322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21033
21034 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21035 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21036 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21037
73d65cc3
SP
210382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21039
21040 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21041 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21042 (dl_main): Handle --inhibit-cache.
21043 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21044 _dl_inhibit_cache.
21045 * elf/dl-load.c (_dl_map_object): Use it.
21046 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21047
bcc8d661
JM
210482012-04-09 Joseph Myers <joseph@codesourcery.com>
21049
8f9a2fae
JM
21050 [BZ #13872]
21051 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21052 (__ieee754_powl): Saturate large exponents rather than testing for
21053 overflow of y*log2(x).
21054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21055 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21056 exceptions.
21057
bcc8d661
JM
21058 [BZ #11521]
21059 * math/s_ctan.c: Include <float.h>.
21060 (__ctan): Avoid internal overflow or cancellation in calculating
21061 denominator.
21062 * math/s_ctanf.c: Likewise.
21063 * math/s_ctanl.c: Likewise.
21064 * math/s_ctanh.c: Likewise.
21065 * math/s_ctanhf.c: Likewise.
21066 * math/s_ctanhl.c: Likewise.
21067 * math/libm-test.inc (ctan_test): Add more tests.
21068 (ctanh_test): Likewise.
21069 * sysdeps/i386/fpu/libm-test-ulps: Update.
21070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21071
823fbbb4
AJ
210722012-04-09 Andreas Jaeger <aj@suse.de>
21073
03879793
AJ
21074 [BZ #6894]
21075 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21076 is an optional BSD extension.
21077
823fbbb4
AJ
21078 [BZ #10254]
21079 * manual/stdio.texi (Opening Streams): Document additional fopen
21080 parameters.
21081
8de131cb
RM
210822012-04-09 Roland McGrath <roland@hack.frob.com>
21083
21084 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21085 %eax without telling the compiler.
21086
c0ed9d7d
CD
210872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21088
21089 [BZ # 13963]
21090 * manual/install.texi: Use sourceware.org.
21091
c483f6b4
JM
210922012-04-09 Joseph Myers <joseph@codesourcery.com>
21093
d7dd9453
JM
21094 [BZ #13873]
21095 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21096 (__ieee754_pow): Generate overflow and underflow using huge*huge
21097 and tiny*tiny rather than just returning constant infinity or zero
21098 for large exponents.
21099 * math/libm-test.inc (pow_test): Require overflow exceptions for
21100 applicable cases of large exponents.
21101
c483f6b4
JM
21102 [BZ #706]
21103 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21104 (__ieee754_pow): Use iterative multiplication algorithm only for
21105 integer exponents with absolute value below 1024. Check for odd
21106 integer exponents when using algorithm for real exponents.
21107 * math/libm-test.inc (pow_test): Add more tests.
21108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21109
d2de7579
JM
211102012-04-08 Joseph Myers <joseph@codesourcery.com>
21111
21112 [BZ #13705]
21113 * math/libm-test.inc (exp_test): Do not allow overflow exception
21114 on underflow test.
21115
f77f1232
AJ
211162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21117
21118 [BZ #13705]
21119 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21120 instead of __kernel_standard_f.
21121
3884932b
MF
211222012-04-08 Mike Frysinger <vapier@gentoo.org>
21123
21124 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21125 * sysdeps/x86_64/memset_chk.S: Likewise.
21126
54472e9c
AJ
211272012-04-08 Andreas Jaeger <aj@suse.de>
21128
6ab0fbfc
AJ
21129 [BZ #10153]
21130 * manual/startup.texi (Environment Access): Describe return value
21131 for putenv and setenv.
21132
61efba8c
AJ
21133 [BZ #6895]
21134 * manual/filesys.texi (Directory Entries): Add description for
21135 DT_LNK.
21136
95c3f29a
AJ
21137 [BZ #6890]
21138 * manual/filesys.texi (Directory Entries): Clarify that it's file
21139 system not operating system in the description of DT_UNKNOWN.
21140
54472e9c
AJ
21141 [BZ #6578]
21142 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21143
624254b1
SC
211442012-04-08 Stephen Compall <s11@member.fsf.org>
21145
21146 [BZ #6649]
21147 * manual/llio.texi (Opening and Closing Files): Add cross
21148 reference to explain mode argument.
21149
1e4920e0
MF
211502012-04-07 Mike Frysinger <vapier@gentoo.org>
21151
21152 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21153 * sysdeps/x86_64/memset_chk.S: Likewise.
21154
5ed848f3
DM
211552012-04-07 David S. Miller <davem@davemloft.net>
21156
21157 * elf/elf.h (R_SPARC_WDISP10): Define.
21158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21159 R_SPARC_SIZE32.
21160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21161 R_SPARC_SIZE64 and R_SPARC_H34.
21162
96154cd8
CD
211632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21164
21165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21166 conditions and remove no longer applicable assertion.
21167
9904dc47
L
211682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21169
21170 * bits/byteswap.h: Include <features.h>.
21171 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21172 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21173
f8887d0a
L
211742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21175
21176 * bits/byteswap.h (__bswap_16): Removed.
21177 Include <bits/byteswap-16.h> to get __bswap_16.
21178 * sysdeps/i386/bits/byteswap.h: Likewise.
21179 * sysdeps/s390/bits/byteswap.h: Likewise.
21180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21181 * bits/byteswap-16.h: New file.
21182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21183 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21184 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21185 * string/Makefile (headers): Add bits/byteswap-16.h.
21186
62470f60
PP
211872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21188
21189 [BZ #13895]
21190 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21191 extra indirection.
21192 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21193 * nss/tst-nss-static.c: New.
21194
4dad7bab
RM
211952012-04-06 Robert Millan <rmh@gnu.org>
21196
21197 [BZ #6486]
21198 * manual/llio.texi (File Position Primitive): lseek
21199 refers to WHENCE when it really means OFFSET.
21200
e9142a17
AJ
212012012-04-06 Andreas Jaeger <aj@suse.de>
21202
2c040eff
AJ
21203 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21204 strncmp declarations.
21205
e9142a17
AJ
21206 * abilist/libc.abilist: Add __poll and __ppoll.
21207
ff9f1c5f
DM
212082012-04-05 David S. Miller <davem@davemloft.net>
21209
dcd2ae90
DM
21210 * scripts/check-local-headers.sh: Accept a host triplet in the
21211 path matched by the exclude regexp.
21212
993eb054
DM
21213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21214 definition.
21215 * sysdeps/powerpc/powerpc32/dl-machine.h
21216 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21217 * sysdeps/s390/s390-32/dl-machine.h
21218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21219 * sysdeps/sparc/sparc32/dl-machine.h
21220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21221 * sysdeps/sparc/sparc64/dl-machine.h
21222 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21223
ff9f1c5f
DM
21224 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21225 lazy binding.
48e2e132 21226 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21227 undefined symbol errors.
21228
48e2e132 21229 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21230 DT_NEEDED entries.
21231
e80d6f94
MM
212322012-04-05 Michael Matz <matz@suse.de>
21233
21234 [BZ #13592]
21235 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21236
349fa79f
AJ
212372012-04-05 Andreas Jaeger <aj@suse.de>
21238
21239 [BZ #13908]
21240 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21241 comment.
21242
f402708f
KK
212432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21244
21245 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21246 which ROUND is no valid rounding mode.
21247
2ecccfc9
KK
212482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21249
21250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21251 read again.
21252 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21253
8a53f50f
KK
212542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21255
21256 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21257 an exception using FPU order intentionally.
21258
212592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21260
21261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21262 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21263 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21264 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21265
d653abb7
SJ
212662012-04-05 Simon Josefsson <simon@josefsson.org>
21267
21268 [BZ #12340]
21269 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21270 EINVAL when BUFLEN is too smal.
21271
c3b1bf7d
TS
212722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21273
21274 [BZ #13553]
21275 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21276 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21277
b1aa60f3
AJ
212782012-04-03 Andreas Jaeger <aj@suse.de>
21279
c3b1bf7d 21280 [BZ #13938]
67f60a26
AJ
21281 * manual/setjmp.texi (System V contexts): Fix sentence.
21282
b1aa60f3
AJ
21283 [BZ #13926]
21284 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21285 New macro for this case.
21286 [!__GNUC__] (__bswap_64): New inline function for this case.
21287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21288 * bits/byteswap.h: Likewise.
21289 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21290 ull, guard with __GLIBC_HAVE_LONG_LONG.
21291
21292 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21293 __GLIBC_HAVE_LONG_LONG.
21294
21295 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21296 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21297
39c59c35
TMQMF
212982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21299
21300 [BZ #13691]
21301 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21302 inptr and inend, rather than using last_ch.
21303
135ffda8
DM
213042012-04-02 David S. Miller <davem@davemloft.net>
21305
21306 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21307 * stdio-common/printf-parse.h (read_int): Change return type to
21308 'int', return -1 on INT_MAX overflow.
21309 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21310 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21311 overflows INT_MAX. Check for overflow of in-format-string precision
21312 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21313 SIZE_MAX not INT_MAX for integer overflow test.
21314 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21315 skip the construct in the format string but do not record anything.
21316 * stdio-common/bug22.c: Adjust to test both width/prevision
21317 INT_MAX overflow as well as total length INT_MAX overflow. Check
21318 explicitly for proper errno values.
21319
228c019e
TS
213202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21321
302cadd3
TS
21322 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21323 CHAR_MAX.
21324 * string/test-strcmp.c [! WIDE]: Likewise.
21325 * time/tst-mktime2.c: Likewise for INT_MAX.
21326 * string/test-string.h: #include <sys/param.h> for MIN.
21327
228c019e
TS
21328 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21329 * sysdeps/i386/init-first.c (init): Likewise.
21330 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21331 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21332 * sysdeps/sh/init-first.c (init): Likewise.
21333
cfa633f5
UD
213342012-04-01 Ulrich Drepper <drepper@gmail.com>
21335
21336 * po/ru.po: Update from translation team.
d1635ef8 21337 * po/vi.po: Likewise.
cfa633f5 21338
6cd0a5ea
SP
213392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21340
21341 * resolv/nss_dns/dns-host.c: Merge copyright years.
21342
4b43400f
LD
213432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21344
21345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21346 Optimize memcpy with prefetch if
21347 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21348 src, dst pointers have unequal 16 byte alignments.
21349
48c41d04
SP
213502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21351
21352 [BZ #13928]
21353 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21354 from a CNAME entry and return the minimum ttl for the query.
21355 (gaih_getanswer_slice): Likewise.
21356
b8dc394d
JL
213572012-03-30 Jeff Law <law@redhat.com>
21358
21359 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21360 due to long keys.
21361 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21362 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21363
2f5a5ed0
JL
21364 * resolv/nss_dns/dns-host.c: Update copyright year.
21365
1d39e359
UD
213662012-03-30 Ulrich Drepper <drepper@gmail.com>
21367
c030f70c 21368 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21369 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21370
1d39e359
UD
21371 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21372 comments for sendmmsg.
21373
213742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21375
21376 [BZ #13691]
21377 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21378 with only 1 character between 0x0041 and 0x01b0.
21379 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21380 * wcsmbs/tst-mbsnrtowcs.c: New file.
21381
20fde227
DM
213822012-03-29 David S. Miller <davem@davemloft.net>
21383
21384 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21385 small copies by hand.
21386
984a4237
JL
213872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21388
21389 [BZ #13761]
21390 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21391 _nss_compat_initgroups_dyn): Fall back to malloc/free
21392 for large group memberships.
21393
18c9d62b
DM
213942012-03-28 David S. Miller <davem@davemloft.net>
21395
88d85d4f
DM
21396 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21397 that branches into memcpy.
21398 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21401 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21403 bits.
21404 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21405 implementation too.
21406 * sysdeps/sparc/mempcpy.S: New file.
21407
e5aa83e1
DM
21408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21409 the IFUNC routine in the libc case.
21410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21411
88570753
DM
21412 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21414 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21415 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21416 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21417 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21418 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21419 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21420
249d7567
DM
21421 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21422 loop to 256 bytes instead of 64 bytes and fix test signedness.
21423
18c9d62b
DM
21424 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21425 * sysdeps/sparc/sparc32/Makefile: rather than here...
21426 * sysdeps/sparc/sparc64/Makefile: and here.
21427
05f3d1f6
UD
214282012-03-28 Ulrich Drepper <drepper@gmail.com>
21429
21430 * malloc/mallocbug.c: Avoid warnings about unused variables.
21431
86ae07a8
JL
214322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21433
21434 [BZ #13760]
21435 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21436 in the right place. Discard and retry query if response is
21437 larger than input buffer size.
21438
41bf21a1
JM
214392012-03-28 Joseph Myers <joseph@codesourcery.com>
21440
d6270972
JM
21441 [BZ #369]
21442 [BZ #2678]
21443 [BZ #3866]
21444 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21445 x for large integer exponent.
21446 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21447 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21448 sign of result as needed afterwards.
21449 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21451 result for underflowing pow the same as for overflow.
21452 (__kernel_standard_l): Handle powl overflow and underflow here
21453 rather than calling __kernel_standard.
21454 * math/libm-test.inc (pow_test): Add more tests.
21455
414fca03 21456 [BZ #3868]
41bf21a1
JM
21457 [BZ #13879]
21458 [BZ #13910]
21459 [BZ #13911]
21460 [BZ #13912]
21461 [BZ #13913]
21462 [BZ #13915]
21463 [BZ #13916]
21464 [BZ #13917]
21465 [BZ #13918]
21466 [BZ #13919]
21467 [BZ #13920]
21468 [BZ #13921]
21469 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21470 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21471 (__kernel_standard_l): New function.
21472 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21473 __kernel_standard.
21474 * math/w_acosl.c (__acosl): Likewise.
21475 * math/w_asinl.c (__asinl): Likewise.
21476 * math/w_atan2l.c (__atan2l): Likewise.
21477 * math/w_atanhl.c (__atanhl): Likewise.
21478 * math/w_coshl.c (__coshl): Likewise.
21479 * math/w_exp10l.c (__exp10l): Likewise.
21480 * math/w_exp2l.c (__exp2l): Likewise.
21481 * math/w_fmodl.c (__fmodl): Likewise.
21482 * math/w_hypotl.c (__hypotl): Likewise.
21483 * math/w_j0l.c (__j0l, __y0l): Likewise.
21484 * math/w_j1l.c (__j1l, __y1l): Likewise.
21485 * math/w_jnl.c (__jnl, __ynl): Likewise.
21486 * math/w_lgammal.c (__lgammal): Likewise.
21487 * math/w_log10l.c (__log10l): Likewise.
21488 * math/w_log2l.c (__log2l): Likewise.
21489 * math/w_logl.c (__logl): Likewise.
21490 * math/w_powl.c (__powl): Likewise.
21491 * math/w_remainderl.c (__remainderl): Likewise.
21492 * math/w_scalbl.c (sysv_scalbl): Likewise.
21493 * math/w_sinhl.c (__sinhl): Likewise.
21494 * math/w_sqrtl.c (__sqrtl): Likewise.
21495 * math/w_tgammal.c (__tgammal): Likewise.
21496 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21497 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21498 * math/libm-test.inc (acos_test): Add more tests.
21499 (acosh_test): Likewise.
21500 (asin_test): Likewise.
21501 (atanh_test): Likewise.
21502 (exp_test): Likewise.
21503 (exp10_test): Likewise.
21504 (exp2_test): Likewise.
21505 (expm1_test): Likewise.
21506 (lgamma_test): Likewise.
21507 (log_test): Likewise.
21508 (log10_test): Likewise.
21509 (log1p_test): Likewise.
21510 (log2_test): Likewise.
21511 (pow_test): Do not allow some spurious overflow exceptions.
21512 (sqrt_test): Add more tests.
21513 (tgamma_test): Likewise.
21514 (y0_test): Likewise.
21515 (y1_test): Likewise.
21516 (yn_test): Likewise.
21517
dd62fda6
AB
215182012-03-27 Anton Blanchard <anton@samba.org>
21519
21520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21521 MAP_HUGETLB.
21522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21525
1e3cdfda
AJ
215262012-03-27 David S. Miller <davem@davemloft.net>
21527
b855ab85
DM
21528 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21529
1e3cdfda
AJ
21530 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21531 have-as-vis3 check.
21532
215332012-03-27 Andreas Jaeger <aj@suse.de>
21534
21535 * sysdeps/x86_64/elf/configure.in: Moved to ...
21536 * sysdeps/x86_64/configure.in: ... here.
21537 * sysdeps/x86_64/elf/start.S: Moved to ...
21538 * sysdeps/x86_64/start.S: ... here.
21539 * sysdeps/x86_64/elf/configure: Delete.
21540
21541 * sysdeps/x86_64/configure.in: Merge contents from
21542 sysdeps/i386/configure.in (without i686 check).
21543
21544 * sysdeps/i386/elf/Versions: Merge into ...
21545 * sysdeps/i386/Versions: ... this.
21546 * sysdeps/i386/elf/Versions: Delete file.
21547 * sysdeps/i386/elf/start.S: Moved to ...
21548 * sysdeps/i386/start.S: ...here.
21549 * sysdeps/i386/elf/configure.in: Merge into...
21550 * sysdeps/i386/configure.in: ...here.
21551 * sysdeps/i386/elf/configure.in: Delete file.
21552 * sysdeps/i386/elf/configure: Delete file.
21553
21554 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21555 * debug/backtracesyms.c: ... here.
21556 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21557 * debug/backtracesymsfd.c: ... here.
21558 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21559 * sysdeps/generic/ifunc-sel.h: ... here.
21560
21561 * sysdeps/unix/i386/start.c: Delete file.
21562 * sysdeps/unix/sparc/start.c: Delete file.
21563 * sysdeps/unix/start.c: Delete file.
21564
21565 * sysdeps/sh/elf/configure.in: Moved to ...
21566 * sysdeps/sh/configure.in: ... here.
21567 * sysdeps/sh/elf/start.S: Moved to ...
21568 * sysdeps/sh/start.S: ... here.
21569 * sysdeps/sh/elf/configure: Delete file.
21570
21571 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21572 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21573 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21574 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21575 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21576 * sysdeps/powerpc/powerpc64/start.S: here.
21577 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21578 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21579 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21580 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21581 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21582
21583 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21584 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21585 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21586 * sysdeps/powerpc/powerpc32/start.S: ... here.
21587 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21588 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21589 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21590
21591 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21592 * sysdeps/powerpc/ifunc-sel.h: ... here.
21593 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21594 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21595
21596 * sysdeps/sparc/elf/configure.in: Moved to ...
21597 * sysdeps/sparc/configure.in: ... here.
21598 * sysdeps/sparc/elf/configure: Delete file.
21599 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21600 * sysdeps/sparc/sparc32/start.S: ... here.
21601 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21602 * sysdeps/sparc/sparc64/start.S: ... here.
21603 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21604 * sysdeps/sparc/sparc32/Makefile: ... this.
21605 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21606 * sysdeps/sparc/sparc64/Makefile: ... this.
21607
21608 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21609 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21610 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21611 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21612 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21613 * sysdeps/s390/s390-32/setjmp.S: ... here.
21614 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21615 * sysdeps/s390/s390-32/configure.in: ... here.
21616 * sysdeps/s390/s390-32/elf/configure: Delete file.
21617 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21618 * sysdeps/s390/s390-32/start.S: ... here.
21619
21620 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21621 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21622 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21623 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21624 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21625 * sysdeps/s390/s390-64/setjmp.S: ... here.
21626 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21627 * sysdeps/s390/s390-64/configure.in: ... here
21628 * sysdeps/s390/s390-64/elf/configure: Delete file.
21629 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21630 * sysdeps/s390/s390-64/start.S: ... here.
21631 * sysdeps/s390/s390-64/elf/configure: Delete.
21632
21633 * configure.in: Remove support for elf directories in sysdeps.
21634
21635 * configure: Regenerated.
21636 * sysdeps/i386/configure: Regenerated.
21637 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21638 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21639 * sysdeps/s390/s390-32/configure: Regenerated.
21640 * sysdeps/s390/s390-64/configure: Regenerated.
21641 * sysdeps/sh/configure: Regenerated.
21642 * sysdeps/sparc/configure: Regenerated.
21643 * sysdeps/x86_64/configure: Regenerated.
21644
a3f61311
AS
216452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21646
c876e002
AS
21647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21648
a3f61311
AS
21649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21650 denormal result into account.
21651
ac4c54f0
RM
216522012-03-25 Roland McGrath <roland@hack.frob.com>
21653
21654 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21655 Reported by Allan McRae <allan@archlinux.org>.
21656
6a9b9c02
JL
216572012-03-23 Jeff Law <law@redhat.com>
21658
21659 * nss/getnssent.c (__nss_getent): Fix typo.
21660
4c42a0c1
DM
216612012-03-23 David S. Miller <davem@davemloft.net>
21662
21663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21664
1532c7ac
L
216652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21666
21667 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21668 to pad to uint64_t for each field.
21669 (dl_tls_index): Replace unsigned long with uint64_t.
21670
3ff42526
PP
216712012-03-23 Daniel Jacobowitz <dmj@google.com>
21672 Paul Pluzhnikov <ppluzhnikov@google.com>
21673
21674 [BZ #6528]
21675 * grp/Makefile (otherlibs): Don't set it.
21676 * inet/Makefile (otherlibs): Likewise.
21677 * login/Makefile (otherlibs): Likewise.
21678 * nscd/Makefile (otherlibs): Likewise.
21679 * posix/Makefile (otherlibs): Likewise.
21680 * pwd/Makefile (otherlibs): Likewise.
21681 * rt/Makefile (otherlibs): Likewise.
21682 * sunrpc/Makefile (otherlibs): Likewise.
21683 * nss/Makefile (otherlibs): Likewise.
21684 Add libnss_files to routines and static-only-routines.
21685 ($(objpfx)getent): Remove rule.
21686 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21687 static-only-routines.
21688
7c69cd14
JM
216892012-03-22 Joseph Myers <joseph@codesourcery.com>
21690
21691 [BZ #13892]
21692 * math/s_cexp.c: Include <float.h>.
21693 (__cexp): Handle exp result overflowing not necessarily
21694 overflowing both real and imaginary parts of result.
21695 * math/s_cexpf.c: Likewise.
21696 * math/s_cexpl.c: Likewise.
21697 * math/libm-test.inc (cexp_test): Add more tests.
21698 * sysdeps/i386/fpu/libm-test-ulps: Update.
21699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21700
81b035fe
L
217012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21702
21703 * include/link.h (ELFW): New macro.
21704 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21705 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21706
1da7940c
L
217072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21708
21709 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21710 with uint64_t.
21711
b749dbb9
L
217122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21713
21714 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21715 declaration.
21716 (struct La_x32_retval): Likewise.
21717
2ff87f3f
L
217182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21719
21720 * sysdeps/x86_64/preconfigure.in: New file.
21721 * sysdeps/x86_64/preconfigure: New generated file.
21722
c0df8e69
JM
217232012-03-22 Joseph Myers <joseph@codesourcery.com>
21724
48e44791
JM
21725 [BZ #13824]
21726 * math/e_exp2l.c: Include <float.h>.
21727 (__ieee754_exp2l): Handle overflow and underflow cases
21728 separately. Only pass fractional part of argument to
21729 __ieee754_expl.
21730 * math/libm-test.inc (exp2_test): Add more tests.
21731
c0df8e69
JM
21732 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21733 negating x to take absolute value.
21734 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21735 Likewise.
21736 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21737 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21738 Likewise.
21739 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21740 computing low part if x was negated.
21741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21742
c8e43ba7
L
217432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21746 la_x32_gnu_pltexit.
21747 (pltexit): Cast int_retval to ptrdiff_t.
21748 * elf/tst-auditmod3b.c: Likewise.
21749 * elf/tst-auditmod4b.c: Likewise.
21750 * elf/tst-auditmod5b.c: Likewise.
21751 * elf/tst-auditmod6b.c: Likewise.
21752 * elf/tst-auditmod6c.c: Likewise.
21753 * elf/tst-auditmod7b.c: Likewise.
21754
21755 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21756 and x32_gnu_pltexit.
21757
21758 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21759 __ELF_NATIVE_CLASS.
21760 (La_x32_regs): New macro.
21761 (La_x32_retval): Likewise.
21762 (la_x32_gnu_pltenter): New function prototype.
21763 (la_x32_gnu_pltexit): Likewise.
21764
7998fa78
AS
217652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21766
dcb33988
AS
21767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21768 exponent.
21769
233fc563
AS
21770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21771
7998fa78
AS
21772 * configure.in (libc_cv_cc_nofma): Check for option to disable
21773 generation of FMA instructions.
21774 * configure: Regenerate.
21775 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21776 * sysdeps/ieee754/dbl-64/Makefile: New file.
21777 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21778 Remove brandred-fma4.
21779 (CFLAGS-brandred-fma4.c): Remove.
21780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21781 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21782 define.
21783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21784 define.
21785
8e95c99a
L
217862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21787
21788 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21789 LLONG_MAX != LONG_MAX.
21790 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21791 (_fitoa_word): Likewise.
21792 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21793 LLONG_MAX != LONG_MAX.
21794 * stdio-common/_itowa.h: Include <_itoa.h>.
21795 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21796 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21797 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21798 only if not defined.
21799 (_ITOA_WORD_TYPE): Likewise.
21800 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21801 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21802
6f4db457
DM
218032012-03-21 David S. Miller <davem@davemloft.net>
21804
21805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21806
7785fe5a
L
218072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21808
21809 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21810 of x86_64 when setting libc_cv_slibdir, libdir and
21811 libc_cv_localedir.
21812 * sysdeps/unix/sysv/linux/configure: Regenerated.
21813
4535cd55
JM
218142012-03-21 Joseph Myers <joseph@codesourcery.com>
21815
21816 * manual/lang.texi (Old Varargs): Remove section.
21817 (How Variadic): Update menu.
21818 (va_start): Do not mention varargs.h.
21819
17228132
TS
218202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21821 Joseph Myers <joseph@codesourcery.com>
21822
21823 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21824 link test.
21825 * configure: Regenerated.
21826
8149f976
TS
218272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21828
05f3d1f6
UD
21829 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21830 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21831 conformtest.pl
8149f976 21832
1a4ac776
JM
218332012-03-21 Joseph Myers <joseph@codesourcery.com>
21834
be22ce65
JM
21835 * NOTES: Remove.
21836 * Makefile (files-for-dist): Remove NOTES.
21837 (NOTES): Remove rule.
21838 * README: Don't refer to NOTES.
21839 * manual/creature.texi: Don't include macros.texi.
21840 * manual/intro.texi (creature.texi): Remove comment referring to
21841 NOTES.
21842
40b601fb
JM
21843 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21844 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21845 * configure: Regenerated.
21846 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21847 LIBC_TRY_CC_OPTION.
21848 (libc_cv_as_i686): Likewise.
21849 (libc_cv_cc_avx): Likewise.
21850 (libc_cv_cc_sse2avx): Likewise.
21851 (libc_cv_cc_fma4): Likewise.
21852 (libc_cv_cc_novzeroupper): Likewise.
21853 * sysdeps/i386/configure: Regenerated.
21854
1a4ac776
JM
21855 [BZ #13883]
21856 * sysdeps/i386/fpu/s_cexp.S: Remove.
21857 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21859 * math/libm-test.inc (cexp_test): Add more tests.
21860 * sysdeps/i386/fpu/libm-test-ulps: Update.
21861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21862
a458e7fe
AM
218632012-03-21 Allan McRae <allan@archlinux.org>
21864
21865 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21866
0cb7efc5
JM
218672012-03-21 Joseph Myers <joseph@codesourcery.com>
21868
21869 [BZ #13871]
21870 * math/w_exp2.c: Do not include <float.h>.
21871 (o_threshold, u_threshold): Remove.
21872 (__exp2): Calculate result before checking finiteness and calling
21873 __kernel_standard.
21874 * math/w_exp2f.c: Likewise.
21875 * math/w_exp2l.c: Likewise.
21876 * math/libm-test.inc (exp2_test): Require overflow exception for
21877 1e6 input.
2460d3aa
JM
21878
21879 [BZ #3866]
21880 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21881 range of signed 64-bit integers before using fistpll. Remove
21882 checks for whether integers fit in mantissa bits.
21883 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21884 the range of signed 32-bit integers before using fistpl. Remove
21885 checks for whether integers fit in mantissa bits.
21886 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21887 (__ieee754_powl): Test for y outside the range of signed 64-bit
21888 integers before using fistpll. Reduce 64-bit values to 63-bit
21889 ones as needed.
21890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21891 divide-by-zero is raised for zero to large negative powers.
21892 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21893 (__ieee754_powl): Test for y outside the range of signed 64-bit
21894 integers before using fistpll. Reduce 64-bit values to 63-bit
21895 ones as needed.
21896 * math/libm-test.inc (pow_test): Add more tests.
21897
eb96ffb0
L
218982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21901 <stdio-common/_itoa.h>.
21902 * debug/segfault.c: Likewise.
21903 * elf/dl-cache.c: Likewise.
21904 * elf/dl-minimal.c: Likewise.
21905 * elf/dl-misc.c: Likewise.
21906 * elf/dl-sysdep.c: Likewise.
21907 * elf/dl-version.c: Likewise.
21908 * elf/rtld.c: Likewise.
21909 * hurd/hurdsock.c: Likewise.
21910 * hurd/lookup-retry.c: Likewise.
21911 * malloc/malloc.c: Likewise.
21912 * malloc/mtrace.c: Likewise.
21913 * nscd/nscd_getgr_r.c: Likewise.
21914 * nscd/nscd_getpw_r.c: Likewise.
21915 * nscd/nscd_getserv_r.c: Likewise.
21916 * posix/getopt_init.c: Likewise.
21917 * posix/wordexp.c: Likewise.
21918 * stdio-common/_itoa.c: Likewise.
21919 * stdio-common/printf_fphex.c: Likewise.
21920 * stdio-common/vfprintf.c: Likewise.
21921 * string/_strerror.c: Likewise.
21922 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21923 * sysdeps/i386/i686/hp-timing.h: Likewise.
21924 * sysdeps/mach/_strerror.c: Likewise.
21925 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21926 * sysdeps/mach/hurd/sethostid.c: Likewise.
21927 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21928 * sysdeps/mach/xpg-strerror.c: Likewise.
21929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21931 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21932 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21933 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21934 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21935 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21936 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21937 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21938 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21939 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21940 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21941 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21942 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21943 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21944 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21945 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21946 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21947 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21948 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21949 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21950
21951 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21952
21953 * stdio-common/_itoa.h: Moved to ...
21954 * sysdeps/generic/_itoa.h: Here.
21955
21956 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21957
21958 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21959 instead of "_itoa.h" and "_itowa.h".
21960 * stdio-common/vfprintf.: Likewise.
21961
d1af992d
L
219622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21963
21964 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21965 <bits/wordsize.h>.
21966 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21967 (__signbit): Likwise.
21968 (llrintf): Likwise.
21969 (llrint): Likwise.
21970
114883e0
L
219712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21972
21973 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21974 __WORDSIZE != 64.
21975
c135cc1b
JM
219762012-03-20 Joseph Myers <joseph@codesourcery.com>
21977
21978 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21979 OVERFLOW_EXCEPTION_OK.
21980 * math/libm-test.inc ("Philosophy"): Update comment about
21981 exception testing.
21982 (OVERFLOW_EXCEPTION): Define.
21983 (OVERFLOW_EXCEPTION_OK): Likewise.
21984 (INVALID_EXCEPTION_OK): Renumber.
21985 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21986 (IGNORE_ZERO_INF_SIGN): Likewise.
21987 (test_exceptions): Handle FE_OVERFLOW.
21988 (exp10_test): Expect overflow exceptions.
21989 (exp2_test): Likewise.
21990 (expm1_test): Likewise.
21991 (nextafter_test): Likewise.
21992 (pow_test): Likewise.
21993 (scalbn_test): Likewise.
21994 (scalbln_test): Likewise.
21995
95443d88
L
219962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21997
21998 * sysdeps/x86_64/bits/atomic.h
21999 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22000 64bit integer.
22001 (atomic_exchange_acq): Likewise.
22002 (__arch_exchange_and_add_body): Likewise.
22003 (__arch_add_body): Likewise.
22004 (atomic_add_negative): Likewise.
22005 (atomic_add_zero): Likewise.
22006
490df6c4
L
220072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22008
c2722551 22009 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22010 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22011
5e52b189
L
220122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22013
22014 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22015 Check __x86_64__ instead of __WORDSIZE.
22016
a9879d4c
L
220172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22018
22019 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22020
5df98260
DM
220212012-03-19 David S. Miller <davem@davemloft.net>
22022
e1497744
DM
22023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22024
5df98260
DM
22025 * sysdeps/sparc/fpu/fenv_private.h: New file.
22026 * sysdeps/sparc/fpu/math_private.h: Use it.
22027 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22028 Remove.
22029 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22030 (libc_feholdexcept_setroundl): Remove.
22031 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22032 Remove.
22033 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22034 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22035
b4c35121
L
220362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22037
22038 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22039 int64_t instead of long int.
22040 (INSERT_WORDS64): Likwise.
22041
56965fd7
L
220422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22043
22044 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22045 _Unwind_GetCFA return to _Unwind_Ptr first.
22046
83d1aec8
JM
220472012-03-19 Joseph Myers <joseph@codesourcery.com>
22048
1897ad44
JM
22049 [BZ #13629]
22050 * math/s_clog.c: Include <float.h>.
22051 (__clog): Scale large or subnormal inputs.
22052 * math/s_clogf.c: Likewise.
22053 * math/s_clogl.c: Likewise.
22054 * math/s_clog10.c: Include <float.h>.
22055 (M_LOG10_2): Define.
22056 (__clog10): Scale large or subnormal inputs.
22057 * math/s_clog10f.c: Likewise.
22058 * math/s_clog10l.c: Likewise.
22059 * math/libm-test.inc (clog_test): Add more tests.
22060 (clog10_test): Likewise.
22061 * sysdeps/i386/fpu/libm-test-ulps: Update.
22062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22063
7726d6a9
JM
22064 [BZ #11451]
22065 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22066 x and y.
22067 * math/libm-test.inc (atan2_test): Add another test.
22068
83d1aec8
JM
22069 * Makerules (common-objdir-compile): Remove.
22070 * sysdeps/unix/Makefile (config-generated): Do not add
22071 $(unix-generated) to variable.
22072 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22073 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22074 Remove rule.
22075 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22076 Likewise.
22077 [generic bits/local_lim.h] (before-compile): Do not append to
22078 variable.
22079 [generic bits/local_lim.h] (common-generated): Likewise.
22080 [generic sys/param.h] (before-compile): Do not append to variable.
22081 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22082 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22083 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22085 include.
22086 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22087 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22088 [generic sys/param.h] ($(addprefix
22089 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22090 [generic sys/param.h] (common-generated): Do not append to
22091 variable.
22092 [generic sys/param.h] (sysdep_headers): Likewise.
22093 [generic bits/errno.h] (before-compile): Do not append to
22094 variable.
22095 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22096 rule.
22097 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22098 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22099 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22100 [generic bits/errno.h] (common-generated): Do not append to
22101 variable.
22102 [generic bits/ioctls.h] (before-compile): Do not append to
22103 variable.
22104 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22105 rule.
22106 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22107 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22109 rule.
22110 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22111 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22112 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22113 [generic bits/ioctls.h] (common-generated): Do not append to
22114 variable.
22115 [generic sys/syscall.h] (syscall.h): Remove variable.
22116 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22117 rule.
22118 [generic sys/syscall.h] (before-compile): Do not append to
22119 variable.
22120 [generic sys/syscall.h] (common-generated): Likewise.
22121 * sysdeps/unix/errnos-tmpl.c: Remove file.
22122 * sysdeps/unix/errnos.awk: Likewise.
22123 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22124 * sysdeps/unix/ioctls.awk: Likewise.
22125 * sysdeps/unix/mk-local_lim.c: Likewise.
22126 * sysdeps/unix/snarf-ioctls: Likewise.
22127
4851a949
RH
221282012-03-19 Richard Henderson <rth@twiddle.net>
22129
bd37f2ee
RH
22130 * sysdeps/i386/fpu/fenv_private.h: New file.
22131 * sysdeps/i386/fpu/math_private.h: Use it.
22132 (math_opt_barrier, math_force_eval): Remove.
22133 (libc_feholdexcept_setround_53bit): Remove.
22134 (libc_feupdateenv_53bit): Remove.
22135 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22136 (math_opt_barrier, math_force_eval): Remove.
22137 (libc_feholdexcept): Remove.
22138 (libc_feholdexcept_setround): Remove.
22139 (libc_fetestexcept, libc_fesetenv): Remove.
22140 (libc_feupdateenv_test): Remove.
22141 (libc_feupdateenv, libc_feholdsetround): Remove.
22142 (libc_feresetround): Remove.
22143
d0adc922
RH
22144 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22145 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22146
0fe0f1f8
RH
22147 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22148 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22149 (libc_feupdateenv_testl): New.
22150 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22151 (libc_feupdateenv_testf): New.
22152 (libc_feupdateenv): Use libc_feupdateenv_test.
22153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22155
eb92c487
RH
22156 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22157 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22158 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22159 (libc_feresetround_noex): New.
22160 (libc_feresetround_noexf): New.
22161 (libc_feresetround_noexl): New.
22162 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22163 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22164 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22166 SET_RESTORE_ROUND.
22167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22169 (__cos): Likewise.
22170 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22172 SET_RESTORE_ROUND_NOEX.
22173 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22174 SET_RESTORE_ROUND_NOEXF.
22175 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22176 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22177 (libc_feholdsetroundf): New.
22178 (libc_feresetround, libc_feresetroundf): New.
22179
7d2e8012
RH
22180 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22181 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22182 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22183
b4dabbb4
RH
22184 * sysdeps/generic/math_private.h: Include <fenv.h>.
22185 (default_libc_feholdexcept): New.
22186 (default_libc_feholdexcept_setround): New.
22187 (default_libc_fesetenv, default_libc_feupdateenv): New.
22188 (libc_feholdexcept): Only define if undefined.
22189 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22190 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22191 (libc_feholdexcept_setroundl): Likewise.
22192 (libc_feholdexcept_setround_53bit): Likewise.
22193 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22194 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22195 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22196 (libc_feupdateenv_53bit): Likewise.
22197 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22198 (libc_feholdexcept): Convert from macro to inline function.
22199 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22200 (libc_fesetenv, libc_feupdateenv): Likewise.
22201
4851a949
RH
22202 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22203 not previously defined.
22204 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22205 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22206 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22207 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22208 * sysdeps/ieee754/flt-32/math_private.h: New file.
22209 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22210 math_private.h below SET_FLOAT_WORD.
22211 (__isnan, __isinf_ns, __finite): Remove.
22212 (__isnanf, __isinf_nsf, __finitef): Remove.
22213
e79d442e
AS
222142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22215
22216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22217
90b80344
DM
222182012-03-17 David S. Miller <davem@davemloft.net>
22219
22220 [BZ #6471]
22221 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22222 for 2.16.
22223
edc21804
DM
222242012-03-16 David S. Miller <davem@davemloft.net>
22225
77e927af
DM
22226 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22227 warnings.
22228
374976dd
DM
22229 [BZ #6471]
22230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22231 properly.
22232 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22233 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22234 sysdep_routines when subdir is sysvipc.
22235 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22236 __getshmlba helper.
22237
edc21804
DM
22238 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22239
473c3ef3
L
222402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22241
22242 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22243 [__LP64__].
22244
eb0f39b6
L
222452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22246
22247 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22248 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22249 (__lround): Renamed to ...
22250 (__llround): This. Replace long int with long long int.
22251 Define lround functions as aliases of llround functions.
22252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22253
6b6cd74b
L
222542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22255
22256 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22257 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22258 adresses to uintptr_t. Replace "long int" and "unsigned long
22259 int" with "greg_t" on va_arg.
22260
f1a77b01
L
222612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22262
22263 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22264 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22265
22266 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22267 Move e_machine check before EI_CLASS check. Handle x32
22268 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22269 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22270 SKIP_EM_IA_64 and include
22271 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22272
22273 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22274 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22275 (add_system_dir): New macro.
22276
22277 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22278 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22279
11b90b9f
JM
222802012-03-16 Joseph Myers <joseph@codesourcery.com>
22281
c36e1d23
JM
22282 [BZ #2551]
22283 [BZ #2552]
22284 [BZ #2553]
22285 [BZ #2554]
22286 [BZ #2562]
22287 [BZ #2563]
22288 [BZ #2565]
22289 [BZ #2566]
22290 [BZ #2576]
22291 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22292 (y0): Likewise.
22293 * math/w_j0f.c (j0f): Likewise.
22294 (y0f): Likewise.
22295 * math/w_j0l.c (__j0l): Likewise.
22296 (__y0l): Likewise.
22297 * math/w_j1.c (j1): Likewise.
22298 (y1): Likewise.
22299 * math/w_j1f.c (j1f): Likewise.
22300 (y1f): Likewise.
22301 * math/w_j1l.c (__j1l): Likewise.
22302 (__y1l): Likewise.
22303 * math/w_jn.c (jn): Likewise.
22304 (yn): Likewise.
22305 * math/w_jnf.c (jnf): Likewise.
22306 (ynf): Likewise.
22307 * math/w_jnl.c (__jnl): Likewise.
22308 (__ynl): Likewise.
22309 * math/libm-test.inc (j0_test): Add more tests.
22310 (j1_test): Likewise.
22311 (jn_test): Likewise. Add trailing semicolon to existing test.
22312 (y0_test): Likewise.
22313 (y1_test): Likewise.
22314 * sysdeps/i386/fpu/libm-test-ulps: Update.
22315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22316
11b90b9f
JM
22317 [BZ #13851]
22318 [BZ #13854]
22319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22320 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22321 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22323 (__tanl): Set errno for infinite argument.
22324 * sysdeps/i386/fpu/mptan.c: Remove.
22325 * sysdeps/i386/fpu/s_tan.S: Likewise.
22326 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22327 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22328 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22329 * math/libm-test.inc (tan_test): Add more tests and enable more
22330 tests for double and long double.
22331 * sysdeps/i386/fpu/libm-test-ulps: Update.
22332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22333
6a1bd2a1
JK
223342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22335
22336 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22337 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22338
10a803e0
RM
223392012-03-16 Roland McGrath <roland@hack.frob.com>
22340
22341 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22342 * configure.in: Use it for both main tree and add-ons.
22343 * configure: Regenerated.
22344
f196c7f7
L
223452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22346
22347 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22348
8848d99d
JM
223492012-03-16 Joseph Myers <joseph@codesourcery.com>
22350
96cbe7f4
JM
22351 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22352 in comment.
22353
8848d99d
JM
22354 [BZ #13851]
22355 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22356 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22357 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22358 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22360 infinite argument.
22361 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22363 != 0 for prec == 2.
22364 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22365 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22366 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22367 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22368 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22369 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22370 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22371 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22372 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22373 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22374 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22375 * math/libm-test.inc (cos_test): Add more tests and enable more
22376 tests for long double.
22377 (sin_test): Likewise.
22378 (sincos_test): Likewise.
22379 * sysdeps/i386/fpu/libm-test-ulps: Update.
22380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22381
dd7f4703
DM
223822012-03-16 David S. Miller <davem@davemloft.net>
22383
22384 * sysdeps/sparc/fpu/math_private.h: New file.
22385
006f1daa
DM
223862012-03-15 David S. Miller <davem@davemloft.net>
22387
c0c83bc8
DM
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22389 file.
e6a62e18 22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22392 file.
e6a62e18
DM
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22399 sysdep routines.
22400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22401
88cb87d9
DM
22402 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22403 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22404
006f1daa 22405 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22407 sparc-ifunc.h
006f1daa 22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22410 Likewise.
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22412 Likewise.
006f1daa
DM
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22417 Likewise.
006f1daa
DM
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22423 Likewise.
22424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22425 Likewise.
006f1daa
DM
22426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22450
11e0098e
AS
224512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22452
22453 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22454 scaling.
22455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22456
e85b09d0
AJ
224572012-03-15 Andreas Jaeger <aj@suse.de>
22458
22459 [BZ #13852]
22460 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22461 ieee754/flt-32 implementation for sin, cos and sincos.
22462 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22463 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22464 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22465 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22466 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22467 ieee754/flt-32 implementation for tan.
22468
22469 * math/libm-test.inc (cos_test): Enable some large input tests for
22470 float as well
22471 (sin_test): Likewise.
22472 (sincos_test): Likewise.
22473 (tan_test): Add tests for large input.
22474
22475 * sysdeps/i386/fpu/libm-test-ulps: Update.
22476
81c64153
AJ
224772012-03-15 Andreas Jaeger <aj@suse.de>
22478
22479 [BZ #13658]
22480 * math/libm-test.inc (cos_test): Add more test cases.
22481 (sin_test): Likewise.
22482 (sincos_test): Likewise.
22483
7bbfa5c6
AJ
224842012-03-15 Andreas Jaeger <aj@suse.de>
22485
22486 [BZ #13837]
22487 * math/libm-test.inc (cos_test): Add a test case for large input
22488 value.
22489 (sin_test): Likewise.
22490 (sincos_test): Likewise.
22491
224922012-03-15 Andreas Jaeger <aj@suse.de>,
22493 Joseph Myers <joseph@codesourcery.com>
22494
22495 [BZ #13658]
0671f479 22496 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22497 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22498 * sysdeps/i386/fpu/branred.c: Likewise.
22499 * sysdeps/i386/fpu/dosincos.c: Likewise.
22500 * sysdeps/i386/fpu/mpa.c: Likewise.
22501 * sysdeps/i386/fpu/s_cos.S: Likewise.
22502 * sysdeps/i386/fpu/s_sin.S: Likewise.
22503 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22504 * sysdeps/i386/fpu/sincos32.c: Likewise.
22505
22506 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22507 Define.
22508 (libc_feupdateenv_53bit): Define.
22509 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22510 Define.
22511 (libc_feupdateenv_53bit): Define.
22512
22513 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22514 53 bit (without extend i386 double precision).
22515
22516 * math/libm-test.inc (sincos_test): Add tests for large input.
22517 (sin): Likewise.
22518 (cos): Likewise.
22519
22520 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22521
9cad04ea
AS
225222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22523
22524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22525
f7062b9a
DM
225262012-03-15 David S. Miller <davem@davemloft.net>
22527
22528 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22529 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22530 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22531 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22544 file.
f7062b9a 22545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22547 file.
f7062b9a 22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22550 file.
f7062b9a 22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22553 file.
f7062b9a
DM
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22556 fmin/fmax sysdep routines.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22558
7bd951ff
DM
225592012-03-14 David S. Miller <davem@davemloft.net>
22560
559398ab
DM
22561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22590 routines.
22591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22592 file.
559398ab 22593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22595 file.
559398ab 22596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22598 file.
559398ab 22599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22601 file.
559398ab 22602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22604 file.
559398ab 22605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22607 file.
22608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22609 file.
22610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22611 file.
22612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22613 file.
22614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22615 New file.
22616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22617 file.
22618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22619 file.
559398ab 22620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22622 file.
559398ab 22623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22625 file.
559398ab 22626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22628 file.
559398ab 22629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22631 VIS3 routines.
559398ab
DM
22632
22633 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22634 New file.
22635
5a1c1e32
DM
22636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22637
eae47a36
DM
22638 * sysdeps/sparc/configure.in: New file.
22639 * sysdeps/sparc/configure: Generate.
22640 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22641 * configure: Regenerate.
22642 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22643 * config.make.in (have-as-vis3): New.
22644 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22645 available use -Av9d instead of -Av9a.
22646 * sysdeps/sparc/sparc64/Makefile: Likewise.
22647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22649 New file.
22650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22651 file.
22652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22653 New file.
22654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22655 file.
eae47a36
DM
22656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22661
c0c83bc8
DM
22662 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22663 fzeros/fnegs to load 0x80000000 into a float register instead of
22664 using the stack.
7bd951ff
DM
22665 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22666
bd951ccb
JM
226672012-03-14 Joseph Myers <joseph@codesourcery.com>
22668
22669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22670 bits/syscall.h.
22671 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22672 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22673 ($(inst_includedir)/bits/syscall.h): Remove rule.
22674 ($(objpfx)bits/syscall.d): Include instead of
22675 $(objpfx)syscall-list.d.
22676 (generated): Change syscall-list.h and syscall-list.d to
22677 bits/syscall.h and bits/syscall.d.
22678
bb4e6db2
RM
226792012-03-14 Roland McGrath <roland@hack.frob.com>
22680
22681 [BZ #13846]
22682 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22683
aa4a2ae1
JM
226842012-03-14 Joseph Myers <joseph@codesourcery.com>
22685
e456826d
JM
22686 [BZ #13841]
22687 * math/s_csqrt.c: Include <float.h>.
22688 (__csqrt): Scale large or subnormal inputs.
22689 * math/s_csqrtf.c: Likewise.
22690 * math/s_csqrtl.c: Likewise.
22691 * math/libm-test.inc (csqrt_test): Add more tests.
22692 * sysdeps/i386/fpu/libm-test-ulps: Update.
22693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22694
aa4a2ae1
JM
22695 [BZ #13840]
22696 * math/libm-test.inc (hypot_test): Add more tests.
22697
7c10fd35
DM
226982012-03-13 David S. Miller <davem@davemloft.net>
22699
22700 [BZ #13840]
22701 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22702 double-precision for the calculation instead of scaling.
22703
f453b98b
JM
227042012-03-13 Joseph Myers <joseph@codesourcery.com>
22705
22706 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22707 manipulate bits before adding and subtracting TWO52[sx].
22708 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22710 Likewise.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22712
09a3453f
DM
227132012-03-13 David S. Miller <davem@davemloft.net>
22714
8e59da90
DM
22715 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22716 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22718 rtld-global-offsets.h
22719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22720
2a8ab7f2
DM
22721 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22722 large parameters.
22723
10f62770
DM
22724 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22725
5f0bdb18
DM
22726 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22727 'err' in the ifdef scope in which it is actually used.
22728
09a3453f
DM
22729 * nss/nss_db/db-init.c: Include string.h
22730
b4b2eb5e
DM
227312012-03-12 David S. Miller <davem@davemloft.net>
22732
98bb2f1c
DM
22733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22734 masking out of the most significant byte of random value used.
22735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22736 Fix coding style in previous change.
22737
b4b2eb5e
DM
22738 * sysdeps/unix/sysv/linux/kernel-features.h
22739 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22740 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22741 expression.
22742 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22743 later.
22744
6e226b09
DM
227452012-03-11 David S. Miller <davem@davemloft.net>
22746
a1bcbd40
DM
22747 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22748 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22750 for 'resultvar' otherwise things get truncated on 64-bit.
22751
cb9d6174
DM
22752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22753 Fix masking out of the most significant byte of random value used.
22754
6e226b09
DM
22755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22756
058c132d
AS
227572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22758
22759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22760
2d2cd515
DM
227612012-03-09 David S. Miller <davem@davemloft.net>
22762
22763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22764 variables with appropriate CPP guards.
22765 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22766 frame pointer, not the stack pointer. Correct layout comments. Fix test
22767 on resulting framesize and the management of the outregs buffer for pltexit.
22768 Preserve floating point return values across _dl_call_pltexit call.
22769 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22770 framesize and the management of the outregs buffer for pltexit.
22771 Preserve floating point return values across _dl_call_pltexit
22772 call.
22773 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22774 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22775 (print_exit): Fix format string for return register value.
22776
9a07f9d0
JM
227772012-03-10 Joseph Myers <joseph@codesourcery.com>
22778
22779 * sunrpc/Makefile (others): Add rpcgen.
22780 ($(objpfx)rpcgen): Remove special build rule and dependency on
22781 libc.
22782 * sunrpc/rpcgen.c: New file.
22783
547b5e30
PE
227842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22785
c524201a
PE
22786 [BZ #13673]
22787 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22788 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22789 * sysdeps/i386/crti.S: Likewise.
22790 * sysdeps/i386/crtn.S: Likewise.
22791 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22792 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22793 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22794 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22795 * sysdeps/sh/crti.S: Likewise.
22796 * sysdeps/sh/crtn.S: Likewise.
22797 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22798
7b6235f2
PE
22799 [BZ #13673]
22800 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22801 with URL.
22802 * locale/programs/locfile-kw.gperf: Likewise.
22803 * locale/programs/charmap-kw.h: Regenerated.
22804 * locale/programs/locfile-kw.h: Likewise.
22805
547b5e30
PE
22806 [BZ #13673]
22807 * intl/plural.y: Replace FSF snail mail address with URL.
22808 * intl/plural.c: Regenerated.
22809
5f0a5dae
RH
228102012-03-09 Richard Henderson <rth@twiddle.net>
22811
22812 * include/math_private.h: Remove file.
22813 * math/math_private.h: Move file ...
22814 * sysdeps/generic/math_private.h: ... here.
22815
b8c03620
RH
22816 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22817 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22818 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22819
4e234f5d 22820 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22821 and <math_private.h>.
22822 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22823 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22824 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22825 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22826 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22840 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22844 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22856 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22860 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22865 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22866 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22867 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22868 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22869 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22871 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22872 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22873 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22874 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22875 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22876 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22879 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22880 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22883 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22885 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22889 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22901 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22902 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22903 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22904 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22905 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22910 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22911 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22912 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22913 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22915 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22916 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22917 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22922 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22923 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22924 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22925 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22926 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22927 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22928 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22929 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22930 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22932 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22933 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22934 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22936 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22938 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22939 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22941 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22942 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22943 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22944 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22945 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22946 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22947 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22948 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22949 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22950 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22951 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22952 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22953 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22954 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22955 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22956 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22957 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22958 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22959 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22960 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22961 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22962 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22963 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22964 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22965 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22966 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22967 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22968 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22969 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22970 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22971 * sysdeps/ieee754/k_standard.c: Likewise.
22972 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22973 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22976 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22978 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23063 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23065 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23070 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23075 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23076 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23080 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23081 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23084 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23085 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23086 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23087 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23088 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23089 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23090 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23091 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23093 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23094 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23096 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23097 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23099 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23100 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23102 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23103 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23104 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23105 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23106 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23108 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23109 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23113 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23114 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23115 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23116 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23121 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23122 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23123 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23126 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23127 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23128 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23129 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23130 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23131 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23132 * sysdeps/ieee754/s_lib_version.c: Likewise.
23133 * sysdeps/ieee754/s_matherr.c: Likewise.
23134 * sysdeps/ieee754/s_signgam.c: Likewise.
23135 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23136 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23137 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23138 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23139 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23140 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23141 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23142 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23143 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23144 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23145 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23146 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23147 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23149 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23150 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23151 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23152 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23153 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23156
1991fa03
JM
231572012-03-09 Joseph Myers <joseph@codesourcery.com>
23158
23159 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23160 * sunrpc/rpc_main.c: Likewise.
23161 * sunrpc/rpc_svcout.c: Likewise.
23162
60d6f5a6
DM
231632012-03-09 David S. Miller <davem@davemloft.net>
23164
23165 * include/math_private.h: New file.
23166
4962050e
JM
231672012-03-09 Joseph Myers <joseph@codesourcery.com>
23168
02a6f887
JM
23169 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23170 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23171 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23172 from <bits/socket_type.h>.
23173 (enum __socket_type): Don't define here.
23174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23176 bits/socket_type.h.
23177
c6e013c1
JM
23178 [BZ #13566]
23179 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23180 checking __USE_GNU.
23181
4962050e
JM
23182 * Makerules ($(inst_includedir)/%.h): New rule.
23183 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23184 (install-others): Remove variable setting.
23185 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23186
38842f45
RH
231872012-03-08 Richard Henderson <rth@twiddle.net>
23188
67bb6da6
RH
23189 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23190 from macro to inline function; merge with the
23191 !__LIBC_INTERNAL_MATH_INLINES version.
23192 (__ieee754_sqrtf): Likewise.
23193
15194b4b
RH
23194 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23195 to inline function.
23196 (__rintf, __floor, __floorf): Likewise.
23197
64e21ede
RH
23198 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23199 macro to inline function.
23200 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23201
38842f45
RH
23202 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23203 not <math/math_private.h>.
23204
c64bf5fe
DM
232052012-03-08 David S. Miller <davem@davemloft.net>
23206
23207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23208 copyright year.
23209 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23210
82d86f28
TS
232112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23212
23213 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23214 normalization.
23215 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23216 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23217
aea5d727
UD
232182012-03-08 Ulrich Drepper <drepper@gmail.com>
23219
23220 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23221 be defined individually, they must be defined as a block. Define
23222 S for printing a string instead of hidint the different by using a
23223 macro for adding the 'l'.
23224 * stdio-common/tst-fphex-wide.c: Adjust.
23225
70bca0a3
MP
232262012-03-07 Marek Polacek <polacek@redhat.com>
23227
23228 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23229
65b81130
MP
232302012-03-08 Marek Polacek <polacek@redhat.com>
23231
23232 [BZ #13806]
23233 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23234 * stdio-common/tst-fphex.c: Define a few macros to make the
23235 test reusable. Use them.
23236 * stdio-common/tst-fphex-wide.c: New file.
23237
07037eeb
JM
232382012-03-08 Joseph Myers <joseph@codesourcery.com>
23239
a7a93d50
JM
23240 [BZ #6911]
23241 * manual/macros.texi (gnusystems): New macro.
23242 (nongnusystems): Likewise.
23243 (gnulinuxhurdsystems): Likewise.
23244 (gnuhurdsystems): Likewise..
23245 (gnulinuxsystems): Likewise.
23246 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23247 variants of the GNU system, not "GNU system".
23248 * manual/conf.texi: Likewise.
23249 * manual/errno.texi: Likewise. Update example of errno macro
23250 expansion.
23251 * manual/filesys.texi: Likewise.
23252 (getumask): Document as specific to GNU/Hurd.
23253 * manual/install.texi: Likewise. Reword some references to
23254 GNU/Linux.
23255 * manual/intro.texi: Likewise.
23256 * manual/io.texi: Likewise.
23257 (File Name Portability): Detail which constraints are inapplicable
23258 to all GNU systems and which are only inapplicable to GNU/Hurd.
23259 * manual/job.texi: Likewise.
23260 * manual/llio.texi: Likewise.
23261 (O_NOCTTY): Document as present on GNU/Linux.
23262 * manual/maint.texi: Likewise.
23263 * manual/memory.texi: Likewise.
23264 * manual/pattern.texi: Likewise.
23265 * manual/pipe.texi: Likewise.
23266 * manual/process.texi: Likewise.
23267 * manual/resource.texi: Likewise.
23268 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23269 child on GNU/Hurd.
23270 * manual/setjmp.texi: Likewise.
23271 * manual/signal.texi: Likewise.
23272 * manual/startup.texi: Likewise.
23273 * manual/stdio.texi: Likewise.
23274 * manual/terminal.texi: Likewise.
23275 (ONLCR): Document as POSIX.
23276 (OXTABS): Document availability on GNU/Linux as XTABS.
23277 (ONOEOT): Document availability separately from other bits.
23278 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23279 * manual/time.texi: Likewise.
23280 * manual/users.texi: Likewise.
23281 * INSTALL: Regenerated.
23282 * sysdeps/gnu/errlist.c: Regenerated.
23283
07037eeb
JM
23284 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23285 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23286 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23287 puts.
23288 * configure: Regenerated.
23289
d1d3431a
JM
232902012-03-07 Joseph Myers <joseph@codesourcery.com>
23291
af6a1e37
JM
23292 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23293 default includes instead of AC_HEADER_CHECK.
23294 * sysdeps/i386/configure: Regenerated.
23295
d1d3431a
JM
23296 [BZ #10716]
23297 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23298 * math/s_cacoshf.c (__cacoshf): Likewise.
23299 * math/s_cacoshl.c (__cacoshl): Likewise.
23300 * math/s_casinh.c (__casinh): Set signs of result from argument.
23301 * math/s_casinhf.c (__casinhf): Likewise.
23302 * math/s_casinhl.c (__casinhl): Likewise.
23303 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23304 (casinh_test): Add more tests.
23305 * sysdeps/i386/fpu/libm-test-ulps: Update.
23306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23307
482ff4da
UD
233082012-03-07 Ulrich Drepper <drepper@gmail.com>
23309
872fda05
UD
23310 * po/zh_TW.po: Update from translation team.
23311
a4300c7a
UD
23312 * login/Makefile (distribute): Remove variable.
23313 * catgets/Makefile: Likewise.
23314 * mach/Makefile: Likewise.
23315 * malloc/Makefile: Likewise.
23316 * misc/Makefile: Likewise.
23317 * iconv/Makefile: Likewise.
23318 * nscd/Makefile: Likewise.
23319 * hurd/Makefile: Likewise.
23320 * manual/Makefile: Likewise.
23321 * locale/Makefile: Likewise.
23322 * intl/Makefile: Likewise.
23323 * conform/Makefile: Likewise.
23324 * nss/Makefile: Likewise.
23325 * time/Makefile: Likewise.
23326 * soft-fp/Makefile: Likewise.
23327 * dirent/Makefile: Likewise.
23328 * gmon/Makefile: Likewise.
23329 * po/Makefile: Likewise.
23330 * rt/Makefile: Likewise.
23331 * socket/Makefile: Likewise.
23332 * math/Makefile: Likewise.
23333 * signal/Makefile: Likewise.
23334 * debug/Makefile: Likewise.
23335 * elf/Makefile: Likewise.
23336 * timezone/Makefile: Likewise.
23337 * stdlib/Makefile: Likewise.
23338 * iconvdata/Makefile: Likewise.
23339 * sunrpc/Makefile: Likewise.
23340 * io/Makefile: Likewise.
23341 * argp/Makefile: Likewise.
23342 * inet/Makefile: Likewise.
23343 * hesiod/Makefile: Likewise.
23344 * grp/Makefile: Likewise.
23345 * csu/Makefile: Likewise.
23346 * wctype/Makefile: Likewise.
23347 * crypt/Makefile: Likewise.
23348 * libio/Makefile: Likewise.
23349 * string/Makefile: Likewise.
23350 * nis/Makefile: Likewise.
23351 * resolv/Makefile: Likewise.
23352 * stdio-common/Makefile: Likewise.
23353 * wcsmbs/Makefile: Likewise.
23354 * dlfcn/Makefile: Likewise.
23355 * posix/Makefile: Likewise.
23356
3b7c4e74 23357 [BZ #6959]
482ff4da
UD
23358 * timezone/Makefile: Don't install timezone files, just the programs
23359 and scripts.
23360
f72ed77d
UD
233612012-03-06 Ulrich Drepper <drepper@gmail.com>
23362
a000466f
UD
23363 * nss/databases.def: Add missing gshadow entry.
23364
f72ed77d
UD
23365 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23366
a53b7a4e
MP
233672012-03-06 Marek Polacek <polacek@redhat.com>
23368
23369 [BZ #13726]
23370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23372 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23373 * stdio-common/tst-long-dbl-fphex.c: New file.
23374
e9258400
DM
233752012-03-06 David S. Miller <davem@davemloft.net>
23376
23377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23378 (set_obp_int): New function.
23379 (get_obp_int): New function.
23380 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23382 Avoid unused variable warnings on 'val' and use builtin_expect.
23383 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23384 __builtin_expect.
e9258400
DM
23385 (INLINE_CLONE_SYSCALL): Likewise.
23386
3bd2c723
DM
233872012-03-05 David S. Miller <davem@davemloft.net>
23388
23389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23390
bbb78d03
AS
233912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23392
884c5db4
AS
23393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23394
bbb78d03
AS
23395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23396 only for |x| >= 40.
23397 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23398
1c9f702a 233992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23400
23401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23402 Replace gettimeofday with __vdso_gettimeofday.
23403
7be16f82
RM
23404 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23405 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23406 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23407
23408 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23409 time with __vdso_time.
23410
ed58a00f
JM
234112012-03-05 Joseph Myers <joseph@codesourcery.com>
23412
23413 * manual/lang.texi (size_t): Note types to which size_t may be
23414 equivalent with the GNU C Library, but do not describe when
23415 differences between them are significant.
23416
30ee4ced
AJ
234172012-03-05 Andreas Jaeger <aj@suse.de>
23418
23419 * sysdeps/i386/fpu/libm-test-ulps: Update.
23420
b7cd39e8
JM
234212012-03-05 Joseph Myers <joseph@codesourcery.com>
23422
23423 [BZ #3976]
23424 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23425 (__ieee754_pow): Save and restore rounding mode and use
23426 round-to-nearest for main computations.
23427 * math/libm-test.inc (pow_test_tonearest): New function.
23428 (pow_test_towardzero): Likewise.
23429 (pow_test_downward): Likewise.
23430 (pow_test_upward): Likewise.
23431 (main): Call the new functions.
23432 * sysdeps/i386/fpu/libm-test-ulps: Update.
23433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23434
23435 [BZ #3976]
23436 * math/libm-test.inc (cosh_test_tonearest): New function.
23437 (cosh_test_towardzero): Likewise.
23438 (cosh_test_downward): Likewise.
23439 (cosh_test_upward): Likewise.
23440 (sinh_test_tonearest): Likewise.
23441 (sinh_test_towardzero): Likewise.
23442 (sinh_test_downward): Likewise.
23443 (sinh_test_upward): Likewise.
23444 (main): Call the new functions.
23445 * sysdeps/i386/fpu/libm-test-ulps: Update.
23446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23447
6c6a98c9
TV
234482012-03-05 Tom de Vries <tom@codesourcery.com>
23449
23450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23451 default stack guard is set in last bytes.
23452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23453
21bb2d2e 234542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23455
21bb2d2e 23456 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23457
21bb2d2e
AJ
23458 [BZ #13656]
23459 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23460 possibly allocate from heap instead of stack.
23461 * stdio-common/bug-vfprintf-nargs.c: New file.
23462 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23463
c6922934
AS
234642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23465
23466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23467
bc957d53
MP
234682012-03-03 Marek Polacek <polacek@redhat.com>
23469
23470 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23471 * math/math_private.h: Likewise.
23472 * stdlib/tst-strtod.c: Likewise.
23473 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23474 * sysdeps/x86_64/bits/atomic.h: Likewise.
23475
6358490d
DM
234762012-03-02 David S. Miller <davem@davemloft.net>
23477
23478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23482 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23483 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23484 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23486
01ae168d
RM
234872012-03-02 Roland McGrath <roland@hack.frob.com>
23488
d9a17c07
RM
23489 [BZ #13792]
23490 * manual/examples/README: New file, says the example source files
23491 can be used under GPL>=2.
23492 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23493 line containing just "*/".
23494 * manual/examples/add.c: Add copyright header (GPL>=2).
23495 * manual/examples/argp-ex1.c: Likewise.
23496 * manual/examples/argp-ex2.c: Likewise.
23497 * manual/examples/argp-ex3.c: Likewise.
23498 * manual/examples/argp-ex4.c: Likewise.
23499 * manual/examples/atexit.c: Likewise.
23500 * manual/examples/db.c: Likewise.
23501 * manual/examples/dir.c: Likewise.
23502 * manual/examples/dir2.c: Likewise.
23503 * manual/examples/execinfo.c: Likewise.
23504 * manual/examples/filecli.c: Likewise.
23505 * manual/examples/filesrv.c: Likewise.
23506 * manual/examples/fmtmsgexpl.c: Likewise.
23507 * manual/examples/genpass.c: Likewise.
23508 * manual/examples/inetcli.c: Likewise.
23509 * manual/examples/inetsrv.c: Likewise.
23510 * manual/examples/isockad.c: Likewise.
23511 * manual/examples/longopt.c: Likewise.
23512 * manual/examples/memopen.c: Likewise.
23513 * manual/examples/memstrm.c: Likewise.
23514 * manual/examples/mkfsock.c: Likewise.
23515 * manual/examples/mkisock.c: Likewise.
23516 * manual/examples/mygetpass.c: Likewise.
23517 * manual/examples/pipe.c: Likewise.
23518 * manual/examples/popen.c: Likewise.
23519 * manual/examples/rprintf.c: Likewise.
23520 * manual/examples/search.c: Likewise.
23521 * manual/examples/select.c: Likewise.
23522 * manual/examples/setjmp.c: Likewise.
23523 * manual/examples/sigh1.c: Likewise.
23524 * manual/examples/sigusr.c: Likewise.
23525 * manual/examples/stpcpy.c: Likewise.
23526 * manual/examples/strdupa.c: Likewise.
23527 * manual/examples/strftim.c: Likewise.
23528 * manual/examples/strncat.c: Likewise.
23529 * manual/examples/subopt.c: Likewise.
23530 * manual/examples/swapcontext.c: Likewise.
23531 * manual/examples/termios.c: Likewise.
23532 * manual/examples/testopt.c: Likewise.
23533 * manual/examples/testpass.c: Likewise.
23534 * manual/examples/timeval_subtract.c: Likewise.
23535
01ae168d
RM
23536 [BZ #13792]
23537 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23538 function to ...
23539 * manual/timeval_subtract.c.texi: ... here, new file.
23540
49efa33d
DM
235412012-03-02 David S. Miller <davem@davemloft.net>
23542
23543 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23544
28afd92d
JM
235452012-03-02 Joseph Myers <joseph@codesourcery.com>
23546
804360ed
JM
23547 [BZ #3976]
23548 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23549 (__sin): Save and restore rounding mode and use round-to-nearest
23550 for all computations.
23551 (__cos): Save and restore rounding mode and use round-to-nearest
23552 for all computations.
23553 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23554 <fenv.h>.
23555 (tan): Save and restore rounding mode and use round-to-nearest for
23556 all computations.
23557 * math/libm-test.inc (cos_test_tonearest): New function.
23558 (cos_test_towardzero): Likewise.
23559 (cos_test_downward): Likewise.
23560 (cos_test_upward): Likewise.
23561 (sin_test_tonearest): Likewise.
23562 (sin_test_towardzero): Likewise.
23563 (sin_test_downward): Likewise.
23564 (sin_test_upward): Likewise.
23565 (tan_test_tonearest): Likewise.
23566 (tan_test_towardzero): Likewise.
23567 (tan_test_downward): Likewise.
23568 (tan_test_upward): Likewise.
23569 (main): Call the new functions.
23570 * sysdeps/i386/fpu/libm-test-ulps: Update.
23571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23572
a6d06d7b
JM
23573 [BZ #10135]
23574 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23575 small n, then large n, before computing and testing k+n.
23576 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23578 Likewise.
23579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23580 Likewise.
23581 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23582 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23585 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23586 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23587 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23588 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23589 * math/libm-test.inc (scalbn_test): Add more tests.
23590 (scalbln_test): Likewise.
23591
07e12bb3
JM
23592 * manual/filesys.texi (mode_t): Describe constraints on size and
23593 signedness, not exact equivalence to a particular type.
23594 (ino_t): Likewise.
23595 (ino64_t): Likewise.
23596 (dev_t): Likewise.
23597 (nlink_t): Likewise.
23598 (blkcnt_t): Likewise.
23599 (blkcnt64_t): Likewise.
23600 * manual/llio.texi (off_t): Likewise.
23601
28afd92d
JM
23602 [BZ #3976]
23603 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23604 (__ieee754_exp): Save and restore rounding mode and use
23605 round-to-nearest for all computations.
23606 * math/libm-test.inc (exp_test_tonearest): New function.
23607 (exp_test_towardzero): Likewise.
23608 (exp_test_downward): Likewise.
23609 (exp_test_upward): Likewise.
23610 (main): Call the new functions.
23611 * sysdeps/i386/fpu/libm-test-ulps: Update.
23612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23613
b1eeb65d
CD
236142012-03-01 Chris Demetriou <cgd@google.com>
23615
23616 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23617 have predictable order.
23618
53362a4b
DM
236192012-03-01 David S. Miller <davem@davemloft.net>
23620
3c969083
DM
23621 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23622
759707de
DM
23623 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23624 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23625 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23626 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23627
dfdb8ff2
DM
23628 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23629 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23630 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23632 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23635 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23636 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23637
ead89f96
DM
23638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23639
7f66bd07
DM
23640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23641 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23642 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23643
53362a4b
DM
23644 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23645 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23646 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23647 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23648 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23651 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23652 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23653 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23654 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23657 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23658 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23660 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23661 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23662 * sysdeps/sparc/elf/configure: Regenerated.
23663
7b1902cb
JM
236642012-03-01 Joseph Myers <joseph@codesourcery.com>
23665
bec039bc
JM
23666 * configure.in (AS, LD): Require binutils 2.20 or later.
23667 * configure: Regenerated.
23668 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23669 as required minimum version.
23670 * INSTALL: Regenerated.
23671
7b1902cb
JM
23672 [BZ #2541]
23673 [BZ #4108]
23674 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23675 before squaring exponent.
23676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23677 bottom long double and 27 bits of top long double before squaring
23678 exponent.
23679 * math/libm-test.inc (erfc_test): Add more tests.
23680 * sysdeps/i386/fpu/libm-test-ulps: Update.
23681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23683
f775c276
KT
236842012-03-01 Kai Tietz <ktietz@redhat.com>
23685
23686 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23687 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23688 containing bit-fields.
23689 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23690 * soft-fp/single.h (_FP_UNION_S): Likewise.
23691 * soft-fp/double.h (_FP_UNION_D): Likewise.
23692
5b8a4d4a
JM
236932012-02-29 Joseph Myers <joseph@codesourcery.com>
23694
0bab47b6
JM
23695 [BZ #13786]
23696 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23697 not include ../strcmp.S.
23698 [USE_AS_STRNCASECMP_L]: Likewise.
23699 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23700 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23701 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23702 (__strncasecmp_l_ia32): Define as alias to
23703 __strncasecmp_l_nonascii.
23704
0fcad3e2
JM
23705 [BZ #5794]
23706 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23707 * sysdeps/i386/fpu/libm-test-ulps: Update.
23708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23709
5b8a4d4a
JM
23710 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23712
8fdceb2e
JL
237132012-02-29 Jeff Law <law@redhat.com>
23714
23715 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23716 out of bounds read.
23717
1f393a11
MP
237182012-02-29 Marek Polacek <polacek@redhat.com>
23719
23720 [BZ #13706]
23721 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23722 * elf/Makefile: Add rules to run tst-unused-dep.out.
23723
8847f037
DM
237242012-02-28 David S. Miller <davem@davemloft.net>
23725
23726 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23727 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23730 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23731 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23732
169d7f11
JM
237332012-02-29 Joseph Myers <joseph@codesourcery.com>
23734
23735 * math/libm-test.inc (llround_test): Move one test from
23736 lround_test. Use TEST_f_L in moved test.
23737 (lround_test): Move misplaced test to llround_test. Add testcase
23738 from bug 2561.
23739
39adf059
UD
237402012-02-28 Ulrich Drepper <drepper@gmail.com>
23741
23742 * sysdeps/x86_64/fpu/e_expf.S: New file.
23743 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23744
71b5d1c5
SB
237452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23746
23747 [BZ #13637]
23748 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23749 of remain_len that may cause incomplete multi-byte character and
23750 false match.
23751 * posix/bug-regex33.c: New file.
23752 * posix/Makefile (tests): Add bug-regex33.
23753
1f77f049
JM
237542012-02-28 Joseph Myers <joseph@codesourcery.com>
23755
23756 * manual/macros.texi: New file.
23757 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23758 * manual/libc.texinfo: Include macros.texi.
23759 * manual/creatute.texi: Likewise.
23760 * manual/install.texi: Likewise.
23761 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23762 @glibcadj{} in references to the GNU C Library.
23763 * manual/charset.texi: Likewise.
23764 * manual/conf.texi: Likewise.
23765 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23766 when not using those macros.
23767 * manual/creature.texi: Likewise.
23768 * manual/crypt.texi: Likewise.
23769 * manual/errno.texi: Likewise.
23770 * manual/filesys.texi: Likewise.
23771 * manual/header.texi: Likewise.
23772 * manual/install.texi: Likewise.
23773 * manual/intro.texi: Likewise.
23774 * manual/io.texi: Likewise.
23775 * manual/job.texi: Likewise.
23776 * manual/lang.texi: Likewise.
23777 * manual/libc.texiinfo: Likewise.
23778 * manual/llio.texi: Likewise.
23779 * manual/locale.texi: Likewise.
23780 * manual/maint.texi: Likewise.
23781 * manual/math.texi: Likewise.
23782 * manual/memory.texi: Likewise.
23783 * manual/message.texi: Likewise.
23784 * manual/nss.texi: Likewise.
23785 * manual/pattern.texi: Likewise.
23786 * manual/process.texi: Likewise.
23787 * manual/resource.texi: Likewise.
23788 * manual/search.texi: Likewise.
23789 * manual/setjmp.texi: Likewise.
23790 * manual/signal.texi: Likewise.
23791 * manual/socket.texi: Likewise.
23792 * manual/startup.texi: Likewise.
23793 * manual/stdio.texi: Likewise.
23794 * manual/string.texi: Likewise.
23795 * manual/sysinfo.texi: Likewise.
23796 * manual/syslog.texi: Likewise.
23797 * manual/terminal.texi: Likewise.
23798 * manual/time.texi: Likewise.
23799 * manual/users.texi: Likewise.
23800 * INSTALL: Regenerated.
23801 * NOTES: Regenerated.
d40c5d54 23802 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23803
450bf206
AS
238042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23805
23806 * include/dirent.h: Include <dirstream.h> before
23807 <dirent/dirent.h>.
23808
741a235b
DM
238092012-02-28 David S. Miller <davem@davemloft.net>
23810
23811 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23812 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23813 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23814 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23815
d6b5aa58
DM
238162012-02-27 David S. Miller <davem@davemloft.net>
23817
1aff59a3
DM
23818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23820 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23821 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23822
d6b5aa58
DM
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23824 frame pointer instead of stack pointer relative arg slot.
23825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23826 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23827 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23828
433f48bf
CD
238292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23830
23831 [BZ #3992]
23832 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23833
d674b76d
DM
238342012-02-27 David S. Miller <davem@davemloft.net>
23835
23836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23840 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23841 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23842 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23843 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23844
0e7727f7
JM
238452012-02-27 Joseph Myers <joseph@codesourcery.com>
23846
23847 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23848 later. Allow versions 5-9.
43be4ca2 23849 * configure: Regenerated.
0e7727f7
JM
23850 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23851 required minimum version and 4.6 as recommended version. Do not
23852 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23853 * INSTALL: Regenerated.
0e7727f7 23854
a78bc654
DM
238552012-02-27 David S. Miller <davem@davemloft.net>
23856
428d5830
DM
23857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23861 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23862 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23863 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23864 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23865
a78bc654
DM
23866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23867 manipulate bits before adding and subtracting TWO112[sx].
23868 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23869
4579f81c
RM
238702012-02-27 Roland McGrath <roland@hack.frob.com>
23871
36c8acb4
RM
23872 [BZ #13775]
23873 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23874 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23875 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23876 being in POSIX, because they are in 1003.1-2008.
23877
84ad622b
RM
23878 * rt/tst-aio.c: Include <fcntl.h>.
23879 * rt/tst-aio7.c: Likewise.
23880 * rt/tst-aio64.c: Likewise.
23881
4579f81c
RM
23882 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23883
abd923db
JM
238842012-02-27 Joseph Myers <joseph@codesourcery.com>
23885
23886 * manual/install.texi (--with-headers): Describe headers as
23887 interface headers, not private headers.
23888 (Specific advice for GNU/Linux systems): Describe use of headers
23889 from "make headers_install", not private headers from older
23890 kernels.
43be4ca2 23891 * INSTALL: Regenerated.
abd923db
JM
23892 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23893 Change to 2.6.19.
23894 * sysdeps/unix/sysv/linux/configure: Regenerated.
23895
6664049b
JM
23896 * manual/llio.texi (fclean): Remove documentation.
23897
bb8b6697
JM
23898 * manual/Makefile (libc-texi-generated): New variable. Include
23899 version.texi.
23900 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23901 $(libc-texi-generated), not duplicated list of files.
23902 (version.texi, stamp-version): New rules.
23903 (realclean): Remove $(libc-texi-generated), not individual files
23904 from that list. Do not remove dir-add.texinfo.
23905 * manual/libc.texinfo: Comment out uses of edition numbers and
23906 references to printed manual. Remove last-updated dates.
23907 (EDITION): Comment out.
23908 (ISBN): Likewise.
23909 (VERSION, UPDATED): Remove.
23910 (version.texi): Include.
23911
12e5c3b9
AS
239122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23913
23914 * sysdeps/posix/spawni.c: Include <signal.h>.
23915 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23916 * sysdeps/pthread/aio_fsync.c: Likewise.
23917
4efeffc1 239182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23919
ba63ba08
UD
23920 * conform/Makefile (tests): Run only when not cross-compiling and
23921 when fast-check is not defined.
23922
d94a4670
UD
23923 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23924 * conform/data/limits.h-data: Fixes for POSIX2008.
23925 * conform/run-conformtest.sh: Run all tests.
23926 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23927 headers.
23928 * include/bits/dlfcn.h: Likewise.
23929 * include/langinfo.h: Likewise.
23930 * include/monetary.h: Likewise.
23931 * include/sys/poll.h: Likewise.
23932
23933 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23934 for __USE_GNU.
23935 * posix/spawn.h: Define __need_sigset_t.
23936 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23937 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23938 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23939 to get sigevent_t only.
23940 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23941 only for __USE_GNU.
23942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23943 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23944 process_vm_writev only for __USE_GNU.
23945 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23946
23947 * conform/Makefile: For now ignore errors from run-conformtest.
23948 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23949 POSIX to avoid namespace pollution. Don't prepend headers.
23950 * conform/data/aio.h-data: Fixes for POSIX testing.
23951 * conform/data/fcntl.h-data: Likewise.
23952 * conform/data/glob.h-data: Likewise.
23953 * conform/data/grp.h-data: Likewise.
23954 * conform/data/pthread.h-data: Likewise.
23955 * conform/data/pwd.h-data: Likewise.
23956 * conform/data/signal.h-data: Likewise.
23957 * conform/data/spawn.h-data: Likewise.
23958 * conform/data/stdio.h-data: Likewise.
23959 * conform/data/stdlib.h-data: Likewise.
23960 * conform/data/stropts.h-data: Likewise.
23961 * conform/data/sys/mman.h-data: Likewise.
23962 * conform/data/sys/stat.h-data: Likewise.
23963 * conform/data/sys/types.h-data: Likewise.
23964 * conform/data/sys/wait.h-data: Likewise.
23965 * conform/data/time.h-data: Likewise.
23966 * conform/data/unistd.h-data: Likewise.
23967 * conform/data/utime.h-data: Likewise.
23968
23969 * io/sys/stat.h: fchmod was always in POSIX.
23970 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23971 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23972 * rt/aio.h: Define __need_timespec before including <time.h>.
23973 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23974 struct. Add forward declaration of pthread_attr_t and use it in
23975 sigevent.
23976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23978 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23979 always remove CLK_TCK definition.
23980
c20105c3
AS
239812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23982
23983 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23984
7a270350
UD
239852012-02-25 Ulrich Drepper <drepper@gmail.com>
23986
31341567
UD
23987 * conform/run-conformtest.sh: New file.
23988 * conform/Makefile: Run run-conformtest for tests.
23989 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23990 support.
23991
23992 * conform/data/uchar.h-data: New file.
23993 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23994 * conform/data/arpa/inet.h-data: Likewise.
23995 * conform/data/assert.h-data: Likewise.
23996 * conform/data/complex.h-data: Likewise.
23997 * conform/data/cpio.h-data: Likewise.
23998 * conform/data/ctype.h-data: Likewise.
23999 * conform/data/dirent.h-data: Likewise.
24000 * conform/data/dlfcn.h-data: Likewise.
24001 * conform/data/errno.h-data: Likewise.
24002 * conform/data/fcntl.h-data: Likewise.
24003 * conform/data/float.h-data: Likewise.
24004 * conform/data/fmtmsg.h-data: Likewise.
24005 * conform/data/fnmatch.h-data: Likewise.
24006 * conform/data/ftw.h-data: Likewise.
24007 * conform/data/glob.h-data: Likewise.
24008 * conform/data/grp.h-data: Likewise.
24009 * conform/data/iconv.h-data: Likewise.
24010 * conform/data/inttypes.h-data: Likewise.
24011 * conform/data/langinfo.h-data: Likewise.
24012 * conform/data/libgen.h-data: Likewise.
24013 * conform/data/limits.h-data: Likewise.
24014 * conform/data/locale.h-data: Likewise.
24015 * conform/data/math.h-data: Likewise.
24016 * conform/data/monetary.h-data: Likewise.
24017 * conform/data/mqueue.h-data: Likewise.
24018 * conform/data/ndbm.h-data: Likewise.
24019 * conform/data/net/if.h-data: Likewise.
24020 * conform/data/netdb.h-data: Likewise.
24021 * conform/data/netinet/in.h-data: Likewise.
24022 * conform/data/nl_types.h-data: Likewise.
24023 * conform/data/poll.h-data: Likewise.
24024 * conform/data/pthread.h-data: Likewise.
24025 * conform/data/pwd.h-data: Likewise.
24026 * conform/data/regex.h-data: Likewise.
24027 * conform/data/sched.h-data: Likewise.
24028 * conform/data/search.h-data: Likewise.
24029 * conform/data/semaphore.h-data: Likewise.
24030 * conform/data/setjmp.h-data: Likewise.
24031 * conform/data/signal.h-data: Likewise.
24032 * conform/data/spawn.h-data: Likewise.
24033 * conform/data/stdarg.h-data: Likewise.
24034 * conform/data/stdio.h-data: Likewise.
24035 * conform/data/stdlib.h-data: Likewise.
24036 * conform/data/string.h-data: Likewise.
24037 * conform/data/strings.h-data: Likewise.
24038 * conform/data/stropts.h-data: Likewise.
24039 * conform/data/sys/ipc.h-data: Likewise.
24040 * conform/data/sys/mman.h-data: Likewise.
24041 * conform/data/sys/msg.h-data: Likewise.
24042 * conform/data/sys/resource.h-data: Likewise.
24043 * conform/data/sys/select.h-data: Likewise.
24044 * conform/data/sys/sem.h-data: Likewise.
24045 * conform/data/sys/shm.h-data: Likewise.
24046 * conform/data/sys/socket.h-data: Likewise.
24047 * conform/data/sys/stat.h-data: Likewise.
24048 * conform/data/sys/statvfs.h-data: Likewise.
24049 * conform/data/sys/time.h-data: Likewise.
24050 * conform/data/sys/timeb.h-data: Likewise.
24051 * conform/data/sys/times.h-data: Likewise.
24052 * conform/data/sys/types.h-data: Likewise.
24053 * conform/data/sys/uio.h-data: Likewise.
24054 * conform/data/sys/un.h-data: Likewise.
24055 * conform/data/sys/utsname.h-data: Likewise.
24056 * conform/data/sys/wait.h-data: Likewise.
24057 * conform/data/syslog.h-data: Likewise.
24058 * conform/data/tar.h-data: Likewise.
24059 * conform/data/termios.h-data: Likewise.
24060 * conform/data/utime.h-data: Likewise.
24061 * conform/data/utmpx.h-data: Likewise.
24062 * conform/data/varargs.h-data: Likewise.
24063 * conform/data/wchar.h-data: Likewise.
24064 * conform/data/wctype.h-data: Likewise.
24065 * conform/data/wordexp.h-data: Likewise.
24066
24067 * include/stropts.h: New file.
24068 * include/uchar.h: New file.
24069 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24070 * include/assert.h: Likewise.
24071 * include/ctype.h: Likewise.
24072 * include/dirent.h: Likewise.
24073 * include/dlfcn.h: Likewise.
24074 * include/fcntl.h: Likewise.
24075 * include/fnmatch.h: Likewise.
24076 * include/glob.h: Likewise.
24077 * include/grp.h: Likewise.
24078 * include/libio.h: Likewise.
24079 * include/locale.h: Likewise.
24080 * include/math.h: Likewise.
24081 * include/net/if.h: Likewise.
24082 * include/netdb.h: Likewise.
24083 * include/netinet/in.h: Likewise.
24084 * include/pthread.h: Likewise.
24085 * include/pwd.h: Likewise.
24086 * include/regex.h: Likewise.
24087 * include/sched.h: Likewise.
24088 * include/search.h: Likewise.
24089 * include/setjmp.h: Likewise.
24090 * include/signal.h: Likewise.
24091 * include/stdio.h: Likewise.
24092 * include/stdlib.h: Likewise.
24093 * include/string.h: Likewise.
24094 * include/sys/cdefs.h: Likewise.
24095 * include/sys/mman.h: Likewise.
24096 * include/sys/msg.h: Likewise.
24097 * include/sys/resource.h: Likewise.
24098 * include/sys/select.h: Likewise.
24099 * include/sys/socket.h: Likewise.
24100 * include/sys/stat.h: Likewise.
24101 * include/sys/statvfs.h: Likewise.
24102 * include/sys/time.h: Likewise.
24103 * include/sys/times.h: Likewise.
24104 * include/sys/uio.h: Likewise.
24105 * include/sys/utsname.h: Likewise.
24106 * include/sys/wait.h: Likewise.
24107 * include/termios.h: Likewise.
24108 * include/time.h: Likewise.
24109 * include/ulimit.h: Likewise.
24110 * include/unistd.h: Likewise.
24111 * include/utime.h: Likewise.
24112 * include/wchar.h: Likewise.
24113 * include/wctype.h: Likewise.
24114 * include/wordexp.h: Likewise.
24115
24116 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24117
7a270350
UD
24118 * time/time.h: TIME_UTC must be a macro.
24119 Make timespec_get available for ISO C11 only as well.
24120
7724defc
UD
241212012-02-24 Ulrich Drepper <drepper@gmail.com>
24122
24123 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24124 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24125
6b1d1d46
JM
241262012-02-24 Joseph Myers <joseph@codesourcery.com>
24127
24128 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24129
0f8bbd69
JM
241302012-02-24 Joseph Myers <joseph@codesourcery.com>
24131
24132 * manual/texinfo.tex: Update to version 2012-01-19.16.
24133
66ab80bc
JM
241342012-02-24 Joseph Myers <joseph@codesourcery.com>
24135
24136 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24137
74981cc5
RM
241382012-02-24 Roland McGrath <roland@hack.frob.com>
24139
ee968201
RM
24140 [BZ #13738]
24141 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24142 * manual/fdl-1.3.texi: New file.
24143 * manual/fdl-1.1.texi: File removed.
24144
74981cc5
RM
24145 [BZ #13738]
24146 * manual/libc.texinfo (FDL_VERSION): New @set.
24147 Use it for mention of FDL in cover text.
24148 (Documentation License): Use it in @include file name.
24149
7bb764bc
JM
241502012-02-22 Joseph Myers <joseph@codesourcery.com>
24151 Roland McGrath <roland@hack.frob.com>
24152
24153 [BZ #5461]
24154 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24155 not LONG_LONG_MAX and LONG_LONG_MIN.
24156 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24157 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24158 name.
24159 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24160
6cbeae47
JM
241612012-02-22 Joseph Myers <joseph@codesourcery.com>
24162
24163 [BZ #2547]
24164 [BZ #11365]
24165 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24166 manipulate bits before adding and subtracting TWO23[sx].
24167 * math/libm-test.inc (nearbyint_test): Add more tests.
24168
fe45ce09
JM
241692012-02-22 Joseph Myers <joseph@codesourcery.com>
24170
24171 [BZ #2548]
24172 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24173 bits before adding and subtracting TWO23[sx].
24174 * math/libm-test.inc (rint_test): Add more tests.
24175 (rint_test_tonearest): Likewise.
24176 (rint_test_towardzero): Likewise.
24177 (rint_test_downward): Likewise.
24178 (rint_test_upward: Likewise.
24179
ff3b3d82
JM
241802012-02-22 Joseph Myers <joseph@codesourcery.com>
24181
24182 [BZ #10110]
24183 * include/stdc-predef.h: New file. Extracted from features.h.
24184 * include/features.h: Include stdc-predef.h.
24185 * Makefile (headers): Add stdc-predef.h.
24186 * CONFORMANCE (Compiler limitations): Update.
24187
ef0aab35
JM
241882012-02-22 Joseph Myers <joseph@codesourcery.com>
24189
24190 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24191
58639409
DM
241922012-02-21 David S. Miller <davem@davemloft.net>
24193
24194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24195 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24196
c0e70b25
DM
241972012-02-20 David S. Miller <davem@davemloft.net>
24198
24199 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24200 using a normal save/restore sequence, rather than allocating a
24201 dummy stack frame just to store a frame pointer and restore.
24202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24203
fb06851d
JM
242042012-02-21 Joseph Myers <joseph@codesourcery.com>
24205
24206 * manual/install.texi: Fix stray word in line-wrapped comment.
24207
7a8b71c3
DM
242082012-02-20 David S. Miller <davem@davemloft.net>
24209
d510c123
DM
24210 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24211 both binutils and gcc support GOTDATA.
24212
0722d7c2
DM
24213 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24214 "rd %pc" in the PIC register setup sequences.
24215
3d2b3019
DM
24216 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24217 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24219 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24220 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24223 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24225 (SYSCALL_ERROR_HANDLER): Likewise.
24226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24227 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24229 (SYSCALL_ERROR_HANDLER): Likewise.
24230
c80098a9
DM
24231 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24232 (HAVE_GCC_GOTDATA): New.
24233 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24234 relocation support in both binutils and gcc.
24235 * sysdeps/sparc/elf/configure: Regenerate.
24236
3a2545a0
DM
24237 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24238 * sysdeps/sparc/sparc32/elf/configure: Delete.
24239 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24240 * sysdeps/sparc/sparc64/elf/configure: Delete.
24241 * sysdeps/sparc/elf/configure.in: New file.
24242 * sysdeps/sparc/elf/configure: Generate.
24243
7a8b71c3
DM
24244 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24245 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24246 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24247 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24248 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24249
f1e86fca
JM
242502012-02-21 Joseph Myers <joseph@codesourcery.com>
24251
24252 * manual/install.texi: Do not mention specific glibc version
24253 numbers.
24254 * manual/libc.texinfo (VERSION, UPDATED): Update.
24255 (@copying): Use @copyright{} and range of years.
24256
0e7dfaef
JM
242572012-02-21 Joseph Myers <joseph@codesourcery.com>
24258
24259 [BZ #13695]
24260 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24261 [crti.S not in sysdirs] (generated): Do not append.
24262 [crti.S not in sysdirs] (omit-deps): Likewise.
24263 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24264 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24265 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24266 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24267 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24268 Likewise.
24269 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24270 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24271 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24272 * csu/defs.awk: Remove file.
24273 * sysdeps/generic/initfini.c: Likewise.
24274 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24275 variable.
24276 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24277 Likewise.
24278
599af3ca
JM
242792012-02-20 Joseph Myers <joseph@codesourcery.com>
24280
24281 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24282 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24283 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24286 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24287 <bits/epoll.h>.
24288 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24289 (__EPOLL_PACKED): Define to empty if not defined by
24290 <bits/epoll.h>.
24291 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24293 bits/epoll.h.
24294
0e499750
JM
242952012-02-20 Joseph Myers <joseph@codesourcery.com>
24296
24297 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24298 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24300 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24301 <bits/timerfd.h>.
24302 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24304 bits/timerfd.h.
24305
5ad91f6e
JM
243062012-02-20 Joseph Myers <joseph@codesourcery.com>
24307
24308 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24309 in C locale.
24310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24314
06b99b02
AJ
243152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24316
24317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24318 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24319
7638c0fd
AS
243202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24321
24322 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24323 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24324 defined.
24325 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24326 Likewise.
24327 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24328 entry for 2.16.
24329
92221550
AJ
243302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24331
24332 * math/w_acos.c: Use non-signaling floating-point comparisons.
24333 * math/w_acosf.c: Likewise.
24334 * math/w_acosh.c: Likewise.
24335 * math/w_acoshf.c: Likewise.
24336 * math/w_acoshl.c: Likewise.
24337 * math/w_acosl.c: Likewise.
24338 * math/w_asin.c: Likewise.
24339 * math/w_asinf.c: Likewise.
24340 * math/w_asinl.c: Likewise.
24341 * math/w_atanh.c: Likewise.
24342 * math/w_atanhf.c: Likewise.
24343 * math/w_atanhl.c: Likewise.
24344 * math/w_exp2.c: Likewise.
24345 * math/w_exp2f.c: Likewise.
24346 * math/w_exp2l.c: Likewise.
24347 * math/w_j0.c: Likewise.
24348 * math/w_j0f.c: Likewise.
24349 * math/w_j0l.c: Likewise.
24350 * math/w_j1.c: Likewise.
24351 * math/w_j1f.c: Likewise.
24352 * math/w_j1l.c: Likewise.
24353 * math/w_jn.c: Likewise.
24354 * math/w_jnf.c: Likewise.
24355 * math/w_log.c: Likewise.
24356 * math/w_log10.c: Likewise.
24357 * math/w_log10f.c: Likewise.
24358 * math/w_log10l.c: Likewise.
24359 * math/w_log2.c: Likewise.
24360 * math/w_log2f.c: Likewise.
24361 * math/w_log2l.c: Likewise.
24362 * math/w_logf.c: Likewise.
24363 * math/w_logl.c: Likewise.
24364 * math/w_sqrt.c: Likewise.
24365 * math/w_sqrtf.c: Likewise.
24366 * math/w_sqrtl.c: Likewise.
24367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24368 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24370 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24371 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24372
ebaf36eb
JM
243732012-02-19 Joseph Myers <joseph@codesourcery.com>
24374
24375 [BZ #9739]
24376 * manual/string.texi (strnlen): Use correct parameter name in
24377 equivalent expression.
24378
71c254a6
JM
243792012-02-19 Joseph Myers <joseph@codesourcery.com>
24380
24381 [BZ #11174]
24382 * manual/users.texi (seteuid): Consistently use neweuid for
24383 argument name.
24384
16d2c631
JM
243852012-02-19 Joseph Myers <joseph@codesourcery.com>
24386
24387 [BZ #13704]
24388 * manual/nss.texi (Services in the NSS configuration): Correct
24389 list of services in example configuration file.
24390
cd837b09
NB
243912012-02-19 Nick Bowler <nbowler@draconx.ca>
24392
24393 [BZ #11322]
24394 * manual/arith.texi: Remove statements about negative zero
24395 behaving identically to zero.
24396
02c4bbad
JM
243972012-02-18 Joseph Myers <joseph@codesourcery.com>
24398
24399 [BZ #5993]
24400 * manual/install.texi: Do not document upgrading from libc5.
24401
366842e7
JM
244022012-02-18 Joseph Myers <joseph@codesourcery.com>
24403
24404 [BZ #4596]
24405 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24406
dd54084d
DM
244072012-02-18 David S. Miller <davem@davemloft.net>
24408
24409 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24410 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24411 %o7 across the call.
24412 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24413 instead.
24414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24415 SETUP_PIC_REG_LEAF.
24416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24417 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24418 * sysdeps/sparc/crtn.S: Likewise.
24419
2bcc53a3
UD
244202012-02-17 Ulrich Drepper <drepper@gmail.com>
24421
24422 * aout/Makefile: Remove.
24423
09c093b5
RK
244242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24425
24426 [BZ #13058]
24427 * manual/examples/argp-ex1.c (main): Format definition in GNU
24428 style.
24429 * manual/examples/argp-ex2.c (main): Likewise.
24430 * manual/examples/argp-ex3.c (main): Likewise.
24431 * manual/examples/argp-ex4.c (main): Likewise.
24432 * manual/examples/longopt.c (main): Use new-style prototype
24433 definition.
24434 * manual/examples/strncat.c (main): Specify return type and use
24435 (void) for arguments.
24436 * manual/examples/subopt.c (main): Use char **argv argument.
24437
2ee633a2
JM
244382012-02-17 Joseph Myers <joseph@codesourcery.com>
24439
24440 [BZ #5077]
24441 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24442 rounding modes.
24443
0520adde
FB
244442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24445
24446 [BZ #6907]
24447 * manual/string.texi (strchr): Change when strchrnul is
24448 recommended.
24449
3f4081cd
DGM
244502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24451
24452 [BZ #174]
24453 * manual/locale.texi (setlocale): Document LOCPATH.
24454
d1b10e78
JM
244552012-02-17 Joseph Myers <joseph@codesourcery.com>
24456
24457 [BZ #10210]
24458 * manual/process.texi (execle): Move @dots{} before last argument.
24459
79c6869c
PB
244602012-02-17 Paul Bolle <pebolle@tiscali.nl>
24461
24462 [BZ #12047]
24463 * manual/charset.texi (Generic Charset Conversion): Fix typo
24464 (LC_TYPE -> LC_CTYPE).
24465
cc6e48bc
NB
244662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24467
24468 [BZ #5805]
24469 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24470 (scalbnf): Likewise.
24471 (scalbnl): Likewise.
24472 (scalbln): Likewise.
24473 (scalblnf): Likewise.
24474 (scalblnl): Likewise.
24475 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24476 (vwarnx): Likewise.
24477 (verr): Likewise.
24478 (verrx): Likewise.
24479 * manual/filesys.texi (telldir): Use braces around return type.
24480 * manual/llio.texi (mmap): Add space after comma.
24481 (mmap64): Likewise.
24482 * manual/math.texi (jn): Use @var{} on parameter names.
24483 (jnf): Likewise.
24484 (jnl): Likewise.
24485 (yn): Likewise.
24486 (ynf): Likewise.
24487 (ynl): Likewise.
24488 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24489 line.
24490 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24491 "...".
24492 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24493 (sched_get_priority_max): Likewise.
24494 * manual/signal.texi (sigvec): Add space after comma.
24495 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24496 names.
24497 (if_indextoname): Likewise.
24498 (if_freenameindex): Likewise.
24499 (sendto): Use ',' instead of '.' in prototype.
24500 * manual/startup.texi (syscall): Use @dots{} instead of literal
24501 "...".
24502 * manual/stdio.texi (__fpending): Separate initial words of
24503 paragraph from @deftypefun line.
24504 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24505 "...".
24506 (vsyslog): Use @var{} on parameter names.
24507 * manual/terminal.texi (stty): Use @var{} on parameter names.
24508 * manual/users.texi (getutmp): Use @var{} on parameter names.
24509 (getutmpx): Likewise.
24510
5b23062f
JM
245112012-02-17 Joseph Myers <joseph@codesourcery.com>
24512
24513 [BZ #6884]
24514 * manual/stdio.texi (fopen): Fix typos in description of
24515 ",ccs=STRING".
24516
8dee4833
AJ
245172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24518
24519 [BZ #4026]
24520 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24521 get clock_id definition.
24522
9078ce93
TS
245232012-02-17 Thomas Schwinge <thomas@schwinge.name>
24524
24525 [BZ #4822]
24526 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24527 (madvise): Cast every argument to void on its own.
24528
3835c55f
JM
245292012-02-17 Joseph Myers <joseph@codesourcery.com>
24530
24531 [BZ #9902]
24532 * manual/startup.texi (Exit Status): Fix typo.
24533
35c47e37
JM
245342012-02-17 Joseph Myers <joseph@codesourcery.com>
24535
24536 [BZ #10140]
24537 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24538 * manual/examples/argp-ex2.c: Likewise.
24539 * manual/examples/argp-ex3.c: Likewise.
24540
e3b69ca7
RH
245412012-02-16 Richard Henderson <rth@redhat.com>
24542
24543 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24544 * sysdeps/s390/s390-32/initfini.c: Remove.
24545 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24546 * sysdeps/s390/s390-64/initfini.c: Remove.
24547
df83af67
KK
245482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24549
24550 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24551 compiler output for sysdeps/generic/initfini.c.
24552 * sysdeps/sh/elf/initfini.c: Remove file.
24553
f63f3380
DM
245542012-02-16 David S. Miller <davem@davemloft.net>
24555
fb59b3a4
DM
24556 [BZ #11494]
24557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24558
f63f3380
DM
24559 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24560 * sysdeps/sparc/crti.S: New file.
24561 * sysdeps/sparc/crtn.S: New file.
24562 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24563 * sysdeps/sparc/sparc64/Makefile: Likewise.
24564
df6a4a4a
MF
245652012-02-15 Mike Frysinger <vapier@gentoo.org>
24566
6dd8f3dc 24567 [BZ #3335]
df6a4a4a
MF
24568 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24569
1cac7236
RM
245702012-02-15 Roland McGrath <roland@hack.frob.com>
24571
d2c736f8
RM
24572 [BZ #4822]
24573 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24574
1cac7236
RM
24575 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24576 (write, read, close): Likewise.
24577 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24578
8e475601
JM
245792012-02-15 Joseph Myers <joseph@codesourcery.com>
24580
24581 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24582 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24583 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24584 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24585 <bits/signalfd.h>.
24586 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24588 bits/signalfd.h.
24589
ed656b40
MP
245902012-02-14 Marek Polacek <polacek@redhat.com>
24591
24592 * sysdeps/x86_64/crti.S: New file.
24593 * sysdeps/x86_64/crtn.S: New file.
24594 * sysdeps/x86_64/elf/initfini.c: Remove file.
24595
2a979d3a
JM
245962012-02-13 Joseph Myers <joseph@codesourcery.com>
24597
24598 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24599 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24600 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24601 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24602 <bits/inotify.h>.
24603 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24605 bits/inotify.h.
24606
2a418ac3
JM
246072012-02-13 Joseph Myers <joseph@codesourcery.com>
24608
24609 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24610 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24611 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24612 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24613 <bits/eventfd.h>.
24614 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24616 bits/eventfd.h.
24617
fb779be7
TS
246182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24619
e19e83c5
RM
24620 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24621 __feraiseexcept instead of feraiseexcept.
7c35ffed 24622
fb779be7
TS
24623 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24624 nanosleep invocations.
24625 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24626 strings, and add error checking for a nanosleep invocations.
24627
59ba27a6
PE
246282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24629
24630 Replace FSF snail mail address with URLs, as per GNU coding standards.
24631 Most of the snail mail addresses were wrong anyway, and omitting
24632 them makes the source code easier to maintain. Almost all of the
24633 changes are to license notices and to locale LC_IDENTIFICATION
24634 addresses, except for this one:
24635 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24636 not its snail mail address.
24637
57b957eb
RH
246382012-02-09 Richard Henderson <rth@twiddle.net>
24639
af850b1c
RH
24640 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24641 of kernel-features.h.
24642
57b957eb
RH
24643 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24644
6b73181a
MP
246452012-02-08 Marek Polacek <polacek@redhat.com>
24646
24647 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24648 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24649 * sysdeps/gnu/_G_config.h: Likewise.
24650 * sysdeps/generic/_G_config.h: Likewise.
24651
26ecc33a
AS
246522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24653
6c6dbc63
AS
24654 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24655 tests.
24656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24657
e216c012
AS
24658 * sysdeps/powerpc/powerpc32/crti.S: New file.
24659 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24660 * sysdeps/powerpc/powerpc64/crti.S: New file.
24661 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24662
26ecc33a
AS
24663 * Makeconfig (have-initfini): Don't set.
24664 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24665 * configure.in (nopic_initfini): Don't substitute.
24666 * config.h.in (HAVE_INITFINI): Don't #undef.
24667 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24668 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24669
3add8e13
JM
246702012-02-08 Joseph Myers <joseph@codesourcery.com>
24671
24672 Support crti.S and crtn.S provided directly by architectures.
24673 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24674 [crti.S in sysdirs] (omit-deps): Likewise.
24675 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24676 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24677 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24678 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24679 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24680 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24681 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24682 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24683 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24684 compiler output for sysdeps/generic/initfini.c.
24685 * sysdeps/i386/elf/Makefile: Remove file.
24686 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24687
a22f12b4
MP
246882012-02-07 Marek Polacek <polacek@redhat.com>
24689
24690 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24691 * sysdeps/gnu/_G_config.h: Likewise.
24692 * sysdeps/mach/hurd/_G_config.h: Likewise.
24693
148cf100
MP
246942012-02-07 Marek Polacek <polacek@redhat.com>
24695
24696 * math/Makefile (tests): Add tst-CMPLX2.
24697 * math/tst-CMPLX2.c: New file.
24698
cfdc0dd7
AS
246992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24700
84ba42c4
AS
24701 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24702
cfdc0dd7
AS
24703 * math/libm-test.inc (jn_test): Add missing L suffix.
24704
622c86f4
MP
247052012-02-06 Marek Polacek <polacek@redhat.com>
24706
24707 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24708 * sysdeps/i386/fpu/e_powf.S: Likewise.
24709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24710 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24711 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24712 * sysdeps/i386/fpu/e_pow.S: Likewise.
24713 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24714 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24715 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24716 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24717 * sysdeps/i386/fpu/e_log2.S: Likewise.
24718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24719 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24720 * sysdeps/i386/fpu/e_powl.S: Likewise.
24721 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24722 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24723 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24724 * sysdeps/i386/fpu/e_logl.S: Likewise.
24725 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24726 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24727 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24728 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24729 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24731 * sysdeps/i386/fpu/e_log.S: Likewise.
24732 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24734 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24735 * sysdeps/i386/fpu/e_logf.S: Likewise.
24736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24738 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24739 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24740 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24741 * sysdeps/i386/fpu/e_log10.S: Likewise.
24742 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24744 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24745 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24746 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24747 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24748 * sysdeps/i386/asm-syntax.h: Likewise.
24749 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24751 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24752 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24753 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24758 * sysdeps/powerpc/sysdep.h: Likewise.
24759 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24761
d4a54ac6
JM
247622012-02-06 Joseph Myers <joseph@codesourcery.com>
24763
24764 [BZ #411]
24765 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24766
314054ea
JM
247672012-02-06 Joseph Myers <joseph@codesourcery.com>
24768
24769 * sysdeps/i386/sysdep.h: Include <features.h>.
24770 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24771 version.
24772
d8e0ca50
JM
247732012-02-05 Joseph Myers <joseph@codesourcery.com>
24774
24775 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24776 Define.
24777 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24778 LOAD_PIC_REG_STR.
24779
b1da7dd9
JM
247802012-02-03 Joseph Myers <joseph@codesourcery.com>
24781
24782 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24783 (SETUP_PIC_REG): Use GET_PC_THUNK.
24784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24785 macro.
24786
9a1d9254
JM
247872012-02-03 Joseph Myers <joseph@codesourcery.com>
24788
24789 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24790 for non-PIC compilation.
24791 (SETUP_PIC_REG): Add .p2align directive.
24792 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24793 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24794 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24795 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24797 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24798 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24800 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24801 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24802 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24803 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24804 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24805 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24806 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24807 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24808 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24809 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24810 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24811 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24814 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24815 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24820 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24821 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24822 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24823 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24824 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24825 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24826 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24827 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24828 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24829 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24830 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24831 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24832 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24833
65dc3b75
JM
248342012-02-03 Joseph Myers <joseph@codesourcery.com>
24835
24836 * math/tst-CMPLX.c: Include <stdio.h>.
24837
d55bf177
JM
248382012-01-31 Joseph Myers <joseph@codesourcery.com>
24839
24840 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24841 float.
24842 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24843 * sysdeps/sparc/bits/mathdef.h: Likewise.
24844
69db4f8f
MP
248452012-01-31 Marek Polacek <polacek@redhat.com>
24846
24847 * libio/libio.h: Don't define _PARAMS.
24848 * locale/programs/config.h: Don't define PARAMS.
24849 * stdlib/strtol_l.c: Likewise.
24850 (__strtol_l): Remove PARAMS from the prototype.
24851
41b81892
UD
248522012-01-31 Ulrich Drepper <drepper@gmail.com>
24853
3b49edc0
UD
24854 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24855 names. Just use the correct names. Remove unnecessary wrapper
24856 functions.
24857 * malloc/arena.c: Likewise.
24858 * malloc/hooks.c: Likewise.
24859
41b81892
UD
24860 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24861 ARENA_TEST says not to. Simplify test for creation of a new arena.
24862 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24863
27a25b6e
UD
248642012-01-30 Ulrich Drepper <drepper@gmail.com>
24865
24866 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24867 into tail calls.
24868 (update_get_addr): New function.
24869 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24870 GET_ADDR_MODULE parameter.
24871
c8a89e7d
JM
248722012-01-30 Joseph Myers <joseph@codesourcery.com>
24873
24874 * crypt/cert.c: Remove __STDC__ conditionals.
24875 * crypt/crypt-entry.c: Likewise.
24876 * crypt/crypt_util.c: Likewise.
24877 * libio/filedoalloc.c: Likewise.
24878 * libio/fileops.c: Likewise.
24879 * libio/genops.c: Likewise.
24880 * libio/iofclose.c: Likewise.
24881 * libio/iofdopen.c: Likewise.
24882 * libio/iofopen.c: Likewise.
24883 * libio/iofopen64.c: Likewise.
24884 * libio/iogetdelim.c: Likewise.
24885 * libio/iopopen.c: Likewise.
24886 * libio/obprintf.c: Likewise.
24887 * libio/oldfileops.c: Likewise.
24888 * libio/oldiofclose.c: Likewise.
24889 * libio/oldiofdopen.c: Likewise.
24890 * libio/oldiofopen.c: Likewise.
24891 * libio/oldiopopen.c: Likewise.
24892 * libio/wfiledoalloc.c: Likewise.
24893 * libio/wgenops.c: Likewise.
24894 * locale/programs/xmalloc.c: Likewise.
24895 * misc/syslog.c: Likewise.
24896 * stdio-common/xbug.c: Likewise.
24897 * string/memchr.c: Likewise.
24898 * string/memcmp.c: Likewise.
24899 * string/memrchr.c: Likewise.
24900 * string/rawmemchr.c: Likewise.
24901 * sysdeps/posix/getcwd.c: Likewise.
24902 * time/strftime_l.c: Likewise.
24903
3b100462
JM
249042012-01-30 Joseph Myers <joseph@codesourcery.com>
24905
24906 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24907 * config.make.in (config-cflags-sse2avx): Define.
24908 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24909 Fix typo.
24910
607998af
CM
249112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24912
24913 * scripts/config.guess: Update from upstream config git repository.
24914 * scripts/config.sub: Likewise.
24915
3601428f
CM
249162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24917
3ac8b282
CM
24918 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24919 (EM_NUM): Update.
24920 (R_TILEPRO_*, R_TILEGX_*): New macros.
24921
e034841e
CM
24922 * scripts/firstversions.awk: Fix bug in version range handling.
24923
540d7568
CM
24924 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24925
3601428f
CM
24926 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24927
463de862
CM
24928 * include/sys/epoll.h: New file.
24929 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24930 libc_hidden_def.
24931
73139a76
UD
249322012-01-28 Ulrich Drepper <drepper@gmail.com>
24933
96bc5b45
UD
24934 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24935 Avoid unnecessary __WORDSIZE == 64 test.
24936 (fmaxf): Use VEX format if possible.
24937 (fmax): Likewise.
24938 (fminf): Likewise.
24939 (fmin): Likewise.
24940
56f6f6a2
UD
24941 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24942 * math/math_private.h: Remove libc_fegetround* and
24943 libc_fesetround*.
24944 * sysdeps/i386/configure.in: Check for -msse2avx.
24945 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24946 also if SSE2AVX is defined.
24947 Remove libc_fegetround* and libc_fesetround*.
24948 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24949 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24951 of HAS_YMM_USABLE.
24952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24957
73139a76
UD
24958 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24959
d73f93a4
AZ
249602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24961
24962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24963 size is not set.
24964 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24965
6ee65ed6
UD
249662012-01-27 Ulrich Drepper <drepper@gmail.com>
24967
24968 [BZ #13618]
24969 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24970 relocation.
24971 * Makeconfig (libm): Define.
24972 * elf/Makefile: Add rules to build and run tst-relsort1.
24973 * elf/tst-relsort1.c: New file.
24974 * elf/tst-relsort1mod1.c: New file.
24975 * elf/tst-relsort1mod2.c: New file.
24976
8db21882
JM
249772012-01-27 Joseph Myers <joseph@codesourcery.com>
24978
24979 * math/s_ldexp.c: Remove __STDC__ conditionals.
24980 * math/s_ldexpf.c: Likewise.
24981 * math/s_ldexpl.c: Likewise.
24982 * math/s_nextafter.c: Likewise.
24983 * math/s_nexttowardf.c: Likewise.
24984 * math/s_significand.c: Likewise.
24985 * math/s_significandf.c: Likewise.
24986 * math/s_significandl.c: Likewise.
24987 * math/w_jnl.c: Likewise.
24988 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24989 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24990 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24991 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24992 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24994 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24995 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25007 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25008 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25010 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25011 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25012 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25013 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25014 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25015 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25016 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25017 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25018 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25019 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25021 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25022 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25023 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25025 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25026 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25027 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25028 * sysdeps/ieee754/k_standard.c: Likewise.
25029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25030 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25032 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25033 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25036 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25037 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25042 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25043 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25048 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25058 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25064 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25071 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25078 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25079 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25084 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25089 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25090 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25091 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25092 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25093 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25094 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25095 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25096 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25098 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25099 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25101 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25102 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25103 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25104 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25108 * sysdeps/ieee754/s_matherr.c: Likewise.
25109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25113
965a54a4
JM
251142012-01-26 Joseph Myers <joseph@codesourcery.com>
25115
25116 * crypt/md5.h: Remove __STDC__ conditionals.
25117 * libio/libioP.h: Likewise.
25118 * locale/programs/config.h: Likewise.
25119 * sysdeps/generic/sysdep.h: Likewise.
25120 * sysdeps/i386/asm-syntax.h: Likewise.
25121 * sysdeps/s390/asm-syntax.h: Likewise.
25122 * sysdeps/unix/sysdep.h: Likewise.
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25125
7071ad79
JM
251262012-01-26 Joseph Myers <joseph@codesourcery.com>
25127
25128 * libio/libio.h: Remove __STDC__ conditionals.
25129 * malloc/obstack.h: Likewise.
25130 * math/complex.h: Likewise.
25131 * math/math.h: Likewise.
25132 * sysdeps/generic/_G_config.h: Likewise.
25133 * sysdeps/gnu/_G_config.h: Likewise.
25134 * sysdeps/mach/hurd/_G_config.h: Likewise.
25135 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25136 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25137 * sysdeps/sparc/bits/mathdef.h: Likewise.
25138
afc5ed09
UD
251392012-01-26 Ulrich Drepper <drepper@gmail.com>
25140
25141 [BZ #13583]
25142 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25143 Clean up HAS_* macros.
afc5ed09 25144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25145 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25146 possible.
25147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25148 HAS_AVX.
25149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25154
bdb6de1d
JM
251552012-01-25 Joseph Myers <joseph@codesourcery.com>
25156
25157 * elf/tst-unique3.cc (gets): Remove declaration.
25158 * elf/tst-unique3lib.cc (gets): Likewise.
25159 * elf/tst-unique3lib2.cc (gets): Likewise.
25160 * elf/tst-unique4.cc (gets): Likewise.
25161
b15549e6
UD
251622012-01-24 Ulrich Drepper <drepper@gmail.com>
25163
25164 * include/stdio.h: Add C++ protection. Add gets declarations and
25165 definitions.
25166 * debug/tst-chk1.c: Don't declare gets here.
25167 * stdio-common/tst-gets.c: Likewise.
25168
a037381f
JM
251692012-01-24 Joseph Myers <joseph@codesourcery.com>
25170
25171 * posix/glob: Remove directory.
25172
f1d4aa75
JM
251732012-01-24 Joseph Myers <joseph@codesourcery.com>
25174
25175 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25176
81c0c964
PT
251772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25178
25179 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25180 of the non-standard EPFNOSUPPORT.
25181
0ea698ae
ST
251822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25183
25184 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25185 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25186 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25187
d220b117
UD
251882012-01-21 Ulrich Drepper <drepper@gmail.com>
25189
25190 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25191
3e1aa84e
UD
251922012-01-20 Ulrich Drepper <drepper@gmail.com>
25193
25194 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25195 transient errors.
25196 * nscd/grpcache.c (cache_addgr): Likewise.
25197 * nscd/hstcache.c (cache_addhst): Likewise.
25198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25199 * nscd/pwdcache.c (cache_addpw): Likewise.
25200 * nscd/servicescache.c (cache_addserv): Likewise.
25201
400aa020
UD
252022012-01-16 Ulrich Drepper <drepper@gmail.com>
25203
d77e7869
UD
25204 * malloc/malloc.c: Various cleanups.
25205 * malloc/hooks.c: Likewise.
25206
400aa020
UD
25207 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25208 * stdlib/bug-fmtmsg1.c: New file.
25209
25210 * stdlib/fmtmsg.c (init): Add missing unlock.
25211 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25212
e0a309cf
MP
252132012-01-12 Marek Polacek <polacek@redhat.com>
25214
25215 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25216 and _GNU_SOURCE.
25217
929d11c7
WS
252182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25219
25220 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25221 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25222 macro to ensure uniqueness of label name.
25223 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25224 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25225
41d0e869
UD
252262012-01-11 Ulrich Drepper <drepper@gmail.com>
25227
0cc5ed3b
UD
25228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25229
41d0e869
UD
25230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25231 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25234
a47a831a
UD
252352012-01-10 Ulrich Drepper <drepper@gmail.com>
25236
daa891c0
UD
25237 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25238
25239 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25240 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25242
e58ef0f2
UD
25243 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25244
a47a831a 25245 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25246 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25249
25250 * math/bits/math-finite.h: Add ldexp support.
25251
a0bfc9c7
MP
252522012-01-10 Marek Polacek <polacek@redhat.com>
25253
25254 * locale/programs/localedef.h (show_archive_content): Add noreturn
25255 attribute.
25256
d6e97a1d
UD
252572012-01-09 Ulrich Drepper <drepper@gmail.com>
25258
25259 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25260
d5835c26
UD
252612012-01-08 Ulrich Drepper <drepper@gmail.com>
25262
e5f484c6
UD
25263 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25264
d5835c26
UD
25265 * io/Makefile (headers): Add bits/poll2.h.
25266
d1f741e9
WS
252672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25268
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25270 typo #include statement.
25271
ec09c1c4
UD
252722012-01-08 Ulrich Drepper <drepper@gmail.com>
25273
25274 * include/sys/cdefs.h: Define __attribute_alloc_size.
25275 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25276 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25277 * elf/pldd.c: Likewise.
25278 * iconv/iconv_charmap.c: Likewise.
25279 * iconv/iconvconfig.c: Likewise.
25280 * iconv/strtab.c: Likewise.
25281 * locale/programs/locale.c: Likewise.
25282 * locale/programs/localedef.h: Likewise.
25283 * locale/programs/simple-hash.c: Likewise.
25284 * nscd/nscd.h: Likewise.
25285 * nss/makedb.c: Likewise.
25286 * sysdeps/generic/ldconfig.h: Likewise.
25287 * locale/programs/localedef.c: Remove xmalloc prototype.
25288 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25289
20b38e03
PP
252902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25291
25292 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25293 appropriate.
25294
a0da5fe1
UD
252952012-01-08 Ulrich Drepper <drepper@gmail.com>
25296
1d5a644a 25297 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25298 * math/tst-CMPLX.c: New file.
1d5a644a 25299
8784a6db
UD
25300 * math/complex.h (CMPLXL): Fix typo.
25301
d9a216c0
UD
25302 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25303 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25304 GLIBC_2.16.
25305 * debug/tst-chk1.c: Add poll and ppoll tests.
25306 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25307 * include/sys/poll.h: Add hidden proto for ppoll.
25308 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25309 * sysdeps/mach/hurd/ppoll.c: Likewise.
25310 * io/ppoll.c: Likewise.
25311 * debug/poll_chk.c: New file.
25312 * debug/ppoll_chk.c: New file.
25313 * include/bits/poll2.h: New file.
25314 * io/bits/poll2.h: New file.
25315
ac097f5c
UD
25316 [BZ #1350]
25317 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25318
2119dcfa
UD
25319 * configure.in: static is always set to yes. Remove.
25320 * config.make.in: Don't set build-static.
25321 * Makeconfig: Remove use of build-static.
25322 * dlfcn/Makefile: Likewise.
25323 * elf/Makefile: Likewise.
25324 * math/Makefile: Likewise.
25325 * misc/Makefile: Likewise.
25326 * nptl/Makefile: Likewise.
25327 * sysdeps/mach/hurd/Makefile: Likewise.
25328
121766a9
UD
25329 * configure.in: PWD_P is not used anymore.
25330 * config.make.in: Remove PWD_P entry.
25331
51a1d39c 25332 * configure.in: Remove last remnants of RANLIB.
8720d066 25333 No need to check for signed size_t anymore.
215f4bdc
UD
25334 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25335 and IA-64.
3857022a 25336 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25337 * aclocal.m4: Likewise.
25338
d3ed7225
UD
25339 * wcsmbs/mbrtoc16.c: Implement using towc function.
25340 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25341 * wcsmbs/wcsmbsload.c: Likewise.
25342 * iconv/gconv_simple.c: Likewise.
25343 * iconv/gconv_int.h: Likewise.
25344 * iconv/gconv_builtin.h: Likewise.
25345 * iconv/iconv_prog.c: Remove CHAR16 handling.
25346
25347 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25348
25349 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25350
a0da5fe1
UD
25351 * configure.in: Remove --with-elf and --enable-bounded options.
25352 Dont set base_machine for ia64. More non-ELF conditions removed.
25353 Remove testing and setting of leading underscore information.
25354 * config.make.in (build-bounded): Set to no.
25355 * config.h.in: Remove NO_UNDERSCORES entry.
25356 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25357 them.
25358 * csu/start.c: Remove !NO_UNDERSCORE code.
25359 * locale/localeinfo.h: Likewise.
25360 * sysdeps/generic/machine-gmon.h: Likewise.
25361 * sysdeps/generic/sysdep.h: Likewise.
25362 * sysdeps/i386/sysdep.h: Likewise.
25363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25364 * sysdeps/mach/sysdep.h: Likewise.
25365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25367 * sysdeps/sh/sysdep.h: Likewise.
25368 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25369 * sysdeps/unix/i386/sysdep.S: Likewise.
25370 * sysdeps/unix/sparc/start.c: Likewise.
25371 * sysdeps/unix/sparc/sysdep.S: Likewise.
25372 * sysdeps/unix/sparc/sysdep.h: Likewise.
25373 * sysdeps/unix/start.c: Likewise.
25374 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25375 * sysdeps/x86_64/sysdep.h: Likewise.
25376
df78418a
UD
253772012-01-07 Ulrich Drepper <drepper@gmail.com>
25378
a784e502
UD
25379 [BZ #13553]
25380 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25381 for non-gcc.
25382 * argp/argp-fmtstream.h: Use const instead __const.
25383 * argp/argp.h: Likewise.
25384 * assert/assert.h: Likewise.
25385 * bits/fenv.h: Likewise.
25386 * bits/sched.h: Likewise.
25387 * bits/sigset.h: Likewise.
25388 * bits/sigthread.h: Likewise.
25389 * catgets/nl_types.h: Likewise.
25390 * conform/data/pthread.h-data: Likewise.
25391 * crypt/crypt-private.h: Likewise.
25392 * crypt/crypt.h: Likewise.
25393 * crypt/crypt_util.c: Likewise.
25394 * ctype/ctype.h: Likewise.
25395 * debug/execinfo.h: Likewise.
25396 * debug/mbsnrtowcs_chk.c: Likewise.
25397 * debug/mbsrtowcs_chk.c: Likewise.
25398 * debug/wcsnrtombs_chk.c: Likewise.
25399 * debug/wcsrtombs_chk.c: Likewise.
25400 * debug/wcstombs_chk.c: Likewise.
25401 * dirent/dirent.h: Likewise.
25402 * dlfcn/dlfcn.h: Likewise.
25403 * elf/neededtest4.c: Likewise.
25404 * grp/grp.h: Likewise.
25405 * gshadow/gshadow.h: Likewise.
25406 * iconv/gconv.h: Likewise.
25407 * iconv/gconv_int.h: Likewise.
25408 * iconv/gconv_simple.c: Likewise.
25409 * iconv/iconv.h: Likewise.
25410 * iconv/loop.c: Likewise.
25411 * iconv/skeleton.c: Likewise.
25412 * include/aio.h: Likewise.
25413 * include/aliases.h: Likewise.
25414 * include/argz.h: Likewise.
25415 * include/arpa/inet.h: Likewise.
25416 * include/assert.h: Likewise.
25417 * include/dirent.h: Likewise.
25418 * include/dlfcn.h: Likewise.
25419 * include/execinfo.h: Likewise.
25420 * include/fcntl.h: Likewise.
25421 * include/fenv.h: Likewise.
25422 * include/glob.h: Likewise.
25423 * include/grp.h: Likewise.
25424 * include/libintl.h: Likewise.
25425 * include/mntent.h: Likewise.
25426 * include/netdb.h: Likewise.
25427 * include/pwd.h: Likewise.
25428 * include/rpc/netdb.h: Likewise.
25429 * include/sched.h: Likewise.
25430 * include/search.h: Likewise.
25431 * include/shadow.h: Likewise.
25432 * include/signal.h: Likewise.
25433 * include/stdio.h: Likewise.
25434 * include/stdlib.h: Likewise.
25435 * include/string.h: Likewise.
25436 * include/sys/socket.h: Likewise.
25437 * include/sys/stat.h: Likewise.
25438 * include/sys/statfs.h: Likewise.
25439 * include/sys/statvfs.h: Likewise.
25440 * include/sys/syslog.h: Likewise.
25441 * include/sys/time.h: Likewise.
25442 * include/sys/uio.h: Likewise.
25443 * include/time.h: Likewise.
25444 * include/unistd.h: Likewise.
25445 * include/utmp.h: Likewise.
25446 * include/wchar.h: Likewise.
25447 * include/wctype.h: Likewise.
25448 * inet/aliases.h: Likewise.
25449 * inet/arpa/inet.h: Likewise.
25450 * inet/netinet/ether.h: Likewise.
25451 * inet/netinet/in.h: Likewise.
25452 * intl/libintl.h: Likewise.
25453 * io/bits/fcntl2.h: Likewise.
25454 * io/fcntl.h: Likewise.
25455 * io/ftw.h: Likewise.
25456 * io/sys/poll.h: Likewise.
25457 * io/sys/stat.h: Likewise.
25458 * io/sys/statfs.h: Likewise.
25459 * io/sys/statvfs.h: Likewise.
25460 * io/utime.h: Likewise.
25461 * libio/bits/stdio.h: Likewise.
25462 * libio/bits/stdio2.h: Likewise.
25463 * libio/libio.h: Likewise.
25464 * libio/libioP.h: Likewise.
25465 * libio/stdio.h: Likewise.
25466 * locale/lc-ctype.c: Likewise.
25467 * locale/locale.h: Likewise.
25468 * login/utmp.h: Likewise.
25469 * malloc/arena.c: Likewise.
25470 * malloc/malloc.c: Likewise.
25471 * malloc/malloc.h: Likewise.
25472 * malloc/mcheck.c: Likewise.
25473 * malloc/mtrace.c: Likewise.
25474 * math/bits/mathcalls.h: Likewise.
25475 * math/fenv.h: Likewise.
25476 * math/math_private.h: Likewise.
25477 * misc/bits/error.h: Likewise.
25478 * misc/bits/syslog.h: Likewise.
25479 * misc/err.h: Likewise.
25480 * misc/error.h: Likewise.
25481 * misc/fstab.h: Likewise.
25482 * misc/mntent.h: Likewise.
25483 * misc/regexp.h: Likewise.
25484 * misc/search.h: Likewise.
25485 * misc/sgtty.h: Likewise.
25486 * misc/sys/mman.h: Likewise.
25487 * misc/sys/syslog.h: Likewise.
25488 * misc/sys/uio.h: Likewise.
25489 * misc/sys/xattr.h: Likewise.
25490 * misc/ttyent.h: Likewise.
25491 * nis/rpcsvc/ypclnt.h: Likewise.
25492 * nss/nss.h: Likewise.
25493 * posix/bits/unistd.h: Likewise.
25494 * posix/fnmatch.h: Likewise.
25495 * posix/glob.h: Likewise.
25496 * posix/sched.h: Likewise.
25497 * posix/spawn.h: Likewise.
25498 * posix/sys/wait.h: Likewise.
25499 * posix/unistd.h: Likewise.
25500 * posix/wordexp.h: Likewise.
25501 * pwd/pwd.h: Likewise.
25502 * resolv/netdb.h: Likewise.
25503 * resource/sys/resource.h: Likewise.
25504 * rt/aio.h: Likewise.
25505 * rt/bits/mqueue2.h: Likewise.
25506 * rt/mqueue.h: Likewise.
25507 * shadow/shadow.h: Likewise.
25508 * signal/signal.h: Likewise.
25509 * socket/send.c: Likewise.
25510 * socket/sendto.c: Likewise.
25511 * socket/sys/socket.h: Likewise.
25512 * stdio-common/printf.h: Likewise.
25513 * stdlib/bits/stdlib.h: Likewise.
25514 * stdlib/fmtmsg.h: Likewise.
25515 * stdlib/monetary.h: Likewise.
25516 * stdlib/stdlib.h: Likewise.
25517 * stdlib/ucontext.h: Likewise.
25518 * streams/stropts.h: Likewise.
25519 * string/argz.h: Likewise.
25520 * string/bits/string2.h: Likewise.
25521 * string/string.h: Likewise.
25522 * string/strings.h: Likewise.
25523 * sunrpc/rpc/auth.h: Likewise.
25524 * sunrpc/rpc/auth_des.h: Likewise.
25525 * sunrpc/rpc/clnt.h: Likewise.
25526 * sunrpc/rpc/netdb.h: Likewise.
25527 * sunrpc/rpc/pmap_clnt.h: Likewise.
25528 * sunrpc/rpc/xdr.h: Likewise.
25529 * sysdeps/generic/inttypes.h: Likewise.
25530 * sysdeps/generic/net/if.h: Likewise.
25531 * sysdeps/generic/sys/swap.h: Likewise.
25532 * sysdeps/gnu/net/if.h: Likewise.
25533 * sysdeps/gnu/utmpx.h: Likewise.
25534 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25535 * sysdeps/i386/i486/bits/string.h: Likewise.
25536 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25537 * sysdeps/s390/bits/string.h: Likewise.
25538 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25539 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25540 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25541 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25542 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25543 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25544 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25545 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25546 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25547 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25548 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25549 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25550 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25551 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25552 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25553 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25554 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25559 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25560 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25561 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25562 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25563 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25564 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25565 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25566 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25567 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25568 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25569 * sysvipc/sys/ipc.h: Likewise.
25570 * sysvipc/sys/msg.h: Likewise.
25571 * sysvipc/sys/sem.h: Likewise.
25572 * sysvipc/sys/shm.h: Likewise.
25573 * termios/termios.h: Likewise.
25574 * time/sys/time.h: Likewise.
25575 * time/time.h: Likewise.
25576 * wcsmbs/bits/wchar2.h: Likewise.
25577 * wcsmbs/uchar.h: Likewise.
25578 * wcsmbs/wchar.h: Likewise.
25579 * wctype/wctype.h: Likewise.
25580
0269750c
UD
25581 [BZ #13551]
25582 * Makeconfig: Remove all but ELF support including AIX support.
25583 * Makerules: Likewise.
25584 * config.h.in: Likewise.
25585 * config.make.in: Likewise.
25586 * configure: Likewise.
25587 * configure.in: Likewise.
25588 * csu/Makefile: Likewise.
25589 * csu/version.c: Likewise.
25590 * debug/Makefile: Likewise.
25591 * dlfcn/Makefile: Likewise.
25592 * elf/Makefile: Likewise.
25593 * extra-lib.mk: Likewise.
25594 * iconv/Makefile: Likewise.
25595 * include/libc-symbols.h: Likewise.
25596 * include/shlib-compat.h: Likewise.
25597 * resolv/Makefile: Likewise.
25598 * resolv/res_libc.c: Likewise.
25599 * rt/Makefile: Likewise.
25600 * sysdeps/i386/asm-syntax.h: Likewise.
25601 * sysdeps/i386/sysdep.h: Likewise.
25602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25603 * sysdeps/mach/sysdep.h: Likewise.
25604 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25605 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25606 * sysdeps/s390/asm-syntax.h: Likewise.
25607 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25609 * sysdeps/sh/sysdep.h: Likewise.
25610 * sysdeps/unix/sparc/sysdep.h: Likewise.
25611 * sysdeps/wordsize-32/divdi3.c: Likewise.
25612 * sysdeps/x86_64/sysdep.h: Likewise.
25613
00bbd29b
UD
25614 * argp/Versions: Remove _argp_unlock_xxx.
25615
25616 [BZ #13559]
25617 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25618 * abilist/libBrokenLocale.abilist: Likewise.
25619 * abilist/libanl.abilist: Likewise.
25620 * abilist/libc.abilist: Likewise.
25621 * abilist/libcrypt.abilist: Likewise.
25622 * abilist/libdl.abilist: Likewise.
25623 * abilist/libm.abilist: Likewise.
25624 * abilist/libnsl.abilist: Likewise.
25625 * abilist/libpthread.abilist: Likewise.
25626 * abilist/libresolv.abilist: Likewise.
25627 * abilist/librt.abilist: Likewise.
25628 * abilist/libthread_db.abilist: Likewise.
25629 * abilist/libutil.abilist: Likewise.
25630 * abilist/libnss_db.abilist: New file.
25631
25632 * scripts/abilist.awk: Add support for indirect functions.
25633
a2693a0e
UD
25634 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25635
3f05895f
UD
25636 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25637
ecb6fb48
UD
25638 * shlib-versions: Remove entries for ports architectures.
25639
664f8cb9
UD
25640 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25641 files in ports.
25642 * elf/stackguard-macros.h: Remove support for IA-64.
25643 * elf/tst-auditmod1.c: Likewise.
25644 * sysdeps/generic/ldsodefs.h: Likewise.
25645
7ae81d88
UD
25646 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25647 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25648 configure files.
25649
bdeba135
UD
25650 [BZ #13552]
25651 * configure.in: Remove --enable-omitfp support.
25652 * FAQ.in: Adjust.
25653 * config.make.in: Likewise.
25654 * Makeconfig: Likewise.
25655 * manual/install.texi: Likewise.
25656
d75a0a62
UD
25657 In case anyone cares, the IA-64 architecture could move to ports.
25658 * sysdeps/ia64/*: Removed.
25659 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25660 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25661
dcc9756b
UD
25662 [BZ #13555]
25663 * configure.in: Remove entries for unsupported architectures.
25664
d3761ebc 25665 [BZ #13533]
9954432e
UD
25666 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25667 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25668 routines.
25669 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25670 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25671 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25672 fall back to using wcrtomb.
25673 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25674 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25675 renaming.
25676 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25677 * wcsmbs/tst-c16c32-1.c: New file.
25678
25679 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25680 local variable.
25681
c3a87236
UD
25682 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25683
28926a1b
UD
25684 * elf/tst-unique3.cc: Add explicit declaration of gets.
25685 * elf/tst-unique3lib.cc: Likewise.
25686 * elf/tst-unique3lib2.cc: Likewise.
25687 * elf/tst-unique4.cc: Likewise.
25688
df78418a
UD
25689 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25690
8ecd6b2a
JM
256912012-01-06 Joseph Myers <joseph@codesourcery.com>
25692
25693 [BZ #13566]
25694 * assert/assert.h (static_assert): Don't define for C++.
25695 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25696 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25697
9f115170
UD
256982012-01-03 Ulrich Drepper <drepper@gmail.com>
25699
5e0d0300
UD
25700 * iconv/loop.c (single loop): Fix assertion in storing of
25701 remaining bytes.
25702
9f115170
UD
25703 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25704
81fb02b0
UD
257052012-01-01 Ulrich Drepper <drepper@gmail.com>
25706
25707 * posix/getconf.c: Update copyright year.
25708 * nss/getent.c: Likewise.
a316c1f6 25709 * nss/makedb.c: Likewise.
81fb02b0
UD
25710 * iconv/iconvconfig.c: Likewise.
25711 * iconv/iconv_prog.c: Likewise.
25712 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25713 * elf/pldd.c: Likewise.
25714 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25715 * catgets/gencat.c: Likewise.
25716 * csu/version.c: Likewise.
25717 * elf/ldd.bash.in: Likewise.
25718 * elf/sprof.c (print_version): Likewise.
25719 * locale/programs/locale.c: Likewise.
25720 * locale/programs/localedef.c: Likewise.
a316c1f6 25721 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25722 * nscd/nscd.c (print_version): Likewise.
25723 * debug/xtrace.sh: Likewise.
25724 * malloc/memusage.sh: Likewise.
25725 * malloc/mtrace.pl: Likewise.
25726 * debug/catchsegv.sh: Likewise.
25727
2ba92745
JJ
257282011-12-30 Jakub Jelinek <jakub@redhat.com>
25729
25730 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25731 pure attribute.
25732
dadebdae
UD
257332011-12-24 Ulrich Drepper <drepper@gmail.com>
25734
d3761ebc 25735 [BZ #13533]
db6af3eb
UD
25736 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25737 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25738 transformations.
25739 * iconv/gconv_int.h: Likewise.
25740 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25741 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25742 from libc for GLIBC_2.16.
25743 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25744 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25745 * wcsmbs/uchar.h: Really define mbstate_t.
25746 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25747 * wcsmbs/c16rtomb.c: New file.
25748 * wcsmbs/mbrtoc16.c: New file.
25749 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25750 for C/POSIX locale.
25751 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25752 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25753
dadebdae
UD
25754 * wcsmbs/wchar.h: Add missing __restrict.
25755
67371b56
UD
257562011-12-23 Ulrich Drepper <drepper@gmail.com>
25757
74033a25
UD
25758 [BZ #13532]
25759 * time/Makefile (routines): Add timespec_get.
25760 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25761 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25762 timespec for ISO C11.
25763 * time/timespec_get.c: New file.
25764 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25765 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25766
380d7e87
UD
25767 [BZ #13531]
25768 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25769 * stdlib/stdlib.h: Declare aligned_alloc.
25770 * Versions.def: Add GLIBC_2.16 for libc.
25771 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25772
4e9e7a35
UD
25773 [BZ 13527]
25774 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25775 ISO C11.
25776
380d7e87 25777 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25778 code.
25779
03a71829
UD
25780 [BZ #13528]
25781 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25782
839e283e
UD
25783 [BZ #13529]
25784 * assert/assert.h (static_assert): Define.
25785
ce5294e2 25786 * version.h: Update for 2.16 development version.
90fa7312 25787
8d44e150 25788 [BZ #13526]
d7809905
UD
25789 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25790 _ISOC11_SOURCE.
25791
c0da14cd
UD
25792 * version.h (RELEASE): Bump for 2.15 release.
25793 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25794
530a3249
MP
25795 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25796 Patch by Marek Polacek <mpolacek@redhat.com>.
25797
67371b56
UD
25798 * bits/byteswap.h: Protect long long constants with __extension__.
25799 * sysdeps/i386/bits/byteswap.h: Likewise.
25800 * sysdeps/ia64/bits/byteswap.h: Likewise.
25801 * sysdeps/s390/bits/byteswap.h: Likewise.
25802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25803
15db4de1
LD
258042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25805
25806 [BZ #13540]
bbe315ea
LD
25807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25808 destination buffer.
15db4de1
LD
25809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25810
2b2596b1
MP
258112011-12-23 Marek Polacek <polacek@redhat.com>
25812
25813 * elf/dl-addr.c (determine_info): Add inline keyword.
25814 * elf/tst-auditmod4b.c (check_avx): Likewise.
25815 * elf/tst-auditmod6b.c (check_avx): Likewise.
25816 * elf/tst-auditmod6c.c (check_avx): Likewise.
25817 * elf/tst-auditmod7b.c (check_avx): Likewise.
25818
70c6c246
UD
258192011-12-23 Ulrich Drepper <drepper@gmail.com>
25820
25821 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25822 !__SSE_MATH__.
25823
c044cf14
LD
258242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25825
15db4de1 25826 [BZ #13540]
c044cf14
LD
25827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25828 processing for last bytes.
25829
6b13d9d9
BH
258302011-08-06 Bruno Haible <bruno@clisp.org>
25831
d455f537
BH
25832 [BZ #13061]
25833 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25834 U+0385, not to U+1FEE.
25835
6b13d9d9
BH
25836 [BZ #13062]
25837 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25838 entry for U+00A5 U+0301.
25839
db910efd
UD
258402011-12-22 Ulrich Drepper <drepper@gmail.com>
25841
27deeafc
UD
25842 [BZ #13166]
25843 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25844 buffer for the output is too small.
25845
aed9d171
UD
25846 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25847 optimization.
25848
db910efd
UD
25849 [BZ #13185]
25850 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25851 SSE flags if possible.
25852
2bd779ae
LD
258532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25854
e7f9dac3 25855 [BZ #13540]
2bd779ae
LD
25856 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25857 processing for last bytes.
25858
154bfc16
JM
258592011-12-22 Joseph Myers <joseph@codesourcery.com>
25860
25861 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25862 (syscall-list-default-options, syscall-list-default-condition)
25863 (syscall-list-includes): Define.
25864 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25865 list of ABIs and options and #if conditions for each ABI. Do not
25866 handle common syscalls between ABIs specially.
25867 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25868 Remove.
25869 (syscall-list-variants, syscall-list-32bit-options)
25870 (syscall-list-32bit-condition, syscall-list-64bit-options)
25871 (syscall-list-64bit-condition): Define.
25872 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25873 (syscall-list-variants, syscall-list-32bit-options)
25874 (syscall-list-32bit-condition, syscall-list-64bit-options)
25875 (syscall-list-64bit-condition): Define.
25876 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25877 Remove.
25878 (syscall-list-variants, syscall-list-32bit-options)
25879 (syscall-list-32bit-condition, syscall-list-64bit-options)
25880 (syscall-list-64bit-condition): Define.
25881 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25882 Remove.
25883 (syscall-list-variants, syscall-list-32bit-options)
25884 (syscall-list-32bit-condition, syscall-list-64bit-options)
25885 (syscall-list-64bit-condition): Define.
25886
21eaf3a5
UD
258872011-12-22 Ulrich Drepper <drepper@gmail.com>
25888
16c6f992
UD
25889 * locale/iso-639.def: Add brx entry.
25890
41043168
UD
25891 [BZ #13328]
25892 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25893 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25894
21eaf3a5
UD
25895 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25896 __feraiseexcept_renamed.
25897
e3a851a2
UD
258982011-12-21 Ulrich Drepper <drepper@gmail.com>
25899
4920765e
UD
25900 [BZ #13538]
25901 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25902 EPOLLET with unsigned values.
25903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25905
e3a851a2
UD
25906 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25907 to large cancellation.
25908 * math/s_cacoshf.c: Likewise.
25909 * math/s_cacoshl.c: Likewise.
25910
b27e24b8
RK
259112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25912
25913 [BZ #13305]
aebefeee 25914 [BZ #12786]
b27e24b8
RK
25915 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25916 * math/s_cacoshf.c: Likewise.
25917 * math/s_cacoshl.c: Likewise.
25918
ee190f67
UD
259192011-12-21 Ulrich Drepper <drepper@gmail.com>
25920
25921 [BZ #13439]
25922 * iconv/gconv.h: Define __GCONV_SWAP.
25923 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25924 * iconvdata/utf-16.c: Likewise.
25925 * iconvdata/utf-32.c: Likewise.
25926
707f25df
AS
259272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25928
25929 [BZ #13524]
25930 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25931 numerator after shifting it by one limb.
25932
d2daaa1e
RÁE
259332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25934
25935 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25936 under [__USE_EXTERN_INLINES].
25937
a4647e72
UD
259382011-12-17 Ulrich Drepper <drepper@gmail.com>
25939
25940 [BZ #13446]
25941 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25942
f0b264f1
AZ
259432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25944
25945 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25946 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25947 optimized code.
25948 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25950 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25951 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25952 for strncasecmp/strncasecmp_l compilation.
25953 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25954 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25955
8ef4f244
MP
259562011-12-08 Marek Polacek <mpolacek@redhat.com>
25957
25958 [BZ #13484]
25959 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25960 of __asm__.
25961
97ac2654
UD
259622011-12-17 Ulrich Drepper <drepper@gmail.com>
25963
25964 [BZ #13506]
25965 * time/tzfile.c (__tzfile_read): Check values from file header.
25966
91d2a845
WS
259672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25968
25969 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25970 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25971 * powerpc/powerpc32/dl-start.S: Likewise.
25972 * powerpc/powerpc32/elf/start.S: Likewise.
25973 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25974 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25975 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25976 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25977 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25978 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25979 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25980 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25981 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25982 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25983 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25984 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25985 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25986 * powerpc/powerpc32/memset.S: Likewise.
25987 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25988 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25989 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25990 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25991 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25992 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25993 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25994 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25995 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25996 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25997 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25998 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25999 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26000
a1267ba1
AZ
260012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26002
26003 * math/libm-test.inc: Added more nearbyint tests.
26004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26008
ad8ac1bd
RL
260092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26010
26011 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26012 FD_CLOEXEC.
26013
1d3e4b61
UD
260142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26015
26016 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26017 Add wcscpy-ssse3 wcscpy-c.
26018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26019 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26020 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26021 * sysdeps/x86_64/wcschr.S: New file.
26022 * sysdeps/x86_64/wcsrchr.S: New file.
26023 * string/test-strcmp.c: Remove checking of wcscmp function for
26024 wrong alignments.
26025 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26026 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26027 wcsrchr-sse2 wcsrchr-c.
26028 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26029 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26030 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26031 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26032 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26033 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26034 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26035 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26037 * wcsmbc/wcschr.c (WCSCHR): New macro.
26038
5b330a2d
UD
260392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26040
26041 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26042 * wcsmbs/test-wcsrchr.c: New file.
26043 * string/test-strrchr.c: Add wcsrchr support.
26044 (WIDE): New macro.
26045 * wcsmbs/test-wcscpy.c: New file.
26046 * string/test-strcpy.c: Add wcscpy support.
26047 (WIDE): New macro.
26428b7c 26048
f039c043
UD
260492011-12-10 Ulrich Drepper <drepper@gmail.com>
26050
26051 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26052 the inner loop.
26053
850fb039
AS
260542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26055
26056 [BZ #13472]
26057 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26058
4efbd5cb
UD
260592011-12-04 Ulrich Drepper <drepper@gmail.com>
26060
52ff5dd0 26061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26062 Minor optimizations.
52ff5dd0 26063
4efbd5cb
UD
26064 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26065 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26066 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26067
8a426e12
UD
260682011-12-03 Ulrich Drepper <drepper@gmail.com>
26069
aff2453d
UD
26070 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26071 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26072 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26073 for gcc to avoid warnings.
26074 * inet/Makefile (tests): Add tst-checks.
26075 * inet/tst-checks.c: New file.
26076
26077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26078 warning.
26079
26080 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26081 __wmemcmp_sse2.
26082
26083 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26084 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26085
8a426e12
UD
26086 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26087
9bea3473
UD
260882011-12-02 Ulrich Drepper <drepper@gmail.com>
26089
3a965496
UD
26090 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26091 problem.
26092
9bea3473
UD
26093 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26094
f101631b
UD
260952011-11-29 Joseph Myers <joseph@codesourcery.com>
26096
26097 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26098 conditional on GCC version.
26099 (__arch_compare_and_exchange_val_8_acq)
26100 (__arch_compare_and_exchange_val_16_acq)
26101 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26102 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26103 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26104
a98275aa
UD
261052011-12-02 Joseph Myers <joseph@codesourcery.com>
26106
26107 * sysdeps/sh/backtrace.c: New file.
26108
d4cc29a2
AS
261092011-12-02 Andreas Schwab <schwab@redhat.com>
26110
26111 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26112 parenthesis.
26113
6257af2d
AS
261142011-12-01 Andreas Schwab <schwab@redhat.com>
26115
26116 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26117 falling back to utime.
26118
b5f44c1a
AS
261192011-11-30 Andreas Schwab <schwab@redhat.com>
26120
26121 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26122 expectations for float.
26123
f3a6cc0a
AS
261242011-11-29 Andreas Schwab <schwab@redhat.com>
26125
26126 * locale/weight.h (findidx): Add parameter len.
26127 * locale/weightwc.h (findidx): Likewise.
26128 * posix/fnmatch_loop.c (FCT): Adjust caller.
26129 * posix/regcomp.c (build_equiv_class): Likewise.
26130 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26131 * posix/regexec.c (check_node_accept_bytes): Likewise.
26132 * string/strcoll_l.c (STRCOLL): Likewise.
26133 * string/strxfrm_l.c (STRXFRM): Likewise.
26134
9d65ea3a
UD
261352011-11-17 Ulrich Drepper <drepper@gmail.com>
26136
26137 * Makefile.in: Remove CVSOPT handling.
26138 * configure.in: Remove use of AC_REVISION.
26139 * iconvdata/Makefile (distribute): No need to filter out CVS.
26140 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26141 handling.
26142
5583a086
AS
261432011-11-16 Andreas Schwab <schwab@redhat.com>
26144
26145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26146 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26147 [USE_AS_STRNCASECMP_L]: Likewise.
26148 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26149 NO_TLS_DIRECT_SEG_REFS.
26150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26151 Fix argument offsets for non-PIC.
26152 [USE_AS_STRNCASECMP_L]: Likewise.
26153 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26154 NO_TLS_DIRECT_SEG_REFS.
26155
d62a8200
UD
261562011-11-15 Ulrich Drepper <drepper@gmail.com>
26157
9d65ea3a 26158 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26159 O_CLOEXEC.
26160 * locale/loadlocale.c (_nl_load_locale): Likewise.
26161
09f93bd3
AS
261622011-11-15 Andreas Schwab <schwab@redhat.com>
26163
446514f9
AS
26164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26165 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26167 (SYSCALL_GETTIME): Set errno on error.
26168
09f93bd3
AS
26169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26170 count references to noai6ai_cached.
26171
312be3f9
UD
261722011-11-15 Ulrich Drepper <drepper@gmail.com>
26173
26174 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26175
26176 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26177 FD_CLOEXEC for /proc/self/maps.
26178
26179 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26180 FD_CLOEXEC for /proc/meminfo.
26181
26182 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26183 gai.conf.
26184
26185 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26186 FD_CLOEXEC for given file.
26187
26188 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26189
26190 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26191 FD_CLOEXEC for /etc/hosts.
26192 (_gethtent): Likewise.
26193
26194 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26195
26196 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26197 cancellation and set FD_CLOEXEC for /etc/netgroup.
26198
26199 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26200 reading /etc/publickey.
26201
26202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26203 allow cancellation when reading /etc/group.
26204
26205 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26206 cancellation.
26207 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26208
26209 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26210 when using data file.
26211
26212 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26213
26214 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26215 (write_nis_obj): Use "c" and "e" in fopen.
26216
26217 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26218
26219 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26220
26221 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26222
26223 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26224
26225 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26226 locale.alias.
26227
26228 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26229
26230 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26231
26232 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26233
26234 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26235 file parsing and set FD_CLOEXEC.
26236
82af0fa8
UD
262372011-11-14 Ulrich Drepper <drepper@gmail.com>
26238
26239 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26240
a5fb313c
AS
262412011-11-14 Andreas Schwab <schwab@redhat.com>
26242
26243 * malloc/arena.c (arena_get2): Don't call reused_arena when
26244 _int_new_arena failed.
26245
6abf3465
UD
262462011-11-14 Ulrich Drepper <drepper@gmail.com>
26247
26248 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26249 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26250 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26252 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26254 to compile strcasecmp and strncasecmp.
26255 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26256 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26257
26258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26259
76e3966e
UD
262602011-11-13 Ulrich Drepper <drepper@gmail.com>
26261
26262 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26263 locale-defines.sym to gen-as-const-headers.
26264 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26265 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26267 to compile strcasecmp and strncasecmp.
26268 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26269 strcasecmp_l and strncasecmp_l.
26270 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26271 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26272 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26273 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26274 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26275 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26276 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26277 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26278 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26279 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26280 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26281
ab26144e
UD
262822011-11-12 Ulrich Drepper <drepper@gmail.com>
26283
7edb22ef
UD
26284 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26285 result of SYSDEP_GETTIME_CPU to retval.
26286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26287 parameter list to macro. Remove trailing semicolon. Adjust users.
26288
9694fc44
UD
26289 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26290 variable.
26291
8ad89ef8
UD
26292 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26293 mantissa words.
26294 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26295
0c822ef9
UD
26296 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26297 from unused variable.
26298
874e0564
UD
26299 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26300 DWARF definitions.
26301 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26302 for assembling.
26303
3a2edc79
UD
26304 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26305 over namespaces.
26306
f3c2577f
UD
26307 * sunrpc/rpc_prot.c (rejected): Fix case value.
26308
294ce126
UD
26309 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26310 unsigned long long int to avoid warnings in shift.
26311
5e2b63c6
UD
26312 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26313 of use of trans.
26314 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26315 variable tmp.
26316
e7f4b08e
UD
26317 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26318 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26319 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26320
ab26144e
UD
26321 * nis/nis_table.c (nis_list): Use variable of correct type for
26322 result of __follow_path call.
26323
8a6d5255
AZ
263242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26325
26326 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26327 of math functions ceil, trunc, floor, round, and sqrt, when
26328 avaliable on the platform.
26329 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26330 name clash.
26331 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26332 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26333 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26334
aaddc98c
MP
263352011-10-30 Marek Polacek <mpolacek@redhat.com>
26336
26337 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26339
95b7042b
RM
263402011-11-11 Roland McGrath <roland@hack.frob.com>
26341
26342 * include/unistd.h: Fix __readlink return type.
26343 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26344
57769839
UD
263452011-11-11 Ulrich Drepper <drepper@gmail.com>
26346
26347 * stdlib/ucontext.h: Undo last change for makecontext.
26348
edc5984d
AS
263492011-11-11 Andreas Schwab <schwab@redhat.com>
26350
98591e58
AS
26351 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26352
edc5984d
AS
26353 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26354 * setjmp/setjmp.h: Mark functions as non-leaf.
26355 * setjmp/bits/setjmp2.h: Likewise.
26356 * stdlib/ucontext.h: Likewise.
26357
77cdc054
AS
263582011-11-10 Andreas Schwab <schwab@redhat.com>
26359
26360 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26361 (reused_arena): Don't check arena limit.
26362 (arena_get2): Atomically check arena limit.
26363
fe72eebd
UD
263642011-11-08 Ulrich Drepper <drepper@gmail.com>
26365
5f078c32
UD
26366 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26367 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26368
fe72eebd
UD
26369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26370 instructions.
26371
ae1bc2fa
AS
263722011-11-07 Andreas Schwab <schwab@redhat.com>
26373
7583a88d
AS
26374 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26375 handler when locking.
26376
ae1bc2fa
AS
26377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26378 Fix size of allocated buffer.
26379
10fb0bfa
AS
263802011-11-04 Andreas Schwab <schwab@redhat.com>
26381
998832a4
AS
26382 [BZ #10103]
26383 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26384 declarations for long double functions.
26385 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26386
10fb0bfa
AS
26387 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26388
3d7ba52b
AS
263892011-11-03 Andreas Schwab <schwab@redhat.com>
26390
a9ae54a1
AS
26391 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26392 installed.
26393
3d7ba52b
AS
26394 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26395 is disabled.
26396
bc8db248
ST
263972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26398
26399 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26400
45b96dd6
AS
264012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26402
647776f6
AS
26403 * include/alloca.h (stackinfo_alloca_round): Define.
26404 (extend_alloca): Use it.
26405 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26406 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26407 here.
26408
d91a8b93
AS
26409 * scripts/check-local-headers.sh: Ignore libaudit.h.
26410
45b96dd6
AS
26411 * nscd/Makefile (extra-objs): Make recursively expanded.
26412
432d41ce
UD
264132011-11-01 Ulrich Drepper <drepper@gmail.com>
26414
34372fc6
UD
26415 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26417
fadb59f8
UD
26418 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26419 * posix/tst-rfc3484-2.c: Likewise.
26420 * posix/tst-rfc3484-3.c: Likewise.
26421
78239589
UD
26422 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26423 process_vm_writev.
26424 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26425 process_vm_writev.
26426 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26427 process_vm_writev from libc using GLIBC_2.15 version.
26428
432d41ce
UD
26429 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26430
02f9c6cf
PP
264312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26432
26433 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26434 stack usage.
26435
3a2c0242
UD
264362011-10-31 Ulrich Drepper <drepper@gmail.com>
26437
f4ec4833
UD
26438 [BZ #13367]
26439 * nss/getent.c (initgroups_keys): Show error message in case no group
26440 names are given.
26441
3a2c0242
UD
26442 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26443 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26444 __bump_nl_timestamp.
26445 * nscd/connections (nscd_init): When host database is served open
26446 netlink socket and request notification about configuration changes.
26447 (main_loop_poll): Track netlink file descriptor and bump timestamp
26448 in case data becomes available.
26449 (main_loop_epoll): Likewise.
26450 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26451 (database_pers_head): Add extra_data fileds.
26452 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26453 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26454 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26455 Adjust caller.
26456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26457 in6ai data, call __free_in6ai.
26458 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26459 Add -DHAVE_NETLINK.
26460 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26461 interface information. Reuse previous data if netlink timestamp
26462 is not changed.
26463 (__bump_nl_timestamp): New function.
26464 (__free_in6ai): New function.
26465
636064eb
UD
264662011-10-30 Ulrich Drepper <drepper@gmail.com>
26467
26468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26469 close_not_cancel_no_status here.
26470 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26471
9beb2334
UD
264722011-10-29 Ulrich Drepper <drepper@gmail.com>
26473
6ef76f3b
UD
26474 [BZ #13276]
26475 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26476 return value.
26477
0ffc4f3e 26478 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26479 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26480 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26481
cb95113e
UD
264822011-07-03 Andreas Jaeger <aj@suse.de>
26483
26484 [BZ #10709]
26485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26486 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26487 * math/libm-test.inc (sin_test): Add test case.
26488
a1b560ff
UD
264892011-10-29 Ulrich Drepper <drepper@gmail.com>
26490
c9aaface
UD
26491 [BZ #13337]
26492 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26493 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26494
d272e7f1
UD
26495 * elf/chroot_canon.c (chroot_canon): Cleanups.
26496
1bc33071
UD
26497 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26498
1760874d
TJ
26499 [BZ #13335]
26500 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26501 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26502
51d91b18
UD
26503 * string/test-strchr.c: Make usable for strchrnul testing.
26504 * string/test-strchrnul.c: New file.
26505 * string/Makefile (strop-tests): Add strchrnul.
26506
a1b560ff 26507 * po/it.po: Update from translation team.
b611fb81 26508 * po/es.po: Likewise.
a1b560ff 26509
a5b81e1f
UD
265102011-10-28 Ulrich Drepper <drepper@gmail.com>
26511
fd52bc6d
UD
26512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26513 the three constants needed as parameters. Drop the others.
26514 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26515 __m128i_strloadu_tolower.
52e4b9eb
UD
26516 Create and initialize variable zero and use it in all the places
26517 where _mm_setzero_si128 was used.
fd52bc6d 26518
a5b81e1f
UD
26519 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26520 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26521 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26523 anymore.
26524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26525 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26526 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26527 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26528 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26529 __mpranred, __mptan.
26530 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26531 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26532 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26533 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26534 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26535 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26537 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26538 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26539
b4343346
AS
265402011-10-28 Andreas Schwab <schwab@redhat.com>
26541
0c92d8a8
AS
26542 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26543 redefine if SHARED.
26544 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26545
b4343346
AS
26546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26547 wide char related routines to wcsmbs subdir.
26548
3871f58f
AS
265492011-10-27 Andreas Schwab <schwab@redhat.com>
26550
26551 [BZ #13344]
26552 * misc/sys/cdefs.h (__THROWNL): Define.
26553 * posix/unistd.h: Use __THREADNL instead of __THREAD
26554 for memory synchronization functions.
26555
94d44d9f
RM
265562011-10-26 Roland McGrath <roland@hack.frob.com>
26557
21b64b15 26558 [BZ #13349]
94d44d9f
RM
26559 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26560 doesn't exist.
26561 * manual/stdio.texi (Obstack Streams): Node removed.
26562
f6ce9294
AS
265632011-10-26 Andreas Schwab <schwab@redhat.com>
26564
80479147
AS
26565 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26566 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26568
f6ce9294
AS
26569 * math/math_private.h (math_force_eval): Allow non-addressable
26570 arguments.
26571 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26572
618280a1
UD
265732011-10-25 Ulrich Drepper <drepper@gmail.com>
26574
e0016b11
UD
26575 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26576 file is not needed.
26577
26578 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26581 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26583 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26585 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26586 Add AVX variants.
26587 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26588 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26589 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26590 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26591 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26592 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26593 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26594 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26595 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26596 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26597 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26598 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26600 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26601 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26602 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26603 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26604 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26605 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26606
26607 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26608 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26609
618280a1
UD
26610 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26611 place. Use VEX encoding when compiling for AVX.
26612
37822576
AS
266132011-10-25 Andreas Schwab <schwab@redhat.com>
26614
1f1e1947
AS
26615 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26616 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26617
37822576
AS
26618 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26619
31ea014d
UD
266202011-10-25 Ulrich Drepper <drepper@gmail.com>
26621
d7826aa1 26622 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26623 useless if() expression.
d7826aa1
UD
26624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26636 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26637 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26638 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26640 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26642 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26643
31ea014d
UD
26644 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26645
16437fec
AS
266462011-10-25 Andreas Schwab <schwab@redhat.com>
26647
26648 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26649 condition.
26650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26651
31d3cc00
UD
266522011-10-25 Ulrich Drepper <drepper@gmail.com>
26653
26654 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26655 .text section. Avoid duplicate constants.
26656 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26666 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26668 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26671 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26673 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26683 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26684 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26685 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26687 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26688 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26689 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26690 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26691 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26692 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26693 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26694 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26695 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26696 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26697 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26698 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26699 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26701
58985aa9
UD
267022011-10-24 Ulrich Drepper <drepper@gmail.com>
26703
202c9deb
UD
26704 * sysdeps/x86_64/dla.h: Move to ...
26705 * sysdeps/x86_64/fpu/dla.h: ...here.
26706 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26707 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26708
af968f62
UD
26709 * config.make.in: Add have-mfma4 entry.
26710 * configure.in: Substitute libc_cv_cc_fma4.
26711 * math/Makefile (dbl-only-routines): Add sincostab.
26712 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26713 Use __sincostab not sincos.
26714 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26715 name is a macro.
26716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26720 using __copysign.
26721 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26722 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26723 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26724 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26725 and __inv.
26726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26727 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26728 __copysign.
26729 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26730 define aliases when function name is a macro.
26731 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26732 sysdeps/ieee754/dbl-64/sincos.tbl.
26733 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26734 fma4-enabled routines.
26735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26736 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26737 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26738 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26740 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26742 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26744 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26745 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26746 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26747 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26748 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26750 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26751 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26752 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26753 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26754 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26755 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26756 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26759 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26762 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26763 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26764 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26765
58985aa9
UD
26766 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26767 rename.
26768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26776
a201fbcf
AS
267772011-10-24 Andreas Schwab <schwab@redhat.com>
26778
26779 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26780
fc2ee42a
LD
267812011-10-23 Ulrich Drepper <drepper@gmail.com>
26782
bb3129bd
UD
26783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26784
0275fff8
UD
26785 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26786 prediction.
26787 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26788
2fa2ae85
UD
26789 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26790 Remove unused variable magic_bits.
26791 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26792
fc2ee42a
LD
26793 * string/strnlen.c: Define and use STRNLEN macro.
26794 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26795 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26797 * wcsmbs/wcslen.c: Define and use WCSLEN.
26798 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26799 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26800 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26801 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26802 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26803 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26804 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26805
ce7dd29f
LD
268062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26807
26808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26809 strnlen-sse2-no-bsf.
26810 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26812 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26813 Add strnlen support.
26814 (USE_AS_STRNLEN): New macro.
26815 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26816 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26817 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26818 * sysdeps/x86_64/wcslen.S: New file.
26819
979c70a3
MZ
268202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26821
26822 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26823 XMM-moves are used for copying on small sizes.
26824
2d09f82f
LD
268252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26826
26827 * wcsmbs/Makefile (strop-tests): Add wcschr.
26828 * wcsmbs/test-wcschr.c: New file.
26829 * string/test-strchr.c: Update.
26830 Add wcschr support.
26831 (WIDE): New macro.
26832
619fccca
LD
268332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26834
2d09f82f 26835 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26836 * wcsmbs/test-wcslen.c: New file.
26837 * string/test-strlen.c: Update.
26838 Add wcslen support.
26839 (WIDE): New macro.
26840
09f699ea
UD
268412011-10-23 Ulrich Drepper <drepper@gmail.com>
26842
26843 * po/it.po: Update from translation team.
26844
95584d3b
LD
268452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26846
26847 * sysdeps/x86_64/wcscmp.S: Update.
26848 Fix wrong comparison semantics.
26849 wcscmp shall use signed comparison not unsigned.
26850 Don't use substraction to avoid overflow bug.
26851 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26852 * wcsmbc/wcscmp.c: Likewise.
26853 * string/test-strcmp.c: Likewise.
26854 Add new tests to check cases with negative values.
26855
c8b3296b
UD
268562011-10-23 Ulrich Drepper <drepper@gmail.com>
26857
26858 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26859 * sysdeps/x86_64/dla.h: ...here. New file.
26860 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26869
246ad57a
AS
268702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26871
26872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26873 __ynl_finite aliases.
26874
a1a87169
UD
268752011-10-22 Ulrich Drepper <drepper@gmail.com>
26876
0d355eb7
UD
26877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26878
a1a87169
UD
26879 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26880 define DLA_FMA.
26881 [DLA_FMA] (EMULV): Use DLA_FMA.
26882 [DLA_FMA] (MUL12): Use EMULV.
26883 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26884 that are not needed.
26885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26887 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26888 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26891 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26892
ee2aafe0
AS
268932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26894
26895 * math/s_nan.c: Undef __nan.
26896 * math/s_nanf.c: Undef __nanf.
26897 * math/s_nanl.c: Undef __nanl.
26898 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26899 "math_private.h".
26900
bc62c2fb
UD
269012011-10-22 Ulrich Drepper <drepper@gmail.com>
26902
77425c63
UD
26903 * math/s_catan.c: Add branch predictions.
26904 * math/s_catanf.c: Likewise.
26905 * math/s_catanh.c: Likewise.
26906 * math/s_catanhf.c: Likewise.
26907 * math/s_catanhl.c: Likewise.
26908 * math/s_catanl.c: Likewise.
26909 * math/s_cexp.c: Likewise.
26910 * math/s_cexpf.c: Likewise.
26911 * math/s_cexpl.c: Likewise.
26912 * math/s_clog.c: Likewise.
26913 * math/s_clog10.c: Likewise.
26914 * math/s_clog10f.c: Likewise.
26915 * math/s_clog10l.c: Likewise.
26916 * math/s_clogf.c: Likewise.
26917 * math/s_clogl.c: Likewise.
26918 * math/s_csqrt.c: Likewise.
26919 * math/s_csqrtf.c: Likewise.
26920 * math/s_csqrtl.c: Likewise.
26921 * math/s_ctanf.c: Likewise.
26922 * math/s_ctanh.c: Likewise.
26923 * math/s_ctanhf.c: Likewise.
26924 * math/s_ctanhl.c: Likewise.
26925 * math/s_ctanl.c: Likewise.
26926
bc62c2fb
UD
26927 * math/math_private.h: Define __nan, __nanf, __nanl.
26928 * math/s_cacosh.c: Include <math_private.h>.
26929 * math/s_cacoshl.c: Likewise.
26930 * math/s_casinh.c: Likewise.
26931 * math/s_casinhf.c: Likewise.
26932 * math/s_casinhl.c: Likewise.
26933 * math/s_ccos.c: Rely entire on ccosh.
26934 * math/s_ccosf.c: Rely entire on ccoshf.
26935 * math/s_ccosl.c: Rely entirely on ccoshl.
26936 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26937 Remove tests for FE_INVALID.
26938 * math/s_ccoshf.c: Likewise.
26939 * math/s_ccoshl.c: Likewise.
26940 * math/s_csin.c: Likewise.
26941 * math/s_csinf.c: Likewise.
26942 * math/s_csinh.c Likewise.
26943 * math/s_csinhf.c: Likewise.
26944 * math/s_csinhl.c: Likewise.
26945 * math/s_csinl.c: Likewise.
26946 * math/s_ctan.c: Likewise.
26947 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26948 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26949 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26950
8ec250a4
UD
269512011-10-21 Ulrich Drepper <drepper@gmail.com>
26952
c196fed8
UD
26953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26954 compilation problems.
26955
8ec250a4
UD
26956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26957 __builtin_expect.
26958
8d4f46c6
UD
269592011-10-20 Ulrich Drepper <drepper@gmail.com>
26960
ed72b654
UD
26961 * sysdeps/i386/configure.in: Test for -mfma4 option.
26962 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26963 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26964 COMMON_CPUID_INDEX_80000001.
26965 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26966 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26967 use it if FMA3 is not supported.
26968 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26969
8d4f46c6
UD
26970 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26971 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26972
d45c60c2
AS
269732011-10-20 Andreas Schwab <schwab@redhat.com>
26974
26975 [BZ #12892]
26976 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26977 it would create a cycle with a link time dependency.
26978
d9a4d2ab
UD
269792011-10-19 Ulrich Drepper <drepper@gmail.com>
26980
855d1560
UD
26981 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26982 instruction.
26983 * string/Makefile (strop-tests): Add rawmemchr.
26984 * string/test-rawmemchr.c: New file.
26985
d9a4d2ab
UD
26986 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26988 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26989 when compiling str{,n}casecmp and when AVX is available. Hook up
26990 new optimized code in initializers.
26991
8f3b1ffe
AS
269922011-10-19 Andreas Schwab <schwab@redhat.com>
26993
26994 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26995 __feraiseexcept instead of feraiseexcept.
26996
d38f1dba
UD
269972011-10-18 Ulrich Drepper <drepper@gmail.com>
26998
d9a8d0ab
UD
26999 * math/math_private.h: Define defaults for libc_fetestexcept and
27000 libc_feupdateenv.
27001 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27002 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27004 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27005 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27006 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27007 libc_fetestexcept and libc_feupdateenv.
27008
4855e3dd
UD
27009 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27010 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27011 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27012 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27013 libc_feholdexcept_setround.
27014
581d30e3
UD
27015 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27016 Add s_nearbyint-c and s_nearbyintf-c.
27017 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27018 nearbyintf inlines.
27019 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27021 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27022 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27023
d38f1dba
UD
27024 * math/math_private.h: Define defaults for libc_fegetround,
27025 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27026 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27027 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27029 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27030 standard functions.
27031 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27032 Remove comments and hacks for old compiler versions.
27033 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27034 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27035 libc_feholdexceptl.
27036
caa6c9d8
AS
270372011-10-18 Andreas Schwab <schwab@redhat.com>
27038
27039 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27040 (__feraiseexcept_renamed): Add __NTH.
27041 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27042 namespace violations.
27043
97c066e6
UD
270442011-10-17 Ulrich Drepper <drepper@gmail.com>
27045
99ce7b04
UD
27046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27047
1004d182
UD
27048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27049
228a984d
UD
27050 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27051 recently added interfaces.
27052 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27053
c8553a6a
UD
27054 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27055 about macro parameter expansion.
27056
ed22dcf6
UD
27057 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27058 __NO_MATH_INLINES is defined. Cleanups.
27059
27060 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27061 and __floorf is target has SSE4.1.
27062 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27063 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27065 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27066
b171c137
UD
27067 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27068 name.
27069 (floorf): Likewise.
27070
97c066e6
UD
27071 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27072
629f62ef
AS
270732011-10-17 Andreas Schwab <schwab@redhat.com>
27074
49a43d80
AS
27075 * misc/sys/cdefs.h: Fix last change.
27076
629f62ef
AS
27077 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27078 database lookup.
27079
e453f6cd
UD
270802011-10-16 Ulrich Drepper <drepper@gmail.com>
27081
aa78043a
UD
27082 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27083
ad0f5cad
UD
27084 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27085 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27089 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27091 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27092 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27093 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27094 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27095 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27096 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27097 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27098 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27099 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27100 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27101 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27102 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27103 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27104 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27105 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27106
27107 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27108 ceil, ceilf, floor, floorf.
27109
27110 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27111 Perform IRELATIVE relocations last.
27112
e453f6cd
UD
27113 * elf/do-rel.h: Add another parameter nrelative, replacing the
27114 local variable with the same name. Change name of the function
27115 to end in Rel or Rela (uppercase).
27116 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27117 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27118 elf_dynamic_do_##reloc function.
27119
fd5bdc09
UD
271202011-10-15 Ulrich Drepper <drepper@gmail.com>
27121
79b195b5
UD
27122 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27123 is sufficient, at least on modern CPUs.
27124
d4a28569
UD
27125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27126
b61099b5
UD
27127 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27128 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27129
bcf01e6d
UD
27130 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27131 __expl_finite.
27132 * math/bits/math-finite.h: Add entries for exp.
27133 * math/e_expl.c: Add __*_finite alias.
27134 * sysdeps/i386/fpu/e_exp.S: Likewise.
27135 * sysdeps/i386/fpu/e_expf.S: Likewise.
27136 * sysdeps/i386/fpu/e_expl.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27139 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27142 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27143 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27144
ba1a0d59
UD
27145 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27146 is sufficient, at least on modern CPUs.
27147
fd5bdc09
UD
27148 * ctype/ctype-info.c (__ctype_init): Define.
27149 * include/ctype.h (__ctype_init): Declare.
27150 (__ctype_b_loc): The variable is always initialized.
27151 (__ctype_toupper_loc): Likewise.
27152 (__ctype_tolower_loc): Likewise.
27153 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27154 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27155
7872cfb0
AS
271562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27157
b468825a
AS
27158 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27159
7872cfb0
AS
27160 * configure.in: Also look in $cxxmachine/include for C++ system
27161 headers.
27162
be13f7bf
LD
271632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27164
27165 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27166 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27167 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27168 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27170 (USE_AS_WMEMCMP): New macro.
27171 Fixing indents.
27172 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27173 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27174 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27175 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27177 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27178 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27179 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27180 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27181 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27183 (USE_AS_WMEMCMP): New macro.
27184 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27185 * sysdeps/string/test-memcmp.c: Update.
27186 Fix simple_wmemcmp.
27187 Add new tests.
27188 * wcsmbs/wmemcmp.c: Update.
27189 (WMEMCMP): New macro.
27190 Fix overflow bug.
27191
556a2007
AJ
271922011-10-12 Andreas Jaeger <aj@suse.de>
27193
27194 [BZ #13268]
27195 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27196
538faaa7
UD
271972011-10-15 Ulrich Drepper <drepper@gmail.com>
27198
ab6737ff
UD
27199 * libio/iofwide.c (do_length): Avoid warning.
27200
538faaa7
UD
27201 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27202
396a21b1
UD
272032011-10-14 Ulrich Drepper <drepper@gmail.com>
27204
cdf2901f
UD
27205 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27206
38ad40ce
UD
27207 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27208 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27209 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27210 * sysdeps/i386/i686/fpu/e_log.S: New file.
27211 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27212 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27213
396a21b1
UD
27214 * ctype/ctype.h: Add support for inlined isXXX functions when
27215 compiling C++ code.
27216
6b1f68c9
AS
272172011-10-14 Andreas Schwab <schwab@redhat.com>
27218
349290c0
AS
27219 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27220
6b1f68c9
AS
27221 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27222
f2282d42
RM
272232011-10-13 Roland McGrath <roland@hack.frob.com>
27224
27225 [BZ #13291]
27226 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27227
5298ffa8
AS
272282011-10-13 Andreas Schwab <schwab@redhat.com>
27229
714fad23
AS
27230 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27231 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27232 feraiseexcept.
27233
81dcc7fb
AS
27234 * sysdeps/x86_64/memrchr.S: Check for zero size.
27235
5298ffa8
AS
27236 * string/stratcliff.c: Add memrchr tests.
27237
951fbcec
LD
272382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27239
27240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27241 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27242 rawmemchr-sse2 rawmemchr-sse2-bsf.
27243 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27244 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27245 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27246 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27247 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27248 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27249 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27250 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27251 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27252 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27253 * string/memrchr.c (MEMRCHR): New macro.
27254
0ac5ae23
UD
272552011-10-12 Ulrich Drepper <drepper@gmail.com>
27256
27257 Add integration with gcc's -ffinite-math-only and optimize wrapper
27258 functions in libm.
27259 * Versions.def: Define GLIBC_2.15 version for libm.
27260 * math/Makefile (headers): Add bits/math-finite.h.
27261 * math/bits/math-finite.h: New file.
27262 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27263 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27264 * math/e_acoshl.c: Add __*_finite alias.
27265 * math/e_acosl.c: Likewise.
27266 * math/e_asinl.c: Likewise.
27267 * math/e_atan2l.c: Likewise.
27268 * math/e_atanhl.c: Likewise.
27269 * math/e_coshl.c: Likewise.
27270 * math/e_exp10.c: Likewise.
27271 * math/e_exp10f.c: Likewise.
27272 * math/e_exp10l.c: Likewise.
27273 * math/e_exp2l.c: Likewise.
27274 * math/e_fmodl.c: Likewise.
27275 * math/e_gammal_r.c: Likewise.
27276 * math/e_hypotl.c: Likewise.
27277 * math/e_j0l.c: Likewise.
27278 * math/e_j1l.c: Likewise.
27279 * math/e_jnl.c: Likewise.
27280 * math/e_lgammal_r.c: Likewise.
27281 * math/e_log10l.c: Likewise.
27282 * math/e_log2l.c: Likewise.
27283 * math/e_logl.c: Likewise.
27284 * math/e_powl.c: Likewise.
27285 * math/e_sinhl.c: Likewise.
27286 * math/e_sqrtl.c: Likewise.
27287 * math/e_scalb.c: Completely rewritten and optimized.
27288 * math/e_scalbf.c: Likewise.
27289 * math/e_scalbl.c: Likewise.
27290 * math/w_acos.c: Likewise.
27291 * math/w_acosf.c: Likewise.
27292 * math/w_acosl.c: Likewise.
27293 * math/w_acosh.c: Likewise.
27294 * math/w_acoshf.c: Likewise.
27295 * math/w_acoshl.c: Likewise.
27296 * math/w_asin.c: Likewise.
27297 * math/w_asinf.c: Likewise.
27298 * math/w_asinl.c: Likewise.
27299 * math/w_atan2.c: Likewise.
27300 * math/w_atan2f.c: Likewise.
27301 * math/w_atan2l.c: Likewise.
27302 * math/w_atanh.c: Likewise.
27303 * math/w_atanhf.c: Likewise.
27304 * math/w_atanhl.c: Likewise.
27305 * math/w_exp10.c: Likewise.
27306 * math/w_exp10f.c: Likewise.
27307 * math/w_exp10l.c: Likewise.
27308 * math/w_fmod.c: Likewise.
27309 * math/w_fmodf.c: Likewise.
27310 * math/w_fmodl.c: Likewise.
27311 * math/w_j0.c: Likewise.
27312 * math/w_j0f.c: Likewise.
27313 * math/w_j0l.c: Likewise.
27314 * math/w_j1.c: Likewise.
27315 * math/w_j1f.c: Likewise.
27316 * math/w_j1l.c: Likewise.
27317 * math/w_jn.c: Likewise.
27318 * math/w_jnf.c: Likewise.
27319 * math/w_log.c: Likewise.
27320 * math/w_logf.c: Likewise.
27321 * math/w_logl.c: Likewise.
27322 * math/w_log10.c: Likewise.
27323 * math/w_log10f.c: Likewise.
27324 * math/w_log10l.c: Likewise.
27325 * math/w_log2.c: Likewise.
27326 * math/w_log2f.c: Likewise.
27327 * math/w_log2l.c: Likewise.
27328 * math/w_pow.c: Likewise.
27329 * math/w_powf.c: Likewise.
27330 * math/w_powl.c: Likewise.
27331 * math/w_remainder.c: Likewise.
27332 * math/w_remainderf.c: Likewise.
27333 * math/w_remainderl.c: Likewise.
27334 * math/w_scalb.c: Likewise.
27335 * math/w_scalbf.c: Likewise.
27336 * math/w_scalbl.c: Likewise.
27337 * math/w_sqrt.c: Likewise.
27338 * math/w_sqrtf.c: Likewise.
27339 * math/w_sqrtl.c: Likewise.
27340 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27341 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27342 used.
27343 * math/math_private.h: Declare __kernel_standard_f.
27344 * math/w_cosh.c: Remove cruft and optimize a bit.
27345 * math/w_coshf.c: Likewise.
27346 * math/w_coshl.c: Likewise.
27347 * math/w_exp2.c: Likewise.
27348 * math/w_exp2f.c: Likewise.
27349 * math/w_exp2l.c: Likewise.
27350 * math/w_hypot.c: Likewise.
27351 * math/w_hypotf.c: Likewise.
27352 * math/w_hypotl.c: Likewise.
27353 * math/w_lgamma.c: Likewise.
27354 * math/w_lgamma_r.c: Likewise.
27355 * math/w_lgammaf.c: Likewise.
27356 * math/w_lgammaf_r.c: Likewise.
27357 * math/w_lgammal.c: Likewise.
27358 * math/w_lgammal_r.c: Likewise.
27359 * math/w_sinh.c: Likewise.
27360 * math/w_sinhf.c: Likewise.
27361 * math/w_sinhl.c: Likewise.
27362 * math/w_tgamma.c: Likewise.
27363 * math/w_tgammaf.c: Likewise.
27364 * math/w_tgammal.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27367 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27368 Minor optimizations. Pretty printing. Remove cruft.
27369 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27371 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27372 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27373 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27374 * sysdeps/i386/fpu/e_asin.S: Likewise.
27375 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27376 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27377 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27378 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27379 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27381 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27382 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27383 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27384 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27385 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27386 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27387 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27388 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27389 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27390 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27391 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27392 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27393 * sysdeps/i386/fpu/e_log.S: Likewise.
27394 * sysdeps/i386/fpu/e_log10.S: Likewise.
27395 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27397 * sysdeps/i386/fpu/e_log2.S: Likewise.
27398 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27400 * sysdeps/i386/fpu/e_logf.S: Likewise.
27401 * sysdeps/i386/fpu/e_logl.S: Likewise.
27402 * sysdeps/i386/fpu/e_pow.S: Likewise.
27403 * sysdeps/i386/fpu/e_powf.S: Likewise.
27404 * sysdeps/i386/fpu/e_powl.S: Likewise.
27405 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27406 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27407 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27408 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27409 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27411 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27412 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27413 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27424 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27425 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27430 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27431 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27435 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27436 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27437 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27438 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27439 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27440 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27441 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27442 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27443 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27445 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27446 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27448 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27449 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27450 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27451 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27452 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27453 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27454 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27455 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27464 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27466 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27469 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27479 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27485 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27486 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27494 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27497 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27499 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27502 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27505 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27506 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27507 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27511 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27512 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27513 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27514 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27515 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27516 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27517 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27518 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27519 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27520 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27522 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27523 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27524 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27525 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27526 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27527 (__isnanf): Likewise.
27528 (__isinf_ns): Likewise.
27529 (__isinf_nsf): Likewise.
27530 (__finite): Likewise.
27531 (__finitef): Likewise.
27532 (__ieee754_sqrt): Define as macro.
27533 (__ieee754_sqrtf): Define as macro.
27534 (__ieee754_sqrtl): Define as macro.
27535 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27536 inlined copy.
27537 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27538 __FINITE_MATH_ONLY__ consistent.
27539 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27540
12cc2fcd
AS
275412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27542
a843a204
AS
27543 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27544 of rawmemchr.
27545
12cc2fcd
AS
27546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27547
c853acd5
UD
275482011-10-09 Ulrich Drepper <drepper@gmail.com>
27549
27550 * po/ja.po: Update from translation team.
27551
c658d255
RM
275522011-10-08 Roland McGrath <roland@hack.frob.com>
27553
110946e4
RM
27554 * locale/programs/locarchive.c (prepare_address_space): New function.
27555 (create_archive, enlarge_archive, open_archive): Use it.
27556
50604220
RM
27557 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27558 inside [SHARED], where it is used.
27559
c658d255
RM
27560 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27561
27562 * nss/getent.c (netgroup_keys): Remove unused variable.
27563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27564
6a621eb7
UD
275652011-10-08 Ulrich Drepper <drepper@gmail.com>
27566
7edb55ce
UD
27567 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27568 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27570 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27571 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27572 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27573 * math/Makefile (libm-calls): Add s_isinf_ns.
27574 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27575 * math/multc3.c: Likewise.
27576 * math/s_casin.c: Likewise.
27577 * math/s_casinf.c: Likewise.
27578 * math/s_casinl.c: Likewise.
27579 * math/s_ccos.c: Likewise.
27580 * math/s_ccosf.c: Likewise.
27581 * math/s_ccosl.c: Likewise.
27582 * math/s_ctan.c: Likewise.
27583 * math/s_ctanf.c: Likewise.
27584 * math/s_ctanh.c: Likewise.
27585 * math/s_ctanhf.c: Likewise.
27586 * math/s_ctanhl.c: Likewise.
27587 * math/s_ctanl.c: Likewise.
27588 * math/w_fmod.c: Likewise.
27589 * math/w_fmodf.c: Likewise.
27590 * math/w_fmodl.c: Likewise.
27591 * math/w_remainder.c: Likewise.
27592 * math/w_remainderf.c: Likewise.
27593 * math/w_remainderl.c: Likewise.
27594 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27595 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27598 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27599 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27600 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27601 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27602
187da0ae
UD
27603 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27604 of the number.
27605 * stdio-common/printf_fphex.c: Likewise.
27606 * stdio-common/printf_size.c: Likewise.
27607
9277c064
UD
27608 * math/e_exp10.c: Include math_private.h using <...> not "...".
27609 * math/e_exp10f.c: Likewise.
27610 * math/e_exp10l.c: Likewise.
27611 * math/e_exp2l.c: Likewise.
27612 * math/e_j0l.c: Likewise.
27613 * math/e_j1l.c: Likewise.
27614 * math/e_jnl.c: Likewise.
27615 * math/e_lgammal_r.c: Likewise.
27616 * math/e_rem_pio2l.c: Likewise.
27617 * math/e_scalb.c: Likewise.
27618 * math/e_scalbf.c: Likewise.
27619 * math/e_scalbl.c: Likewise.
27620 * math/k_cosl.c: Likewise.
27621 * math/k_sinl.c: Likewise.
27622 * math/k_tanl.c: Likewise.
27623 * math/s_cacoshf.c: Likewise.
27624 * math/s_catan.c: Likewise.
27625 * math/s_catanf.c: Likewise.
27626 * math/s_catanh.c: Likewise.
27627 * math/s_catanhf.c: Likewise.
27628 * math/s_catanhl.c: Likewise.
27629 * math/s_catanl.c: Likewise.
27630 * math/s_ccosh.c: Likewise.
27631 * math/s_ccoshf.c: Likewise.
27632 * math/s_ccoshl.c: Likewise.
27633 * math/s_cexp.c: Likewise.
27634 * math/s_cexpf.c: Likewise.
27635 * math/s_cexpl.c: Likewise.
27636 * math/s_clog.c: Likewise.
27637 * math/s_clog10.c: Likewise.
27638 * math/s_clog10f.c: Likewise.
27639 * math/s_clog10l.c: Likewise.
27640 * math/s_clogf.c: Likewise.
27641 * math/s_clogl.c: Likewise.
27642 * math/s_csin.c: Likewise.
27643 * math/s_csinf.c: Likewise.
27644 * math/s_csinh.c: Likewise.
27645 * math/s_csinhf.c: Likewise.
27646 * math/s_csinhl.c: Likewise.
27647 * math/s_csinl.c: Likewise.
27648 * math/s_csqrt.c: Likewise.
27649 * math/s_csqrtf.c: Likewise.
27650 * math/s_csqrtl.c: Likewise.
27651 * math/s_ctan.c: Likewise.
27652 * math/s_ctanf.c: Likewise.
27653 * math/s_ctanh.c: Likewise.
27654 * math/s_ctanhf.c: Likewise.
27655 * math/s_ctanhl.c: Likewise.
27656 * math/s_ctanl.c: Likewise.
27657 * math/s_ldexp.c: Likewise.
27658 * math/s_ldexpf.c: Likewise.
27659 * math/s_ldexpl.c: Likewise.
27660 * math/s_significand.c: Likewise.
27661 * math/s_significandf.c: Likewise.
27662 * math/s_significandl.c: Likewise.
27663 * math/w_acos.c: Likewise.
27664 * math/w_acosf.c: Likewise.
27665 * math/w_acosh.c: Likewise.
27666 * math/w_acoshf.c: Likewise.
27667 * math/w_acoshl.c: Likewise.
27668 * math/w_acosl.c: Likewise.
27669 * math/w_asin.c: Likewise.
27670 * math/w_asinf.c: Likewise.
27671 * math/w_asinl.c: Likewise.
27672 * math/w_atan2.c: Likewise.
27673 * math/w_atan2f.c: Likewise.
27674 * math/w_atan2l.c: Likewise.
27675 * math/w_atanh.c: Likewise.
27676 * math/w_atanhf.c: Likewise.
27677 * math/w_atanhl.c: Likewise.
27678 * math/w_cosh.c: Likewise.
27679 * math/w_coshf.c: Likewise.
27680 * math/w_coshl.c: Likewise.
27681 * math/w_dremf.c: Likewise.
27682 * math/w_exp10.c: Likewise.
27683 * math/w_exp10f.c: Likewise.
27684 * math/w_exp10l.c: Likewise.
27685 * math/w_exp2.c: Likewise.
27686 * math/w_exp2f.c: Likewise.
27687 * math/w_fmod.c: Likewise.
27688 * math/w_fmodf.c: Likewise.
27689 * math/w_fmodl.c: Likewise.
27690 * math/w_hypot.c: Likewise.
27691 * math/w_hypotf.c: Likewise.
27692 * math/w_hypotl.c: Likewise.
27693 * math/w_j0.c: Likewise.
27694 * math/w_j0f.c: Likewise.
27695 * math/w_j0l.c: Likewise.
27696 * math/w_j1.c: Likewise.
27697 * math/w_j1f.c: Likewise.
27698 * math/w_j1l.c: Likewise.
27699 * math/w_jn.c: Likewise.
27700 * math/w_jnf.c: Likewise.
27701 * math/w_jnl.c: Likewise.
27702 * math/w_lgamma.c: Likewise.
27703 * math/w_lgamma_r.c: Likewise.
27704 * math/w_lgammaf.c: Likewise.
27705 * math/w_lgammaf_r.c: Likewise.
27706 * math/w_lgammal.c: Likewise.
27707 * math/w_lgammal_r.c: Likewise.
27708 * math/w_log.c: Likewise.
27709 * math/w_log10.c: Likewise.
27710 * math/w_log10f.c: Likewise.
27711 * math/w_log10l.c: Likewise.
27712 * math/w_log2.c: Likewise.
27713 * math/w_log2f.c: Likewise.
27714 * math/w_log2l.c: Likewise.
27715 * math/w_logf.c: Likewise.
27716 * math/w_logl.c: Likewise.
27717 * math/w_pow.c: Likewise.
27718 * math/w_powf.c: Likewise.
27719 * math/w_powl.c: Likewise.
27720 * math/w_remainder.c: Likewise.
27721 * math/w_remainderf.c: Likewise.
27722 * math/w_remainderl.c: Likewise.
27723 * math/w_scalb.c: Likewise.
27724 * math/w_scalbf.c: Likewise.
27725 * math/w_scalbl.c: Likewise.
27726 * math/w_sinh.c: Likewise.
27727 * math/w_sinhf.c: Likewise.
27728 * math/w_sinhl.c: Likewise.
27729 * math/w_sqrt.c: Likewise.
27730 * math/w_sqrtf.c: Likewise.
27731 * math/w_sqrtl.c: Likewise.
27732 * math/w_tgamma.c: Likewise.
27733 * math/w_tgammaf.c: Likewise.
27734 * math/w_tgammal.c: Likewise.
27735
6a621eb7
UD
27736 * po/ja.po: Update from translation team.
27737
bf582445
AJ
277382011-09-29 Andreas Jaeger <aj@suse.de>
27739
f9efbf3a
AJ
27740 [BZ #13179]
27741 * sunrpc/netname.c (netname2host): Fix logic.
27742
bf582445
AJ
27743 [BZ #6779]
27744 [BZ #6783]
27745 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27746 correctly.
27747 * math/w_remainder.c (__remainder): Likewise.
27748 * math/w_remainderf.c (__remainderf): Likewise.
27749 * math/libm-test.inc (remainder_test): Add test cases.
27750
48693bea
AK
277512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27752
27753 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27754 sdiv_qrnnd.
27755
42622229
LD
277562011-10-07 Ulrich Drepper <drepper@gmail.com>
27757
27758 * string/test-memcmp.c: Avoid unncessary #defines.
27759 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27760
093ecf92
LD
277612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27762
27763 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27764 Use new sse2 version for core i3 - i7 as it's faster
27765 than sse42 version.
27766 (bit_Prefer_PMINUB_for_stringop): New.
27767 * sysdeps/x86_64/rawmemchr.S: Update.
27768 Replace with faster SSE2 version.
27769 * sysdeps/x86_64/memrchr.S: New file.
27770 * sysdeps/x86_64/memchr.S: Update.
27771 Replace with faster SSE2 version.
27772
fde56e5c
MP
277732011-09-12 Marek Polacek <mpolacek@redhat.com>
27774
27775 * elf/dl-load.c (lose): Add cast to avoid warning.
27776
21fd49a9
UD
277772011-10-07 Ulrich Drepper <drepper@gmail.com>
27778
5a06e643
UD
27779 * po/ca.po: Update from translation team.
27780
684ae515
UD
27781 * inet/getnetgrent_r.c: Hook up nscd.
27782 * nscd/Makefile (routines): Add nscd_netgroup.
27783 (nscd-modules): Add netgroupcache.
27784 (CFLAGS-netgroupcache.c): Define.
27785 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27786 (cache_search): Add const to second parameter.
27787 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27788 INNETGR.
27789 (dbs): Add netgrdb entry.
27790 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27791 (verify_persistent_db): Handle netgrdb.
27792 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27793 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27794 GETFDNETGR.
27795 (netgroup_response_header): Define.
27796 (innetgroup_response_header): Define.
27797 (datahead): Add netgroup_response_header and innetgroup_response_header
27798 elements.
27799 * nscd/nscd.conf: Add entries for netgroup cache.
27800 * nscd/nscd.h (dbtype): Add netgrdb.
27801 (_PATH_NSCD_NETGROUP_DB): Define.
27802 (netgroup_iov_disabled): Declare.
27803 (xmalloc, xcalloc, xrealloc): Move declarations here.
27804 (cache_search): Adjust prototype.
27805 Add netgroup-related prototypes.
27806 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27807 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27808 (__nscd_innetgr): Declare.
27809 * nscd/selinux.c (perms): Use access_vector_t as element type and
27810 add netgroup-related initializers.
27811 * nscd/netgroupcache.c: New file.
27812 * nscd/nscd_netgroup.c: New file.
27813 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27814 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27815 For four parameters use innetgr.
27816 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27817 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27818 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27819 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27820
21fd49a9
UD
27821 * nscd/connections.c (register_traced_file): Don't register file
27822 for disabled databases.
27823
054c0457
UD
278242011-10-06 Ulrich Drepper <drepper@gmail.com>
27825
32b63198
UD
27826 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27827
054c0457
UD
27828 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27829 from tree and freeing node.
27830
64031225
JO
278312011-09-25 Jiri Olsa <jolsa@redhat.com>
27832
27833 * nss/nsswitch.c (__nss_database_lookup): Handle
27834 nss_parse_service_list out of memory case.
27835
0490345c
JO
278362011-09-15 Jiri Olsa <jolsa@redhat.com>
27837
27838 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27839 out of memory case.
27840
3a62d00d
AS
278412011-10-04 Andreas Schwab <schwab@redhat.com>
27842
27843 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27844 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27845 pass it down.
27846 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27847 elf_machine_rela, elf_machine_lazy_rel.
27848 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27849 (ELF_DYNAMIC_DO_REL): Likewise.
27850 (ELF_DYNAMIC_DO_RELA): Likewise.
27851 (ELF_DYNAMIC_RELOCATE): Likewise.
27852 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27853 to ELF_DYNAMIC_DO_REL.
27854 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27855 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27856 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27857 elf_machine_rela.
27858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27859 skip_ifunc, don't call ifunc function if non-zero.
27860 (elf_machine_rela): Likewise.
27861 (elf_machine_lazy_rel): Likewise.
27862 (elf_machine_lazy_rela): Likewise.
27863 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27864 (elf_machine_lazy_rel): Likewise.
27865 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27866 Likewise.
27867 (elf_machine_lazy_rel): Likewise.
27868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27869 Likewise.
27870 (elf_machine_lazy_rel): Likewise.
27871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27872 (elf_machine_lazy_rel): Likewise.
27873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27874 (elf_machine_lazy_rel): Likewise.
27875 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27876 (elf_machine_lazy_rel): Likewise.
27877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27878 (elf_machine_lazy_rel): Likewise.
27879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27880 (elf_machine_lazy_rel): Likewise.
27881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27882 (elf_machine_lazy_rel): Likewise.
27883
68577918
UD
278842011-09-28 Ulrich Drepper <drepper@gmail.com>
27885
27886 * nss/nss_files/files-init.c (_nss_files_init): Use static
27887 initialization for all the *_traced_file variables.
27888
68822d74
AS
278892011-09-28 Andreas Schwab <schwab@redhat.com>
27890
27891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27892
2056100b
RM
278932011-09-27 Roland McGrath <roland@hack.frob.com>
27894
27895 [BZ #13226]
27896 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27897
32c76b63
AS
278982011-09-27 Andreas Schwab <schwab@redhat.com>
27899
27900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27901 Reread the line before reparsing it.
27902
bf972c9d
AS
279032011-09-26 Andreas Schwab <schwab@redhat.com>
27904
27905 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27906
e057a1b5
JM
279072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27908 Maxim Kuvyrkov <maxim@codesourcery.com>
27909 Joseph Myers <joseph@codesourcery.com>
27910
27911 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27912 if needed for __stack_chk_guard.
27913
bc7e1c36
RM
279142011-09-19 Roland McGrath <roland@hack.frob.com>
27915
ecb1482f
RM
27916 * sysdeps/posix/spawni.c (script_execute): Always define it.
27917 It will be optimized away if unused.
27918 (maybe_script_execute): New function.
27919 (__spawni): Call it.
27920
bc7e1c36
RM
27921 * Makerules: Don't include tls.make.
27922 (config-tls): Always set to thread.
27923 * tls.make.c: File removed.
27924
1c3b002b
MF
279252011-09-19 Mike Frysinger <vapier@gentoo.org>
27926
27927 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27928 * config.make.in (CPPFLAGS-config): New substituted variable.
27929
2840865d
UD
279302011-09-15 Ulrich Drepper <drepper@gmail.com>
27931
88738eb6
UD
27932 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27933
cbf645a6 27934 [BZ #13192]
2840865d
UD
27935 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27936 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27937
b402e91a
RM
279382011-09-15 Roland McGrath <roland@hack.frob.com>
27939
27940 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27941 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27943 (CALL_FAIL): Likewise.
27944 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27945 (CALL_FAIL): Macro removed.
27946 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27947
4c1a1f71
UD
279482011-09-15 Ulrich Drepper <drepper@gmail.com>
27949
27950 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27951 for __FINITE_MATH_ONLY__ == 1.
27952
edc121be
AS
279532011-09-15 Andreas Schwab <schwab@redhat.com>
27954
27955 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27956 __ieee754_sqrt instead of sqrt.
27957 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27958 __ieee754_sqrtf instead of sqrtf.
27959 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27960 __floorf instead of floorf.
27961 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27962 __floorf, __truncf instead of floorf, truncf.
27963
cd205654
UD
279642011-09-14 Ulrich Drepper <drepper@gmail.com>
27965
ee4d0315
UD
27966 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27967
cd205654
UD
27968 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27969 __extern_always_inline.
27970 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27971 32-bit.
27972
48b67d71
AS
279732011-09-14 Andreas Schwab <schwab@redhat.com>
27974
27975 * elf/rtld.c (dl_main): Also relocate in dependency order when
27976 doing symbol dependency testing.
27977
1ae12c75
AS
279782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27979
27980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27981 Always define `refsym'.
27982
995a80df
AS
279832011-09-13 Andreas Schwab <schwab@redhat.com>
27984
e529793b
AS
27985 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27986 (__FD_ELT): Renamed from __FDELT.
27987 * misc/bits/select2.h (__FD_ELT): Likewise.
27988 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27989 __FD_MASK instead of __FDELT, __FDMASK.
27990 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27991 Likewise.
27992 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27993 Likewise.
27994
52d4fef8
AS
27995 * elf/Makefile (gen-ldd): Fix pattern.
27996
995a80df
AS
27997 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27998 (init_tls): Likewise.
27999
8682f8b0
UD
280002011-09-12 Ulrich Drepper <drepper@gmail.com>
28001
28002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28003
de82006d
AS
280042011-09-12 Andreas Schwab <schwab@redhat.com>
28005
a7c8e6a1
AS
28006 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28007 `struct cmsghdr *' instead of `void *'.
28008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28009 Likewise.
28010
0f31fe77
AS
280112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28012
28013 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28014 if non-absolute.
28015 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28016 ldd_rewrite_script.
0f31fe77 28017
32b4c839
UD
280182011-09-11 Ulrich Drepper <drepper@gmail.com>
28019
83cd1420
UD
28020 * configure.in: Remove --with-tls option.
28021 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28022 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28023 out in case it is missing.
28024 * sysdeps/ia64/elf/configure.in: Likewise.
28025 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28026 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28027 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28028 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28029 * sysdeps/sh/elf/configure.in: Likewise.
28030 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28031 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28032 * sysdeps/x86_64/elf/configure.in: Likewise.
28033 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28034 * sysdeps/mach/hurd/tls.h: Likewise.
28035
633f745d
UD
28036 [BZ #13067]
28037 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28038
f318beb8
UD
28039 [BZ #13090]
28040 * configure.in: Fix use of AC_INIT.
28041
32b4c839
UD
28042 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28043
3ce1f295
UD
280442011-09-10 Ulrich Drepper <drepper@gmail.com>
28045
bb016596
UD
28046 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28047 __set_errno.
8e58439c
UD
28048 * malloc/hooks.c: Likewise.
28049
aebae053 28050 [BZ #11929]
02d46fc4
UD
28051 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28052 variables statically.
28053 (narenas): Initialize.
28054 (list_lock): Initialize.
bb016596
UD
28055 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28056 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28057 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28058 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28059 Add initializers to main_arena and mp_.
28060 (malloc_state): Remove pagesize member. Change all users to use
28061 GLRO(dl_pagesize).
28062
28063 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28064 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28065 is always initialized.
28066
22a89187
UD
28067 * malloc/malloc.c: Removed unused configurations and dead code.
28068 * malloc/arena.c: Likewise.
28069 * malloc/hooks.c: Likewise.
02d46fc4 28070 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28071
d063d164
UD
28072 * include/tls.h: Removed. USE___THREAD must always be defined.
28073 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28074 * elf/dl-libc.c: Likewise.
28075 * elf/dl-tsd.c: Likewise.
28076 * include/errno.h: Likewise.
28077 * include/netdb.h: Likewise.
28078 * include/resolv.h: Likewise.
28079 * inet/herrno-loc.c: Likewise.
28080 * inet/herrno.c: Likewise.
28081 * malloc/arena.c: Likewise.
28082 * malloc/hooks.c: Likewise.
28083 * malloc/malloc.c: Likewise.
28084 * resolv/res-state.c: Likewise.
28085 * resolv/res_libc.c: Likewise.
28086 * sysdeps/i386/dl-machine.h: Likewise.
28087 * sysdeps/ia64/dl-machine.h: Likewise.
28088 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28089 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28090 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28091 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28092 * sysdeps/sh/dl-machine.h: Likewise.
28093 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28094 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28095 * sysdeps/unix/i386/sysdep.S: Likewise.
28096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28097 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28102 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28107 * sysdeps/x86_64/dl-machine.h: Likewise.
28108 * tls.make.c: Likewise.
28109
3ce1f295
UD
28110 * configure.in: Remove --with-__thread option. Make tests for
28111 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28112 tls_model attribute fail if no support is available. Remove
28113 USE_IN_LIBIO.
28114 * Makeconfig: Adjust for dropped configure option. All features are
28115 now mandatory.
28116 * Makerules: Likewise.
28117 * Versions.def: Likewise.
28118 * argp/argp-fmtstream.c: Likewise.
28119 * argp/argp-fmtstream.h: Likewise.
28120 * argp/argp-help.c: Likewise.
28121 * assert/assert.c: Likewise.
28122 * config.h.in: Likewise.
28123 * config.make.in: Likewise.
28124 * configure: Likewise.
28125 * configure.in: Likewise.
28126 * csu/Versions: Likewise.
28127 * csu/init.c: Likewise.
28128 * elf/tst-audit2.c: Likewise.
28129 * elf/tst-tls10.c: Likewise.
28130 * elf/tst-tls10.h: Likewise.
28131 * elf/tst-tls11.c: Likewise.
28132 * elf/tst-tls12.c: Likewise.
28133 * elf/tst-tls14.c: Likewise.
28134 * elf/tst-tlsmod11.c: Likewise.
28135 * elf/tst-tlsmod12.c: Likewise.
28136 * elf/tst-tlsmod13.c: Likewise.
28137 * elf/tst-tlsmod13a.c: Likewise.
28138 * elf/tst-tlsmod14a.c: Likewise.
28139 * elf/tst-tlsmod15b.c: Likewise.
28140 * elf/tst-tlsmod16a.c: Likewise.
28141 * elf/tst-tlsmod16b.c: Likewise.
28142 * elf/tst-tlsmod7.c: Likewise.
28143 * elf/tst-tlsmod8.c: Likewise.
28144 * elf/tst-tlsmod9.c: Likewise.
28145 * gmon/gmon.c: Likewise.
28146 * grp/fgetgrent_r.c: Likewise.
28147 * grp/putgrent.c: Likewise.
28148 * hurd/fopenport.c: Likewise.
28149 * include/libc-symbols.h: Likewise.
28150 * include/tls.h: Likewise.
28151 * intl/gettextP.h: Likewise.
28152 * intl/loadinfo.h: Likewise.
28153 * locale/global-locale.c: Likewise.
28154 * locale/localeinfo.h: Likewise.
28155 * mach/devstream.c: Likewise.
28156 * malloc/arena.c: Likewise.
28157 * malloc/set-freeres.c: Likewise.
28158 * misc/err.c: Likewise.
28159 * misc/getttyent.c: Likewise.
28160 * misc/mntent_r.c: Likewise.
28161 * posix/getopt.c: Likewise.
28162 * posix/wordexp.c: Likewise.
28163 * pwd/fgetpwent_r.c: Likewise.
28164 * resolv/Versions: Likewise.
28165 * resolv/res_hconf.c: Likewise.
28166 * shadow/fgetspent_r.c: Likewise.
28167 * shadow/putspent.c: Likewise.
28168 * stdio-common/printf_fphex.c: Likewise.
28169 * stdio-common/tmpfile.c: Likewise.
28170 * stdlib/abort.c: Likewise.
28171 * stdlib/fmtmsg.c: Likewise.
28172 * sunrpc/auth_unix.c: Likewise.
28173 * sunrpc/clnt_perr.c: Likewise.
28174 * sunrpc/clnt_tcp.c: Likewise.
28175 * sunrpc/clnt_udp.c: Likewise.
28176 * sunrpc/clnt_unix.c: Likewise.
28177 * sunrpc/openchild.c: Likewise.
28178 * sunrpc/svc_simple.c: Likewise.
28179 * sunrpc/svc_tcp.c: Likewise.
28180 * sunrpc/svc_udp.c: Likewise.
28181 * sunrpc/svc_unix.c: Likewise.
28182 * sunrpc/xdr.c: Likewise.
28183 * sunrpc/xdr_array.c: Likewise.
28184 * sunrpc/xdr_rec.c: Likewise.
28185 * sunrpc/xdr_ref.c: Likewise.
28186 * sunrpc/xdr_stdio.c: Likewise.
28187
1248c1c4
PB
281882011-09-09 Ulrich Drepper <drepper@gmail.com>
28189
28190 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28191
281922011-07-03 Andreas Jaeger <aj@suse.de>
28193
28194 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28195 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28196 regenerate with gen-libm-tests.pl.
28197
281982010-05-12 Petr Baudis <pasky@suse.cz>
28199
28200 [BZ #11589]
28201 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28202 around j0() zero points by switching to j1().
28203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28204 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28207
f22e1074
UD
282082011-09-09 Ulrich Drepper <drepper@gmail.com>
28209
f19009c1
UD
28210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28211 instead of 0.
28212 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28213 instead of 0.
f19009c1
UD
28214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28215 Patch in part by Pavel Roskin <proski@gnu.org>.
28216
3f8cc204
UD
28217 [BZ #13138]
28218 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28219 realloc.
28220 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28221 Free memory block if necessary.
28222
f22e1074
UD
28223 [BZ #12847]
28224 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28225 be NULL. Don't lock in this case.
28226
0a2349f9
RM
282272011-09-09 Roland McGrath <roland@hack.frob.com>
28228
28229 * elf/elf.h (ELFOSABI_GNU): New macro.
28230 (ELFOSABI_LINUX): Define to that.
28231
f3cdd467
DZ
282322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28233
28234 * string/strncat.c (strncat): Undef the symbol in case it has been
28235 defined in bits/string.h.
28236
74718d13
UD
282372011-09-09 Ulrich Drepper <drepper@gmail.com>
28238
633e9e0f
UD
28239 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28240
0a2349f9 28241 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28242 link map.
28243
f9924780
AJ
282442011-08-17 Andreas Jaeger <aj@suse.de>
28245
28246 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28247
7f5517aa
PP
282482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28249 Ian Lance Taylor <iant@google.com>
28250
28251 * math/libm-test.inc (lround_test): New testcase.
28252 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28253
762011fe
UD
282542011-09-08 Ulrich Drepper <drepper@gmail.com>
28255
92963737
UD
28256 * Makefile: Remove support for automatic cvs check-ins.
28257 * Makerules: Likewise.
28258 * config.make.in: Likewise.
28259 * configure.in: Likewise.
28260 * intl/Makefile: Likewise.
28261 * locale/Makefile: Likewise.
28262 * po/Makefile: Likewise.
28263 * posix/Makefile: Likewise.
28264 * sysdeps/gnu/Makefile: Likewise.
28265 * sysdeps/mach/hurd/Makefile: Likewise.
28266 * sysdeps/sparc/sparc32/Makefile: Likewise.
28267
b0727fd8
JS
28268 [BZ #13118]
28269 * posix/Makefile (bug-regex32-ENV): Define.
28270 Patch by John Stanley <jpsinthemix@verizon.net>.
28271
a0f33f99
UD
28272 * misc/Makefile (headers): Add bits/select2.h.
28273 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28274 * misc/bits/select2.h: New file.
28275 * include/bits/select2.h: New file.
28276 * debug/Makefile (routines): Add fdelt_chk.
28277 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28278 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28279 FD_ISSET.
28280 * debug/fdelt_chk.c: New file.
28281
762011fe
UD
28282 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28283 * wcsmbs/test-wmemcmp.c: Likewise.
28284 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28285 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28286
282872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28288
28289 * string/Makefile (strop-tests): Add memcmp.
28290 * string/test-wmemcmp.c: New file.
28291 * string/test-memcmp.c: Add wmemcmp support.
28292
7f513ec8
RM
282932011-09-08 Roland McGrath <roland@hack.frob.com>
28294
0442afb4
RM
28295 [BZ #13153]
28296 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28297 2011-07-19 change.
28298
7f513ec8
RM
28299 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28300 garbage value in a __mach_port_mod_refs call in the cases of the
28301 task-self and thread-self ports.
28302
a12b2239
ST
283032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28304
28305 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28306
610f9ab4
AS
283072011-09-08 Andreas Schwab <schwab@redhat.com>
28308
7f513ec8 28309 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28310
48882a1a
LD
283112011-09-07 Ulrich Drepper <drepper@gmail.com>
28312
b49865be
UD
28313 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28314
fdc86bc9
UD
28315 * elf/dl-libc.c (dlerror_run): Pass back error code from
28316 dl_catch_error.
28317
c966526a
UD
28318 [BZ #13123]
28319 * elf/dl-load.c (lose): Free l_origin if it is valid.
28320
48882a1a
LD
28321 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28322 names.
28323 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28326 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28327 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28328 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28329
77a2a8b4
AZ
283302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28331
28332 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28333 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28334 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28335 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28336 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28337 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28338 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28339 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28340 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28341 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28342
24f579d8
AM
283432011-08-15 Alan Modra <amodra@gmail.com>
28344
28345 [BZ #13092]
28346 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28347 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28348 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28349 ppc_mcount to static-only-routines.
28350 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28351 __mcount_internal.
28352 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28353 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28354
3d4837df
UD
283552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28356
28357 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28358 for finite and infinity parameters.
28359
22700377
WS
283602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28361
28362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28363 and add nop instructions for throughput optimization.
28364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28365
5025581e
WS
283662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28367
28368 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28369 aligned copy for power7 with vector-scalar instructions.
28370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28371
08a300c9
L
283722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28375 AVX check.
28376
59178ef9
AS
283772011-09-07 Andreas Schwab <schwab@redhat.com>
28378
28379 [BZ #13144]
28380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28381 last change.
28382
e38ba7ab
UD
283832011-09-07 Ulrich Drepper <drepper@gmail.com>
28384
28385 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28386 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28387 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28388 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28389 clock_gettime.
28390
d53a73ac
UD
283912011-09-06 Ulrich Drepper <drepper@gmail.com>
28392
fc8bffcc
UD
28393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28394 Forgot to demangle the pointer.
28395
ceaa0c5d
UD
28396 * sysdeps/i386/sysdep.h: Define atom_text_section.
28397 * sysdeps/x86_64/sysdep.h: Likewise.
28398 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28399 section with atom_text_section.
28400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28401 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28402 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28404 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28405
a77d3c17
UD
28406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28407 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28408 already be defined. Change to take two parameters and don't assign
28409 result to variable. Adjust all users.
28410 Define INTERNAL_GETTIME if not already defined.
28411 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28412 call.
28413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28414 HAVE_CLOCK_GETTIME_VSYSCALL.
28415 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28416
d53a73ac
UD
28417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28418 gettimeofday vsyscall, just use time.
28419
a8f84144
AS
284202011-09-06 Andreas Schwab <schwab@redhat.com>
28421
28422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28423 <errno.h>.
28424
ef606249
UD
284252011-09-06 Ulrich Drepper <drepper@gmail.com>
28426
28427 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28428 syscall on x86-64.
28429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28430 syscall.
28431 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28432 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28433 syscall if possible.
28434
6585cb60
UD
284352011-09-05 Ulrich Drepper <drepper@gmail.com>
28436
28437 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28438 e_ident. Don't pass to find_mapsXX.
28439 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28440
a5f524e4
LD
284412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28442
28443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28444 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28445 * sysdeps/x86_64/multiarch/strchr.S: Update.
28446 Check bit_slow_BSF bit.
28447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28448 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28449 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28450
554881ef
UD
284512011-09-05 Ulrich Drepper <drepper@gmail.com>
28452
d96de963
UD
28453 [BZ #13134]
28454 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28455 before glibc 2.15.
28456 (tryshell): Define.
28457 (__spawni): Change last parameter to be flag. Test
28458 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28459 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28460 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28461 * posix/spawni.c: Likewise.
28462 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28463 * posix/spawnp.c: Likewise. Change normal version to use
28464 SPAWN_XFLAGS_USE_PATH.
28465 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28466 SPAWN_XFLAGS_TRY_SHELL.
28467
d48e5868
UD
28468 [BZ #13150]
28469 * posix/glob.h: Remove gcc 1.x support.
28470
554881ef
UD
28471 [BZ #13068]
28472 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28473
693fb948
LD
284742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28475
28476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28477 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28478 strrchr-sse2-bsf
28479 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28480 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28481 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28483 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28485
1b48c537
UD
284862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28487
49d42c37
UD
28488 * sysdeps/x86_64/wcscmp.S: New file.
28489
1b48c537
UD
28490 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28491 wcscmp-c wcscmp-sse2
28492 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28493 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28495 * wcsmbs/wcscmp.c: Allow renaming.
28496
15c95c5d
DM
284972011-09-05 David S. Miller <davem@davemloft.net>
28498
28499 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28500 stack slot, rather than the struct return pointer slot.
28501 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28502 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28504 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28505
2f0ad8f3
UD
285062011-09-05 Ulrich Drepper <drepper@gmail.com>
28507
d88ae418
UD
28508 * po/ja.po: Update from translation team.
28509
2f0ad8f3
UD
28510 [BZ #13144]
28511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28512 kernel in 64-bit binaries.
28513
5f4318d1
DM
285142011-09-01 David S. Miller <davem@davemloft.net>
28515
28516 * elf/elf.h (HWCAP_SPARC_*): Move to..
28517 * sysdeps/sparc/sysdep.h: this new file and add new values.
28518 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28519 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28520 _DL_HWCAP_COUNT to 24.
28521 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28522 entries.
28523 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28524 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28525 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28527 instead of magic constants.
28528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28529
3ba57516
DM
285302011-08-31 David S. Miller <davem@davemloft.net>
28531
28532 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28534 Reimplement to do errno handling inline.
28535 (SYSCALL_ERROR_HANDLER): New macro.
28536 (__SYSCALL_STRING): Do not do errno handling in asm.
28537 (__CLONE_SYSCALL_STRING): Delete.
28538 (__INTERNAL_SYSCALL_STRING): Delete.
28539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28540 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28541 (PSEUDO): Reimplement to do errno handling inline.
28542 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28543 (SYSCALL_ERROR_HANDLER): New macro.
28544 (__SYSCALL_STRING): Do not do errno handling in asm.
28545 (__CLONE_SYSCALL_STRING): Delete.
28546 (__INTERNAL_SYSCALL_STRING): Delete.
28547 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28548 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28549 i386.
28550 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28551 (inline_syscall*): Add 'err' argument.
28552 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28553 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28554 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28555 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28556
28557 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28558 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28559
2bc17433
AS
285602011-08-30 Andreas Schwab <schwab@redhat.com>
28561
28562 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28563
fbeb5f4d
JO
285642011-08-29 Jiri Olsa <jolsa@redhat.com>
28565
28566 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28567 directive.
28568
ad69cc26
DM
285692011-08-24 David S. Miller <davem@davemloft.net>
28570
28571 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28572
39dd69df
AS
285732011-08-24 Andreas Schwab <schwab@redhat.com>
28574
28575 * elf/Makefile: Add rules to build and run unload8 test.
28576 * elf/unload8.c: New file.
28577 * elf/unload8mod1.c: New file.
28578 * elf/unload8mod1x.c: New file.
28579 * elf/unload8mod2.c: New file.
28580 * elf/unload8mod3.c: New file.
28581
28582 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28583 it wasn't used.
28584
2c0b250a
DM
285852011-08-23 David S. Miller <davem@davemloft.net>
28586
28587 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28588 subtract stack bias.
28589 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28590 %sp not %fp in calculations.
28591 (_JMPBUF_UNWINDS_ADJ): Likewise.
28592
22044b48
DM
28593 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28594 (aio_suspend): Call it to force an exception region around the
28595 AIO_MISC_WAIT() invocation.
28596
2cae4995
AS
285972011-08-23 Andreas Schwab <schwab@redhat.com>
28598
28599 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28600 backslash.
28601
873a772e
AJ
286022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28603
28604 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28605 protection macro.
28606 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28607 and <dl-machine.h>.
28608 (Elf64_FuncDesc): Remove.
28609
25ad0df1
DM
286102011-08-22 David S. Miller <davem@davemloft.net>
28611
28612 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28613 sigaltstack check, add missing cfi directives.
28614 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28615 missing cfi directives, and sigaltstack handling.
28616
e888bcbe
AS
286172011-08-16 Andreas Schwab <schwab@redhat.com>
28618
28619 [BZ #11724]
28620 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28621 object is seen twice.
28622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28623
28624 * elf/Makefile (distribute): Add tst-initorder2.c.
28625 (tests): Add tst-initorder2.
28626 (modules-names): Add tst-initorder2a tst-initorder2b
28627 tst-initorder2c tst-initorder2d. Add rules to build them.
28628 ($(objpfx)tst-initorder2.out): New rule.
28629 * elf/tst-initorder2.c: New file.
28630 * elf/tst-initorder2.exp: New file.
28631
87162f46
AS
286322011-08-22 Andreas Schwab <schwab@redhat.com>
28633
70538b7f
AS
28634 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28635
f55ffe58
AS
28636 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28637 dependencies back to end of function.
28638
87162f46
AS
28639 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28640 $(elfobjdir)/ld.so.
28641
91b392a4
UD
286422011-08-21 Ulrich Drepper <drepper@gmail.com>
28643
28644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28645 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28647 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28648 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28649 of __vdso_gettimeofday.
28650 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28651 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28652 attribute_hidden.
28653 (_libc_vdso_platform_setup): Remove initialization of
28654 __vdso_gettimeofday and __vdso_time.
28655
5c43483f
UD
286562011-08-20 Ulrich Drepper <drepper@gmail.com>
28657
775a77e7
UD
28658 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28659 and fgetc_unlocked.
28660 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28661 getc_unlocked.
89f447ed 28662
49c74ba9
UD
28663 * elf/dl-open.c (add_to_global): Report additions to the global scope
28664 for LD_DEBUG=scopes.
28665 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28666 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28667
5c43483f
UD
28668 [BZ #13114]
28669 * stdio-common/Makefile (tests): Add bug24.
28670 * stdio-common/bug24.c: New file.
28671
a101b025
AJ
286722011-08-19 Andreas Jaeger <aj@suse.de>
28673
28674 [BZ #13114]
28675 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28676 non-existant file when using close-on-exec mode.
28677
c88f1766
UD
286782011-08-20 Ulrich Drepper <drepper@gmail.com>
28679
0276a718
UD
28680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28681 the very first instruction.
28682
c88f1766
UD
28683 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28684 the CFI state in the end.
28685 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28686 inclusion of dl-trampoline.h.
28687 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28688
51ccffa0
AS
286892011-08-19 Andreas Schwab <schwab@redhat.com>
28690
94d7165f
AS
28691 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28692 expectations for long double.
28693
51ccffa0
AS
28694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28695 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28696
fd708658 286972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28698
28699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28700 artificual limit depends upon the system page size.
28701
44f0a71e
UD
287022011-08-17 Ulrich Drepper <drepper@gmail.com>
28703
28704 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28705 * resolv/Makefile: Define CFLAGS-libresolv.
28706
8de79a24
AS
287072011-08-17 Andreas Schwab <schwab@redhat.com>
28708
28709 * nss/makedb.c (compute_tables): Make variables used in nested
28710 function static.
28711
27724598
UD
287122011-08-17 Ulrich Drepper <drepper@gmail.com>
28713
c5305d88
UD
28714 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28715 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28716 if buffer was too small.
28717
27724598
UD
28718 * elf/pldd.c (main): Attach to all threads in the process.
28719 Rewrite /proc handling to use *at functions.
28720
076fe015
UD
287212011-08-16 Ulrich Drepper <drepper@gmail.com>
28722
174baab3
UD
28723 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28724 specifies first scope to show.
28725 (dl_open_worker): Update callers. Move printing scope of new
28726 object to before the relocation.
44f0a71e 28727 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28728 * sysdeps/generic/ldsodefs.h: Update declaration.
28729
076fe015
UD
28730 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28731 string for the scope number.
28732
a60df2c3
UD
287332011-08-14 Ulrich Drepper <drepper@gmail.com>
28734
28735 * nscd/servicescache.c (cache_addserv): Make sure written is always
28736 initialized.
28737
5e4287d1
RM
287382011-08-14 Roland McGrath <roland@hack.frob.com>
28739
85ae0589
RM
28740 * sysdeps/i386/i486/bits/atomic.h
28741 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28742 statement expression, so as to suppress "set but not used" warning.
28743 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28744
69f63097
RM
28745 * string/strncat.c (STRNCAT): Use prototype definition.
28746
675456ef
RM
28747 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28748 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28749 -Iprograms here.
28750 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28751 (localedef-modules): Add localedef.
28752 (locale-modules): Add locale.
28753
5e4287d1
RM
28754 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28755 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28756 to avoid a warning.
28757
9c96ff23
DM
287582011-08-14 David S. Miller <davem@davemloft.net>
28759
28760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28761 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28762
f9ddf089
UD
287632011-08-13 Ulrich Drepper <drepper@gmail.com>
28764
44f0a71e 28765 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28766 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28767 * elf/rtld.c (dl_main): Set l_name of vDSO.
28768 Call _dl_show_scope when DL_DEBUG_SCOPES.
28769 (process_dl_debug): Recognize scopes flag and also set it for all.
28770 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28771 Declare _dl_show_scope.
28772
1dc27704
UD
28773 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28774 (do_dlopen): Pass caller_dlopen to dl_open.
28775 (__libc_dlopen_mode): Initialize caller_dlopen.
28776
f9ddf089
UD
28777 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28778 of libc. Make tolower call locale-independent. Optimize a bit by
28779 using isdigit instead of isalnum.
28780 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28781
9ac533d3
UD
287822011-08-12 Ulrich Drepper <drepper@gmail.com>
28783
28784 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28785 was a dependency or dynamically loaded.
28786
89edf2e9
UD
287872011-08-11 Ulrich Drepper <drepper@gmail.com>
28788
8e999d29
UD
28789 * intl/l10nflist.c: Allow architecture-specific pop function.
28790 * sysdeps/x86_64/l10nflist.c: New file.
28791
89edf2e9
UD
28792 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28793 classification.
28794
14d96785
AS
287952011-08-10 Andreas Schwab <schwab@redhat.com>
28796
28797 * include/dirent.h: Add libc_hidden_proto for scandirat and
28798 scandirat64. Don't declare __scandirat64.
28799 * dirent/scandirat.c: Add libc_hidden_def.
28800 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28801 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28802
6761ac04
DM
288032011-08-10 David S. Miller <davem@davemloft.net>
28804
28805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28806 enum.
28807 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28810
c55fbd1e
UD
288112011-08-09 Ulrich Drepper <drepper@gmail.com>
28812
28813 * Versions.def [libc]: Add GLIBC_2.15.
28814 * dirent/Makefile (routines): Add scandirat and scandirat64.
28815 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28816 GLIBC_2.15.
28817 * dirent/dirent.h: Declare scandirat and scandirat64.
28818 * dirent/scandirat.c: New file.
28819 * dirent/scandirat64.c: New file.
28820 * sysdeps/wordsize-64/scandirat.c: New file.
28821 * sysdeps/wordsize-64/scandirat64.c: New file.
28822 * dirent/opendir.c: Define opendirat.
28823 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28824 using scandirat.
28825 * dirent/scandir64.c: Adjust for scandir.c change.
28826 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28827 __scandirat64, and __scandir_cancel_handler.
28828 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28829 additional parameter and use openat instead of open (outside of ld.so).
28830 Add new __opendir as wrapper around __opendirat.
28831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28832 here without requiring old scandirat implementation.
28833
879165f2
UD
288342011-08-08 Ulrich Drepper <drepper@gmail.com>
28835
28836 * dirent/scandir.c (cancel_handler): Renamed to
28837 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28838 defined. Adjust users.
28839 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28841
cb7e923b
UD
288422011-08-04 Ulrich Drepper <drepper@gmail.com>
28843
16292edd
UD
28844 * string/test-string.h (IMPL): Use __STRING to expand name and then
28845 stringify it.
28846
cb7e923b
UD
28847 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28848 of cleanups.
28849
cff82933
LD
288502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28851
28852 * string/Makefile: Update.
28853 (strop-tests): Append strncat.
28854 * string/test-wcscmp.c: New file.
28855 New comprehensive test for wcscmp.
28856 * string/test-strcmp.c: Update.
28857 (WIDE): New define.
28858
9be9bfcc
AS
288592011-07-22 Andreas Schwab <schwab@redhat.com>
28860
28861 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28862 line.
28863
2e96f1c7
AS
288642011-07-26 Andreas Schwab <schwab@redhat.com>
28865
28866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28867 encoding to ACE if AI_IDN.
28868
85188888
JJ
288692011-08-01 Jakub Jelinek <jakub@redhat.com>
28870
28871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28872 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28873
5fa16e9b
LD
288742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28875
28876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28877 Fix overflow bug in strncat.
28878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28879
28880 * string/test-strncat.c: Update.
28881 Add new tests for checking overflow bugs.
28882
288832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28884
28885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28886 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28887 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28888 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28890 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28891 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28892 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28893 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28894
28895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28896 (USE_AS_STRCAT): Define.
28897 Add strcat and strncat support.
28898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28899
8c1a459f
AS
289002011-07-25 Andreas Schwab <schwab@redhat.com>
28901
28902 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28903 __n bigger than INT_MAX+1.
28904 (__strncmp_g): Likewise.
28905
bba33c28
UD
289062011-07-23 Ulrich Drepper <drepper@gmail.com>
28907
798be72d
UD
28908 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28909 * libio/stido.h: Likewise.
28910
8accd4dc
UD
28911 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28912 (AF_NFC): Define.
28913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28914 (AF_NFC): Define.
28915
cbff0d96
UD
28916 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28917 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28919 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28921
9191c04a
UD
28922 [BZ #13021]
28923 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28924 installed.
28925
bba33c28
UD
28926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28927 typo.
28928 (_dl_x86_64_save_sse): Likewise.
28929
90f139dd
UD
289302011-07-22 Ulrich Drepper <drepper@gmail.com>
28931
1aae088a
UD
28932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28933 OSXSAVE.
28934 (_dl_x86_64_save_sse): Likewise.
28935
8e2045f5
UD
28936 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28937
90f139dd
UD
28938 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28939
1d002f25
AS
289402011-07-21 Andreas Schwab <schwab@redhat.com>
28941
28942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28943 change.
28944 (_dl_x86_64_save_sse): Use correct AVX check.
28945
21137f89
UD
289462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28947
28948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28949 bug in strncpy/strncat.
28950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28951
a65c0b7a
UD
289522011-07-21 Ulrich Drepper <drepper@gmail.com>
28953
28954 * string/tester.c (test_strcat): Add tests for different alignments
28955 of source and destination.
28956 (test_strncat): Likewise.
28957
6986b98a
UD
289582011-07-20 Ulrich Drepper <drepper@gmail.com>
28959
90bb2039
UD
28960 [BZ #12852]
28961 * posix/glob.c (glob): Check passed in values before using them in
28962 expressions to avoid some overflows.
28963 (glob_in_dir): Likewise.
28964
5644ef54
UD
28965 [BZ #13007]
28966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28967 check for AVX enablement so that we don't crash with old kernels and
28968 new hardware.
28969 * elf/tst-audit4.c: Add same checks here.
28970 * elf/tst-audit6.c: Likewise.
28971
28972 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28973
bfc9dc9b
AS
289742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28975
28976 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28977
702e64bb
UD
289782011-07-20 Ulrich Drepper <drepper@gmail.com>
28979
28980 * po/cs.po: Update from translation team.
28981 * po/bg.po: Likewise.
28982
295e904f
MP
289832011-07-12 Marek Polacek <mpolacek@redhat.com>
28984
28985 * misc/sys/cdefs.h: Add support for const attribute.
28986 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28987 to gnu_dev_{major,minor,makedev} functions.
28988
3ff94596
MP
289892011-07-20 Marek Polacek <mpolacek@redhat.com>
28990
28991 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28992
28b59fca
AS
289932011-07-20 Andreas Schwab <schwab@redhat.com>
28994
28995 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28996 strlen results.
28997
19df733e
AK
289982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28999
29000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29001 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29002 register in order to avoid conflicts with the soft frame pointer
29003 being held in r11 when necessary.
29004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29005 (INTERNAL_VSYSCALL_NCS): Likewise.
29006
c8835729
MP
290072011-07-14 Marek Polacek <mpolacek@redhat.com>
29008
29009 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29010 * elf/dl-fini.c (_dl_fini): Adjust caller.
29011 * elf/dl-close.c (_dl_close_worker): Likewise.
29012 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29013
b902330c
MP
290142011-07-15 Marek Polacek <mpolacek@redhat.com>
29015
8991e135
MP
29016 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29017 "aux_cache->nlibs < 0".
29018
b902330c
MP
29019 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29020 in the reload-count case.
29021
99710781
LD
290222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29023
29024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29025 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29026 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29027 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29028 * sysdeps/x86_64/multiarch/strcat.S: New file.
29029 * sysdeps/x86_64/multiarch/strncat.S: New file.
29030 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29032 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29033 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29035 (USE_AS_STRCAT): Define.
29036 Add strcat and strncat support.
29037 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29039 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29040 * string/strncat.c: Update.
29041 (USE_AS_STRNCAT): Define.
29042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29043 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29044 and i7.
29045 * sysdeps/x86_64/multiarch/init-arch.h
29046 (bit_Prefer_PMINUB_for_stringop): New.
29047 (index_Prefer_PMINUB_for_stringop): Likewise.
29048 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29049 bit_Prefer_PMINUB_for_stringop.
29050
7dc6bd90
UD
290512011-07-19 Ulrich Drepper <drepper@gmail.com>
29052
29053 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29054 buffer64.
29055 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29056 of casting of buffer.
29057 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29058 buffer32 and buffer64.
29059 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29060 writes instead of casting of buffer.
29061 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29062 buffer32.
29063 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29064 casting of buffer.
29065
e0e72284
AS
290662011-07-19 Andreas Schwab <schwab@redhat.com>
29067
29068 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29069
feb1eb0b
UD
290702011-07-19 Ulrich Drepper <drepper@gmail.com>
29071
29072 * nscd/nscd.c (termination_handler): Don't do anything for a database
29073 if it has not yet been initialized.
29074
298711ff
UD
290752011-07-18 Ulrich Drepper <drepper@gmail.com>
29076
29077 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29078
290792011-07-15 Marek Polacek <mpolacek@redhat.com>
29080
29081 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29082
f9d68389
UD
290832011-07-18 Ulrich Drepper <drepper@gmail.com>
29084
29085 * po/nl.po: Update from translation team.
29086 * po/sv.po: Likewise.
29087
db290cf5
RM
290882011-07-16 Roland McGrath <roland@hack.frob.com>
29089
29090 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29091 now disallowed by GCC.
5c550700 29092
fd5e21c7
RM
29093 * configure.in (use-default-link): Default to yes if a test -shared
29094 link meets our qualifications.
29095 * configure: Regenerated.
29096
5c550700
RM
29097 * config.make.in (output-format): New variable.
29098 * configure.in: Check for ld --print-output-format support.
29099 * configure: Regenerated.
29100 * Makerules ($(common-objpfx)format.lds)
29101 [$(output-format) != unknown]: Just use $(output-format),
29102 instead of the linker-script munging.
29103
9fa2c032
RM
291042011-07-14 Roland McGrath <roland@hack.frob.com>
29105
a6928d51
RM
29106 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29107 of $(common-objpfx)shlib.lds.
29108 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29109
661607b3
RM
29110 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29111 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29112
9fa2c032
RM
29113 * configure.in (-z relro check): Adjust test code to add a large
29114 writable data section after it.
29115 * configure: Regenerated.
29116
defe9061
RM
291172011-07-11 Roland McGrath <roland@hack.frob.com>
29118
29119 * configure.in (-z relro check): Fix test code to make the variable
29120 truly const.
29121 * configure: Regenerated.
29122
319b9ad4
UD
291232011-07-11 Ulrich Drepper <drepper@gmail.com>
29124
29125 * nscd/nscd.h (struct traced_file): Define.
29126 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29127 elements. Add traced_files.
29128 (inotify_fd): Declare.
29129 (register_traced_file): Declare.
29130 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29131 (inotify_fd): Export.
29132 (resolv_conf_descr): Remove.
29133 (nscd_init): Move inotify descriptor creation to main.
29134 Don't register files for notification here.
29135 (register_traced_file): New function.
29136 (invalidate_cache): Don't use reset_res to determine whether to call
29137 res_init, go through the list of registered files.
29138 (main_loop_poll): The inotify descriptors are now stored in the
29139 structures for the traced files.
29140 (main_loop_epoll): Likewise
29141 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29142 to __nss_disable_nscd.
29143 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29144 for a database anymore. Check the records for all the registered
29145 files instead.
29146 * nss/Makefile (libnss_files-routines): Add files-init.
29147 (libnss_db-routines): Add db-init.
29148 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29149 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29150 * nss/nss_db/db-init.c: New file.
29151 * nss/nss_files/files-init.c: New file.
29152 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29153 __nss_lookup_function.
29154 (__nss_lookup_function): Call nss_load_library.
29155 (nss_load_all_libraries): New function.
29156 (__nss_disable_nscd): Take parameter with callback function for files
29157 to register. Set is_nscd. Load all the DSOs for the NSS modules
29158 used for the cached services.
29159 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29160 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29161 options for features to all the files in nscd.
29162
29163 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29164
23bee3e8
RM
291652011-07-10 Roland McGrath <roland@hack.frob.com>
29166
29167 * csu/elf-init.c (__libc_csu_init): Comment typo.
29168
46a5b7f0
UD
291692011-07-09 Ulrich Drepper <drepper@gmail.com>
29170
29171 * po/pl.po: Update from translation team.
29172 * po/ja.po: Likewise.
29173 * po/ru.po: Likewise.
29174 * po/ko.po: Likewise.
29175 * po/fr.po: Likewise.
29176
d30cf5bb
RM
291772011-07-09 Roland McGrath <roland@hack.frob.com>
29178
113ddea4
RM
29179 * configure.in (.ctors/.dtors header and trailer check):
29180 Use an empirical test on a built program.
29181 * configure: Regenerated.
29182
574920b4
RM
29183 * configure.in (-z relro check): Use an empirical test on a built DSO.
29184 Detect, but do not require, on ia64.
29185 * configure: Regenerated.
29186
d30cf5bb
RM
29187 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29188 Update tests that use readelf to use $READELF instead.
29189 * configure: Regenerated.
29190
8538fdb3
UD
291912011-07-08 Ulrich Drepper <drepper@gmail.com>
29192
29193 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29194 if the result is not used.
29195
04d08991
AJ
291962011-07-05 Andreas Jaeger <aj@suse.de>
29197
29198 [BZ#9696]
29199 * stdlib/tst-strtod.c: Add testcase.
29200
de283087
AD
292012011-07-07 Ulrich Drepper <drepper@gmail.com>
29202
4e5f31c8 29203 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29204 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29205 The latter has a higher limit. Take additional parameter to pass to
29206 the new function.
29207 (__pathconf): Pass file to __statfs_link_max.
29208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29209 __statfs_link_max.
29210 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29211 __statfs_link_max.
29212
de283087
AD
29213 [BZ #12868]
29214 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29215 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29216 Handle Lustre.
29217 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29218 (__statfs_filesize_max): Likewise.
29219 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29220
c75fa153
AJ
292212011-07-05 Andreas Jaeger <aj@suse.de>
29222
29223 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29224
1a544854
UD
292252011-07-06 Marek Polacek <mpolacek@redhat.com>
29226
29227 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29228 `status' variable.
29229 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29230 Likewise.
29231
6f0eec67
UD
292322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29233
29234 * Makefile (strop-tests): Add strncat.
29235 * string/test-strncat.c: New file.
29236
aae30307
UD
292372011-06-30 Marek Polacek <mpolacek@redhat.com>
29238
29239 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29240
c0cfb5eb
UD
292412011-06-21 Andreas Jaeger <aj@suse.de>
29242
29243 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29244 Copy rule from iconvdata/Makefile.
29245
01636b21
UD
292462011-07-06 Ulrich Drepper <drepper@gmail.com>
29247
29248 [BZ #12922]
29249 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29250 but no long options are defined, just return 'W'.
29251
9895c8bc
UD
292522011-06-22 Marek Polacek <mpolacek@redhat.com>
29253
29254 [BZ #9696]
29255 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29256
5d4cf042
UD
292572011-07-06 Ulrich Drepper <drepper@gmail.com>
29258
29259 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29260 netgroups to read.
960e5535 29261 (innetgr): Likewise.
5d4cf042 29262
751eb97e
RM
292632011-07-05 Roland McGrath <roland@hack.frob.com>
29264
29265 * config.make.in (install_root): Default to $(DESTDIR).
29266
f15f1e45
UD
292672011-07-05 Ulrich Drepper <drepper@gmail.com>
29268
29269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29270
4e34ac6a
RM
292712011-07-02 Roland McGrath <roland@hack.frob.com>
29272
5e9b6af4
RM
29273 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29274
84f9ea0f
RM
29275 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29276 containing directory rather than embedding absolute directory names.
29277
ea5ee9f7
RM
29278 * scripts/check-local-headers.sh: Rewritten using awk.
29279 Match by word, not by line. Print error messages for matches.
29280 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29281
1b74661a
RM
29282 * Makerules [shlib-lds-flags empty]:
29283 ($(common-objpfx)libc_pic.opts): New target.
29284 ($(common-objpfx)libc_pic.os.clean): New target.
29285 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29286
29287 * config.make.in (OBJCOPY): New variable.
29288 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29289 * configure: Regenerated.
29290
f781ef40
RM
29291 * config.make.in (use-default-link): New variable.
29292 * configure.in (use_default_link): Grok --with-default-link to set it.
29293 * configure: Regenerated.
29294 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29295 (shlib-lds, shlib-lds-flags): Define to empty.
29296
2d4fa81e
RM
29297 * Makerules (shlib-lds): New variable.
29298 (shlib-lds-flags): New variable.
29299 (build-shlib, build-moduile, build-module-asneeded): Use it.
29300 ($(common-objpfx)libc.so): Use $(shlib-lds).
29301 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29302 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29303
31fffa6b
RM
29304 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29305 DT_FLAGS/DT_FLAGS_1 with zero flags.
29306
4e34ac6a
RM
29307 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29308 linker script munging.
29309
fcfc776b
UD
293102011-07-02 Ulrich Drepper <drepper@gmail.com>
29311
29312 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29313 as 128-bit value.
29314 * crypt/sha512.c (sha512_process_block): Perform total addition using
29315 128-bit if possible.
29316 (__sha512_finish_ctx): Likewise.
29317 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29318 as 64-bit value.
29319 * crypt/sha256.c (SWAP64): Define.
29320 (sha256_process_block): Perform total addition using 64-bit if
29321 possible.
29322 (__sha256_finish_ctx): Likewise.
29323
99231d9a
UD
293242011-07-01 Ulrich Drepper <drepper@gmail.com>
29325
29326 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29328 * nscd/hstcache.c (cache_addhst): Likewise.
29329 * nscd/grpcache.c (cache_addgr): Likewise.
29330 * nscd/aicache.c (addhstaiX): Likewise
29331 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29332
445b4a53
TK
293332011-07-01 Thorsten Kukuk <kukuk@suse.de>
29334
29335 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29337 * nscd/hstcache.c (cache_addhst): Likewise.
29338 * nscd/grpcache.c (cache_addgr): Likewise.
29339 * nscd/aicache.c (addhstaiX): Likewise
29340
6d4d8e8e
AS
293412011-07-01 Andreas Schwab <schwab@redhat.com>
29342
29343 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29344 domain only when needed.
29345
89f654c5
AS
293462011-06-30 Andreas Schwab <schwab@redhat.com>
29347
29348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29349 is always restored.
29350
cf3b23ff
UD
293512011-06-29 Ulrich Drepper <drepper@gmail.com>
29352
29353 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29354 are re-adding the entry.
29355 * nscd/servicescache.c (cache_addserv): Likewise.
29356
751626f9
AJ
293572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29358
29359 * sysdeps/generic/dl-irel.h: fix protection against multiple
29360 inclusions.
29361 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29362
9113ea1f
UD
293632011-06-28 Ulrich Drepper <drepper@gmail.com>
29364
5c0b8d90
UD
29365 [BZ #12935]
29366 * malloc/memusage.sh: Fix quoting in message.
29367 * debug/xtrace.sh: Likewise.
29368
9113ea1f
UD
29369 * configure.in: Remove support for --experimental-malloc option, make
29370 it the default.
29371 * config.make.in: Likewise.
29372 * malloc/Makefile: Likewise.
29373
a4172181
AS
293742011-06-27 Andreas Schwab <schwab@redhat.com>
29375
29376 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29377 two-byte characters.
29378
78a7eee7
RM
293792011-06-27 Roland McGrath <roland@hack.frob.com>
29380
62bede13
RM
29381 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29382 AC_CACHE_CHECK invocation.
29383 * configure: Regenerated.
29384
78a7eee7
RM
29385 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29386
5ce33a62
UD
293872011-06-27 Ulrich Drepper <drepper@gmail.com>
29388
034807a9
UD
29389 [BZ #12350]
29390 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29391 bit from old_res_options.
29392
4902da17
UD
29393 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29394
5ce33a62
UD
29395 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29396 value type for setfct.
29397
c2344f56
L
293982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29399
29400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29401 __gettimeofday instead of gettimeofday.
29402
68468076
UD
294032011-06-26 Ulrich Drepper <drepper@gmail.com>
29404
29405 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29406
acb0d739
L
294072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29408
29409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29410
29411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29412 info.
29413
8912479f
L
294142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29415
29416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29417 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29418 strcpy-sse2-unaligned strncpy-sse2-unaligned
29419 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29420 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29421 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29422 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29423 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29426 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29427 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29428 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29429 (STRCPY): Support SSE2 and SSSE3 versions.
29430
d5495a11
UD
294312011-06-24 Ulrich Drepper <drepper@gmail.com>
29432
29433 [BZ #12874]
29434 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29435 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29436 kernels which artificially limit size of requests.
29437
0b1cbaae
L
294382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29439
29440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29441 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29442 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29443 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29444 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29445 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29446 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29447 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29450 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29451 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29452 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29453 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29454 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29456 Enable unaligned load optimization for Intel Core i3, i5 and i7
29457 processors.
29458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29459 Define.
29460 (index_Fast_Unaligned_Load): Define.
29461 (HAS_FAST_UNALIGNED_LOAD): Define.
29462
07f494a0
MP
294632011-06-23 Marek Polacek <mpolacek@redhat.com>
29464
29465 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29466
fa3fc0fe
UD
294672011-06-22 Ulrich Drepper <drepper@gmail.com>
29468
29469 [BZ #12907]
29470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29471 until it is clear that the information is realy needed.
29472 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29473
e12df166
AS
294742011-06-22 Andreas Schwab <schwab@redhat.com>
29475
29476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29477
852eb34d
UD
294782011-06-22 Ulrich Drepper <drepper@gmail.com>
29479
84e2a551
UD
29480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29481 /sys/devices/system/cpu/online if it is usable.
29482
852eb34d
UD
29483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29484 reading the information from the /proc filesystem to once a second.
29485
6e502e19
UD
294862011-06-21 Andreas Jaeger <aj@suse.de>
29487
29488 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29489 NULL after inclusion of kernel headers.
29490
75d39ff2
UD
294912011-06-21 Ulrich Drepper <drepper@gmail.com>
29492
51f9aa6a
UD
29493 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29494 calls to internal_setent.
29495
c0244a9d
UD
29496 [BZ #12885]
29497 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29498 addresses using gethostbyname4_r ignore IPv4 addresses.
29499
c5e3c2ae
UD
29500 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29501 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29502
75d39ff2
UD
29503 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29504
42675c6f
DM
295052011-06-20 David S. Miller <davem@davemloft.net>
29506
29507 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29508 inclusions.
29509 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29510
29511 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29512 (elf_irel): Use it.
29513 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29514 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29515 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29516 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29517 * sysdeps/x86_64/dl-irel.h: Likewise.
29518
29519 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29520 * elf/dl-sym.c: Likewise.
29521
57912a71
UD
295222011-06-15 Ulrich Drepper <drepper@gmail.com>
29523
29524 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29525 need to dereference resplen2.
29526
ee22793d
AS
295272011-06-14 Andreas Schwab <schwab@redhat.com>
29528
29529 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29530
a9e836b0
UD
295312011-06-15 Ulrich Drepper <drepper@gmail.com>
29532
77fb9117
UD
29533 * Makeconfig: Define vardbdir and inst_vardbdir.
29534 * nss/Makefile: Add rules to install db-Makefile.
29535
40c1b22c
UD
29536 * nss/nss_db/db-XXX.c: Cleanup.
29537
9f2da732
UD
29538 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29539 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29540 GLIBC_PRIVATE.
29541 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29542 * nss/makedb.c: Implement -g option to specify that value strings
29543 are generated and should not be added to table iterated over for
29544 get*ent calls.
29545 * nss/nss_db/db-initgroups.c: New file.
29546
82e9a1f7
UD
29547 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29548 interface.
29549
c41af17e
UD
29550 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29551 (internal_getgrouplist): Adjust to name change.
29552 Update use_initgroups_entry if this is not the first call.
29553 * nss/databases.def: Add initgroups entry.
29554
a9e836b0
UD
29555 * nss/makedb.c (compute_tables): Check result of multiple hash table
29556 sizes to minimize maximum chain length.
29557
2666d441
UD
295582011-06-14 Ulrich Drepper <drepper@gmail.com>
29559
29560 * Versions.def: Add entry for libnss_db.
29561 * shlib-versions: Likewise.
29562 * nss/Makefile: Add rules to build libnss_db.
29563 * nss/Versions: Add libnss_db information. Organize libnss_files
29564 entries better.
29565 * nss/db-Makefile: Add gshadow support. Change rules for the new
29566 makedb progra. Some minor improvements to generate smaller files.
29567 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29568 here from...
29569 * nss/makedb.c: ...here.
29570 Improve database format to be smaller and require less memory at
29571 runtime.
29572 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29573 db anymore.
29574 * nss/nss_db/db-netgrp.c: Likewise.
29575 * nss/nss_db/db-open.c: Likewise.
29576 * nss/nss_files/flies-XXX.x: Adjust comments.
29577 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29578 * nss/nss_files/files-grp.c: Likewise.
29579 * nss/nss_files/files-hosts.c: Likewise.
29580 * nss/nss_files/files-network.c: Likewise.
29581 * nss/nss_files/files-proto.c: Likewise.
29582 * nss/nss_files/files-pwd.c: Likewise.
29583 * nss/nss_files/files-rpc.c: Likewise.
29584 * nss/nss_files/files-service.c: Likewise.
29585 * nss/nss_files/files-sgrp.c: Likewise.
29586 * nss/nss_files/files-spwd.c: Likewise.
29587 * nss/nss_db/db-alias.c: Removed.
29588 * nss/nss_db/dummy-db.h: Removed.
29589
9ee76b5a
UD
295902011-06-02 Ulrich Drepper <drepper@gmail.com>
29591
29592 * nss/makedb.c: Rewritten to not use database library.
29593 * nss/Makefile: Update to build new makedb program.
29594
c71ca1f8
AJ
295952011-06-14 Andreas Jaeger <aj@suse.de>
29596
29597 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29598 memset declaration.
29599
3154bfb8
UD
296002011-06-10 Andreas Schwab <schwab@redhat.com>
29601
29602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29603 tmpbuf.
29604
b350afab
RM
296052011-06-10 Roland McGrath <roland@hack.frob.com>
29606
decd4e50
RM
29607 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29608 * elf/Makefile ($(objpfx)ld.so): Likewise.
29609
5615eaf2
RM
29610 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29611 Don't list ld.so twice in dependencies.
29612
29613 * posix/bug-regex31.c: Include <stdlib.h>.
29614
29615 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29616
29617 * nis/nss_compat/compat-spwd.c
29618 (getspent_next_nss_netgr): Remove unused variable.
29619 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29620
29621 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29622 nonmembers" output to use the right array.
29623
29624 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29625
29626 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29627
29628 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29629 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29630 * catgets/gencat.c (read_input_file): Likewise.
29631 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29632
29633 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29634 variable definition inside #if's controlling its use.
29635
29636 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29637
29638 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29639
29640 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29641
29642 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29643 unreachable code.
29644
29645 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29646
b68e08db
RM
29647 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29648 * configure: Regenerated.
29649
b350afab
RM
29650 * Makerules: Revert last change.
29651 * elf/Makefile: Likewise.
29652
28368601
RM
296532011-06-09 Roland McGrath <roland@hack.frob.com>
29654
29655 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29656 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29657 (reloc-link): Likewise.
29658
11988f8f
UD
296592011-06-09 Ulrich Drepper <drepper@gmail.com>
29660
29661 * elf/Makefile: Add rules to build pldd.
29662 * elf/pldd.c: New file.
29663 * elf/pldd-xx.c: New file.
29664
e80fab37
UD
296652011-06-07 Ulrich Drepper <drepper@gmail.com>
29666
29667 * version.h: Update for 2.15 development version.
29668
9b849836
DM
296692011-06-07 David S. Miller <davem@davemloft.net>
29670
29671 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29672 ifuncs.
29673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29674 elf_machine_lazy_rel): Likewise.
29675 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29677 elf_machine_lazy_rel): Likewise.
29678 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29679 dl_hwcap via passed in argument.
29680 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29681 Likewise.
29682
5a31b283
AK
296832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29684
29685 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29686
069e52f8
RM
296872011-06-06 Roland McGrath <roland@hack.frob.com>
29688
29689 [BZ #12849]
29690 * manual/fdl-1.1.texi: New file, verbatim from:
29691 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29692 * manual/lgpl-2.1.texi: New file, verbatim from:
29693 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29694 * manual/Makefile (licenses): New variable, list those new file names.
29695 (texis): Use it.
29696 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29697
29698 * manual/fdl.texi: File removed.
29699 * manual/lesser.texi: File removed.
29700 * manual/libc.texinfo (Copying, Documentation License):
29701 Use new @include file names, put @appendix directive before @include.
29702
f16846a5
JJ
297032011-06-04 Jakub Jelinek <jakub@redhat.com>
29704
29705 [BZ #12841]
29706 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29707 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29708 (mq_open): Add __NTH.
29709
3d29045b
L
297102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29711
29712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29713 Assume Intel Core i3/i5/i7 processor if AVX is available.
29714
8c297311
UD
297152011-05-31 Ulrich Drepper <drepper@gmail.com>
29716
29717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29718 typo.
29719
c8fc0c91
UD
297202011-05-31 Andreas Schwab <schwab@redhat.com>
29721
29722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29723 memory. Use alloca_account. Fix memory leak when retrying.
29724
5b27a807
UD
297252011-05-31 Ulrich Drepper <drepper@gmail.com>
29726
356f8bc6
UD
29727 * version.h (RELEASE): Bump for 2.14 release.
29728 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29729
5b27a807
UD
29730 * config.make.in (RANLIB): Remove entry.
29731
01f16ab0
UD
297322011-05-30 Ulrich Drepper <drepper@gmail.com>
29733
41fce8bd
UD
29734 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29735 (libc.pot): Work around missing support for .ksh extension in xgettext.
29736
4769ae77
UD
29737 [BZ #12684]
29738 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29739 if both request failed.
29740 (send_dg): In case of server errors clear resplen or *resplen2.
29741
6b1e7d19
UD
29742 [BZ #12454]
29743 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29744 when there are multiple maps.
29745 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29746 (_dl_fini): Remove test here.
29747
01f16ab0
UD
29748 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29749
b1ebd700
UD
297502011-05-29 Ulrich Drepper <drepper@gmail.com>
29751
7ae22829
UD
29752 [BZ #12350]
29753 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29754 bit from old_res_options.
29755 (gaih_inet): Likewise.
29756
553149f6 29757 [BZ #11099]
18a84741 29758 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29759 as signed.
29760
652ffab1
UD
29761 * resolv/res_init.c (res_setoptions): Make the code more compact.
29762
16985fd0
UD
29763 [BZ #11558]
29764 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29765 set RES_USEVC.
29766
0464f746
UD
29767 [BZ #11634]
29768 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29769
7d17596c
UD
29770 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29771
cf6bbbd7
UD
29772 [BZ #11781]
29773 * malloc/malloc.h: Declare malloc hook variables as volatile.
29774
13f1ab36
UD
29775 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29776 in last patch.
29777
b1ebd700
UD
29778 [BZ #11799]
29779 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29780 raise in the comment.
80e2212d
UD
29781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29783 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29784
ce67228d
UD
297852011-05-28 Ulrich Drepper <drepper@gmail.com>
29786
8887a920
UD
29787 [BZ #12811]
29788 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29789 grow the buffers more if it already has to be sufficient.
29790 (build_wcs_upper_buffer): Likewise.
29791 * posix/regexec.c (check_matching): Likewise.
29792 (clean_state_log_if_needed): Likewise.
29793 (extend_buffers): Don't enlarge buffers beyond size of the input
29794 buffer.
29795 Patches mostly by Emil Wojak <emil@wojak.eu>.
29796 * posix/bug-regex32.c: New file.
29797 * posix/Makefile (tests): Add bug-regex32.
29798
4f031072
UD
29799 * locale/findlocale.c (_nl_find_locale): Return right away if
29800 _nl_explode_name failed.
29801 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29802
d0478f0c
UD
29803 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29804
de81b246
UD
29805 * debug/xtrace.sh: Unify messages.
29806 * malloc/memusage.sh: Likewise.
29807
c738465a
UD
29808 [BZ #12813]
29809 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29810 time symbol from vDSO. Substitute with vsyscall if not available.
29811 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29812 __vdso_time.
29813
f1f929d7
UD
29814 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29815 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29816 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29817 Add sendmmsg and internal_sendmmsg.
29818 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29819 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29821
ce67228d
UD
29822 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29823 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29825
e57420c6
UD
298262011-05-27 Ulrich Drepper <drepper@gmail.com>
29827
a8509ca5
UD
29828 [BZ #12813]
29829 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29830 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29831 available.
29832 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29833 __vdso_getcpu.
29834
e57420c6
UD
29835 [BZ #12814]
29836 * iconvdata/Makefile (tests): Add bug-iconv9.
29837 * iconvdata/bug-iconv9.c: New file.
29838
4d07db15
AS
298392011-05-27 Andreas Schwab <schwab@redhat.com>
29840
29841 [BZ #12814]
29842 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29843
ea486f69
JJ
298442011-05-25 Jakub Jelinek <jakub@redhat.com>
29845
29846 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29847 (struct user_regs_struct): Change intcs field back to cs.
29848
6f038433
UD
298492011-05-25 Ulrich Drepper <drepper@gmail.com>
29850
29851 * po/ja.po: Update from translation team.
29852
67f86a25
UD
298532011-05-23 Ulrich Drepper <drepper@gmail.com>
29854
29855 [BZ #12795]
29856 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29857 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29858
def7fbd6
AS
298592011-05-20 Andreas Schwab <schwab@redhat.com>
29860
29861 * stdlib/longlong.h: Update from GCC.
29862
f50ef8f1
AS
298632011-05-23 Andreas Schwab <schwab@redhat.com>
29864
29865 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29866 parameter name.
29867 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29868 Add parameter name.
29869 (__sysconf): Pass it down.
29870
de7ce8f1
UD
298712011-05-22 Ulrich Drepper <drepper@gmail.com>
29872
f2962a71
UD
29873 [BZ #12671]
29874 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29875 some situations.
29876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29877 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29878 add in in __libc_use_alloca calls. Adjust callers.
29879 (glob): Use malloc in some situations.
29880
de7ce8f1
UD
29881 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29882 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29883 pltexit.
29884
aec84f53
UD
298852011-05-21 Ulrich Drepper <drepper@gmail.com>
29886
05bb4a68
UD
29887 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29888 and CLOCK_BOOTTIME_ALARM.
29889
7ea72f99
UD
29890 [BZ #12782]
29891 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29892 is returned.
29893
7e4afad5
UD
29894 * string/_strerror.c (__strerror_r): Print negative errors as signed
29895 numbers.
29896
8e211fec
UD
29897 [BZ #12777]
29898 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29899 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29900 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29901
f7d82dc9
UD
29902 * configure.in: Fix typo in redirection and correct removal of test
29903 files in two cases.
29904
cc9e536d
UD
29905 [BZ #12788]
29906 * locale/setlocale.c (new_composite_name): Fix test to check for
29907 identical name of all categories.
29908
aec84f53
UD
29909 [BZ #12792]
29910 * libio/filedoalloc.c (local_isatty): New function.
29911 (_IO_file_doallocate): Use local_isatty.
29912 * stdio-common/perror.c (perror): In case a new stream is used
29913 forward the stream error.
29914 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29915 error flag.
29916
78e64fdc
RT
299172011-05-20 Ulrich Drepper <drepper@gmail.com>
29918
34a9094f
UD
29919 [BZ #11869]
29920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29921 alloca.
29922 * include/alloca.h (extend_alloca_account): Define.
29923
78e64fdc
RT
29924 [BZ #11857]
29925 * posix/regex.h: Fix comments with documentation of user-accessible
29926 fields after compilation and describe correct free'ing of pattern
29927 after re_compile_pattern.
29928 Patch by Reuben Thomas <rrt@sc3d.org>.
29929
457bddfc
RA
299302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29931
29932 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29933 and -mno-altivec to prevent the compiler from using Altivec and/or
29934 VSX instructions when the corresponding registers are not available.
29935
a4527b51
AS
299362011-05-19 Andreas Schwab <schwab@redhat.com>
29937
29938 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29939
ed690b2f
UD
299402011-05-19 Ulrich Drepper <drepper@gmail.com>
29941
29942 * libio/freopen.c (freopen): Use __dup2, not dup2.
29943 * libio/freopen64.c (freopen64): Likewise.
29944
8db73634
L
299452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29946
29947 [BZ #12775]
29948 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29949 * math/Makefile (tests): Add test-powl.
29950 (CFLAGS-test-powl.c): Define.
29951 * math/test-powl.c: New file.
29952
0a197a9d
L
299532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29954
29955 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29956
ee30c380
UD
299572011-05-17 Ulrich Drepper <drepper@gmail.com>
29958
29959 [BZ #11837]
29960 * iconvdata/gb18030.c: Update to GB18020-2005.
29961
6ce75379
UD
299622011-05-16 Ulrich Drepper <drepper@gmail.com>
29963
a4b89fd8
AR
29964 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29965 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29966 Patch by Aharon Robbins <arnold@skeeve.com>.
29967
ea389b12
UD
29968 [BZ #11892]
29969 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29970 on the stack.
29971
68a3f91f
UD
29972 [BZ #11895]
29973 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29974 through underflows.
29975
15cc7dd1
UD
29976 [BZ #12766]
29977 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29978 point to strings before performing equality test for error_one_per_line
29979 mode.
29980
f3799213
UD
29981 [BZ #11697]
29982 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29983
d79a9c94
UD
29984 [BZ #11820]
29985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29986 (struct user_fpregs_struct): Avoid __uint*_t types.
29987
56e5eb46
UD
29988 [BZ #6420]
29989 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29990 symbol info. Use it instead of calling _dl_addr locally.
29991 (lock_and_info): New function.
29992 (tr_freehook): Call lock_and_info and pass symbol info as additional
29993 parameter to tr_where.
29994 (tr_mallochook): Likewise.
29995 (tr_reallochook): Likewise.
29996 (tr_memalignhook): Likewise.
29997
6ce75379
UD
29998 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29999 used and couldn't be at all thread-safe.
30000
f8a3b5bf
UD
300012011-05-15 Ulrich Drepper <drepper@gmail.com>
30002
94b7cc37
UD
30003 * libio/freopen.c (freopen): Don't close old file descriptor
30004 before the new one is opened. Instead dup the new file descriptor
30005 to the old one after the new stream is created.
30006 * libio/freopen64.c (freopen64): Likewise.
30007 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30008 * libio/fileops.c (_IO_new_file_close_it): Handle new
30009 _IO_FLAGS2_NOCLOSE flag.
30010 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30011 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30012 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30013 _IO_FLAGS2_NOCLOSE flag.
30014 * include/unistd.h: Add hidden_proto for dup3.
30015 Define __have_dup3.
30016 * io/dup3.c: Define hidden symbol.
30017 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30018
bd25564e
UD
30019 [BZ #7101]
30020 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30021 when an incomplete long option is used.
30022 * posix/tst-getopt_long1.c: New file.
30023 * posix/Makefile (tests): Add tst-getopt_long1.
30024
c84cfef4
UD
30025 [BZ #10138]
30026 * scripts/config.guess: Update from autoconf-2.68.
30027 * scripts/config.sub: Likewise.
30028
3b85df27
UD
30029 [BZ #10157]
30030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30031 tests into ...
30032 (has_cpuclock): ...this. New function.
30033 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30034 macro here based on has_cpuclock code.
30035
15a856b1
UD
30036 [BZ #10149]
30037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30038 First byte (not low byte) is now always NUL.
30039 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30040
05f399e6
UD
30041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30042 Use non-cancelable interfaces.
30043
10a52685 30044 [BZ #9809]
94ecc67d
UD
30045 * locale/iso-639.def: Add entry for Sorani.
30046
f8a3b5bf
UD
30047 [BZ #11901]
30048 * include/stdlib.h: Move include protection to the right place.
30049 Define abort_msg_s. Declare __abort_msg with it.
30050 * stdlib/abort.c (__abort_msg): Adjust type.
30051 * assert/assert.c (__assert_fail_base): New function. Majority
30052 of code from __assert_fail. Allocate memory for __abort_msg with
30053 mmap.
30054 (__assert_fail): Now call __assert_fail_base.
30055 * assert/assert-perr.c: Remove bulk of implementation. Use
30056 __assert_fail_base.
30057 * include/assert.hL Declare __assert_fail_base.
30058 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30059 mmap.
30060 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30061
1af4e298
UD
300622011-05-14 Ulrich Drepper <drepper@gmail.com>
30063
f8a3b5bf 30064 [BZ #11952]
d26dfc60
MG
30065 [BZ #12453]
30066 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30067 until all modules are registered in the DTV.
30068 * elf/Makefile: Add rules to build and run tst-tls19.
30069 * elf/tst-tls19.c: New file.
30070 * elf/tst-tls19mod1.c: New file.
30071 * elf/tst-tls19mod2.c: New file.
30072 * elf/tst-tls19mod3.c: New file.
30073 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30074
2fc54d6f
UD
30075 [BZ #12083]
30076 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30077 correctly.
30078
98d76b46
UD
30079 [BZ #12601]
30080 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30081 two-byte sequence errors.
30082 * iconvdata/Makefile (tests): Add bug-iconv8.
30083 * iconvdata/bug-iconv8.c: New file.
30084
da3c19ef
UD
30085 [BZ #12626]
30086 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30087 buf2 definition.
30088
ca408c15
UD
30089 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30090
d6f67f7d
UD
30091 [BZ #12432]
30092 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30093 (dummy_getcfa): New function.
30094 (init): Get _Unwind_GetCFA address, use dummy if not found.
30095 (backtrace_helper): In recursion check, also check whether CFA changes.
30096 (__backtrace): Completely initialize arg.
30097
1af4e298 30098 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30099 storing incomplete byte sequence in state object. Avoid testing for
30100 guaranteed too small input if we know there is enough data available.
1af4e298 30101
da62f81b
AS
301022011-05-11 Andreas Schwab <schwab@redhat.com>
30103
30104 * Makeconfig (+link-pie): Indent.
30105 * Rules (binaries-pie): Define if $(have-fpie) and
30106 $(build-shared).
30107 (binaries-shared): Also filter out $(binaries-pie).
30108 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30109 * nscd/Makefile (others-pie): Add nscd.
30110 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30111 ($(objpfx)nscd): Remove command override.
30112 * login/Makefile (others-pie): Add pt_chown.
30113 ($(objpfx)pt_chown): Remove command override.
30114 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30115 remove command overrides.
30116
fcabc0f8
UD
301172011-05-13 Ulrich Drepper <drepper@gmail.com>
30118
20030ae6
UD
30119 * libio/tst_putwc.c: Fix error messages.
30120
fcabc0f8
UD
30121 [BZ #12724]
30122 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30123 currently writing and seek to current position when not.
30124 * libio/Makefile (tests): Add bug-fclose1.
30125 * libio/bug-fclose1.c: New file.
30126
320a5dc0
PB
301272011-05-12 Ulrich Drepper <drepper@gmail.com>
30128
30129 [BZ #12511]
30130 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30131 don't set DF_1_NODELETE here.
30132 (do_lookup_x): When entering new entry test for copy relocation
30133 and if necessary set DF_1_NODELETE flag.
30134 * elf/tst-unique4.cc: New file.
30135 * elf/tst-unique4.h: New file.
30136 * elf/tst-unique4lib.cc: New file.
30137 * elf/Makefile: Add rules to build and run tst-unique4.
30138 Patch by Piotr Bury <pbury@goahead.com>.
30139
22836f52
UD
301402011-05-11 Ulrich Drepper <drepper@gmail.com>
30141
f574184a
UD
30142 [BZ #12052]
30143 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30144
e1fb097f
UD
30145 [BZ #12625]
30146 * misc/mntent_r.c (addmntent): Flush the stream after the output
30147
22836f52
UD
30148 [BZ #12393]
30149 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30150 (is_trusted_path_normalize): Skip initial colon. Append slash
30151 to empty buffer. Duplicate is_trusted_path code but allow
30152 constructed patch to be prefix.
30153 (is_dst): Allow $ORIGIN followed by /.
30154 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30155 Correct testing of result of is_trusted_path_normalize
30156 (decompose_rpath): Fix warning.
30157
7b3b0b2a
UD
301582011-05-10 Ulrich Drepper <drepper@gmail.com>
30159
30160 [BZ #11257]
30161 * grp/initgroups.c (internal_getgrouplist): When we found the service
30162 list through the initgroups entry in nsswitch.conf do not always
30163 continue on a successful lookup. Don't always use the
eac80ce2 30164 __nss_group_database value if it is set.
7b3b0b2a
UD
30165 * nss/nsswitch.conf (initgroups): Change action for successful db
30166 lookup to continue for compatibility.
30167
2a81eaa5
UD
301682011-05-09 Ulrich Drepper <drepper@gmail.com>
30169
be97a69e
UD
30170 [BZ #11532]
30171 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30172 and CP774 modules.
30173 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30174 and CP774 modules.
30175 * iconvdata/tst-tables.sh: Likewise.
30176 * iconvdata/cp770.c: New file.
30177 * iconvdata/cp771.c: New file.
30178 * iconvdata/cp772.c: New file.
30179 * iconvdata/cp773.c: New file.
30180 * iconvdata/cp774.c: New file.
30181 * iconvdata/testdata/CP770: New file.
30182 * iconvdata/testdata/CP770..UTF8: New file.
30183 * iconvdata/testdata/CP771: New file.
30184 * iconvdata/testdata/CP771..UTF8: New file.
30185 * iconvdata/testdata/CP772: New file.
30186 * iconvdata/testdata/CP772..UTF8: New file.
30187 * iconvdata/testdata/CP773: New file.
30188 * iconvdata/testdata/CP773..UTF8: New file.
30189 * iconvdata/testdata/CP774: New file.
30190 * iconvdata/testdata/CP774..UTF8: New file.
30191
30192 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30193 END CHARMAP line.
30194 * iconvdata/gen-8bit-gap.sh: Likewise.
30195 * iconvdata/gen-8bit.sh: Likewise.
30196
c1e9e399
UD
30197 * locale/iso-639.def: Add ary entry.
30198
24c55fb3 30199 [BZ #11258]
96b4b1b0
UD
30200 * locale/C-translit.h.in: Add U20A1 transliteration.
30201
bdc2f971
KB
30202 [BZ #12178]
30203 * locale/iso-639.def: Add wae entry.
30204 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30205
2952b117
UD
30206 [BZ #12545]
30207 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30208 for n.
30209
2a81eaa5
UD
30210 [BZ #12711]
30211 * locale/C-translit.h.in: Add entry for U20B9.
30212 Patch by pravin.d.s@gmail.com.
30213
28377d1b
UD
302142011-05-08 Ulrich Drepper <drepper@gmail.com>
30215
7fb90fb8
UD
30216 [BZ #12713]
30217 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30218 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30219 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30220 in rtld. Use *stat64.
7fb90fb8 30221 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30222 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30223 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30224 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30225 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30226 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30227 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30228 __fstatat64 macros.
7fb90fb8
UD
30229 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30230 * dirent/rewinddir.c: Add libc_hidden_def.
30231 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30232 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30233
28377d1b
UD
30234 * include/dirent.h (__alloc_dir): Add flags parameter.
30235 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30236 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30237 __alloc_dir.
30238 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30239 from fdopendir if O_CLOEXEC is already set.
30240
66bdbaa4
AM
302412011-03-15 Alan Modra <amodra@gmail.com>
30242
30243 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30244 l_tls_firstbyte_offset non-zero. Save padding offset in
30245 l_tls_firstbyte_offset for later use.
30246 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30247 freeing static tls block.
30248
95721191
JN
302492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30250
30251 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30252 where #ifdef was intended. The intent is to prevent ARG_MAX from
30253 being defined by the kernel headers.
30254
f87dfb1f
UD
302552011-05-07 Ulrich Drepper <drepper@gmail.com>
30256
30257 [BZ #12734]
30258 * resolv/resolv.h: Define RES_NOTLDQUERY.
30259 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30260 no-tld-query and set RES_NOTLDQUERY.
30261 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30262 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30263 modern BIND to search name as TLD unless forbidden.
30264
47c3cd7a
UD
302652011-05-07 Petr Baudis <pasky@suse.cz>
30266 Ulrich Drepper <drepper@gmail.com>
30267
30268 [BZ #12393]
30269 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30270 (is_trusted_path): ...to here.
c1e9ea35 30271 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30272 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30273 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30274
8a35c912
PP
302752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30276
30277 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30278 __BEGIN/__END_DECLS.
30279
acd41f47
UD
302802011-05-06 Ulrich Drepper <drepper@gmail.com>
30281
30282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30283 NSS_STATUS_NOTFOUND if no record was found.
30284
597df647
AS
302852011-05-05 Andreas Schwab <schwab@redhat.com>
30286
30287 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30288 (headers-not-in-tirpc): Remove rpc/netdb.h
30289 * resolv/netdb.h: Revert last change.
30290
b9af1301
PP
302912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30292
30293 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30294 circular dependency between libgcc.a and libc.a.
30295
4e34d5f5
AS
302962011-05-05 Andreas Schwab <schwab@redhat.com>
30297
30298 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30299 * nis/Makefile: Don't install rpcsvc/*.
30300 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30301 instead of <rpc/types.h>.
30302 (MAXHOSTNAMELEN): Define.
30303
00ee369c
AS
303042011-05-03 Andreas Schwab <schwab@redhat.com>
30305
30306 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30307
0b592a30
MB
303082011-04-28 Maciej Babinski <mbabinski@google.com>
30309
30310 [BZ #12714]
30311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30312 gethostbyname4_r when IPv6 results are possible.
30313
6e04cbbe
UD
303142011-05-02 Ulrich Drepper <drepper@gmail.com>
30315
30316 [BZ #12723]
30317 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30318 _PC_PIPE_BUF handling.
30319
e4ecafe0
BH
303202011-04-30 Bruno Haible <bruno@clisp.org>
30321
30322 [BZ #12717]
30323 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30324 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30325 to 'int'.
30326 * inet/getnameinfo.c (getnameinfo): Likewise.
30327
125ee683
UD
303282011-04-29 Ulrich Drepper <drepper@gmail.com>
30329
30330 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30331 to groups setting in database lookup.
30332 * nss/nsswitch.conf: Add initgroups entry.
30333
b722481a
EB
303342011-04-22 Ulrich Drepper <drepper@gmail.com>
30335
30336 [BZ #12685]
30337 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30338 mode string.
30339 Patch by Eric Blake <eblake@redhat.com>.
30340
4df46dbd
L
303412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30342
30343 * sunrpc/Makefile (need-export-routines): Add svc_run.
30344 (routines): Remove svc_run.
30345 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30346 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30347 * sunrpc/svc_run.c (svc_run): Likewise.
30348 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30349
e84142d2
UD
303502011-04-21 Ulrich Drepper <drepper@gmail.com>
30351
30352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30353 problem in reallocation in last patch.
30354
877175d8
UD
303552011-04-20 Ulrich Drepper <drepper@gmail.com>
30356
30357 * sunrpc/Makefile: Move inclusion of Rules.
30358
ab8eed78
UD
303592011-04-19 Ulrich Drepper <drepper@gmail.com>
30360
30361 * nss/nss_files/files-initgroups.c: New file.
30362 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30363 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30364 _nss_files_initgroups_dyn.
30365
e3d8f584
RS
303662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30367
30368 * elf/elf.h (R_ARM_IRELATIVE): Define.
30369
af190f45
UD
303702011-04-19 Ulrich Drepper <drepper@gmail.com>
30371
30372 * po/ru.po: Update from translation team.
30373
53cf59ef
UD
303742011-04-17 Ulrich Drepper <drepper@gmail.com>
30375
30376 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30377 dependencies.
30378
4c559bcd
MF
303792011-02-06 Mike Frysinger <vapier@gentoo.org>
30380
30381 [BZ #12653]
30382 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30383 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30387
4420675c
AS
303882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30389
30390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30391 differing bytes.
30392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30395
75ea32ab
UD
303962011-04-17 Ulrich Drepper <drepper@gmail.com>
30397
30398 [BZ #12420]
30399 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30400 storing it.
30401 * stdlib/bug-getcontext.c: New file.
30402 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30403
27390476
AK
304042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30405
30406 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30407 instructions into .machine "z9-109".
30408 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30409 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30410
10442705
AK
304112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30412
30413 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30414 between environment variables and auxiliary vector.
30415
7b57bfe5
UD
304162011-04-16 Ulrich Drepper <drepper@gmail.com>
30417
30418 * Makefile: Add rules to build linkobj/libc.so.
30419 * include/libc-symbols.h: Define libc_hidden_nolink.
30420 * include/rpc/auth.h: Mark functions which are to be hidden.
30421 * include/rpc/auth_des.h: Likewise.
30422 * include/rpc/auth_unix.h: Likewise.
30423 * include/rpc/clnt.h: Likewise.
30424 * include/rpc/des_crypt.h: Likewise.
30425 * include/rpc/key_prot.h: Likewise.
30426 * include/rpc/pmap_clnt.h: Likewise.
30427 * include/rpc/pmap_prot.h: Likewise.
30428 * include/rpc/pmap_rmt.h: Likewise.
30429 * include/rpc/rpc_msg.h: Likewise.
30430 * include/rpc/svc.h: Likewise.
30431 * include/rpc/svc_auth.h: Likewise.
30432 * include/rpc/xdr.h: Likewise.
30433 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30434 * nss/Makefile: Likewise.
30435 * sunrpc/Makefile: Don't install headers. Build library with normal
30436 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30437 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30438 for the compat linking library. Remove use of INTDEF/INTUSE.
30439 * sunrpc/auth_none.c: Likewise.
30440 * sunrpc/auth_unix.c: Likewise.
30441 * sunrpc/authdes_prot.c: Likewise.
30442 * sunrpc/authuxprot.c: Likewise.
30443 * sunrpc/clnt_gen.c: Likewise.
30444 * sunrpc/clnt_perr.c: Likewise.
30445 * sunrpc/clnt_raw.c: Likewise.
30446 * sunrpc/clnt_simp.c: Likewise.
30447 * sunrpc/clnt_tcp.c: Likewise.
30448 * sunrpc/clnt_udp.c: Likewise.
30449 * sunrpc/clnt_unix.c: Likewise.
30450 * sunrpc/des_crypt.c: Likewise.
30451 * sunrpc/des_soft.c: Likewise.
30452 * sunrpc/get_myaddr.c: Likewise.
30453 * sunrpc/key_call.c: Likewise.
30454 * sunrpc/key_prot.c: Likewise.
30455 * sunrpc/netname.c: Likewise.
30456 * sunrpc/pm_getmaps.c: Likewise.
30457 * sunrpc/pm_getport.c: Likewise.
30458 * sunrpc/pmap_clnt.c: Likewise.
30459 * sunrpc/pmap_prot.c: Likewise.
30460 * sunrpc/pmap_prot2.c: Likewise.
30461 * sunrpc/pmap_rmt.c: Likewise.
30462 * sunrpc/publickey.c: Likewise.
30463 * sunrpc/rpc_cmsg.c: Likewise.
30464 * sunrpc/rpc_common.c: Likewise.
30465 * sunrpc/rpc_dtable.c: Likewise.
30466 * sunrpc/rpc_prot.c: Likewise.
30467 * sunrpc/rpc_thread.c: Likewise.
30468 * sunrpc/rtime.c: Likewise.
30469 * sunrpc/svc.c: Likewise.
30470 * sunrpc/svc_auth.c: Likewise.
30471 * sunrpc/svc_authux.c: Likewise.
30472 * sunrpc/svc_raw.c: Likewise.
30473 * sunrpc/svc_run.c: Likewise.
30474 * sunrpc/svc_simple.c: Likewise.
30475 * sunrpc/svc_tcp.c: Likewise.
30476 * sunrpc/svc_udp.c: Likewise.
30477 * sunrpc/svc_unix.c: Likewise.
30478 * sunrpc/svcauth_des.c: Likewise.
30479 * sunrpc/xcrypt.c: Likewise.
30480 * sunrpc/xdr.c: Likewise.
30481 * sunrpc/xdr_array.c: Likewise.
30482 * sunrpc/xdr_float.c: Likewise.
30483 * sunrpc/xdr_intXX_t.c: Likewise.
30484 * sunrpc/xdr_mem.c: Likewise.
30485 * sunrpc/xdr_rec.c: Likewise.
30486 * sunrpc/xdr_ref.c: Likewise.
30487 * sunrpc/xdr_sizeof.c: Likewise.
30488 * sunrpc/xdr_stdio.c: Likewise.
30489
e6c61494
UD
304902011-04-10 Ulrich Drepper <drepper@gmail.com>
30491
30492 [BZ #12650]
30493 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30494 * sysdeps/ia64/dl-tls.h: Likewise.
30495 * sysdeps/powerpc/dl-tls.h: Likewise.
30496 * sysdeps/s390/dl-tls.h: Likewise.
30497 * sysdeps/sh/dl-tls.h: Likewise.
30498 * sysdeps/sparc/dl-tls.h: Likewise.
30499 * sysdeps/x86_64/dl-tls.h: Likewise.
30500 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30501
34fe483e
AS
305022011-03-14 Andreas Schwab <schwab@redhat.com>
30503
30504 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30505 rpath element also skip the following colon.
30506 (expand_dynamic_string_token): Add is_path parameter and pass
30507 down to DL_DST_REQUIRED and _dl_dst_substitute.
30508 (decompose_rpath): Call expand_dynamic_string_token with
30509 non-zero is_path. Ignore empty rpaths.
30510 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30511 with zero is_path.
30512
f12a32e6
AS
305132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30514
30515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30516 Make cancelable.
30517
38a7d692
UD
305182011-04-09 Ulrich Drepper <drepper@gmail.com>
30519
30520 [BZ #12655]
30521 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30522 Patch by Filipe David Manana <fdmanana@apache.org>.
30523
e451d22b
AS
305242011-04-07 Andreas Schwab <schwab@redhat.com>
30525
30526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30527 Maintain aligned stack.
30528 (CHECK_RSP): Remove unused macro.
30529
dedc7c7b
UD
305302011-04-03 Ulrich Drepper <drepper@gmail.com>
30531
30532 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30533 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30534
94521213
UD
305352011-04-02 Ulrich Drepper <drepper@gmail.com>
30536
30537 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30538
8cb700c0 30539 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30540
0354e355
L
305412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30542
30543 [BZ #12518]
30544 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30545 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30546 * sysdeps/x86_64/memmove.c: New file.
30547 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30548 (memcpy): Renamed to ...
30549 (__new_memcpy): This.
30550 (memcpy): Provide GLIBC_2_14 memcpy.
30551 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30552 (memcpy): Provide GLIBC_2_2_5 memcpy.
30553
8593482f
UD
305542011-04-01 Ulrich Drepper <drepper@gmail.com>
30555
30556 [BZ #12631]
30557 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30558
81a5726b
AS
305592011-03-30 Andreas Schwab <schwab@redhat.com>
30560
30561 * misc/syncfs.c: New file.
30562 * misc/Makefile (routines): Add syncfs.
30563 * posix/unistd.h: Declare syncfs.
30564 * sysdeps/unix/syscalls.list: Add syncfs.
30565
00e5419f
AS
305662011-04-01 Andreas Schwab <schwab@redhat.com>
30567
30568 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30569 open_by_handle_at.
30570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30575 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30577
748876bf
UD
305782011-04-01 Ulrich Drepper <drepper@gmail.com>
30579
658e451d
UD
30580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30582 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30587
748876bf
UD
30588 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30589 sync_file_range.c with -fexceptions.
30590 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30591 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30592 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30593 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30594 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30595 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30597 sync_file_range as cancellation point
30598 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30599 now a wrapper around __call_sync_file_range with cancellation handling.
30600 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30601 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30602 function name to __call_sync_file_range.
30603 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30604 Add call_sync_file_range.
748876bf 30605
6e63d5e1
AS
306062011-04-01 Andreas Schwab <schwab@redhat.com>
30607
30608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30609 bits/timex.h.
6e63d5e1 30610
46998f74
UD
306112011-04-01 Ulrich Drepper <drepper@gmail.com>
30612
4c1423ed
UD
30613 * iconv/iconv.h: Fix typo in comment.
30614 * io/fcntl.h: Likewise.
30615 * libio/stdio.h: Likewise.
30616 * posix/spawn.h: Likewise.
30617 * posix/unistd.h: Likewise.
30618 * stdlib/stdlib.h: Likewise.
30619 * time/time.h: Likewise.
30620 * wcsmbs/wchar.h: Likewise.
30621
158648c0
UD
30622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30623 open_by_handle): Add.
30624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30625 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30626 Augment a few comments.
30627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30632 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30633 open_by_handle.
30634
46998f74
UD
30635 * io/fcntl.h (AT_EMPTY_PATH): Define.
30636
83fe108b
UD
306372011-03-30 Ulrich Drepper <drepper@gmail.com>
30638
30639 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30640 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30641 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30642 to...
30643 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30644 * Versions.def: Add GLIBC_2.14.
30645 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30646 Export.
83fe108b 30647
bb242059
UD
306482011-03-22 Ulrich Drepper <drepper@gmail.com>
30649
30650 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30651 round counter.
30652 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30653
c97a1282
L
306542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30655
30656 [BZ #12597]
30657 * string/test-strncmp.c (do_page_test): New function.
30658 (check2): Likewise.
30659 (test_main): Call check2.
30660 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30661
2a115601
UD
306622011-03-20 Ulrich Drepper <drepper@gmail.com>
30663
30664 [BZ #12587]
30665 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30666 Handle cache information in CPU leaf 4.
30667 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30668
8126d904
UD
306692011-03-18 Ulrich Drepper <drepper@gmail.com>
30670
042c49c6 30671 [BZ #12583]
8126d904
UD
30672 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30673 character representation.
30674 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30675
ccfe366e
RA
306762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30677
30678 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30679 END(__isnan) to END(__isnanf) to match function entry point/label
30680 EALIGN(__isnanf,...).
30681
c6e13027
JJ
306822011-03-10 Jakub Jelinek <jakub@redhat.com>
30683
30684 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30685
33f85a3f
UD
306862011-03-10 Ulrich Drepper <drepper@gmail.com>
30687
028478fa
UD
30688 [BZ #12510]
30689 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30690 copy from the symbol referenced in the relocation to initialize the
30691 used variable.
30692 Patch by Piotr Bury <pbury@goahead.com>.
30693 * elf/Makefile: Add rules to build and tst-unique3.
30694 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30695 * elf/tst-unique3.cc: New file.
30696 * elf/tst-unique3.h: New file.
30697 * elf/tst-unique3lib.cc: New file.
30698 * elf/tst-unique3lib2.cc: New file.
30699
33f85a3f
UD
30700 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30701
03592fc7
MF
307022011-03-10 Mike Frysinger <vapier@gentoo.org>
30703
30704 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30705 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30706 to _start.
03592fc7 30707
6a5ee102
UD
307082011-03-06 Ulrich Drepper <drepper@gmail.com>
30709
30710 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30711 to-be-loaded object along a path to loader is ld.so.
30712
7e4ba49c
HJ
307132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30714 Ulrich Drepper <drepper@gmail.com>
30715
30716 * sysdeps/x86_64/memset.S: After aligning destination, code
30717 branches to different locations depending on the value of
30718 misalignment, when multiarch is enabled. Fix this.
30719
307202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30721
30722 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30723 Set _x86_64_preferred_memory_instruction for AMD processsors.
30724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30725 Set bit_Prefer_SSE_for_memop for AMD processors.
30726
13a804de
UD
307272011-03-04 Ulrich Drepper <drepper@gmail.com>
30728
30729 * libio/fmemopen.c (fmemopen): Optimize a bit.
30730
9d25c392
AS
307312011-03-03 Andreas Schwab <schwab@redhat.com>
30732
30733 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30734
a5543c6a
RM
307352011-03-03 Roland McGrath <roland@redhat.com>
30736
30737 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30738
012d35f7
DM
307392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30740
7e4ba49c 30741 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30742 __bzero_ultra1 instead of __memset_ultra1.
30743
4bff6e01
AS
307442011-02-23 Andreas Schwab <schwab@redhat.com>
30745 Ulrich Drepper <drepper@gmail.com>
30746
30747 [BZ #12509]
30748 * include/link.h (struct link_map): Add l_orig_initfini.
30749 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30750 returning unsuccessfully.
30751 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30752 close of a file loaded at startup, restore the original l_initfini
30753 list.
30754 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30755 list, store the pointer.
30756 * elf/Makefile ($(objpfx)noload-mem): New rule.
30757 (noload-ENV): Define.
30758 (tests): Add $(objpfx)noload-mem.
30759 * elf/noload.c: Include <memcheck.h>.
30760 (main): Call mtrace. Close all opened handles.
30761
f2092faf
AS
307622011-02-17 Andreas Schwab <schwab@redhat.com>
30763
30764 [BZ #12454]
30765 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30766 dependencies are missing.
30767
6c8a2e88
ST
307682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30769
f2092faf 30770 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30771 Hurd needs munmap.
30772 * sysdeps/mach/hurd/ifreq.h: New file.
30773
84a42118
PB
307742011-01-27 Petr Baudis <pasky@suse.cz>
30775 Ulrich Drepper <drepper@gmail.com>
30776
071f805e 30777 [BZ 12445]#
84a42118
PB
30778 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30779 to extend_alloca().
30780 * stdio-common/bug23.c: New file.
30781 * stdio-common/Makefile (tests): Add bug23.
30782
e23fe25b
AS
307832010-09-28 Andreas Schwab <schwab@redhat.com>
30784 Ulrich Drepper <drepper@gmail.com>
30785
30786 [BZ #12489]
30787 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30788 before performing relro protection. At old place add assertion
30789 to make sure nothing changed.
30790
d3f02e10
NS
307912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30792 Glauber de Oliveira Costa <glommer@gmail.com>
30793
30794 * elf/elf.h: Add new ARM TLS relocs.
30795
d55fd7a5
RA
307962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30797
30798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30799 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30800 cast from r3.
30801 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30802 'tests' variable.
30803 * sysdeps/wordsize-64/tst-writev.c: New file.
30804
2206397e
RA
308052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30806
30807 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30808 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30809 insns in _dl_start to prevent a TOC reference before relocs are
30810 resolved.
30811
e9433893
UD
308122011-02-15 Ulrich Drepper <drepper@gmail.com>
30813
30814 [BZ #12469]
30815 * Makeconfig: Remove RANLIB definition.
30816 * Makerules: Don't use RANLIB.
30817 * aclocal.m4: Remove ranlib test.
30818 * configure.in: No need to check for ranlib.
30819 * elf/rtld-Rules: Don't use RANLIB.
30820
f75286c6
ST
308212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30822
8e31c82d
ST
30823 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30824 protection macro.
30825 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30826 inclusion protection macro.
30827
f75286c6
ST
30828 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30829 SIGRTMIN and SIGRTMAX and print information in that case only when
30830 SIGRTMIN is defined.
30831
c1d0e639
JJ
308322011-02-11 Jakub Jelinek <jakub@redhat.com>
30833
30834 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30835 arginfo fn returning -1.
30836
30837 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30838 and thousands string is zero terminated.
30839
edf9294e
AS
308402011-02-03 Andreas Schwab <schwab@redhat.com>
30841
30842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30843 sysdeps/unix/sysv/linux/bits/socket.h.
30844
2b7e92df
ST
308452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30846
edf9294e
AS
30847 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30848 (__CPU_COUNT): Remove old macros.
30849 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30850 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30851 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30852 (__sched_cpualloc, __sched_cpufree): Add declarations.
30853
a4c7ea7b
UD
308542011-02-05 Ulrich Drepper <drepper@gmail.com>
30855
30856 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30857 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30858 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30859 (readdhstai): Return value of addhstaiX call.
30860 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30861 (addgrbyX): Return value returned by cache_addgr.
30862 (readdgrbyname): Return value returned by addgrbyX.
30863 (readdgrbygid): Likewise.
30864 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30865 (addpwbyX): Return value returned by cache_addpw.
30866 (readdpwbyname): Return value returned by addhstbyX.
30867 (readdpwbyuid): Likewise.
30868 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30869 (addservbyX): Return value returned by cache_addserv.
30870 (readdservbyname): Return value returned by addservbyX:
30871 (readdservbyport): Likewise.
30872 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30873 (addhstbyX): Return value returned by cache_addhst.
30874 (readdhstbyname): Return value returned by addhstbyX.
30875 (readdhstbyaddr): Likewise.
30876 (readdhstbynamev6): Likewise.
30877 (readdhstbyaddrv6): Likewise.
30878 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30879 (readdinitgroups): Return value returned by addinitgroupsX.
30880 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30881 (prune_cache): Keep track of timeout value of re-added entries.
30882 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30883 * nscd/nscd.h: Adjust prototypes of readd* functions.
30884
a0bf67cc
RM
308852011-02-04 Roland McGrath <roland@redhat.com>
30886
30887 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30888 (nis_stats): Likewise.
30889 * nis/nis_modify.c (nis_modify): Likewise.
30890 * nis/nis_remove.c (nis_remove): Likewise.
30891 * nis/nis_add.c (nis_add): Likewise.
30892
30893 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30894
30895 * posix/fnmatch_loop.c: Add some consts.
30896
30897 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30898
435b95eb
L
308992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30900
30901 [BZ #12460]
30902 * config.make.in (config-cflags-novzeroupper): Define.
30903 * configure.in: Substitute libc_cv_cc_novzeroupper.
30904 * elf/Makefile (AVX-CFLAGS): Define.
30905 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30906 (CFLAGS-tst-auditmod4a.c): Likewise.
30907 (CFLAGS-tst-auditmod4b.c): Likewise.
30908 (CFLAGS-tst-auditmod6b.c): Likewise.
30909 (CFLAGS-tst-auditmod6c.c): Likewise.
30910 (CFLAGS-tst-auditmod7b.c): Likewise.
30911 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30912
8517b15e
UD
309132011-02-02 Ulrich Drepper <drepper@gmail.com>
30914
30915 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30916 function to the callback.
30917 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30918
10a656fe
AS
309192011-02-02 Andreas Schwab <schwab@redhat.com>
30920
30921 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30922 of errno.
30923
968dad0a
UD
309242011-01-19 Ulrich Drepper <drepper@gmail.com>
30925
9f94d2ea 30926 [BZ #11724]
968dad0a
UD
30927 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30928 of constructors.
30929 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30930 of destructors.
30931 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30932
30933 [BZ #11724]
30934 * elf/Makefile: Add rules to build and run new test.
30935 * elf/tst-initorder.c: New file.
30936 * elf/tst-initorder.exp: New file.
30937 * elf/tst-initordera1.c: New file.
30938 * elf/tst-initordera2.c: New file.
30939 * elf/tst-initordera3.c: New file.
30940 * elf/tst-initordera4.c: New file.
30941 * elf/tst-initorderb1.c: New file.
30942 * elf/tst-initorderb2.c: New file.
30943 * elf/tst-order-a1.c: New file.
30944 * elf/tst-order-a2.c: New file.
30945 * elf/tst-order-a3.c: New file.
30946 * elf/tst-order-a4.c: New file.
30947 * elf/tst-order-b1.c: New file.
30948 * elf/tst-order-b2.c: New file.
30949 * elf/tst-order-main.c: New file.
30950 New test case by George Gensure <werkt0@gmail.com>.
30951
86e92359
UD
309522010-10-01 Andreas Schwab <schwab@redhat.com>
30953
30954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30955 decoding ACE if AI_CANONIDN.
30956
5d5732b0
UD
309572011-01-18 Ulrich Drepper <drepper@gmail.com>
30958
30959 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30960
a77e8cbc
UD
309612011-01-17 Ulrich Drepper <drepper@gmail.com>
30962
6392473f
UD
30963 * version.h (RELEASE): Bump for 2.13 release.
30964 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30965
620a0529
UD
30966 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30967
18ba70a5
UD
30968 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30969 MADV_NOHUGEPAGE.
32465c3e
UD
30970 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30972 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30973 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30976
c0dafcf1
UD
30977 * posix/getconf.c: Update copyright year.
30978 * catgets/gencat.c: Likewise.
30979 * csu/version.c: Likewise.
30980 * debug/catchsegv.sh: Likewise.
30981 * debug/xtrace.sh: Likewise.
30982 * elf/ldconfig.c: Likewise.
30983 * elf/ldd.bash.in: Likewise.
30984 * elf/sprof.c (print_version): Likewise.
30985 * iconv/iconv_prog.c: Likewise.
30986 * iconv/iconvconfig.c: Likewise.
30987 * locale/programs/locale.c: Likewise.
30988 * locale/programs/localedef.c: Likewise.
30989 * malloc/memusage.sh: Likewise.
30990 * malloc/mtrace.pl: Likewise.
30991 * nscd/nscd.c (print_version): Likewise.
30992 * nss/getent.c: Likewise.
30993
a77e8cbc
UD
30994 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30995 PF_CAIF, and PF_ALG.
30996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30997
77e8bddf
AS
309982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30999
1f20b93a
AS
31000 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31001 (modules-names): Use them.
31002 (ifunc-test-modules, ifunc-pie-tests): Define.
31003 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31004 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31005 (test-extras): Likewise.
31006 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31007 $(compile-command.c).
31008 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31009 (all-built-dso): Define.
31010 (check-textrel.out, check-execstack.out): Depend on it.
31011
77e8bddf
AS
31012 * configure.in: Don't override --enable-multi-arch.
31013
bc425b33
UD
310142011-01-15 Ulrich Drepper <drepper@gmail.com>
31015
31016 [BZ #6812]
31017 * nscd/hstcache.c (tryagain): Define.
31018 (cache_addhst): Return tryagain not notfound for temporary errors.
31019 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31020 failed.
31021
794c3ad3
UD
310222011-01-14 Ulrich Drepper <drepper@gmail.com>
31023
70181fdd
UD
31024 [BZ #10563]
31025 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31026 to make the syscall.
31027 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31028
794c3ad3
UD
31029 [BZ #12378]
31030 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31031 and fall back to matching as normal character if the string ends before
31032 the matching ']' is found. This is what POSIX requires.
31033 * posix/testfnm.c: Adjust test result.
31034 * posix/globtest.sh: Adjust test result. Add new test.
31035 * posix/tst-fnmatch.input: Likewise.
31036 * posix/tst-fnmatch2.c: Add new test.
31037
68dc9497
AS
310382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31039
31040 * elf/Makefile (check-execstack): Revert last change. Depend on
31041 check-execstack.h.
31042 (check-execstack.h): New target.
31043 (generated): Add check-execstack.h.
31044 * elf/check-execstack.c: Include "check-execstack.h".
31045 (main): Revert last change.
31046 (handle_file): Return zero if GNU_STACK is absent and
31047 DEFAULT_STACK_PERMS doesn't include PF_X.
31048
451f001b
UD
310492011-01-13 Ulrich Drepper <drepper@gmail.com>
31050
cfa28e56
UD
31051 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31052 in child fails because the descriptor is already closed.
8cf8ce17
UD
31053 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31054 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31055 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31056
1086d70d
UD
31057 [BZ #12397]
31058 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31059 syscall.
31060
451f001b
UD
31061 [BZ #10484]
31062 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31063 temporary buffer used to handle multi lookups locally.
a85b5cb4 31064 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31065
08769175
UD
310662011-01-12 Ulrich Drepper <drepper@gmail.com>
31067
31068 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31069 loader is ld.so.
31070
5e49c52e
UD
310712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31072
31073 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31074 alignment for SSE2.
31075
60522a5f
UD
310762011-01-12 Ulrich Drepper <drepper@gmail.com>
31077
31078 [BZ #12394]
31079 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31080 characters. When rounding increased number of integer digits recompute
31081 number of groups.
31082 * stdio-common/tst-grouping.c: New file.
31083 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31084
f257bbd7
UD
310852011-01-09 Ulrich Drepper <drepper@gmail.com>
31086
31087 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31088 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31089
31090 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31091 void.
31092 * bits/select.h: Likewise.
31093
fa9c15cb
UD
310942011-01-08 Ulrich Drepper <drepper@gmail.com>
31095
31096 * po/ja.po: Update from translation team.
31097
16c2895f
DM
310982011-01-04 David S. Miller <davem@sunset.davemloft.net>
31099
31100 [BZ #11155]
31101 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31102 implementation just like for lxstat, fxstatat, et al.
31103
2543fef2
JM
311042010-12-27 Jim Meyering <meyering@redhat.com>
31105
31106 [BZ #12348]
31107 * posix/regexec.c (build_trtable): Return failure indication upon
31108 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31109
98727dbe
UD
311102010-12-25 Ulrich Drepper <drepper@gmail.com>
31111
5bd6dc5c
UD
31112 [BZ #12201]
31113 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31114 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31115 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31117
97983464
UD
31118 [BZ #12207]
31119 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31120
98727dbe
UD
31121 [BZ #12204]
31122 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31123 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31124
4a531bb0
L
311252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31126
31127 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31128 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31129 script has SORT_BY_INIT_PRIORITY.
31130 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31131 NO_CTORS_DTORS_SECTIONS is defined.
31132 * elf/soinit.c: Likewise.
31133 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31134 NO_CTORS_DTORS_SECTIONS is defined.
31135 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31136 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31137 * sysdeps/sh/init-first.c: Likewise.
31138 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31139
07eb4b71
UD
311402010-12-24 Ulrich Drepper <drepper@gmail.com>
31141
31142 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31143 always use the slow path.
31144
30950a5f
RA
311452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31146
31147 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31148 similar rule which adds the sysdep directories to the header search in
31149 order to pick up the correct platform stackinfo.h.
31150 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31151 perform test if it is, otherwise return successfully without testing.
31152 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31153 DEFAULT_STACK_PERMS define in stackinfo.h.
31154 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31155 defined in stackinfo.h.
31156 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31157 DEFAULT_STACK_PERMS defined in stackinfo.h.
31158 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31159 * sysdeps/ia64/stackinfo.h: Likewise.
31160 * sysdeps/s390/stackinfo.h: Likewise.
31161 * sysdeps/sh/stackinfo.h: Likewise.
31162 * sysdeps/sparc/stackinfo.h: Likewise.
31163 * sysdeps/x86_64/stackinfo.h: Likewise.
31164 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31165 PF_X for powerpc64. Retain PF_X for powerpc32.
31166
db753e2c
UD
311672010-12-19 Ulrich Drepper <drepper@gmail.com>
31168
14b697f7
UD
31169 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31170 accurately.
db753e2c
UD
31171 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31172 GETDENTS_64BIT_ALIGNED.
31173
28300719
UD
311742010-12-14 Ulrich Drepper <dreper@gmail.com>
31175
14b697f7 31176 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31177
4f197237
AS
311782010-12-10 Andreas Schwab <schwab@redhat.com>
31179
dbb0472f
AS
31180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31181 _GNU_SOURCE.
31182
4f197237
AS
31183 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31184 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31185 Remove __restrict.
31186 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31187 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31188
fb88ac72
UD
311892010-12-09 Ulrich Drepper <drepper@gmail.com>
31190
31191 [BZ #11655]
31192 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31193 are initialized.
31194
42acbb92
JJ
311952010-12-09 Jakub Jelinek <jakub@redhat.com>
31196
31197 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31198
c038d98d
UD
311992010-12-03 Ulrich Drepper <drepper@gmail.com>
31200
31201 * po/it.po: Update from translation team.
31202
3a4a2499
L
312032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31204
31205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31206 unused codes.
31207
1e24cf6e
UD
312082010-11-30 Ulrich Drepper <drepper@gmail.com>
31209
31210 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31211
a7690819
AS
312122010-11-24 Andreas Schwab <schwab@redhat.com>
31213
31214 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31215 specially.
31216 (gaih_getanswer_slice): Likewise.
31217
3bf8d1b1
JJ
312182010-10-20 Jakub Jelinek <jakub@redhat.com>
31219
31220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31221
6db52fbb
PB
312222010-05-31 Petr Baudis <pasky@suse.cz>
31223
31224 [BZ #11149]
31225 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31226 silently even in the chroot mode.
31227
eaca7569
UD
312282010-11-22 Ulrich Drepper <drepper@gmail.com>
31229
31230 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31231 last patch a bit. Pretty printing
31232
3056dcdb
UD
312332010-05-31 Petr Baudis <pasky@suse.cz>
31234
31235 [BZ #10085]
31236 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31237 initialization of skip_initgroups_dyn.
31238
cf7c9078
UD
312392010-11-19 Ulrich Drepper <drepper@gmail.com>
31240
31241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31243
a1fb5e3e
UD
312442010-11-16 Ulrich Drepper <drepper@gmail.com>
31245
31246 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31247
3540d66b
AS
312482010-11-11 Andreas Schwab <schwab@redhat.com>
31249
31250 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31251 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31252 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31253 ($(objpfx)tst-fnmatch-mem): New rule.
31254 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31255 * posix/tst-fnmatch.c (main): Call mtrace.
31256
13b69574
L
312572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31258
31259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31260 Support Intel processor model 6 and model 0x2c.
31261
da93d214
LM
312622010-11-10 Luis Machado <luisgpm@br.ibm.com>
31263
31264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31265 signed comparison.
31266
8ca52c6e
L
312672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31268
31269 [BZ #12205]
31270 * string/test-strncasecmp.c (check_result): New function.
31271 (do_one_test): Use it.
31272 (check1): New function.
31273 (test_main): Use it.
31274 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31275 Support strcasecmp and strncasecmp.
31276
69da074d
UD
312772010-11-08 Ulrich Drepper <drepper@gmail.com>
31278
31279 [BZ #12194]
31280 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31282
ff02d528
L
312832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31284
31285 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31286 IFUNC support.
31287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31288 memset-x86-64.
31289 * sysdeps/x86_64/multiarch/bzero.S: New file.
31290 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31291 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31292 * sysdeps/x86_64/multiarch/memset.S: New file.
31293 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31295 Set bit_Prefer_SSE_for_memop for Intel processors.
31296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31297 Define.
31298 (index_Prefer_SSE_for_memop): Define.
31299 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31300
344d0b54
LM
313012010-11-04 Luis Machado <luisgpm@br.ibm.com>
31302
31303 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31304 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31305
c0dde15b
UD
313062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31307
31308 [BZ #12191]
31309 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31310 (__x86_64_raw_data_cache_size_half): Likewise.
31311 (__x86_64_raw_shared_cache_size): Likewise.
31312 (__x86_64_raw_shared_cache_size_half): Likewise.
31313
31314 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31315 (__x86_64_raw_data_cache_size_half): Likewise.
31316 (__x86_64_raw_shared_cache_size): Likewise.
31317 (__x86_64_raw_shared_cache_size_half): Likewise.
31318 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31319 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31320 and __x86_64_raw_shared_cache_size_half. Round
31321 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31322 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31323 to multiple of 256 bytes.
31324
0e516e0e
MS
313252010-11-03 Ulrich Drepper <drepper@gmail.com>
31326
31327 [BZ #12167]
31328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31329 of inacessible symlinks. Verify result of symlink before returning it.
31330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31331 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31332
0e012e87
ER
313332010-10-28 Erich Ritz <erichritz@gmail.com>
31334
31335 * math/math.h (isinf): Fix typo in comment.
31336
de0ff7bc
UD
313372010-11-01 Ulrich Drepper <drepper@gmail.com>
31338
31339 * po/da.po: Update from translation team.
31340
fa41c84d
UD
313412010-10-26 Ulrich Drepper <drepper@gmail.com>
31342
31343 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31344 is added to the list.
31345
f0967738
AK
313462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31347 Ulrich Drepper <drepper@gmail.com>
31348
31349 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31350 the global list here. Move code to...
31351 (_dl_add_to_namespace_list): ...here. New function.
31352 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31353 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31354 * elf/dl-load.c (lose): Don't remove the element from the list.
31355 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31356 (_dl_map_object): Likewise.
31357
313582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31359
31360 [BZ #12159]
31361 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31362 into all bytes of SSE register.
31363 Patch by Richard Li <richardpku@gmail.com>.
31364
f0967738 313652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31366
31367 [BZ #12140]
31368 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31369 perturbing.
31370
d0b9e94f
MB
313712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31372
31373 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31374 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31375 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31376 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31378 submachine.
31379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31380
8e9f92e9
AS
313812010-10-22 Andreas Schwab <schwab@redhat.com>
31382
31383 * include/dlfcn.h (__RTLD_SECURE): Define.
31384 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31385 mode & __RTLD_SECURE instead.
31386 (open_path): Rename preloaded parameter to secure.
31387 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31388 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31389 * elf/dl-deps.c (openaux): Likewise.
31390 * elf/rtld.c (struct map_args): Remove is_preloaded.
31391 (map_doit): Don't use it.
31392 (dl_main): Likewise.
31393 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31394 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31395
bc96fbda
AS
313962010-09-09 Andreas Schwab <schwab@redhat.com>
31397
31398 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31399 (sysd-rules-targets): Remove duplicates.
31400 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31401 rtld-%.$o dependency.
31402
22cd1c9b
AS
314032010-10-18 Andreas Schwab <schwab@redhat.com>
31404
31405 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31406 _dl_map_object do it.
31407
18edac48
UD
314082010-10-19 Ulrich Drepper <drepper@gmail.com>
31409
31410 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31411 fast fma builtins, define the macros in the C99 standard.
31412 (FP_FAST_FMAF): Likewise.
31413 (FP_FAST_FMAL): Likewise.
31414 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31415
31416 * bits/mathdef.h: Update copyright year.
31417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31418
d2050124
MM
314192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31420
31421 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31422 builtins, define the macros in the C99 standard.
31423 (FP_FAST_FMAF): Likewise.
31424 (FP_FAST_FMAL): Likewise.
31425 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31426 multiply/add.
31427 (FP_FAST_FMAF): Likewise.
31428
475facd1
JJ
314292010-10-15 Jakub Jelinek <jakub@redhat.com>
31430
31431 [BZ #3268]
31432 * math/libm-test.inc (fma_test): Some new testcases.
31433 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31434 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31435 y and infinite z. Do multiplication by C already in long double.
31436 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31438 y and infinite z. Do bitwise or of inexact bit into u.d.
31439 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31440 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31441 * sysdeps/i386/fpu/s_fma.S: Removed.
31442 * sysdeps/i386/fpu/s_fmal.S: Removed.
31443
7c08a05c
JJ
314442010-10-16 Jakub Jelinek <jakub@redhat.com>
31445
31446 [BZ #3268]
31447 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31449 computation is not scheduled after fetestexcept. Fix value
31450 of minimum denormal long double.
31451
f3f7372d
JJ
314522010-10-14 Jakub Jelinek <jakub@redhat.com>
31453
31454 [BZ #3268]
31455 * math/libm-test.inc (fma_test): Add some more tests.
31456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31457 correctly.
31458
14d43591
AS
314592010-10-15 Andreas Schwab <schwab@redhat.com>
31460
31461 * scripts/data/localplt-s390-linux-gnu.data: New file.
31462 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31463
5e908464
JJ
314642010-10-13 Jakub Jelinek <jakub@redhat.com>
31465
31466 [BZ #3268]
31467 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31468 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31469 instead of dbl-64.
31470 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31471 inlines.
31472 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31474 if one of x and y is very large and the other is subnormal.
31475 * sysdeps/s390/fpu/s_fmaf.c: New file.
31476 * sysdeps/s390/fpu/s_fma.c: New file.
31477 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31478 * sysdeps/powerpc/fpu/s_fma.S: New file.
31479 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31480 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31481 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31482
314832010-10-12 Jakub Jelinek <jakub@redhat.com>
31484
31485 [BZ #3268]
31486 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31487 fma tests.
31488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31489 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31490 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31491 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31492 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31493 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31494 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31495
b833d51f
UD
314962010-10-12 Ulrich Drepper <drepper@redhat.com>
31497
31498 [BZ #12078]
31499 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31500 * posix/bug-regex31.input: Add test case.
31501
1751705d
UD
315022010-10-11 Ulrich Drepper <drepper@gmail.com>
31503
e9b9cbf5
UD
31504 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31505 * posix/bug-regex31.input: New file.
31506
31507 [BZ #12078]
31508 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31509 (parse_sub_exp): Fix last change, use postorder.
31510
ef06edbe
UD
31511 * posix/bug-regex31.c: New file.
31512 * posix/Makefile: Add rules to build and run bug-regex31.
31513
a129c80d
UD
31514 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31515
31516 [BZ #12078]
31517 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31518
b76b818e
UD
31519 [BZ #12108]
31520 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31521 to have entries in sys_siglist.
31522
1751705d
UD
31523 [BZ #12093]
31524 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31525 be NULL.
31526
9ff8d36f
JJ
315272010-10-07 Jakub Jelinek <jakub@redhat.com>
31528
31529 [BZ #3268]
31530 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31531 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31532 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31533 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31535 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31536 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31537 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31538 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31539 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31540 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31541 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31542 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31543 * math/ftestexcept.c (fetestexcept): Likewise.
31544 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31545 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31546 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31547 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31548 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31549 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31550 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31551
af325969
UD
315522010-10-11 Ulrich Drepper <drepper@gmail.com>
31553
c579b202 31554 [BZ #12107]
af325969
UD
31555 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31556 newline.
31557
67a67b95
UD
315582010-10-06 Ulrich Drepper <drepper@gmail.com>
31559
31560 * string/bug-strstr1.c: New file.
31561 * string/Makefile: Add rules to build and run bug-strstr1.
31562
5fb308bc
EB
315632010-10-05 Eric Blake <eblake@redhat.com>
31564
31565 [BZ #12092]
31566 * string/str-two-way.h (two_way_long_needle): Always clear memory
31567 when skipping input due to the shift table.
31568
45db99c7
UD
315692010-10-03 Ulrich Drepper <drepper@gmail.com>
31570
3b111893
UD
31571 [BZ #12005]
31572 * malloc/mcheck.c: Handle large requests.
31573
45db99c7
UD
31574 [BZ #12077]
31575 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31576 for strncmp and strncasecmp.
31577 * string/stratcliff.c: Add tests for strcmp and strncmp.
31578 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31579
cf7a1eb8
NI
315802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31581
31582 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31583 __set_fpscr.
31584
6484ba5e
AJ
315852010-09-30 Andreas Jaeger <aj@suse.de>
31586
31587 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31588 (CGROUP_SUPER_MAGIC): Define.
31589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31590 Handle btrfs and cgroup file systems.
31591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31592 Likewise.
31593
91c42559
LM
315942010-09-27 Luis Machado <luisgpm@br.ibm.com>
31595
31596 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31597 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31598
87a97932
AK
315992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31600
31601 [BZ #12067]
31602 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31603 trying to locate the ELF header.
31604
c21cc9bc
AS
316052010-09-27 Andreas Schwab <schwab@redhat.com>
31606
31607 [BZ #11611]
31608 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31609 Mask out sign-bit copies when constructing f_fsid.
31610
315970f6
PB
316112010-09-24 Petr Baudis <pasky@suse.cz>
31612
31613 * debug/stack_chk_fail_local.c: Add missing licence exception.
31614 * debug/warning-nop.c: Likewise.
31615
1ac7a2c7
JM
316162010-09-15 Joseph Myers <joseph@codesourcery.com>
31617
31618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31619 implementing getdents64 using getdents syscall, set d_type if
31620 __ASSUME_GETDENTS32_D_TYPE.
31621
56801c50
AS
316222010-09-16 Andreas Schwab <schwab@redhat.com>
31623
31624 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31625 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31626
dda51327
UD
316272010-09-21 Ulrich Drepper <drepper@redhat.com>
31628
31629 [BZ #12037]
31630 * posix/unistd.h: Undo change of feature selection for ftruncate from
31631 2010-01-11.
31632
8ffcee4a
UD
316332010-09-20 Ulrich Drepper <drepper@redhat.com>
31634
a545ecd9 31635 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31636 detection.
31637
e24f0a8b
AS
316382010-09-20 Andreas Schwab <schwab@redhat.com>
31639
31640 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31641 fanotify_mark.
31642 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31643
7291c56f
AS
316442010-09-14 Andreas Schwab <schwab@redhat.com>
31645
31646 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31647 variables after CHECK_SP call.
31648 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31649
bc5fb037
AS
316502010-09-13 Andreas Schwab <schwab@redhat.com>
31651 Ulrich Drepper <drepper@redhat.com>
31652
31653 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31654 re-relocationg ld.so.
31655 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31656 _dl_init_paths call.
31657 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31658 here anymore.
31659
e66e7419
UD
316602010-09-14 Ulrich Drepper <drepper@redhat.com>
31661
31662 * resolv/res_init.c (__res_vinit): Count the default server we added.
31663
c044aa75
CLT
316642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31665 Ulrich Drepper <drepper@redhat.com>
31666
31667 [BZ #11968]
31668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31669 (____longjmp_chk): Use %ebx for saving value across system call.
31670 Add unwind info.
31671
32cf4069
AS
316722010-09-06 Andreas Schwab <schwab@redhat.com>
31673
31674 * manual/Makefile: Don't mix pattern rules with normal rules.
31675
817328ee
AS
316762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31677
31678 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31679 operation.
31680 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31681 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31682 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31683 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31685 Likewise.
31686
29fddf61
UD
316872010-09-04 Ulrich Drepper <drepper@redhat.com>
31688
31689 [BZ #11979]
31690 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31691 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31692
0959ffc9
UD
316932010-09-02 Ulrich Drepper <drepper@redhat.com>
31694
31695 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31696 * sysdeps/x86_64/addmul_1.S: Likewise.
31697 * sysdeps/x86_64/lshift.S: Likewise.
31698 * sysdeps/x86_64/mul_1.S: Likewise.
31699 * sysdeps/x86_64/rshift.S: Likewise.
31700 * sysdeps/x86_64/sub_n.S: Likewise.
31701 * sysdeps/x86_64/submul_1.S: Likewise.
31702
ece29840
ST
317032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31704
0959ffc9
UD
31705 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31706 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31707 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31708 * bits/sched.h [__need_schedparam]
ece29840 31709 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31710 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31711 (__defined_schedparam): Define to 1.
ece29840
ST
31712 (__sched_param): New structure, identical to sched_param.
31713 (__need_schedparam): Undefine.
31714
e53a31fe
MF
317152010-08-31 Mike Frysinger <vapier@gentoo.org>
31716
fdc0c10d
MF
31717 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31718 (epoll_create1): Declare.
31719
e53a31fe
MF
31720 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31721
a726d796
AS
317222010-08-31 Andreas Schwab <schwab@redhat.com>
31723
31724 [BZ #7066]
31725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31726 shifting retval into place.
31727
2f3e3dc7
UD
317282010-09-01 Ulrich Drepper <drepper@redhat.com>
31729
f2933da9
UD
31730 * nis/rpcsvc/nis.h: Update copyright notice.
31731 * nis/rpcsvc/nis.x: Likewise.
31732 * nis/rpcsvc/nis_callback.h: Likewise.
31733 * nis/rpcsvc/nis_callback.x: Likewise.
31734 * nis/rpcsvc/nis_object.x: Likewise.
31735 * nis/rpcsvc/nis_tags.h: Likewise.
31736 * nis/rpcsvc/yp.h: Likewise.
31737 * nis/rpcsvc/yp.x: Likewise.
31738 * nis/rpcsvc/ypupd.h: Likewise.
31739 * nis/yp_xdr.c: Likewise.
31740 * nis/ypupdate_xdr.c: Likewise.
31741
2f3e3dc7
UD
31742 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31743 mainly the body of pmap_getport. Add parameters to specify timeouts.
31744 (pmap_getport): Use __libc_rpc_getport.
31745 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31746 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31747 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31748
f3dcc2f9
AS
317492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31750
31751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31752 fanotify_mark.
31753
6d34eb5b
RM
317542010-08-27 Roland McGrath <roland@redhat.com>
31755
31756 * sysdeps/i386/i686/multiarch/Makefile
31757 (CFLAGS-varshift.c): New variable.
31758
9ea3de11
UD
317592010-08-27 Ulrich Drepper <drepper@redhat.com>
31760
c96d23fc
UD
31761 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31762 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31763
9ea3de11
UD
31764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31765
31766 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31767
623aac7f
L
317682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31769
31770 * sysdeps/x86_64/strlen.S: Unroll the loop.
31771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31772 strlen-sse2 strlen-sse2-bsf.
31773 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31774 __strlen_no_bsf if bit_Slow_BSF is set.
31775 (__strlen_sse42): Removed.
31776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31777 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31778
8b2b7715
RM
317792010-08-25 Roland McGrath <roland@redhat.com>
31780
31781 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31782 * sysdeps/x86_64/multiarch/varshift.c: New file.
31783 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31784 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31785 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31786 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31787
e73015f2
L
317882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31791 strlen-sse2 strlen-sse2-bsf.
31792 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31793 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31794 (__strlen_sse2): Removed.
31795 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31798 bit_Slow_BSF for Atom.
31799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31800 (index_Slow_BSF): Define.
31801 (HAS_SLOW_BSF): Define.
31802
df24a73e
UD
318032010-08-25 Ulrich Drepper <drepper@redhat.com>
31804
31805 [BZ #10851]
31806 * resolv/res_init.c (__res_vinit): When no server address at all
31807 is given default to loopback.
31808
f2ac4868
RM
318092010-08-24 Roland McGrath <roland@redhat.com>
31810
09055553
RM
31811 * configure.in: Remove config-name.h generation.
31812 * configure: Regenerated.
31813 * config-name.in: File removed.
31814 * scripts/config-uname.sh: New file.
31815 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31816 ($(objdir)config-name.h): New target.
31817
f2ac4868
RM
31818 * sunrpc/rpc_parse.h: Avoid nested comment.
31819
73f27d5e
RH
318202010-08-24 Richard Henderson <rth@redhat.com>
31821 Ulrich Drepper <drepper@redhat.com>
31822 H.J. Lu <hongjiu.lu@intel.com>
31823
31824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31826 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31827 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31828 _mm_alignr_epi8 with _mm_loadu_si128.
31829 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31830 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31831 (__m128i_shift_right): Removed.
31832 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31833 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31834 * sysdeps/x86_64/multiarch/varshift.h: New file.
31835 * sysdeps/x86_64/multiarch/varshift.S: New file.
31836
84b9230c
MF
318372010-08-21 Mike Frysinger <vapier@gentoo.org>
31838
31839 * configure.in: Move assembler checks to before sysdep dir checking.
31840
9bbd0ddc
PB
318412010-08-20 Petr Baudis <pasky@suse.cz>
31842
31843 * LICENSES: Sync the sunrpc license.
31844
9da4bb31
UD
318452010-08-19 Ulrich Drepper <drepper@redhat.com>
31846
a7ab6ec8
UD
31847 * sunrpc/auth_des.c: Update copyright notice once again.
31848 * sunrpc/auth_none.c: Likewise.
31849 * sunrpc/auth_unix.c: Likewise.
31850 * sunrpc/authdes_prot.c: Likewise.
31851 * sunrpc/authuxprot.c: Likewise.
31852 * sunrpc/bindrsvprt.c: Likewise.
31853 * sunrpc/clnt_gen.c: Likewise.
31854 * sunrpc/clnt_perr.c: Likewise.
31855 * sunrpc/clnt_raw.c: Likewise.
31856 * sunrpc/clnt_simp.c: Likewise.
31857 * sunrpc/clnt_tcp.c: Likewise.
31858 * sunrpc/clnt_udp.c: Likewise.
31859 * sunrpc/clnt_unix.c: Likewise.
31860 * sunrpc/des_crypt.c: Likewise.
31861 * sunrpc/des_soft.c: Likewise.
31862 * sunrpc/get_myaddr.c: Likewise.
31863 * sunrpc/getrpcport.c: Likewise.
31864 * sunrpc/key_call.c: Likewise.
31865 * sunrpc/key_prot.c: Likewise.
31866 * sunrpc/openchild.c: Likewise.
31867 * sunrpc/pm_getmaps.c: Likewise.
31868 * sunrpc/pm_getport.c: Likewise.
31869 * sunrpc/pmap_clnt.c: Likewise.
31870 * sunrpc/pmap_prot.c: Likewise.
31871 * sunrpc/pmap_prot2.c: Likewise.
31872 * sunrpc/pmap_rmt.c: Likewise.
31873 * sunrpc/rpc/auth.h: Likewise.
31874 * sunrpc/rpc/auth_unix.h: Likewise.
31875 * sunrpc/rpc/clnt.h: Likewise.
31876 * sunrpc/rpc/des_crypt.h: Likewise.
31877 * sunrpc/rpc/key_prot.h: Likewise.
31878 * sunrpc/rpc/netdb.h: Likewise.
31879 * sunrpc/rpc/pmap_clnt.h: Likewise.
31880 * sunrpc/rpc/pmap_prot.h: Likewise.
31881 * sunrpc/rpc/pmap_rmt.h: Likewise.
31882 * sunrpc/rpc/rpc.h: Likewise.
31883 * sunrpc/rpc/rpc_des.h: Likewise.
31884 * sunrpc/rpc/rpc_msg.h: Likewise.
31885 * sunrpc/rpc/svc.h: Likewise.
31886 * sunrpc/rpc/svc_auth.h: Likewise.
31887 * sunrpc/rpc/types.h: Likewise.
31888 * sunrpc/rpc/xdr.h: Likewise.
31889 * sunrpc/rpc_clntout.c: Likewise.
31890 * sunrpc/rpc_cmsg.c: Likewise.
31891 * sunrpc/rpc_common.c: Likewise.
31892 * sunrpc/rpc_cout.c: Likewise.
31893 * sunrpc/rpc_dtable.c: Likewise.
31894 * sunrpc/rpc_hout.c: Likewise.
31895 * sunrpc/rpc_main.c: Likewise.
31896 * sunrpc/rpc_parse.c: Likewise.
31897 * sunrpc/rpc_parse.h: Likewise.
31898 * sunrpc/rpc_prot.c: Likewise.
31899 * sunrpc/rpc_sample.c: Likewise.
31900 * sunrpc/rpc_scan.c: Likewise.
31901 * sunrpc/rpc_scan.h: Likewise.
31902 * sunrpc/rpc_svcout.c: Likewise.
31903 * sunrpc/rpc_tblout.c: Likewise.
31904 * sunrpc/rpc_util.c: Likewise.
31905 * sunrpc/rpc_util.h: Likewise.
31906 * sunrpc/rpcinfo.c: Likewise.
31907 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31908 * sunrpc/rpcsvc/key_prot.x: Likewise.
31909 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31910 * sunrpc/rpcsvc/mount.x: Likewise.
31911 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31912 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31913 * sunrpc/rpcsvc/rex.x: Likewise.
31914 * sunrpc/rpcsvc/rstat.x: Likewise.
31915 * sunrpc/rpcsvc/rusers.x: Likewise.
31916 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31917 * sunrpc/rpcsvc/spray.x: Likewise.
31918 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31919 * sunrpc/rtime.c: Likewise.
31920 * sunrpc/svc.c: Likewise.
31921 * sunrpc/svc_auth.c: Likewise.
31922 * sunrpc/svc_authux.c: Likewise.
31923 * sunrpc/svc_raw.c: Likewise.
31924 * sunrpc/svc_run.c: Likewise.
31925 * sunrpc/svc_simple.c: Likewise.
31926 * sunrpc/svc_tcp.c: Likewise.
31927 * sunrpc/svc_udp.c: Likewise.
31928 * sunrpc/svc_unix.c: Likewise.
31929 * sunrpc/svcauth_des.c: Likewise.
31930 * sunrpc/xcrypt.c: Likewise.
31931 * sunrpc/xdr.c: Likewise.
31932 * sunrpc/xdr_array.c: Likewise.
31933 * sunrpc/xdr_float.c: Likewise.
31934 * sunrpc/xdr_mem.c: Likewise.
31935 * sunrpc/xdr_rec.c: Likewise.
31936 * sunrpc/xdr_ref.c: Likewise.
31937 * sunrpc/xdr_sizeof.c: Likewise.
31938 * sunrpc/xdr_stdio.c: Likewise.
31939
9da4bb31
UD
31940 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31941 handling.
31942
bdaa77bc
AS
319432010-08-19 Andreas Schwab <schwab@redhat.com>
31944
31945 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31946
fe2f79db
LM
319472010-08-19 Luis Machado <luisgpm@br.ibm.com>
31948
31949 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31950 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31951 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31952 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31953 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31954 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31955 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31956 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31958 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31959 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31960 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31961 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31962 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31963
b9b42ee0
AB
319642010-07-26 Anton Blanchard <anton@samba.org>
31965
31966 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31967 * malloc/arena.c (heap_trim): Likewise.
31968
1c06ba31
UD
319692010-08-16 Ulrich Drepper <drepper@redhat.com>
31970
31971 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31972 here. Not...
31973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31974 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31975
f8392f40
L
319762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31977
31978 * sysdeps/i386/elf/Makefile: New file.
31979
3162f12e
AS
319802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31981
31982 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31983 from fanotify_init.
31984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31986
28c90b2c
UD
319872010-08-15 Ulrich Drepper <drepper@redhat.com>
31988
31989 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31990 of strncasecmp_l.
1feccb6c 31991 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31992
ca6bb004
UD
319932010-08-14 Ulrich Drepper <drepper@redhat.com>
31994
e9f82e0d
UD
31995 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31996 strncase_l-nonascii.
31997 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31998 Add strncase_l-ssse3.
31999 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32000 * sysdeps/x86_64/strcmp.S: Likewise.
32001 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32002 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32003 * sysdeps/x86_64/strncase.S: New file.
32004 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32005 * sysdeps/x86_64/strncase_l.S: New file.
32006 * string/Makefile (strop-tests): Add strncasecmp.
32007 * string/test-strncasecmp.c: New file.
32008
32009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32010 warning.
32011
ca6bb004
UD
32012 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32013 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32014
052fa7b3
AS
320152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32016
32017 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32018
962dba78
UD
320192010-08-12 Ulrich Drepper <drepper@redhat.com>
32020
32021 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32022 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32023 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32024
bebff237
AM
320252010-05-01 Alan Modra <amodra@gmail.com>
32026
32027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32028 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32029 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32030 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32031 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32032 tidying. Don't tail-call __sigjmp_save for static lib.
32033 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32034 save location.
32035 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32036 (CALL_MCOUNT): Add eh info, and nop after bl.
32037 (TAIL_CALL_SYSCALL_ERROR): New macro.
32038 (PSEUDO_RET): Use it.
32039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32040 Correct save location of integer regs and cr.
32041 (_dl_profile_resolve): Correct cr save location. Delete nops
32042 after bl when SHARED. Reduce cfi size a little by better
32043 placement of cfi directives.
32044 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32045 make a stack frame. Instead use parm save area as a temp.
32046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32047 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32049 Don't make a stack frame for parent, use parm save area.
32050 Increase child stack frame to 112 bytes. Don't save unused reg,
32051 and adjust reg usage. Set up cfi on error recovery and
32052 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32054 (__makecontext): Add dummy nop after jump to exit.
32055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32056 Use correct parm save area and cr save, reduce stack frame.
32057 Correct cfi for possible PSEUDO_RET frame setup.
32058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32059 Branch to local label emitted by PSEUDO_RET rather than
32060 __syscall_error.
32061
02637374
AS
320622010-08-12 Andreas Schwab <schwab@redhat.com>
32063
32064 [BZ #11904]
32065 * locale/programs/locale.c (print_assignment): New function.
32066 (show_locale_vars): Use it.
32067
c3e2f19b
UD
320682010-08-11 Ulrich Drepper <drepper@redhat.com>
32069
3cdaa6ad
UD
32070 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32071 field.
32072 (struct statfs64): Likewise.
32073 (_STATFS_F_FLAGS): Define.
32074 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32076 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32077 (ST_VALID): Define locally.
32078 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32079 __statvfs_getflags, use the provided value.
32080 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32081 __ASSUME_STATFS_F_FLAGS.
32082
754f7da3
UD
32083 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32084
10b3bedc
UD
32085 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32086 Add sys/fanotify.h.
32087 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32088 fanotify_mask for GLIBC_2.13.
32089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32090 fanotify_init and fanotify_mark.
32091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32092 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32093
c08fb0d7
UD
32094 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32095 Add prlimit.
32096 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32097 prlimit64 for GLIBC_2.13.
32098 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32099 prlimit64.
32100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32101 syscall.
32102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32103 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32104 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32105 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32107 add prlimit alias.
32108 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32109
15bac72b
UD
32110 [BZ #11903]
32111 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32112 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32113
c3e2f19b
UD
32114 * nss/Makefile: Add rules to build and run tst-nss-test1.
32115 * shlib-versions: Add entry for libnss_test1.
32116 * nss/nss_test1.c: New file.
32117 * nss/tst-nss-test1.c: New file.
32118
32119 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32120 (__nss_configure_lookup): Set appropriate entry in
32121 __nss_configure_lookup to true.
32122 * nss/nsswitch.h: Define enum with indeces of databases in
32123 databases and __nss_database_custom arrays. Declare
32124 __nss_database_custom.
32125 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32126 to avoid using nscd when custom rules are installed.
32127 * nss/getXXbyYY_r.c: Likewise.
32128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32129
32130 * nss/nss_files/files-parse.c: Whitespace fixes.
32131
f15ce4d8
UD
321322010-08-09 Ulrich Drepper <drepper@redhat.com>
32133
32134 [BZ #11883]
32135 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32136 * posix/fnmatch_loop.c: Likewise.
32137
d22e4cc9
AK
321382010-07-17 Andi Kleen <ak@linux.intel.com>
32139
32140 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32141 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32142 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32143 * Versions.def [GLIBC_2.13]: Add.
32144
805bc17d
UD
321452010-08-06 Ulrich Drepper <drepper@redhat.com>
32146
32147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32148 Also fail if tpwd after pwuid call is NULL.
32149
5a42321d
ST
321502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32151
32152 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32153 when converting to ms.
32154
fd3ebeda
ST
321552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32156
32157 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32158 EOPNOTSUPP errors with ENOTTY.
32159 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32160 EOPNOTSUPP errors with ENOTTY.
32161
73507d3a
UD
321622010-07-31 Ulrich Drepper <drepper@redhat.com>
32163
32164 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32165 Add strcasecmp_l-ssse3.
32166 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32167 strcasecmp.
32168 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32169 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32170 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32171
fe36dd02
UD
321722010-07-30 Ulrich Drepper <drepper@redhat.com>
32173
66f6765a
UD
32174 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32175
42e08a54
UD
32176 * string/Makefile (strop-tests): Add strcasecmp.
32177 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32178 strcasecmp_l-nonascii.
32179 (gen-as-const-headers): Add locale-defines.sym.
32180 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32181 * sysdeps/x86_64/strcasecmp.S: New file.
32182 * sysdeps/x86_64/strcasecmp_l.S: New file.
32183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32184 * sysdeps/x86_64/locale-defines.sym: New file.
32185 * string/test-strcasecmp.c: New file.
32186
fe36dd02
UD
32187 * string/test-strcasestr.c: Test both ends of the range of characters.
32188 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32189
48cbc0d6
RM
321902010-07-29 Roland McGrath <roland@redhat.com>
32191
76e6d6bc 32192 [BZ #11856]
48cbc0d6
RM
32193 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32194
880113d9
UD
321952010-07-27 Ulrich Drepper <drepper@redhat.com>
32196
32197 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32198 for ld.so.
32199
deb9cabb
AS
322002010-07-27 Andreas Schwab <schwab@redhat.com>
32201
32202 * manual/memory.texi (Malloc Tunable Parameters): Document
32203 M_PERTURB.
32204
1c7570ff
RM
322052010-07-26 Roland McGrath <roland@redhat.com>
32206
32207 [BZ #11840]
32208 * configure.in (-fgnu89-inline check): Set and substitute
32209 gnu89_inline, not libc_cv_gnu89_inline.
32210 * configure: Regenerated.
32211 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32212
24fb0f88
UD
322132010-07-26 Ulrich Drepper <drepper@redhat.com>
32214
32215 * string/test-strnlen.c: New file.
32216 * string/Makefile (strop-tests): Add strnlen.
32217 * string/tester.c (test_strnlen): Add a few more test cases.
32218 * string/tst-strlen.c: Better error reporting.
32219
32220 * sysdeps/x86_64/strnlen.S: New file.
32221
8e96b93a
UD
322222010-07-24 Ulrich Drepper <drepper@redhat.com>
32223
32224 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32225 lower-latency instructions.
32226
dbc676d4
UD
322272010-07-23 Ulrich Drepper <drepper@redhat.com>
32228
32229 * string/test-strcasestr.c: New file.
32230 * string/test-strstr.c: New file.
32231 * string/Makefile (strop-tests): Add strstr and strcasestr.
32232 * string/str-two-way.h: Don't undefine MAX.
32233 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32234
f6a31e0e
AS
322352010-07-21 Andreas Schwab <schwab@redhat.com>
32236
32237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32238 strcasestr-nonascii.
32239 (CFLAGS-strcasestr-nonascii.c): Define.
32240 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32241 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32242 Remove unused attribute.
32243
5dbc3b6c
RM
322442010-07-20 Roland McGrath <roland@redhat.com>
32245
32246 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32247 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32248 ld.so.cache was broken. With it, there is no way to disable dsocaps
32249 like LD_HWCAP_MASK can disable hwcaps.
32250
23d101d8
EPM
322512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32252
32253 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32254
cc9f2e47
UD
322552010-07-16 Ulrich Drepper <drepper@redhat.com>
32256
32257 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32258 call in strcasestr.
32259 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32260 __strcasestr_sse42_nonascii.
32261 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32262 strcasestr-nonascii.c.
32263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32264
77c1b069
LM
322652010-06-15 Luis Machado <luisgpm@br.ibm.com>
32266
32267 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32269 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32271
440566c3
UD
322722010-07-09 Ulrich Drepper <drepper@redhat.com>
32273
32274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32275 fcntl.
32276
5be9d05d
AS
322772010-07-06 Andreas Schwab <schwab@redhat.com>
32278
c30b7ee2 32279 [BZ #11577]
5be9d05d
AS
32280 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32281 dl_signal_cerror.
32282
8a492a67
UD
322832010-07-06 Ulrich Drepper <drepper@redhat.com>
32284
32285 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32286 _PC_PIPE_BUF using F_GETPIPE_SZ.
32287
713df3d5
RM
322882010-07-05 Roland McGrath <roland@redhat.com>
32289
32290 * manual/arith.texi (Rounding Functions): Fix rint description
32291 implicit in round description.
32292
702e8f14
UD
322932010-07-02 Ulrich Drepper <drepper@redhat.com>
32294
32295 * elf/Makefile: Fix linking for a few tests to make recent linker
32296 happy.
32297
52ed8be9
AS
322982010-06-30 Andreas Schwab <schwab@redhat.com>
32299
32300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32301 $(common-objpfx)libc_nonshared.a.
32302
f47c9a11
LM
323032010-06-21 Luis Machado <luisgpm@br.ibm.com>
32304
32305 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32306 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32307 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32308 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32309 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32310 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32312 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32327 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32328 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32329 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32330 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32331 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32332 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32333 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32334 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32335 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32336 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32337 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32338 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32353
6fb8cbcb
L
323542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32355
32356 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32357 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32358 * string/memmove.c (memmove): Renamed to ...
32359 (MEMMOVE): ...this. Default to memmove.
32360 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32361 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32362 (END_CHK): Define.
32363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32364 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32365 mempcpy-ssse3-back memmove-ssse3-back.
32366 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32369 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32370 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32371 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32372 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32373 * sysdeps/x86_64/multiarch/memmove.c: New file.
32374 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32375 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32376 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32377 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32378 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32380 Define.
32381 (index_Fast_Copy_Backward): Define.
32382 (HAS_ARCH_FEATURE): Define.
32383 (HAS_FAST_REP_STRING): Define.
32384 (HAS_FAST_COPY_BACKWARD): Define.
32385
4e733bac 323862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32387
32388 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32389 Restore proper fallback handling.
32390
63c4ed22
UD
323912010-06-19 Ulrich Drepper <drepper@redhat.com>
32392
ac2b484c
UD
32393 [BZ #11701]
32394 * posix/group_member.c (__group_member): Correct checking loop.
32395
63c4ed22
UD
32396 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32397 OOM in getpwuid_r correctly. Return error number when the caller
32398 should return, otherwise -1.
32399 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32400 call returning > 0 value.
32401 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32402
765ade4b
AS
324032010-06-07 Andreas Schwab <schwab@redhat.com>
32404
32405 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32406 libc_nonshared.a from targets in modules-names.
32407
80da2e09
KS
324082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32409
32410 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32411 requires it.
32412
158db122
LM
324132010-06-10 Luis Machado <luisgpm@br.ibm.com>
32414
32415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32419
caa78cf8
AS
324202010-06-02 Andreas Schwab <schwab@redhat.com>
32421
32422 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32423
b2ef2c01
UD
324242010-06-14 Ulrich Drepper <drepper@redhat.com>
32425
32426 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32427 and F_GETPIPE_SZ.
32428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32434
fbd643b6
RM
324352010-06-14 Roland McGrath <roland@redhat.com>
32436
32437 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32438
f32f2869
JJ
324392010-06-07 Jakub Jelinek <jakub@redhat.com>
32440
32441 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32442 __REDIRECT followed by __THROW.
32443 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32444 * posix/getopt.h (getopt): Likewise.
32445
2a50c078
EPM
324462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32447
32448 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32449 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32450 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32451 in AT_FLAGS.
32452 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32453 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32454
eb5ad2eb
LM
324552010-05-28 Luis Machado <luisgpm@br.ibm.com>
32456
32457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32458
3c88fe1e
L
324592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32460
32461 [BZ #11640]
32462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32463 Properly check family and model.
32464
d2f73151
TY
324652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32466
32467 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32468
ebd2e13d
LM
324692010-05-24 Luis Machado <luisgpm@br.ibm.com>
32470
32471 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32472
b32b8b45
UD
324732010-05-21 Ulrich Drepper <drepper@redhat.com>
32474
32475 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32476 symbol reference.
32477
9acbe24d
AS
324782010-05-19 Andreas Schwab <schwab@redhat.com>
32479
32480 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32481 symbol reference.
32482
f0ccf6ea
AS
324832010-05-21 Andreas Schwab <schwab@redhat.com>
32484
3d04ff3a
AS
32485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32486 and internal_recvmmsg.
32487 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32488 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32489 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32490 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32491
f0ccf6ea
AS
32492 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32493 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32494 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32495
5b08ac57
AS
324962010-05-20 Andreas Schwab <schwab@redhat.com>
32497
32498 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32499
4828935d
LM
325002010-05-17 Luis Machado <luisgpm@br.ibm.com>
32501
32502 POWER7 optimizations.
32503 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32504 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32505
373d545e
UD
325062010-05-19 Ulrich Drepper <drepper@redhat.com>
32507
32508 * version.h: Update for 2.13 development version.
32509
21a2b1ae
AS
325102010-05-12 Andrew Stubbs <ams@codesourcery.com>
32511
32512 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32513 exceptions. Return 0.
32514
3f7dcb2b
RM
325152010-05-07 Roland McGrath <roland@redhat.com>
32516
32517 * elf/ldconfig.c (main): Add a const.
32518
5f24d53a 325192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32520
a160f8d8
UD
32521 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32522 (args_options): Add no-idn option.
32523 (ahosts_keys_int): Add idn_flags to ai_flags.
32524 (parse_option): Handle 'i' option to clear idn_flags.
32525
5f24d53a
UD
32526 * malloc/malloc.c (_int_free): Possible race in the most recently
32527 added check. Only act on the data if no current modification
32528 happened.
265bb1ce
UD
32529
32530See ChangeLog.17 for earlier changes.