]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Don't try to use ioctl unless [FIONREAD].
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8cc3269f
RM
12013-08-27 Roland McGrath <roland@hack.frob.com>
2
c4e42566
RM
3 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4
f890a59b
RM
5 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7
8 * resolv/res_mkquery.c: Include <sys/time.h>.
9
5d1f0a09
RM
10 * inet/ifreq.c: Moved to ...
11 * sysdeps/unix/ifreq.c: ... here.
12 * inet/ifreq.c: New file, true stub version.
13
6fcf28b3
RM
14 * socket/sa_len.c: New file.
15 * socket/Makefile (aux): Add it.
16 * sysdeps/unix/sysv/linux/Makefile
17 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19 and #include <socket/sa_len.c>.
20 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22
e041fb8b
RM
23 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24 * bits/socket.h: ... here.
25
8cc3269f
RM
26 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29
5d228a43
AS
302013-08-27 Andreas Schwab <schwab@suse.de>
31
45b8accc
AS
32 [BZ #15736]
33 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
35 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36 * string/test-strcasecmp.c (test_main): Run tests in several
37 locales.
38 * string/test-strncasecmp.c (test_main): Likewise.
39
5d228a43
AS
40 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42 to __strcasecmp_nonascii and __strncasecmp_nonascii.
43 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44 (__strncasecmp_ssse3) [PIC]: Likewise.
45
59d112a4
RM
462013-08-26 Roland McGrath <roland@hack.frob.com>
47
53234cc3
RM
48 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49
59d112a4
RM
50 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51 instead of explicitly declaring xdecrypt.
52 * nis/nss_nis/nis-publickey.c: Likewise.
53
595aba70
SP
542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55
56 [BZ #15890]
57 * nscd/aicache.c: Include res_hconf.h.
58 (addhstaiX): Initialize res_hconf.
59
ffabd393
AS
602013-08-26 Andreas Schwab <schwab@suse.de>
61
62 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64
e0a69f5c
SP
652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66
67 * nscd/aicache.c (addhstaiX): Fix indentation.
68
8c12f01d
MF
692013-08-25 Mike Frysinger <vapier@gentoo.org>
70
71 * configure.ac: Quote $build_pt_chown test.
72 * configure: Regenerated.
73
8fe89494
JM
742013-08-23 Joseph Myers <joseph@codesourcery.com>
75
76 [BZ #15532]
77 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
78 * math/s_cexpf.c (__cexpf): Likewise.
79 * math/s_cexpl.c (__cexpl): Likewise.
80 * math/libm-test.inc (cexp_test_data): Correct expected return
81 value for NaN + i0. Add another test.
82
75b181d6
DM
832013-08-22 David S. Miller <davem@davemloft.net>
84
85 * po/ca.po: Update Catalan translation from translation project.
936241e4 86 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 87
acd06bb1
JM
882013-08-21 Joseph Myers <joseph@codesourcery.com>
89
90 [BZ #15797]
91 * math/s_fdim.c (__fdim): Check for infinite arguments if result
92 is infinite, not alongside NaN test.
93 * math/s_fdimf.c (__fdimf): Likewise.
94 * math/s_fdiml.c (__fdiml): Likewise.
95 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
96 errno is unchanged.
97
c0c3f78a
OB
982013-08-21 Ondřej Bílka <neleai@seznam.cz>
99
100 * argp/argp-help.c: Fix typos.
101 * crypt/speeds.c: Likewise.
102 * csu/check_fds.c: Likewise.
103 * elf/dl-load.c: Likewise.
104 * elf/dl-open.c: Likewise.
105 * elf/reldep3.c: Likewise.
106 * elf/reldep.c: Likewise.
107 * elf/sprof.c: Likewise.
108 * iconv/iconv_charmap.c: Likewise.
109 * iconv/skeleton.c: Likewise.
110 * iconv/strtab.c: Likewise.
111 * io/lockf64.c: Likewise.
112 * libio/libioP.h: Likewise.
113 * resolv/gai_notify.c: Likewise.
114 * resolv/ns_name.c: Likewise.
115 * resolv/ns_samedomain.c: Likewise.
116 * resolv/res_send.c: Likewise.
117 * stdlib/random.c: Likewise.
118 * sunrpc/rpc/xdr.h: Likewise.
119 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
120 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
121 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
122 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
124 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
126 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
127 * sysdeps/mach/hurd/check_fds.c: Likewise.
128 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
129 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
130 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
131 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
132 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
133 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
134 * sysdeps/pthread/aio_notify.c: Likewise.
135 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
136 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
137 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
139 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
140
46ed1038
LD
1412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
142
143 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
144 version if bit_Slow_SSE4_2 is set.
145 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
146 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
147
d400dcac
AZ
1482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
149
150 [BZ #15867]
151 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
152 trampoline stack frame information.
153 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
155 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
156 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
157 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
158 * sysdeps/unix/sysv/linux/powerpc/init-first.c
159 (_libc_vdso_platform_setup): Initialize the signal trampolines.
160 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
161 sa_flags value.
162 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
163 interrupting a syscall and set with option SA_SIGINFO.
164
42c8fdd8
JM
1652013-08-20 Joseph Myers <joseph@codesourcery.com>
166
c980f2f4
JM
167 [BZ #15531]
168 * math/s_cproj.c (__cproj): Only return an infinity if one part of
169 argument is infinite.
170 * math/s_cprojf.c (__cprojf): Likewise.
171 * math/s_cprojl.c (__cprojl): Likewise.
172 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
173 * math/libm-test.inc (cproj_test_data): Add more tests.
174
0716c4fc
JM
175 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
176
42c8fdd8
JM
177 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
178 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
179 size. Use __ffs to determine corresponding shift.
180
b31469d0
JM
1812013-08-20 Joseph Myers <joseph@codesourcery.com>
182 Roland McGrath <roland@hack.frob.com>
183
184 * Makefile (INSTALL): Remove trailing blank lines from output of
185 makeinfo.
186
4e39af6e
AK
1872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
188
189 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
190 Align 32 bit compat elf_greg to 8 bytes.
191
f315524e
AA
1922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
193
194 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
195
1326ba1a
SP
1962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
197
198 * string/strcoll_l.c (coll_seq): New structure.
199 (get_next_seq_cached): New function.
200 (get_next_seq): New function.
201 (do_compare): New function.
202 (STRCOLL): Use GNU style definition. Simplify implementation
203 by using get_next_seq, get_next_seq_cached and do_compare.
204
91ce4085
FW
2052013-08-16 Florian Weimer <fweimer@redhat.com>
206
207 [BZ #14699]
208 CVE-2013-4237
209 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
210 member.
211 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
212 member.
213 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
214 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
215 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
216 conditional.
217 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
218 GETDENTS_64BIT_ALIGNED.
219 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
220 * manual/filesys.texi (Reading/Closing Directory): Document
221 ENAMETOOLONG return value of readdir_r. Recommend readdir more
222 strongly.
223 * manual/conf.texi (Limits for Files): Add portability note to
224 NAME_MAX, PATH_MAX.
225 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
226
ca0a6bc4
AS
2272013-08-13 Andreas Schwab <schwab@suse.de>
228
229 [BZ #15749]
230 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
231 of fabs.
232 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
233 LDBL_MAX_EXP >= 16384]: Add tests for it.
234
6c1fd795
DM
2352013-08-12 David S. Miller <davem@davemloft.net>
236
237 * version.h (RELEASE): Set to "development".
238 (VERSION): Set to "2.18.90".
239 * NEWS: Add 2.19 section.
240
31ad488d
DM
2412013-08-03 David S. Miller <davem@davemloft.net>
242
243 * po/ko.po: Update Korean translation from translation project.
244
db24e684
DM
2452013-08-01 David S. Miller <davem@davemloft.net>
246
247 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
248 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
249 Bilka.
250
f723285b
DM
2512013-07-30 David S. Miller <davem@davemloft.net>
252
253 * po/fr.po: Update French translation from translation project.
254
3cbc52db
DM
2552013-07-28 David S. Miller <davem@davemloft.net>
256
30bbc0cc
DM
257 * po/cs.po: Update Czech translation from translation project.
258
3cbc52db
DM
259 * po/sv.po: Update Swedish translation from translation project.
260
d492e6d0
DM
2612013-07-27 David S. Miller <davem@davemloft.net>
262
f1a7f492
DM
263 * po/eo.po: Update Esperanto translation from translation project.
264
90e62a4a
DM
265 * po/vi.po: Update Vietnamese translation from translation project.
266
d492e6d0
DM
267 * po/de.po: Update German translation from translation project.
268
d4baa62d
DM
2692013-07-26 David S. Miller <davem@davemloft.net>
270
641aa7b4
DM
271 * po/bg.po: Update Bulgarian translation from translation project.
272
d4baa62d
DM
273 * po/nl.po: Update Dutch translation from translation project.
274 * po/pl.po: Update Polish translation from translation project.
275 * po/ru.po: Update Russian translation from translation project.
276
61a9dcb9
DM
2772013-07-24 David S. Miller <davem@davemloft.net>
278
279 * po/libc.pot: Update.
280
7b1f8b58
AZ
2812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
284 variable page size.
285 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
286 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
287 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
288
a8fc7a03
AK
2892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
290
291 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
292
e4608715
CD
2932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
294 Andreas Schwab <schwab@suse.de>
295 Roland McGrath <roland@hack.frob.com>
296 Joseph Myers <joseph@codesourcery.com>
297 Carlos O'Donell <carlos@redhat.com>
298
299 [BZ #15755]
300 * config.h.in: Define HAVE_PT_CHOWN.
301 * config.make.in (build-pt-chown): New variable.
302 * configure.in (--enable-pt_chown): New configure option.
303 * configure: Regenerate.
304 * login/Makefile: Include Makeconfig. Build pt_chown only if
305 build-pt-chown is enabled.
306 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
307 pt_chown to fix pty ownership.
308 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
309 CLOSE_ALL_FDS.
310 * manual/install.texi (Configuring and compiling): Mention
311 --enable-pt_chown. Add @findex for grantpt.
312 * INSTALL: Regenerate.
313
da2d62df
DM
3142013-07-20 David S. Miller <davem@davemloft.net>
315
316 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
317 difference between 32-bit and 64-bit.
318
d7e06450
CD
3192013-07-15 Carlos O'Donell <carlos@redhat.com>
320
321 [BZ #15711]
322 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
323 Avoid system header dependency with -ffreestanding.
324 ($(objpfx)bits/syscall%d): Likewise.
325
f959cfd7
DM
3262013-07-13 David S. Miller <davem@davemloft.net>
327
328 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
329 underflows from atanl/atan2l due to bug 15319.
330 (casinh_test_data): Likewise.
331
c61f8513
DM
3322013-07-07 David S. Miller <davem@davemloft.net>
333
334 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
335
72c90ed0
JA
3362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
337
338 * sysdeps/i386/fpu/libm-test-ulps: Update.
339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
340
52dfbe13
SP
3412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
342
343 * configure.in (--enable-lock-elision): Fix message text.
344 * INSTALL: Regenerate.
345 * configure: Regenerate.
346
3f169543
AZ
3472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
348
349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
350
521c6785
AJ
3512013-07-03 Andreas Jaeger <aj@suse.de>
352
353 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
354 define.
355 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
356 (ptrace_peeksiginfo_args): Add.
357 (__ptrace_peeksiginfo_flags): Add.
358 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
359 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
360 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
361
d2cc15cb
AM
3622013-07-03 Allan McRae <allan@archlinux.org>
363
364 * sysdeps/i386/fpu/libm-test-ulps: Update.
365
3aaeeca7
DM
3662013-07-02 David S. Miller <davem@davemloft.net>
367
368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
369
5314ed1a
MT
3702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
371
372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
373
67338156
JM
3742013-07-02 Joseph Myers <joseph@codesourcery.com>
375
376 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378
1717da59
AK
3792013-07-02 Andi Kleen <ak@linux.intel.com>
380
381 * config.h.in (ENABLE_LOCK_ELISION): Add.
382 * configure.in (--enable-lock-elision): Add option.
383 * manual/install.texi: Document --enable lock elision.
384 * configure: Regenerate
385 * INSTALL: Regenerate.
386
1c81621c
L
3872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
388
389 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
390 SSE4.2 strcasecmp for libc.a.
391 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
392
77f01ab5
JM
3932013-07-02 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #13304]
396 * soft-fp/op-common.h (_FP_FMA): New macro.
397 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
398 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
399 (_FP_MUL_MEAT_1_imm): ... here.
400 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
401 (_FP_MUL_MEAT_1_wide): ... here.
402 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
403 (_FP_MUL_MEAT_1_hard): ... here.
404 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
405 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
406 (_FP_MUL_MEAT_2_wide): ... here.
407 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
408 (_FP_MUL_MEAT_2_wide_3mul): ... here.
409 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
410 (_FP_MUL_MEAT_2_gmp): ... here.
411 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
412 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
413 (_FP_MUL_MEAT_4_wide): ... here.
414 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
415 (_FP_MUL_MEAT_4_gmp): ... here.
416 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
417 (_FP_WFRACBITS_DW_S): Likewise.
418 (_FP_WFRACXBITS_DW_S): Likewise.
419 (_FP_HIGHBIT_DW_S): Likewise.
420 (FP_FMA_S): Likewise.
421 (_FP_FRAC_HIGH_DW_S): Likewise.
422 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
423 (_FP_WFRACBITS_DW_D): Likewise.
424 (_FP_WFRACXBITS_DW_D): Likewise.
425 (_FP_HIGHBIT_DW_D): Likewise.
426 (FP_FMA_D): Likewise.
427 (_FP_FRAC_HIGH_DW_D): Likewise.
428 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
429 (_FP_WFRACBITS_DW_E): Likewise.
430 (_FP_WFRACXBITS_DW_E): Likewise.
431 (_FP_HIGHBIT_DW_E): Likewise.
432 (FP_FMA_E): Likewise.
433 (_FP_FRAC_HIGH_DW_E): Likewise.
434 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
435 (_FP_WFRACBITS_DW_Q): Likewise.
436 (_FP_WFRACXBITS_DW_Q): Likewise.
437 (_FP_HIGHBIT_DW_Q): Likewise.
438 (FP_FMA_Q): Likewise.
439 (_FP_FRAC_HIGH_DW_Q): Likewise.
440 * soft-fp/fmasf4.c: New file.
441 * soft-fp/fmadf4.c: Likewise.
442 * soft-fp/fmatf4.c: Likewise.
443
6308fd9a
LD
4442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
445
446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
447 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
448 Silvermont.
449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
450 macro.
451 (index_Slow_SSE4_2): Likewise.
452 (index_Prefer_PMINUB_for_stringop): Likewise.
453 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
454 bit_Slow_SSE4_2 is set.
455 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
456 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
457
89cd9569
RA
4582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
459
460 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
461 rtld_global._dl_hwcap2.
462 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
463 POWER8.
464 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
465 POWER8 feature descriptions defined in _dl_hwcap2.
466 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
467 string handling for POWER8 feature bits.
468 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
469 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
470 _dl_powerpc_cap_flags.
471 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
472 * sysdeps/powerpc/rtld-global-offsets.sym
473 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
474 _dl_hwcap2 in the rtld_global_ro structure.
475
1ae8bfe0
RA
4762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
477
478 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
479 hardware capabilities in support of AT_HWCAP2.
480 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
481 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
482 GLRO(dl_hwcap2).
483 (_dl_show_auxv): Add support for calling _dl_procinfo to display
484 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
485 explicitly the unknown a_type display mechanism is used.
486 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
487 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
488 struct member.
489 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
490 to macro prototype for AT_HWCAP2 support.
491 * sysdeps/i386/dl-procinfo.h: Likewise.
492 * sysdeps/s390/dl-procinfo.h: Likewise.
493 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
494 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
495 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
496 return -1 for unknown a_type display fallback.
497 * sysdeps/sparc/dl-procinfo.h: Likewise.
498 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
499 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
500
8fbec010
JM
5012013-06-28 Joseph Myers <joseph@codesourcery.com>
502
503 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
504 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
505
0432680e
PY
5062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
507
508 [BZ #12492]
509 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
510 mprotect making __stack_prot writable.
511
ce61a2ad
NF
5122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
513 Joseph Myers <joseph@codesourcery.com>
514
515 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
516 as being properly aligned.
517
f91f1c0f
MR
5182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
519
3d0f5d0c
MR
520 * dlfcn/modstatic5.c: New file.
521 * dlfcn/tststatic5.c: New file.
522 * dlfcn/Makefile (tests): Add tststatic5.
523 (tests-static): Likewise.
524 (modules-names): Add modstatic5.
525 (tststatic5-ENV): New variable.
526 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
527
f91f1c0f
MR
528 [BZ #15022]
529 * elf/dl-support.c (_dl_main_map): New variable.
530 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
531 (_dl_nns, _dl_load_adds): Set to 1.
532 (_dl_initial_searchlist): Refer to _dl_main_map.
533 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
534 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
535 call to _dl_get_origin.
536 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
537 around call_map.
538 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
539 * dlfcn/modstatic3.c: New file.
540 * dlfcn/tststatic3.c: New file.
541 * dlfcn/tststatic4.c: New file.
542 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
543 (tests-static): Likewise.
544 (modules-names): Add modstatic3.
545 (tststatic3-ENV, tststatic4-ENV): New variables.
546 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
547 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
548
cbe7d24b
JM
5492013-06-26 Joseph Myers <joseph@codesourcery.com>
550
551 * configure.in (CC): Require GCC version 4.4 or later.
552 * configure: Regenerated.
553 * manual/install.texi (Tools for Compilation): Update GCC version
554 requirement.
555 * INSTALL: Regenerated.
556
11b8a0e1
LD
5572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
558
559 [BZ #15674]
bb5bb87c
L
560 * string/test-memcmp.c (check2): New.
561 (main): Call check2.
562
11b8a0e1
LD
563 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
564
b0037103
MR
5652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
566
567 [BZ #15022]
568 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
569 over to...
570 (dl_open_worker) [!SHARED]: ... here.
571
c18c701d
RA
5722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
573
574 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
575
1d17fa5f
RH
5762013-06-25 Richard Henderson <rth@redhat.com>
577
578 * locale/programs/locarchive.c: Include <libc-internal.h>
579
8fcb833a
JM
5802013-06-25 Joseph Myers <joseph@codesourcery.com>
581
582 * manual/texinfo.tex: Update to version 2013-06-21.17, with
583 trailing whitespace removed.
584
17db6e8d
MF
5852013-06-24 Mike Frysinger <vapier@gentoo.org>
586
587 [BZ #10283]
17db6e8d
MF
588 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
589 * locale/programs/locarchive.c: Include libc-mmap.h.
590 (prepare_address_space): Take two new outputs (the mmap base and len).
591 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
592 values.
593 (create_archive): Declare new mmap base and len values for
594 prepare_address_space, and store the result in ah.
595 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
596 (enlarge_archive): If ah->mmap_base is not NULL, use that and
597 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
598 Declare new mmap base and len values for
599 prepare_address_space, and store the result in new_ah.
600 (open_archive): Declare new mmap base and len values for
601 prepare_address_space, and store the result in ah.
602 (close_archive): If ah->mmap_base is not NULL, use that and
603 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
604 * sysdeps/generic/libc-mmap.h: New file.
605
d605071e
MF
6062013-06-24 Mike Frysinger <vapier@gentoo.org>
607
608 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
609 (ALIGN_UP): Likewise.
610 (PTR_ALIGN_DOWN): Likewise.
611 (PTR_ALIGN_UP): Likewise.
612
2f063a6e
RA
6132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
614
615 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
616 entry mapped to PPC_PLATFORM_POWER8.
617 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
618 POWER8.
619 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
620 (_dl_string_platform): Add case for exporting platform position for
621 POWER8.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
623 search path to sysdeps/powerpc/powerpc32/power8 directory.
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
625 search path to sysdeps/powerpc/powerpc64/power8 directory.
626 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
627 power7 directories.
628 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
629 power7 directories.
630
a31ee4b3
SP
6312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
632
a74ca98f
SP
633 * INSTALL: Regenerate.
634
a31ee4b3
SP
635 * nscd/connections.c (nscd_init): Fix comment.
636
695c378f
JM
6372013-06-22 Joseph Myers <joseph@codesourcery.com>
638
d8412221
JM
639 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
640
695c378f
JM
641 [BZ #15667]
642 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
643 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
644
d1d54715
MR
6452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
646
647 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
648 DL_DST_REQ_STATIC.
649 (DL_DST_REQ_STATIC): Remove macro.
650
8fdda7af
JM
6512013-06-21 Joseph Myers <joseph@codesourcery.com>
652
653 [BZ #7006]
654 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
655 with a shift of 0 bits.
656
f3bc5e5a
MR
6572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
658
659 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
660 $(tststatic-ENV).
661
be09e8c9
KK
6622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
663
664 [BZ #15655]
665 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
666
85c2e611
AZ
6672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668
669 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
670 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
671 accepts -fno-tree-loop-distribute-patterns.
672 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
673 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
674 recursive call.
675 * string/memset.c (memset): Likewise.
676 * string/test-memmove.c (simple_memmove): Disable loop transformation
677 to library calls.
678 * string/test-memset.c (simple_memset): Likewise.
679 * benchtests/bench-memmove.c (simple_memmove): Likewise.
680 * benchtests/bench-memset.c (simple_memset): Likewise.
681 * configure: Regenerated.
682
c91e0825
JM
6832013-06-20 Joseph Myers <joseph@codesourcery.com>
684
b8c792af
JM
685 * math/test-misc.c (main): Ignore fesetround failure when failures
686 of subsequent rounding tests would be ignored.
687
c91e0825
JM
688 [BZ #15654]
689 * math/fedisblxcpt.c (fedisableexcept): Return 0.
690 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
691 * math/fegetenv.c (__fegetenv): Return 0.
692 * math/fegetexcept.c (fegetexcept): Return 0.
693 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
694 FE_TONEAREST.
695 * math/feholdexcpt.c (feholdexcept): Return 0.
696 * math/fesetenv.c (__fesetenv): Return 0.
697 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
698 argument FE_TONEAREST.
699 * math/feupdateenv.c (__feupdateenv): Return 0.
700 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
701
bfcacbde
RM
7022013-06-18 Roland McGrath <roland@hack.frob.com>
703
704 * elf/rtld-Rules (rtld-compile-command.S): New variable.
705 (rtld-compile-command.s, rtld-compile-command.c): New variables.
706 ($(objpfx)rtld-%.os rules): Use them.
707
e55a9b25
AZ
7082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
710 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
711 fields.
712
346d65b3
RM
7132013-06-17 Roland McGrath <roland@hack.frob.com>
714
12086fb4
RM
715 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
716 length of target pattern, then descending length of dependency pattern.
717 * configure.in (AWK): Require gawk 3.1.2 or newer.
718 * manual/install.texi (Tools for Compilation): Say that we do.
719 * configure: Regenerated.
720
346d65b3
RM
721 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
722 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
723 * scripts/sysd-rules.awk: ... this new script.
724 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
725 than a glob-style pattern.
726
1a846317
JM
7272013-06-17 Joseph Myers <joseph@codesourcery.com>
728
729 * math/test-misc.c (main): Do not treat incorrectly rounded
730 conversions as failure unless ROUNDING_TESTS passes.
731
8fc75e6f
JM
7322013-06-15 Joseph Myers <joseph@codesourcery.com>
733
3711a167
JM
734 [BZ #15631]
735 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
736 restore exception state around main square root computation, then
737 check for inexactness explicitly.
738
8fc75e6f
JM
739 * math/libm-test.inc (fma_test_data): Add another test.
740
61dd6208
SP
7412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
742
adf23d2c
SP
743 * manual/threads.texi (Non-POSIX Extensions): New document
744 node. Document pthread_getattr_default_np and
745 pthread_setattr_default_np.
746
61dd6208
SP
747 * Versions.def (libpthread): Add GLIBC_2.18.
748 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
750 Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
752 Likewise.
753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
754 Likewise.
755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
756 Likewise.
757 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
758 Likewise.
759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
760 Likewise.
761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
762 Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
764 Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
766 Likewise.
767
d086fc7b
LD
7682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
769
770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
771 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
772
747ef469
SP
7732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
774 H.J. Lu <hjl.tools@gmail.com>
775
776 [BZ #15627]
777 * sysdeps/x86_64/rtld-memset.c: Remove file.
778 * sysdeps/x86_64/rtld-memset.S: New file.
779
1b2feed2
JM
7802013-06-14 Joseph Myers <joseph@codesourcery.com>
781
782 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
783 (test_in_one_mode): Take arguments for whether the rounding mode
784 is supported for each floating-point type.
785 (do_test): Pass new arguments to test_in_one_mode using
786 ROUNDING_TESTS.
787
a58ad3f8
RM
7882013-06-13 Roland McGrath <roland@hack.frob.com>
789
790 * posix/tst-waitid.c (do_test): Distinguish different instances of
791 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
792 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
793 before entering the kernel for waitpid.
794
c204ab28
SP
7952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
796
797 * NEWS: Fix note on clock function precision. Text by Roland
798 McGrath.
799
f4a29fba
RM
8002013-06-13 Roland McGrath <roland@hack.frob.com>
801
802 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
803 it into place only when and if the sanity check passes.
804
1f24b9ad
JM
8052013-06-13 Joseph Myers <joseph@codesourcery.com>
806
807 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
808 output for whether conversion result is exact. Take argument
809 indicating whether type is IBM long double.
810 (round_for_all): Change need_exact field to ibm_ld.
811 * stdlib/tst-strtod-round.c (struct exactness): New type.
812 (struct test): Change bool ld_ok field to struct exactness exact.
813 (TEST): Update all definitions for change to field.
814 (tests): Regenerate array contents.
815 (test_in_one_mode): Take pointer to new field instead of old ld_ok
816 field value. Check for IBM long double here.
817 (do_test): Update calls to test_in_one_mode.
818
58206c68
SP
8192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
820
821 [BZ #12515]
822 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
823 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
824
2d6f4c5b 8252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
826
827 [BZ #15605]
828 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
829 generated by the compiler on loop optimizations.
830 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
831 general definitions.
832
94f2c076
JM
8332013-06-12 Joseph Myers <joseph@codesourcery.com>
834
835 * math/bug-nextafter.c: Include <math-tests.h>.
836 (main): Only test for exceptions if EXCEPTION_TESTS is true for
837 the relevant type.
838 * math/bug-nexttoward.c: Include <math-tests.h>.
839 (main): Only test for exceptions if EXCEPTION_TESTS is true for
840 the relevant type.
841 * math/test-misc.c: Include <math-tests.h>.
842 (main): Only test for exceptions if EXCEPTION_TESTS is true for
843 the relevant type.
844
e0e50a0a
AJ
8452013-06-12 Andreas Jaeger <aj@suse.de>
846
847 * po/ia.po: Update Interlingua translation from translation
848 project.
849
25061094
SP
8502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
851
852 * include/fenv.h: Include stdbool.h.
853 (struct rm_ctx): New structure.
854 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
855 Define macro.
856 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
857 (SET_RESTORE_ROUNDF): Likewise.
858 (SET_RESTORE_ROUNDL): Likewise.
859 (SET_RESTORE_ROUND_NOEX): Likewise.
860 (SET_RESTORE_ROUND_NOEXF): Likewise.
861 (SET_RESTORE_ROUND_NOEXL): Likewise.
862 (SET_RESTORE_ROUND_53BIT): Likewise.
863 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
864 (libc_feresetround_noexf_ctx): Likewise.
865 (libc_feresetround_noexl_ctx): Likewise.
866 (libc_feholdsetround_53bit_ctx): Likewise.
867 (libc_feresetround_53bit_ctx): Likewise.
868 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
869 (libc_feholdexcept_setround_sse_ctx): New function.
870 (libc_fesetenv_sse_ctx): Likewise.
871 (libc_feupdateenv_sse_ctx): Likewise.
872 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
873 (libc_feholdexcept_setround_387_ctx): Likewise.
874 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
875 (libc_feholdsetround_387_prec_ctx): Likewise.
876 (libc_feholdsetround_387_ctx): Likewise.
877 (libc_feholdsetround_387_53bit_ctx): Likewise.
878 (libc_feholdsetround_sse_ctx): Likewise.
879 (libc_feresetround_sse_ctx): Likewise.
880 (libc_feresetround_387_ctx): Likewise.
881 (libc_feupdateenv_387_ctx): Likewise.
882 (libc_feholdexcept_setroundf_ctx): Define macro.
883 (libc_fesetenvf_ctx): Likewise.
884 (libc_feupdateenvf_ctx): Likewise.
885 (libc_feholdsetroundf_ctx): Likewise.
886 (libc_feresetroundf_ctx): Likewise.
887 (libc_feholdexcept_setround_ctx): Likewise.
888 (libc_fesetenv_ctx): Likewise.
889 (libc_feupdateenv_ctx): Likewise.
890 (libc_feholdsetround_ctx): Likewise.
891 (libc_feresetround_ctx): Likewise.
892 (libc_feholdexcept_setroundl_ctx): Likewise.
893 (libc_feupdateenvl_ctx): Likewise.
894 (libc_feholdsetroundl_ctx): Likewise.
895 (libc_feresetroundl_ctx): Likewise.
896 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
897 (libc_feresetround_53bit_ctx): Likewise.
898
59b30555
SP
8992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
900
901 * locale/iso-639.def: Convert to UTF-8.
902
f1d73d30
JM
9032013-06-11 Joseph Myers <joseph@codesourcery.com>
904
905 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
906 (EXCEPTION_TESTS_double): Likewise.
907 (EXCEPTION_TESTS_long_double): Likewise.
908 (EXCEPTION_TESTS): Likewise.
909 * math/libm-test.inc (test_exceptions): Only test exceptions if
910 EXCEPTION_TESTS (FLOAT).
911
94aca5e7
SP
9122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
913
914 * benchtests/Makefile (string-bench): Add strcpy_chk and
915 stpcpy_chk.
916 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
917 * benchtests/bench-stpcpy_chk.c: New file.
918 * benchtests/bench-strcpy_chk-ifunc.c: New file.
919 * benchtests/bench-strcpy_chk.c: New file.
920 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
921 code.
922 (do_test): Likewise.
923
fac0c5f2
RA
9242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
925
926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
927 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
928 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
929 with tabs where appropriate.
930 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
931 dl-procinfo.h.
932 [PPC_PLATFORM_PPC440]: Likewise.
933 [PPC_PLATFORM_PPC464]: Likewise.
934 [PPC_PLATFORM_PPC476]: Likewise.
935 (_dl_string_platform): Add support for detecting ppc405, ppc440,
936 ppc464, and ppc476 platform strings merging from ports/
937 dl-procinfo.h.
938
f22bc486
AS
9392013-06-11 Andreas Schwab <schwab@suse.de>
940
941 [BZ #14991]
942 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
943 (from_ucs4_idx): Regenerate.
944 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
945 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
946 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
947 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
948 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
949 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
950 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
951 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
952 from FROM_LOOP and TO_LOOP specific macros.
953 (BODY): Handle combining characters.
954 * iconvdata/BIG5HKSCS.irreversible: Update.
955 * iconvdata/BIG5HKSCS.precomposed: New file.
956 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
957 characters.
958 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
959
c1f75dc3
SP
9602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
961
4eacded2
SP
962 * include/sys/time.h: Fix indentation and add copyright header.
963
fec799f8
SP
964 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
965 (do_test): Likewise.
966 * string/test-memchr.c (do_one_test): Likewise.
967 (do_test): Likewise.
968 * string/test-memcmp.c (do_one_test): Likewise.
969 (do_test): Likewise.
970 * string/test-memcpy.c (do_one_test): Likewise.
971 (do_test): Likewise.
972 * string/test-memmem.c (do_one_test): Likewise.
973 (do_test): Likewise.
974 (do_random_tests): Likewise.
975 * string/test-memmove.c (do_one_test): Likewise.
976 (do_test): Likewise.
977 * string/test-memset.c (do_one_test): Likewise.
978 (do_test): Likewise.
979 * string/test-rawmemchr.c (do_one_test): Likewise.
980 (do_test): Likewise.
981 * string/test-strcasecmp.c (do_one_test): Likewise.
982 (do_test): Likewise.
983 * string/test-strcasestr.c (do_one_test): Likewise.
984 (do_test): Likewise.
985 * string/test-strcat.c (do_one_test): Likewise.
986 (do_test): Likewise.
987 * string/test-strchr.c (do_one_test): Likewise.
988 (do_test): Likewise.
989 * string/test-strcmp.c (do_one_test): Likewise.
990 (do_test): Likewise.
991 * string/test-strcpy.c (do_one_test): Likewise.
992 (do_test): Likewise.
993 * string/test-string.h: Likewise.
994 (test_init): Likewise.
995 * string/test-strlen.c (do_one_test): Likewise.
996 (do_test): Likewise.
997 * string/test-strncasecmp.c (do_one_test): Likewise.
998 (do_test): Likewise.
999 * string/test-strncat.c (do_one_test): Likewise.
1000 (do_test): Likewise.
1001 * string/test-strncmp.c (do_one_test): Likewise.
1002 (do_test_limit): Likewise.
1003 (do_test): Likewise.
1004 * string/test-strncpy.c (do_one_test): Likewise.
1005 (do_test): Likewise.
1006 * string/test-strnlen.c (do_one_test): Likewise.
1007 (do_test): Likewise.
1008 * string/test-strpbrk.c (do_one_test): Likewise.
1009 (do_test): Likewise.
1010 * string/test-strrchr.c (do_one_test): Likewise.
1011 (do_test): Likewise.
1012 * string/test-strspn.c (do_one_test): Likewise.
1013 (do_test): Likewise.
1014 * string/test-strstr.c (do_one_test): Likewise.
1015 (do_test): Likewise.
1016
97020474
SP
1017 * benchtests/Makefile (string-bench): Add string benchmarks.
1018 * benchtests/bench-bcopy-ifunc.c: New file.
1019 * benchtests/bench-bcopy.c: New file.
1020 * benchtests/bench-bzero-ifunc.c: New file.
1021 * benchtests/bench-bzero.c: New file.
1022 * benchtests/bench-memccpy-ifunc.c: New file.
1023 * benchtests/bench-memccpy.c: New file.
1024 * benchtests/bench-memchr-ifunc.c: New file.
1025 * benchtests/bench-memchr.c: New file.
1026 * benchtests/bench-memcmp-ifunc.c: New file.
1027 * benchtests/bench-memcmp.c: New file.
1028 * benchtests/bench-memmem-ifunc.c: New file.
1029 * benchtests/bench-memmem.c: New file.
1030 * benchtests/bench-memmove-ifunc.c: New file.
1031 * benchtests/bench-memmove.c: New file.
1032 * benchtests/bench-mempcpy-ifunc.c: New file.
1033 * benchtests/bench-mempcpy.c: New file.
1034 * benchtests/bench-memset-ifunc.c: New file.
1035 * benchtests/bench-memset.c: New file.
1036 * benchtests/bench-rawmemchr-ifunc.c: New file.
1037 * benchtests/bench-rawmemchr.c: New file.
1038 * benchtests/bench-stpcpy-ifunc.c: New file.
1039 * benchtests/bench-stpcpy.c: New file.
1040 * benchtests/bench-stpncpy-ifunc.c: New file.
1041 * benchtests/bench-stpncpy.c: New file.
1042 * benchtests/bench-strcasecmp-ifunc.c: New file.
1043 * benchtests/bench-strcasecmp.c: New file.
1044 * benchtests/bench-strcasestr-ifunc.c: New file.
1045 * benchtests/bench-strcasestr.c: New file.
1046 * benchtests/bench-strcat-ifunc.c: New file.
1047 * benchtests/bench-strcat.c: New file.
1048 * benchtests/bench-strchr-ifunc.c: New file.
1049 * benchtests/bench-strchr.c: New file.
1050 * benchtests/bench-strchrnul-ifunc.c: New file.
1051 * benchtests/bench-strchrnul.c: New file.
1052 * benchtests/bench-strcmp-ifunc.c: New file.
1053 * benchtests/bench-strcmp.c: New file.
1054 * benchtests/bench-strcpy-ifunc.c: New file.
1055 * benchtests/bench-strcpy.c: New file.
1056 * benchtests/bench-strcspn-ifunc.c: New file.
1057 * benchtests/bench-strcspn.c: New file.
1058 * benchtests/bench-strlen-ifunc.c: New file.
1059 * benchtests/bench-strlen.c: New file.
1060 * benchtests/bench-strncasecmp-ifunc.c: New file.
1061 * benchtests/bench-strncasecmp.c: New file.
1062 * benchtests/bench-strncat-ifunc.c: New file.
1063 * benchtests/bench-strncat.c: New file.
1064 * benchtests/bench-strncmp-ifunc.c: New file.
1065 * benchtests/bench-strncmp.c: New file.
1066 * benchtests/bench-strncpy-ifunc.c: New file.
1067 * benchtests/bench-strncpy.c: New file.
1068 * benchtests/bench-strnlen-ifunc.c: New file.
1069 * benchtests/bench-strnlen.c: New file.
1070 * benchtests/bench-strpbrk-ifunc.c: New file.
1071 * benchtests/bench-strpbrk.c: New file.
1072 * benchtests/bench-strrchr-ifunc.c: New file.
1073 * benchtests/bench-strrchr.c: New file.
1074 * benchtests/bench-strspn-ifunc.c: New file.
1075 * benchtests/bench-strspn.c: New file.
1076 * benchtests/bench-strstr-ifunc.c: New file.
1077 * benchtests/bench-strstr.c: New file.
1078
c1f75dc3
SP
1079 * benchtests/Makefile: Disable parallel execution of targets.
1080 (string-bench): Add memcpy.
1081 (benchset): New variable to store a list of benchmark sets.
1082 (bench-func): Renamed from bench.
1083 (bench-set): New target.
1084 (bench): Depend on bench-func and bench-set.
1085 * benchtests/README: Add section on benchmark sets.
1086 * benchtests/bench-memcpy-ifunc.c: New file.
1087 * benchtests/bench-memcpy.c: New file.
1088 * benchtests/bench-string.h: New file.
1089
50fd745b
AS
10902013-06-11 Andreas Schwab <schwab@suse.de>
1091
1092 [BZ #15577]
1093 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1094 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1095 values in the triple.
1096 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1097 terminator in the group key.
1098
3ee7e9fe
AJ
10992013-06-11 Andreas Jaeger <aj@suse.de>
1100
1101 * po/zh_TW.po: Update Chinese (traditional) translation from
1102 translation project.
1103
89fb6835
SP
11042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1105
1106 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1107 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1108 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1109 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1110 (clock_getcpuclockid): Likewise.
1111 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1112 Add weak_alias and libc_hidden_def.
1113 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1114 * rt/clock_gettime.c (clock_gettime): Rename to
1115 __clock_gettime. Add weak_alias and libc_hidden_def.
1116 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1117 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1118 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1119 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1120 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1121 Likewise.
1122 * rt/clock_settime.c (clock_settime): Rename to
1123 __clock_settime. Add weak_alias and libc_hidden_def.
1124 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1125
0efa6f8b
JM
11262013-06-10 Joseph Myers <joseph@codesourcery.com>
1127
b8c61b4b
JM
1128 * mach/err_boot.sub: Remove trailing whitespace.
1129 * mach/err_ipc.sub: Likewise.
1130 * mach/err_mach.sub: Likewise.
1131
0efa6f8b
JM
1132 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1133 (ROUNDING_TESTS_double): Likewise.
1134 (ROUNDING_TESTS_long_double): Likewise.
1135 (ROUNDING_TESTS): Likewise.
1136 * math/libm-test.inc: Include <math-tests.h>.
1137 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1138 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1139 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1140 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1141
50b818bf
SP
11422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1143
1144 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1145 of assigning.
1146
60d2f8f3
JM
11472013-06-08 Joseph Myers <joseph@codesourcery.com>
1148
4902d2c3
JM
1149 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1150 otherwise empty TRANS lines.
1151 * sysdeps/gnu/errlist.c: Regenerated.
1152
60d2f8f3
JM
1153 * catgets/gencat.c (error_print): Use (void) in function
1154 definition.
1155 * crypt/crypt_util.c (__init_des): Likewise.
1156 * crypt/speeds.c (Stop): Likewise.
1157 (main): Likewise.
1158 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1159 * inet/ruserpass.c (token): Likewise.
1160 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1161 * intl/localealias.c (extend_alias_table): Likewise.
1162 * intl/plural-exp.c (init_germanic_plural): Likewise.
1163 * libio/fcloseall.c (__fcloseall): Likewise.
1164 * libio/genops.c (_IO_flush_all): Likewise.
1165 (_IO_flush_all_linebuffered): Likewise.
1166 (_IO_cleanup): Likewise.
1167 (_IO_iter_begin): Likewise.
1168 (_IO_iter_end): Likewise.
1169 (_IO_list_lock): Likewise.
1170 (_IO_list_unlock): Likewise.
1171 (_IO_list_resetlock): Likewise.
1172 * libio/getchar.c (getchar): Likewise.
1173 * libio/getchar_u.c (getchar_unlocked): Likewise.
1174 * libio/getwchar.c (getwchar): Likewise.
1175 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1176 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1177 * login/getpt.c (__getpt): Likewise.
1178 * login/tst-utmp.c (main): Likewise.
1179 * malloc/hooks.c (__malloc_check_init): Likewise.
1180 * malloc/malloc.c (__malloc_stats): Likewise.
1181 * malloc/mtrace.c (tr_break): Likewise.
1182 (mtrace): Likewise.
1183 (muntrace): Likewise.
1184 * misc/fstab.c (endfsent): Likewise.
1185 * misc/getclktck.c (__getclktck): Likewise.
1186 * misc/getdtsz.c (__getdtablesize): Likewise.
1187 * misc/gethostid.c (gethostid): Likewise.
1188 * misc/getpagesize.c (__getpagesize): Likewise.
1189 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1190 (__get_nprocs): Likewise.
1191 (__get_phys_pages): Likewise.
1192 (__get_avphys_pages): Likewise.
1193 * misc/getttyent.c (getttyent): Likewise.
1194 (setttyent): Likewise.
1195 (endttyent): Likewise.
1196 * misc/getusershell.c (getusershell): Likewise.
1197 (endusershell): Likewise.
1198 (setusershell): Likewise.
1199 (initshells): Likewise.
1200 * misc/hsearch.c (__hdestroy): Likewise.
1201 * misc/sync.c (sync): Likewise.
1202 * misc/syslog.c (closelog_internal): Likewise.
1203 (closelog): Likewise.
1204 * misc/ttyslot.c (ttyslot): Likewise.
1205 * misc/vhangup.c (vhangup): Likewise.
1206 * posix/fork.c (__fork): Likewise.
1207 * posix/getegid.c (__getegid): Likewise.
1208 * posix/geteuid.c (__geteuid): Likewise.
1209 * posix/getgid.c (__getgid): Likewise.
1210 * posix/getpid.c (__getpid): Likewise.
1211 * posix/getppid.c (__getppid): Likewise.
1212 * posix/getuid.c (__getuid): Likewise.
1213 * posix/pause.c (pause): Likewise.
1214 * posix/setpgrp.c (setpgrp): Likewise.
1215 * posix/setsid.c (__setsid): Likewise.
1216 * posix/test-vfork.c (noop): Likewise.
1217 * resolv/gethnamaddr.c (_endhtent): Likewise.
1218 (_gethtent): Likewise.
1219 (ht_endhostent): Likewise.
1220 (gethostent): Likewise.
1221 (dns_service): Likewise.
1222 * stdlib/drand48.c (drand48): Likewise.
1223 * stdlib/lrand48.c (lrand48): Likewise.
1224 * stdlib/mrand48.c (mrand48): Likewise.
1225 * stdlib/rand.c (rand): Likewise.
1226 * stdlib/random.c (__random): Likewise.
1227 * stdlib/setenv.c (clearenv): Likewise.
1228 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1229 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1230 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1231 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1232 (__get_nprocs): Likewise.
1233 (__get_phys_pages): Likewise.
1234 (__get_avphys_pages): Likewise.
1235 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1236 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1237 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1238 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1239 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1240 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1241 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1242 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1243 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1244 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1245 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1246 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1247 * sysdeps/posix/clock.c (clock): Likewise.
1248 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1249 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1250 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1251 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1252 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1254 (__get_nprocs_conf): Likewise.
1255 (__get_phys_pages): Likewise.
1256 (__get_avphys_pages): Likewise.
1257 * time/clock.c (clock): Likewise.
1258 * time/tzset.c (__tzname_max): Likewise.
1259
2e09a79a
JM
12602013-06-07 Joseph Myers <joseph@codesourcery.com>
1261
1262 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1263 (__bswap_32): Do not use "register".
1264 * crypt/crypt.c (_ufc_doit_r): Likewise.
1265 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1266 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1267 * gmon/gmon.c (__monstartup): Likewise.
1268 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1269 * hurd/hurdmalloc.c (more_memory): Likewise.
1270 (malloc): Likewise.
1271 (free): Likewise.
1272 (realloc): Likewise.
1273 (malloc_fork_prepare): Likewise.
1274 (malloc_fork_parent): Likewise.
1275 (malloc_fork_child): Likewise.
1276 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1277 (_svcauth_des): Likewise.
1278 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1279 * inet/inet_net.c (inet_network): Likewise.
1280 * inet/inet_netof.c (inet_netof): Likewise.
1281 * inet/rcmd.c (__validuser2_sa): Likewise.
1282 * io/fts.c (fts_open): Likewise.
1283 (fts_load): Likewise.
1284 (fts_close): Likewise.
1285 (fts_read): Likewise.
1286 (fts_children): Likewise.
1287 (fts_build): Likewise.
1288 (fts_stat): Likewise.
1289 (fts_sort): Likewise.
1290 (fts_alloc): Likewise.
1291 (fts_lfree): Likewise.
1292 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1293 (_IO_file_xsgetn): Likewise.
1294 (_IO_file_xsgetn_mmap): Likewise.
1295 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1296 (_IO_cookie_write): Likewise.
1297 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1298 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1299 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1300 * malloc/obstack.c (_obstack_begin): Likewise.
1301 (_obstack_begin_1): Likewise.
1302 (_obstack_newchunk): Likewise.
1303 (_obstack_allocated_p): Likewise.
1304 (obstack_free): Likewise.
1305 (_obstack_memory_used): Likewise.
1306 * misc/getttyent.c (getttynam): Likewise.
1307 (getttyent): Likewise.
1308 (skip): Likewise.
1309 (value): Likewise.
1310 * misc/getusershell.c (initshells): Likewise.
1311 * misc/syslog.c (__vsyslog_chk): Likewise.
1312 * misc/ttyslot.c (ttyslot): Likewise.
1313 * nis/nis_hash.c (__nis_hash): Likewise.
1314 * posix/fnmatch_loop.c (FCT): Likewise.
1315 * posix/getconf.c (print_all): Likewise.
1316 (main): Likewise.
1317 * posix/getopt.c (exchange): Likewise.
1318 * posix/glob.c (globfree): Likewise.
1319 (prefix_array): Likewise.
1320 (__glob_pattern_type): Likewise.
1321 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1322 (NS_GET32): Likewise.
1323 (NS_PUT16): Likewise.
1324 (NS_PUT32): Likewise.
1325 * resolv/gethnamaddr.c (getanswer): Likewise.
1326 (gethostbyname2): Likewise.
1327 (gethostbyaddr): Likewise.
1328 (_gethtent): Likewise.
1329 (_gethtbyname2): Likewise.
1330 (_gethtbyaddr): Likewise.
1331 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1332 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1333 * resolv/res_init.c (__res_vinit): Likewise.
1334 (net_mask): Likewise.
1335 * resolv/res_mkquery.c (outchar): Likewise.
1336 (PRINT): Likewise.
1337 * stdio-common/printf_fp.c (outchar): Likewise.
1338 (PRINT): Likewise.
1339 * stdio-common/printf_fphex.c (outchar): Likewise.
1340 (PRINT): Likewise.
1341 * stdio-common/printf_size.c (outchar): Likewise.
1342 (PRINT): Likewise.
1343 * stdio-common/test_rdwr.c (main): Likewise.
1344 * stdio-common/tfformat.c (matches): Likewise.
1345 * stdio-common/vfprintf.c (outchar): Likewise.
1346 (printf_unknown): Likewise.
1347 (buffered_vfprintf): Likewise.
1348 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1349 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1350 (ReadFile): Likewise.
1351 * stdlib/qsort.c (SWAP): Likewise.
1352 (_quicksort): Likewise.
1353 * stdlib/setenv.c (__add_to_environ): Likewise.
1354 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1355 * stdlib/strtol_l.c (__strtol_l): Likewise.
1356 * stdlib/tst-strtod.c (main): Likewise.
1357 * stdlib/tst-strtol.c (main): Likewise.
1358 * stdlib/tst-strtoll.c (main): Likewise.
1359 * string/bits/string2.h (__strcmp_cc): Likewise.
1360 (__strcmp_cg): Likewise.
1361 (__strcspn_c1): Likewise.
1362 (__strcspn_c2): Likewise.
1363 (__strcspn_c3): Likewise.
1364 (__strspn_c1): Likewise.
1365 (__strspn_c2): Likewise.
1366 (__strspn_c3): Likewise.
1367 (__strsep_1c): Likewise.
1368 (__strsep_2c): Likewise.
1369 (__strsep_3c): Likewise.
1370 * string/memccpy.c (__memccpy): Likewise.
1371 * string/stpcpy.c (__stpcpy): Likewise.
1372 * string/strcmp.c (strcmp): Likewise.
1373 * string/strrchr.c (strrchr): Likewise.
1374 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1375 Likewise.
1376 * sysdeps/mach/hurd/getcwd.c
1377 (_hurd_canonicalize_directory_name_internal): Likewise.
1378 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1379 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1380 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1381 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1382 Likewise, in both definitions.
1383 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1384 definitions.
1385 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1386 64] (__bswap_64): Likewise.
1387 * time/test_time.c (main): Likewise.
1388 * time/tzfile.c (__tzfile_read): Likewise.
1389 (__tzfile_compute): Likewise.
1390 * time/tzset.c (__tzset_parse_tz): Likewise.
1391 (tzset_internal): Likewise.
1392 (compute_change): Likewise.
1393 * wcsmbs/wcscat.c (__wcscat): Likewise.
1394 * wcsmbs/wcschr.c (wcschr): Likewise.
1395 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1396 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1397 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1398 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1399 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1400 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1401 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1402 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1403 * wcsmbs/wmemset.c (wmemset): Likewise.
1404
9e54314b
JM
14052013-06-06 Joseph Myers <joseph@codesourcery.com>
1406
1407 * scripts/config.guess: Update to version 2013-05-16.
1408 * scripts/config.sub: Update to version 2013-04-24.
1409 * scripts/install-sh: Update to version 2011-11-20.07.
1410 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1411 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1412
350635a5
OB
14132013-06-06 Ondřej Bílka <neleai@seznam.cz>
1414
1415 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1416 * elf/sln.c: Likewise.
1417 * hurd/hurd/ioctl.h: Likewise.
1418 * hurd/hurdmalloc.c: Likewise.
1419 * hurd/xattr.c: Likewise.
1420 * include/shlib-compat.h: Likewise.
1421 * inet/ruserpass.c: Likewise.
1422 * libio/iofgets_u.c: Likewise.
1423 * libio/iofgetws_u.c: Likewise.
1424 * locale/programs/ld-identification.c: Likewise.
1425 * locale/programs/ld-time.c: Likewise.
1426 * mach/msg-destroy.c: Likewise.
1427 * nss/nss_files/files-netgrp.c: Likewise.
1428 * resolv/res_data.c: Likewise.
1429 * soft-fp/op-1.h: Likewise.
1430 * soft-fp/op-2.h: Likewise.
1431 * soft-fp/op-4.h: Likewise.
1432 * soft-fp/op-common.h: Likewise.
1433 * stdio-common/printf_fphex.c: Likewise.
1434 * stdlib/strtod_l.c: Likewise.
1435 * sunrpc/rpc/clnt.h: Likewise.
1436 * sysdeps/generic/framestate.c: Likewise.
1437 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1438 * sysdeps/i386/bsd-setjmp.S: Likewise.
1439 * sysdeps/i386/__longjmp.S: Likewise.
1440 * sysdeps/i386/setjmp.S: Likewise.
1441 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1442 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1444 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1446 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1450 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1451 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1452 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1455 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1456 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1457 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1459 * sysdeps/ieee754/support.c: Likewise.
1460 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1461 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1462 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1463 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1464 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1465 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1466 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1467 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1468 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1469 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1470 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1471 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1472 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1473 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1474 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1475 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1476 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1478
44a988af
OB
14792013-06-05 Ondřej Bílka <neleai@seznam.cz>
1480
25506f09 1481 * posix/transbug.c: Remove executable mode.
44a988af 1482
9c84384c
JM
14832013-06-05 Joseph Myers <joseph@codesourcery.com>
1484
1485 * crypt/speeds.c: Remove trailing whitespace.
1486 * dlfcn/default.c: Likewise.
1487 * elf/ifuncdep2.c: Likewise.
1488 * elf/ifuncmain1.c: Likewise.
1489 * elf/ifuncmain1vis.c: Likewise.
1490 * elf/testobj.h: Likewise.
1491 * elf/tst-stackguard1.c: Likewise.
1492 * gmon/sys/gmon.h: Likewise.
1493 * hurd/hurdmsg.c: Likewise.
1494 * hurd/new-fd.c: Likewise.
1495 * hurd/ports-get.c: Likewise.
1496 * iconvdata/ibm1008_420.c: Likewise.
1497 * inet/tst-getni1.c: Likewise.
1498 * inet/tst-getni2.c: Likewise.
1499 * libio/ioungetc.c: Likewise.
1500 * libio/wfiledoalloc.c: Likewise.
1501 * manual/libm-err-tab.pl: Likewise.
1502 * math/w_dremf.c: Likewise.
1503 * misc/ftruncate.c: Likewise.
1504 * posix/bug-glob2.c: Likewise.
1505 * posix/tst-pcre.c: Likewise.
1506 * posix/wait4.c: Likewise.
1507 * resolv/README: Likewise.
1508 * resolv/res_debug.h: Likewise.
1509 * resolv/tst-inet_ntop.c: Likewise.
1510 * setjmp/bug269-setjmp.c: Likewise.
1511 * soft-fp/extended.h: Likewise.
1512 * soft-fp/op-1.h: Likewise.
1513 * soft-fp/op-2.h: Likewise.
1514 * soft-fp/op-4.h: Likewise.
1515 * soft-fp/op-8.h: Likewise.
1516 * soft-fp/testit.c: Likewise.
1517 * stdio-common/bug16.c: Likewise.
1518 * stdlib/random.c: Likewise.
1519 * sunrpc/rpcsvc/rquota.x: Likewise.
1520 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1521 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1523 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1524 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1526 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1527 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1528 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1529 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1530 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1547 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1549 * sysdeps/ieee754/s_lib_version.c: Likewise.
1550 * sysdeps/mach/hurd/check_fds.c: Likewise.
1551 * sysdeps/mach/hurd/getsockname.c: Likewise.
1552 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1553 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1554 * sysdeps/powerpc/bits/link.h: Likewise.
1555 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1556 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1557 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1558 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1559 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1560 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1561 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1562 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1563 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1565 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1566 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1567 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1568 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1569 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1570 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1574 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1576 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1577 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1578 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1579 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1582 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1583 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1584 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1586 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1587 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1588 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1589 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1592 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1593 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1596 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1597 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1598 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1599 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1600 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1601 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1602 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1603 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1604 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1607 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1608 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1609 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1610 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1611 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1612 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1614 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1615 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1616 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1617 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1618 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1619 * sysdeps/powerpc/sysdep.h: Likewise.
1620 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1621 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1622 * sysdeps/sh/dl-trampoline.S: Likewise.
1623 * sysdeps/sh/memset.S: Likewise.
1624 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1625 * sysdeps/sh/strlen.S: Likewise.
1626 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1627 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1628 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1629 * sysdeps/sparc/sparc32/rem.S: Likewise.
1630 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1631 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1632 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1633 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1634 * sysdeps/sparc/sparc32/urem.S: Likewise.
1635 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1636 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1637 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1638 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1639 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1640 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1641 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1642 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1643 * sysdeps/unix/bsd/times.c: Likewise.
1644 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1645 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1649 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1650 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1651 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1652 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1654 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1655 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1656 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1657 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1658 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1659 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1660 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1661 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1662 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1663 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1664 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1665 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1666 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1667 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1668 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1669 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1670 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1672 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1673 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1674 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1675 * sysdeps/x86_64/strcspn.S: Likewise.
1676
869378a5
RA
16772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1678
1679 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1680 generated file. Regenerate properly from gen-translit.pl.
1681 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1682 locale/C-translit.h.
1683
840e2943
AS
16842013-06-05 Andreas Schwab <schwab@suse.de>
1685
1686 [BZ #15100]
1687 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1688 week as 6 instead of -1.
1689 * time/tst-strptime.c (day_tests): Add test case.
1690
4c60cb0c
SP
16912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1692
1693 * sysdeps/generic/math_private.h
1694 (libc_feholdexcept_setround_53bit): Replace with
1695 libc_feholdsetround_53bit.
1696 (libc_feupdateenv_53bit): Replace with
1697 libc_feresetround_53bit.
1698 (SET_RESTORE_ROUND_53BIT): Adjust.
1699
d180203e
SP
17002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1701
96df079a
SP
1702 * string/test-strchrnul.c: Add copyright header.
1703
d180203e
SP
1704 * posix/tst-getaddrinfo4.c: Increase test timeout.
1705
8b0ccb2d
CD
17062013-06-03 Carlos O'Donell <carlos@redhat.com>
1707
1708 [BZ #15536]
1709 * math/libm-test.inc (MAX_EXP): Remove
1710 (MIN_EXP): Define.
1711 (ulp): Use MIN_EXP - MANT_DIG.
1712 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1713
3b3c4d40
CD
17142013-05-31 Carlos O'Donell <carlos@redhat.com>
1715
1716 * po/be.po: Revert last change.
1717 * po/zh_CN.po: Likewise.
1718 * po/header.pot: Likewise.
1719
fab7ce3f
JM
17202013-05-31 Joseph Myers <joseph@codesourcery.com>
1721
1722 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1723 link-libc-deps to empty as target-specific variable.
1724 * Makerules (link-libc-args): New variable.
1725 (libc-for-link): Likewise.
1726 (link-libc-deps): Likewise.
1727 (lib%.so): Depend on $(link-libc-deps). Link with
1728 $(link-libc-args).
1729 (build-module): Link with $(link-libc-args).
1730 (build-module-asneeded): Likewise.
1731 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1732 list of objects.
1733 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1734 target-specific variable.
1735 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1736 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1737 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1738 libc.
1739 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1740 libc and ld.so.
1741 ($(objpfx)libpcprofile.so): Likewise.
1742 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1743 libc_nonshared.a.
1744 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1745 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1746 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1747 $(link-libc-deps).
1748 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1749 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1750 * login/Makefile ($(objpfx)libutil.so): Likewise.
1751 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1752 * math/Makefile ($(objpfx)libm.so): Likewise.
1753 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1754 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1755 variable instead of depending directly on libc.
1756 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1757 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1758 $(link-libc-deps).
1759 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1760 libc.
1761 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1762 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1763 ($(objpfx)libanl.so): Likewise.
1764 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1765 ld.so.
1766 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1767 $(link-libc-deps).
1768 * sysdeps/i386/fpu/Makefile: Remove file.
1769 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1770 ($(objpfx)libm.so): Remove dependency on ld.so.
1771
eca5920c
PF
17722013-05-30 Patsy Franklin <pfrankli@redhat.com>
1773
1774 [BZ # 15553]
1775 * nis/yp_xdr.c (XDRMAXNAME): Define.
1776 (XDRMAXRECORD): Define.
1777 (xdr_domainname): Use XDRMAXNAME.
1778 (xdr_mapname): Likewise.
1779 (xdr_peername): Likewise.
1780 (xdr_keydat): Use XDRMAXRECORD.
1781 (xdr_valdat): Likewise.
1782
17832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1784
1785 [BZ #14256]
1786 * manual/errno.texi (ESTALE): Update to account for more than
1787 just NFS file systems.
1788 * sysdeps/gnu/errlist.c: Regenerated.
1789
b9375348
SP
17902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1791
1792 [BZ #15465]
1793 * elf/Makefile (tests): Add tst-null-argv.
1794 (modules-names): Add tst-null-argv-lib.
1795 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1796 (tst-null-argv-ENV): Set environment for tst-null-argv.
1797 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1798 (RTLD_PROGNAME): New macro.
1799 * elf/tst-null-argv.c: New test case.
1800 * elf/tst-null-argv-lib.c: Library for test case.
1801 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1802 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1803 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1804 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1805 * elf/dl-init.c (call_init): Likewise.
1806 (_dl_init): Likewise.
1807 * elf/dl-load.c (print_search_path): Likewise.
1808 (_dl_map_object): Likewise.
1809 * elf/dl-lookup.c (do_lookup_x): Likewise.
1810 (add_dependency): Likewise.
1811 (_dl_lookup_symbol_x): Likewise.
1812 (_dl_debug_bindings): Likewise.
1813 * elf/dl-open.c (_dl_show_scope): Likewise.
1814 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1815 * elf/dl-version.c (match_symbol): Likewise.
1816 (_dl_check_map_versions): Likewise.
1817 * elf/rtld.c (dl_main): Likewise.
1818 (print_unresolved): Use RTLD_PROGNAME.
1819 (print_missing_version): Likewise.
1820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1821 (elf_machine_rela): Likewise.
1822 * sysdeps/powerpc/powerpc32/dl-machine.c
1823 (__process_machine_rela): Likewise.
1824 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1825 Likewise.
1826 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1827 Likewise.
1828 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1829 Likewise.
1830 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1832 Likewise.
1833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1834 Likewise.
1835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1836
8a9f20c8
CD
18372013-05-28 Carlos O'Donell <carlos@redhat.com>
1838
1839 * po/be.po: Add descriptive title.
1840 * po/zh_CN.po: Likewise.
1841 * po/header.pot: Likewise.
1842
0e60d68e
MF
18432013-05-28 Mike Frysinger <vapier@gentoo.org>
1844
1845 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1846 error message.
1847 (enlarge_archive): Likewise.
1848
56b672e9
BN
18492013-05-28 Ben North <ben@redfrontdoor.org>
1850
1851 * manual/arith.texi (frexp): It is the magnitude of the return
1852 value which lies in [0.5, 1), not the return value itself.
1853
5e056687
AZ
18542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1855
1856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1857
2b66ef5d
TS
18582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1859
528c2405
TS
1860 * stdio-common/bug26.c (main): Correct fscanf template.
1861
07b4c13d
TS
1862 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1863 declare _dl_skip_args.
1864
ec9dd97c
TS
1865 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1866 Don't declare.
1867
2b66ef5d
TS
1868 * manual/platform.texi: Add missing @end deftypefun.
1869
4f8dfe27
JM
18702013-05-24 Joseph Myers <joseph@codesourcery.com>
1871
0323d086
JM
1872 [BZ #15529]
1873 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1874 bit of mantissa of 2^16382.
1875 * math/libm-test.inc (hypot_test_data): Add more tests.
1876
dd4259b9
JM
1877 * math/libm-test.inc: Add drem and pow10 to list of tested
1878 functions.
1879 (pow10_test): New function.
1880 (drem_test): Likewise.
1881 (drem_test_tonearest): Likewise.
1882 (drem_test_towardzero): Likewise.
1883 (drem_test_downward): Likewise.
1884 (drem_test_upward): Likewise.
1885 (main): Call the new functions.
1886
4f8dfe27
JM
1887 * math/libm-test.inc (finite_test_data): Remove.
1888 (finite_test): Run tests from isfinite_test_data.
1889 (gamma_test_data): Remove.
1890 (gamma_test): Run tests from lgamma_test_data.
1891 * sysdeps/i386/fpu/libm-test-ulps: Update.
1892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1893
d116b7c4
AZ
18942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895
1896 * manual/platform.texi: Add PowerPC PPR function set documentation.
1897 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1898 implementation.
1899
e96e3767
CD
19002013-05-24 Carlos O'Donell <carlos@redhat.com>
1901
1902 * math/libm-test.inc (MAX_EXP): Define.
1903 (ULPDIFF): Define.
1904 (ulp): New function.
1905 (check_float_internal): Use ULPDIFF.
1906 (cpow_test): Disable failing test.
1907 (check_ulp): Test ulp() implemetnation.
1908 (main): Call check_ulp before starting tests.
1909
b679a606
JM
19102013-05-24 Joseph Myers <joseph@codesourcery.com>
1911
e8bdba36
JM
1912 * math/gen-libm-test.pl (generate_testfile): Do not handle
1913 START_DATA and END_DATA.
1914 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1915 END_DATA.
1916 (acos_tonearest_test_data): Likewise.
1917 (acos_towardzero_test_data): Likewise.
1918 (acos_downward_test_data): Likewise.
1919 (acos_upward_test_data): Likewise.
1920 (acosh_test_data): Likewise.
1921 (asin_test_data): Likewise.
1922 (asin_tonearest_test_data): Likewise.
1923 (asin_towardzero_test_data): Likewise.
1924 (asin_downward_test_data): Likewise.
1925 (asin_upward_test_data): Likewise.
1926 (asinh_test_data): Likewise.
1927 (atan_test_data): Likewise.
1928 (atanh_test_data): Likewise.
1929 (atan2_test_data): Likewise.
1930 (cabs_test_data): Likewise.
1931 (cacos_test_data): Likewise.
1932 (cacosh_test_data): Likewise.
1933 (carg_test_data): Likewise.
1934 (casin_test_data): Likewise.
1935 (casinh_test_data): Likewise.
1936 (catan_test_data): Likewise.
1937 (catanh_test_data): Likewise.
1938 (cbrt_test_data): Likewise.
1939 (ccos_test_data): Likewise.
1940 (ccosh_test_data): Likewise.
1941 (ceil_test_data): Likewise.
1942 (cexp_test_data): Likewise.
1943 (cimag_test_data): Likewise.
1944 (clog_test_data): Likewise.
1945 (clog10_test_data): Likewise.
1946 (conj_test_data): Likewise.
1947 (copysign_test_data): Likewise.
1948 (cos_test_data): Likewise.
1949 (cos_tonearest_test_data): Likewise.
1950 (cos_towardzero_test_data): Likewise.
1951 (cos_downward_test_data): Likewise.
1952 (cos_upward_test_data): Likewise.
1953 (cosh_test_data): Likewise.
1954 (cosh_tonearest_test_data): Likewise.
1955 (cosh_towardzero_test_data): Likewise.
1956 (cosh_downward_test_data): Likewise.
1957 (cosh_upward_test_data): Likewise.
1958 (cpow_test_data): Likewise.
1959 (cproj_test_data): Likewise.
1960 (creal_test_data): Likewise.
1961 (csin_test_data): Likewise.
1962 (csinh_test_data): Likewise.
1963 (csqrt_test_data): Likewise.
1964 (ctan_test_data): Likewise.
1965 (ctan_tonearest_test_data): Likewise.
1966 (ctan_towardzero_test_data): Likewise.
1967 (ctan_downward_test_data): Likewise.
1968 (ctan_upward_test_data): Likewise.
1969 (ctanh_test_data): Likewise.
1970 (ctanh_tonearest_test_data): Likewise.
1971 (ctanh_towardzero_test_data): Likewise.
1972 (ctanh_downward_test_data): Likewise.
1973 (ctanh_upward_test_data): Likewise.
1974 (erf_test_data): Likewise.
1975 (erfc_test_data): Likewise.
1976 (exp_test_data): Likewise.
1977 (exp_tonearest_test_data): Likewise.
1978 (exp_towardzero_test_data): Likewise.
1979 (exp_downward_test_data): Likewise.
1980 (exp_upward_test_data): Likewise.
1981 (exp10_test_data): Likewise.
1982 (exp2_test_data): Likewise.
1983 (expm1_test_data): Likewise.
1984 (fabs_test_data): Likewise.
1985 (fdim_test_data): Likewise.
1986 (finite_test_data): Likewise.
1987 (floor_test_data): Likewise.
1988 (fma_test_data): Likewise.
1989 (fma_towardzero_test_data): Likewise.
1990 (fma_downward_test_data): Likewise.
1991 (fma_upward_test_data): Likewise.
1992 (fmax_test_data): Likewise.
1993 (fmin_test_data): Likewise.
1994 (fmod_test_data): Likewise.
1995 (fpclassify_test_data): Likewise.
1996 (frexp_test_data): Likewise.
1997 (gamma_test_data): Likewise.
1998 (hypot_test_data): Likewise.
1999 (ilogb_test_data): Likewise.
2000 (isfinite_test_data): Likewise.
2001 (isgreater_test_data): Likewise.
2002 (isgreaterequal_test_data): Likewise.
2003 (isinf_test_data): Likewise.
2004 (isless_test_data): Likewise.
2005 (islessequal_test_data): Likewise.
2006 (islessgreater_test_data): Likewise.
2007 (isnan_test_data): Likewise.
2008 (isnormal_test_data): Likewise.
2009 (issignaling_test_data): Likewise.
2010 (isunordered_test_data): Likewise.
2011 (j0_test_data): Likewise.
2012 (j1_test_data): Likewise.
2013 (jn_test_data): Likewise.
2014 (ldexp_test_data): Likewise.
2015 (lgamma_test_data): Likewise.
2016 (lrint_test_data): Likewise.
2017 (lrint_tonearest_test_data): Likewise.
2018 (lrint_towardzero_test_data): Likewise.
2019 (lrint_downward_test_data): Likewise.
2020 (lrint_upward_test_data): Likewise.
2021 (llrint_test_data): Likewise.
2022 (llrint_tonearest_test_data): Likewise.
2023 (llrint_towardzero_test_data): Likewise.
2024 (llrint_downward_test_data): Likewise.
2025 (llrint_upward_test_data): Likewise.
2026 (log_test_data): Likewise.
2027 (log10_test_data): Likewise.
2028 (log1p_test_data): Likewise.
2029 (log2_test_data): Likewise.
2030 (logb_test_data): Likewise.
2031 (logb_downward_test_data): Likewise.
2032 (lround_test_data): Likewise.
2033 (llround_test_data): Likewise.
2034 (modf_test_data): Likewise.
2035 (nearbyint_test_data): Likewise.
2036 (nextafter_test_data): Likewise.
2037 (nexttoward_test_data): Likewise.
2038 (pow_test_data): Likewise.
2039 (pow_tonearest_test_data): Likewise.
2040 (pow_towardzero_test_data): Likewise.
2041 (pow_downward_test_data): Likewise.
2042 (pow_upward_test_data): Likewise.
2043 (remainder_test_data): Likewise.
2044 (remainder_tonearest_test_data): Likewise.
2045 (remainder_towardzero_test_data): Likewise.
2046 (remainder_downward_test_data): Likewise.
2047 (remainder_upward_test_data): Likewise.
2048 (remquo_test_data): Likewise.
2049 (rint_test_data): Likewise.
2050 (rint_tonearest_test_data): Likewise.
2051 (rint_towardzero_test_data): Likewise.
2052 (rint_downward_test_data): Likewise.
2053 (rint_upward_test_data): Likewise.
2054 (round_test_data): Likewise.
2055 (scalb_test_data): Likewise.
2056 (scalbn_test_data): Likewise.
2057 (scalbln_test_data): Likewise.
2058 (signbit_test_data): Likewise.
2059 (sin_test_data): Likewise.
2060 (sin_tonearest_test_data): Likewise.
2061 (sin_towardzero_test_data): Likewise.
2062 (sin_downward_test_data): Likewise.
2063 (sin_upward_test_data): Likewise.
2064 (sincos_test_data): Likewise.
2065 (sinh_test_data): Likewise.
2066 (sinh_tonearest_test_data): Likewise.
2067 (sinh_towardzero_test_data): Likewise.
2068 (sinh_downward_test_data): Likewise.
2069 (sinh_upward_test_data): Likewise.
2070 (sqrt_test_data): Likewise.
2071 (tan_test_data): Likewise.
2072 (tan_tonearest_test_data): Likewise.
2073 (tan_towardzero_test_data): Likewise.
2074 (tan_downward_test_data): Likewise.
2075 (tan_upward_test_data): Likewise.
2076 (tanh_test_data): Likewise.
2077 (tgamma_test_data): Likewise.
2078 (trunc_test_data): Likewise.
2079 (y0_test_data): Likewise.
2080 (y1_test_data): Likewise.
2081 (yn_test_data): Likewise.
2082 (significand_test_data): Likewise.
2083
b679a606
JM
2084 * math/gen-libm-test.pl (@functions): Remove variable.
2085 (generate_testfile): Don't handle START and END lines.
2086 * math/libm-test.inc (START): New macro.
2087 (END): Likewise.
2088 (END_COMPLEX): Likewise.
2089 (acos_test): Use END macro without arguments.
2090 (acos_test_tonearest): Likewise.
2091 (acos_test_towardzero): Likewise.
2092 (acos_test_downward): Likewise.
2093 (acos_test_upward): Likewise.
2094 (acosh_test): Likewise.
2095 (asin_test): Likewise.
2096 (asin_test_tonearest): Likewise.
2097 (asin_test_towardzero): Likewise.
2098 (asin_test_downward): Likewise.
2099 (asin_test_upward): Likewise.
2100 (asinh_test): Likewise.
2101 (atan_test): Likewise.
2102 (atanh_test): Likewise.
2103 (atan2_test): Likewise.
2104 (cabs_test): Likewise.
2105 (cacos_test): Use END_COMPLEX macro without arguments.
2106 (cacosh_test): Likewise.
2107 (carg_test): Use END macro without arguments.
2108 (casin_test): Use END_COMPLEX macro without arguments.
2109 (casinh_test): Likewise.
2110 (catan_test): Likewise.
2111 (catanh_test): Likewise.
2112 (cbrt_test): Use END macro without arguments.
2113 (ccos_test): Use END_COMPLEX macro without arguments.
2114 (ccosh_test): Likewise.
2115 (ceil_test): Use END macro without arguments.
2116 (cexp_test): Use END_COMPLEX macro without arguments.
2117 (cimag_test): Use END macro without arguments.
2118 (clog_test): Use END_COMPLEX macro without arguments.
2119 (clog10_test): Likewise.
2120 (conj_test): Likewise.
2121 (copysign_test): Use END macro without arguments.
2122 (cos_test): Likewise.
2123 (cos_test_tonearest): Likewise.
2124 (cos_test_towardzero): Likewise.
2125 (cos_test_downward): Likewise.
2126 (cos_test_upward): Likewise.
2127 (cosh_test): Likewise.
2128 (cosh_test_tonearest): Likewise.
2129 (cosh_test_towardzero): Likewise.
2130 (cosh_test_downward): Likewise.
2131 (cosh_test_upward): Likewise.
2132 (cpow_test): Use END_COMPLEX macro without arguments.
2133 (cproj_test): Likewise.
2134 (creal_test): Use END macro without arguments.
2135 (csin_test): Use END_COMPLEX macro without arguments.
2136 (csinh_test): Likewise.
2137 (csqrt_test): Likewise.
2138 (ctan_test): Likewise.
2139 (ctan_test_tonearest): Likewise.
2140 (ctan_test_towardzero): Likewise.
2141 (ctan_test_downward): Likewise.
2142 (ctan_test_upward): Likewise.
2143 (ctanh_test): Likewise.
2144 (ctanh_test_tonearest): Likewise.
2145 (ctanh_test_towardzero): Likewise.
2146 (ctanh_test_downward): Likewise.
2147 (ctanh_test_upward): Likewise.
2148 (erf_test): Use END macro without arguments.
2149 (erfc_test): Likewise.
2150 (exp_test): Likewise.
2151 (exp_test_tonearest): Likewise.
2152 (exp_test_towardzero): Likewise.
2153 (exp_test_downward): Likewise.
2154 (exp_test_upward): Likewise.
2155 (exp10_test): Likewise.
2156 (exp2_test): Likewise.
2157 (expm1_test): Likewise.
2158 (fabs_test): Likewise.
2159 (fdim_test): Likewise.
2160 (finite_test): Likewise.
2161 (floor_test): Likewise.
2162 (fma_test): Likewise.
2163 (fma_test_towardzero): Likewise.
2164 (fma_test_downward): Likewise.
2165 (fma_test_upward): Likewise.
2166 (fmax_test): Likewise.
2167 (fmin_test): Likewise.
2168 (fmod_test): Likewise.
2169 (fpclassify_test): Likewise.
2170 (frexp_test): Likewise.
2171 (gamma_test): Likewise.
2172 (hypot_test): Likewise.
2173 (ilogb_test): Likewise.
2174 (isfinite_test): Likewise.
2175 (isgreater_test): Likewise.
2176 (isgreaterequal_test): Likewise.
2177 (isinf_test): Likewise.
2178 (isless_test): Likewise.
2179 (islessequal_test): Likewise.
2180 (islessgreater_test): Likewise.
2181 (isnan_test): Likewise.
2182 (isnormal_test): Likewise.
2183 (issignaling_test): Likewise.
2184 (isunordered_test): Likewise.
2185 (j0_test): Likewise.
2186 (j1_test): Likewise.
2187 (jn_test): Likewise.
2188 (ldexp_test): Likewise.
2189 (lgamma_test): Likewise.
2190 (lrint_test): Likewise.
2191 (lrint_test_tonearest): Likewise.
2192 (lrint_test_towardzero): Likewise.
2193 (lrint_test_downward): Likewise.
2194 (lrint_test_upward): Likewise.
2195 (llrint_test): Likewise.
2196 (llrint_test_tonearest): Likewise.
2197 (llrint_test_towardzero): Likewise.
2198 (llrint_test_downward): Likewise.
2199 (llrint_test_upward): Likewise.
2200 (log_test): Likewise.
2201 (log10_test): Likewise.
2202 (log1p_test): Likewise.
2203 (log2_test): Likewise.
2204 (logb_test): Likewise.
2205 (logb_test_downward): Likewise.
2206 (lround_test): Likewise.
2207 (llround_test): Likewise.
2208 (modf_test): Likewise.
2209 (nearbyint_test): Likewise.
2210 (nextafter_test): Likewise.
2211 (nexttoward_test): Likewise.
2212 (pow_test): Likewise.
2213 (pow_test_tonearest): Likewise.
2214 (pow_test_towardzero): Likewise.
2215 (pow_test_downward): Likewise.
2216 (pow_test_upward): Likewise.
2217 (remainder_test): Likewise.
2218 (remainder_test_tonearest): Likewise.
2219 (remainder_test_towardzero): Likewise.
2220 (remainder_test_downward): Likewise.
2221 (remainder_test_upward): Likewise.
2222 (remquo_test): Likewise.
2223 (rint_test): Likewise.
2224 (rint_test_tonearest): Likewise.
2225 (rint_test_towardzero): Likewise.
2226 (rint_test_downward): Likewise.
2227 (rint_test_upward): Likewise.
2228 (round_test): Likewise.
2229 (scalb_test): Likewise.
2230 (scalbn_test): Likewise.
2231 (scalbln_test): Likewise.
2232 (signbit_test): Likewise.
2233 (sin_test): Likewise.
2234 (sin_test_tonearest): Likewise.
2235 (sin_test_towardzero): Likewise.
2236 (sin_test_downward): Likewise.
2237 (sin_test_upward): Likewise.
2238 (sincos_test): Likewise.
2239 (sinh_test): Likewise.
2240 (sinh_test_tonearest): Likewise.
2241 (sinh_test_towardzero): Likewise.
2242 (sinh_test_downward): Likewise.
2243 (sinh_test_upward): Likewise.
2244 (sqrt_test): Likewise.
2245 (tan_test): Likewise.
2246 (tan_test_tonearest): Likewise.
2247 (tan_test_towardzero): Likewise.
2248 (tan_test_downward): Likewise.
2249 (tan_test_upward): Likewise.
2250 (tanh_test): Likewise.
2251 (tgamma_test): Likewise.
2252 (trunc_test): Likewise.
2253 (y0_test): Likewise.
2254 (y1_test): Likewise.
2255 (yn_test): Likewise.
2256 (significand_test): Likewise.
2257
bae143d2
OB
22582013-05-24 Ondřej Bílka <neleai@seznam.cz>
2259
2260 [BZ #15381]
2261 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2262
9323d39b
EM
22632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2264
d4ea44a0 2265 [BZ #14894]
9323d39b
EM
2266 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2267 __ppc_mdoio and __ppc_mdoom.
2268 * manual/platform.texi: Document new functions __ppc_yield,
2269 __ppc_mdoio and __ppc_mdoom.
2270
13e23af7
CD
22712013-05-22 Carlos O'Donell <carlos@redhat.com>
2272
2273 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2274 (main): Mention "tls" pseudo-hwcap is legacy.
2275 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2276
351fe550
JM
22772013-05-22 Joseph Myers <joseph@codesourcery.com>
2278
2279 * math/gen-libm-test.pl (parse_args): Output only string of
2280 arguments as text for test name, not full call or descriptions of
2281 tests for extra outputs.
2282 (generate_testfile): Do not pass function name to parse_args.
2283 Generate this_func variable from START.
2284 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2285 field to arg_str.
2286 (struct test_ff_f_data): Likewise.
2287 (test_ff_f_data_nexttoward): Likewise.
2288 (struct test_fi_f_data): Likewise.
2289 (struct test_fl_f_data): Likewise.
2290 (struct test_if_f_data): Likewise.
2291 (struct test_fff_f_data): Likewise.
2292 (struct test_c_f_data): Likewise.
2293 (struct test_f_f1_data): Likewise. Remove field extra_name.
2294 (struct test_fF_f1_data): Likewise.
2295 (struct test_ffI_f1_data): Likewise.
2296 (struct test_c_c_data): Rename test_name field to arg_str.
2297 (struct test_cc_c_data): Likewise.
2298 (struct test_f_i_data): Likewise.
2299 (struct test_ff_i_data): Likewise.
2300 (struct test_f_l_data): Likewise.
2301 (struct test_f_L_data): Likewise.
2302 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2303 and extra2_name.
2304 (COMMON_TEST_SETUP): New macro.
2305 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2306 (COMMON_TEST_CLEANUP): Likewise.
2307 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2308 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2309 macros.
2310 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2311 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2312 macros.
2313 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2314 (RUN_TEST_fff_f): Take argument string. Call new setup and
2315 cleanup macros.
2316 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2317 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2318 macros.
2319 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2320 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2321 macros.
2322 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2323 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2324 cleanup macros.
2325 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2326 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2327 cleanup macros.
2328 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2329 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2330 cleanup macros.
2331 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2332 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2333 macros.
2334 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2335 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2336 macros.
2337 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2338 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2339 macros.
2340 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2341 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2342 cleanup macros.
2343 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2344 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2345 cleanup macros.
2346 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2347 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2348 macros.
2349 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2350 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2351 cleanup macros.
2352 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2353 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2354 macros.
2355 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2356 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2357 macros.
2358 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2359 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2360 cleanup macros.
2361 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2362
85118d4d
EBM
23632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2364
2365 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2366 to _sifields.sigfault.
2367 (si_addr_lsb): Define new macro.
2368 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2369 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2370 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2371
7a44c18f
CD
23722013-05-03 Carlos O'Donell <carlos at redhat.com>
2373
2374 [BZ #15441]
2375 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2376 returns -1.
2377 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2378 null return -1.
2379 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2380 loading the domain.
2381
b50a7181
JM
23822013-05-22 Joseph Myers <joseph@codesourcery.com>
2383
2384 * math/gen-libm-test.pl (parse_args): Do not include expected
2385 result in test name.
2386 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2387 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2388 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2389 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2392
051063c8
SP
23932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2394
3ce9e010
SP
2395 * benchtests/Makefile: Sort function entries.
2396
051063c8
SP
2397 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2398 tanh, asinh, acosh, atanh.
2399 * benchtests/acos-inputs: New file.
2400 * benchtests/acosh-inputs: New file.
2401 * benchtests/asin-inputs: New file.
2402 * benchtests/asinh-inputs: New file.
2403 * benchtests/atanh-inputs: New file.
2404 * benchtests/cosh-inputs: New file.
2405 * benchtests/log-inputs: New file.
2406 * benchtests/sinh-inputs: New file.
2407 * benchtests/tanh-inputs: New file.
2408
47c22455
DL
24092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2410
2411 [BZ #15339]
2412 * posix/tst-getaddrinfo4.c: New test.
2413 * posix/Makefile (tests): Add it.
2414
3d04f5db
SP
24152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2416
2417 [BZ #15339]
2418 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2419 when no services were used.
2420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2421 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2422
d5dd6189
AS
24232013-05-21 Andreas Schwab <schwab@suse.de>
2424
2425 [BZ #15014]
2426 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2427 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2428 successful.
2429 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2430 redundant variable declarations and reallocation of buffer when
2431 parsing as IPv6 address. Always set NSS status when called from
2432 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2433 buffer too small. Correct computation of needed size.
2434 * nss/Makefile (tests): Add test-digits-dots.
2435 * nss/test-digits-dots.c: New test.
2436
fef94eab
SP
24372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2438
2439 * benchtests/Makefile: Remove instructions for adding
2440 benchmark tests.
2441 * benchtests/README: New file to explain how to execute and
2442 enhance the benchmark tests.
2443
e39adf43
AS
24442013-05-21 Andreas Schwab <schwab@suse.de>
2445
2446 [BZ #15493]
2447 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2448 * setjmp/tst-sigsetjmp.c: New test.
2449
b2b671b6
OB
24502013-05-20 Ondřej Bílka <neleai@seznam.cz>
2451
2452 * sysdeps/x86_64/memset.S (memset): New implementation.
2453 (__bzero): Likewise.
2454 (__memset_tail): New function.
2455
2d48b41c
OB
24562013-05-20 Ondřej Bílka <neleai@seznam.cz>
2457
2458 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2459 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2460 __memcpy_sse2_unaligned ifunc selection.
2461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2462 Add memcpy-sse2-unaligned.S.
2463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2464 Add: __memcpy_sse2_unaligned.
2465
f16cc3eb
JM
24662013-05-19 Joseph Myers <joseph@codesourcery.com>
2467
3e694268
JM
2468 [BZ #15490]
2469 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2470 math_force_eval before restoring floating-point envrionment.
2471 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2473 Likewise.
2474 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2475 <math_private.h>.
2476 (__nearbyintl): Use math_force_eval before restoring
2477 floating-point environment.
2478 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2479
db62a907
JM
2480 * math/gen-libm-test.pl (special_functions): Remove.
2481 (parse_args): Don't handle TEST_extra. Handle functions with no
2482 return value.
2483 * math/libm-test.inc (struct test_sincos_data): Replace with
2484 struct test_fFF_11_data.
2485 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2486 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2487 (sincos_test_data): Change element type to struct
2488 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2489 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2490 RUN_TEST_LOOP_sincos.
2491 * math/README.libm-test: Don't mention special handling of
2492 individual functions.
2493 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2496 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2497 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2499
f16cc3eb
JM
2500 * math/gen-libm-test.pl (get_variable): Remove function.
2501 (parse_args): Don't show pointer parameters to call in test
2502 names. Use "extra output N" in test names for extra outputs
2503 rather than naming variables.
2504
3779b5b6
JM
25052013-05-18 Joseph Myers <joseph@codesourcery.com>
2506
2ee094ff
JM
2507 [BZ #15488]
2508 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2509 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2510 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2511 double tests.
2512 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2513 disable.
2514 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2515 check_long_double.
2516
3779b5b6
JM
2517 * math/gen-libm-test.pl (@tests): Remove variable.
2518 ($count): Likewise.
2519 (new_test): Remove function.
2520 (show_exceptions): New function.
2521 (special_functions): Use show_exceptions instead of new_test.
2522 (parse_args): Likewise.
2523 (generate_testfile): Pass only function name in generated call to
2524 print_max_error or print_complex_max_error.
2525 (get_ulps): Do not handle complex tests specially.
2526 (output_test): Rename to ...
2527 (get_all_ulps_for_test): ... this. Return a string rather than
2528 printing to a file. Require ulps to be present.
2529 (output_ulps): Generate arrays rather than #defines.
2530 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2531 (struct ulp_data): New type.
2532 (BUILD_COMPLEX_ULP): Remove macro.
2533 (compare_ulp_data): New function.
2534 (find_ulps): Likewise.
2535 (find_test_ulps): Likewise.
2536 (find_function_ulps): Likewise.
2537 (find_complex_function_ulps): Likewise.
2538 (print_max_error): Determine allowed ulps using
2539 find_function_ulps.
2540 (print_complex_max_error): Determine allowed ulps using
2541 find_complex_function_ulps.
2542 (check_float_internal): Determine max ulps using find_test_ulps.
2543 (check_float): Do not take max_ulp parameter. Update call to
2544 check_float_internal.
2545 (check_complex): Likewise.
2546 (check_int): Do not take max_ulp parameter.
2547 (check_long): Likewise.
2548 (check_bool): Likewise.
2549 (check_longlong): Likewise.
2550 (struct test_f_f_data): Remove max_ulp field.
2551 (struct test_ff_f_data): Likewise.
2552 (struct test_ff_f_data_nexttoward): Likewise.
2553 (struct test_fi_f_data): Likewise.
2554 (struct test_fl_f_data): Likewise.
2555 (struct test_if_f_data): Likewise.
2556 (struct test_fff_f_data): Likewise.
2557 (struct test_c_f_data): Likewise.
2558 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2559 (struct test_fF_f1_data): Likewise.
2560 (struct test_ffI_f1_data): Likewise.
2561 (struct test_c_c_data): Remove max_ulp field.
2562 (struct test_cc_c_data): Likewise.
2563 (struct test_f_i_data): Likewise.
2564 (struct test_ff_i_data): Likewise.
2565 (struct test_f_l_data): Likewise.
2566 (struct test_f_L_data): Likewise.
2567 (struct test_sincos_data): Likewise.
2568 (RUN_TEST_f_f): Do not handle ulps.
2569 (RUN_TEST_LOOP_f_f): Likewise.
2570 (RUN_TEST_2_f): Likewise.
2571 (RUN_TEST_LOOP_2_f): Likewise.
2572 (RUN_TEST_fff_f): Likewise.
2573 (RUN_TEST_LOOP_fff_f): Likewise.
2574 (RUN_TEST_c_f): Likewise.
2575 (RUN_TEST_LOOP_c_f): Likewise.
2576 (RUN_TEST_f_f1): Likewise.
2577 (RUN_TEST_LOOP_f_f1): Likewise.
2578 (RUN_TEST_fF_f1): Likewise.
2579 (RUN_TEST_LOOP_fF_f1): Likewise.
2580 (RUN_TEST_fI_f1): Likewise.
2581 (RUN_TEST_LOOP_fI_f1): Likewise.
2582 (RUN_TEST_ffI_f1): Likewise.
2583 (RUN_TEST_LOOP_ffI_f1): Likewise.
2584 (RUN_TEST_c_c): Likewise.
2585 (RUN_TEST_LOOP_c_c): Likewise.
2586 (RUN_TEST_cc_c): Likewise.
2587 (RUN_TEST_LOOP_cc_c): Likewise.
2588 (RUN_TEST_f_i): Likewise.
2589 (RUN_TEST_LOOP_f_i): Likewise.
2590 (RUN_TEST_f_i_tg): Likewise.
2591 (RUN_TEST_LOOP_f_i_tg): Likewise.
2592 (RUN_TEST_ff_i_tg): Likewise.
2593 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2594 (RUN_TEST_f_b): Likewise.
2595 (RUN_TEST_LOOP_f_b): Likewise.
2596 (RUN_TEST_f_b_tg): Likewise.
2597 (RUN_TEST_LOOP_f_b_tg): Likewise.
2598 (RUN_TEST_f_l): Likewise.
2599 (RUN_TEST_LOOP_f_l): Likewise.
2600 (RUN_TEST_f_L): Likewise.
2601 (RUN_TEST_LOOP_f_L): Likewise.
2602 (RUN_TEST_sincos): Likewise.
2603 (RUN_TEST_LOOP_sincos): Likewise.
2604
8269107f
JM
26052013-05-17 Joseph Myers <joseph@codesourcery.com>
2606
bb38759d
JM
2607 [BZ #15480]
2608 [BZ #15485]
2609 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2610 main case of finite arguments, set rounding mode to FE_TONEAREST
2611 and discard exceptions.
2612 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2613 exceptions.
2614 (remainder_tonearest_test_data): New variable.
2615 (remainder_test_tonearest): New function.
2616 (remainder_towardzero_test_data): New variable.
2617 (remainder_test_towardzero): New function.
2618 (remainder_downward_test_data): New variable.
2619 (remainder_test_downward): New function.
2620 (remainder_upward_test_data): New variable.
2621 (remainder_test_upward): New function.
2622 (main): Call the new test functions.
2623
a00bdcf0
JM
2624 * math/libm-test.inc (struct test_f_f1_data): Remove field
2625 extra_init.
2626 (struct test_fF_f1_data): Likewise.
2627 (struct test_ffI_f1_data): Likewise.
2628 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2629 based on value of EXTRA_EXPECTED.
2630 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2631 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2632 EXTRA_VAR based on value of EXTRA_EXPECTED.
2633 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2634 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2635 EXTRA_VAR based on value of EXTRA_EXPECTED.
2636 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2637 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2638 EXTRA_VAR based on value of EXTRA_EXPECTED.
2639 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2640 * math/gen-libm-test.pl (parse_args): Don't output initializers
2641 for extra output values.
2642
de407f79
JM
2643 * math/libm-test.inc (check_int): Expect result to be exactly
2644 equal to expected value and do not handle ulps.
2645 (check_long): Likewise.
2646 (check_longlong): Likewise.
2647
8269107f
JM
2648 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2649 exceptions.
2650 (cimag_test_data): Likewise.
2651 (conj_test_data): Likewise.
2652 (copysign_test_data): Likewise.
2653 (cproj_test_data): Likewise.
2654 (creal_test_data): Likewise.
2655 (fabs_test_data): Likewise.
2656 (fdim_test_data): Likewise.
2657 (finite_test_data): Likewise.
2658 (floor_test_data): Likewise.
2659 (fmax_test_data): Likewise.
2660 (fmin_test_data): Likewise.
2661 (fmod_test_data): Likewise.
2662 (fpclassify_test_data): Likewise.
2663 (frexp_test_data): Likewise.
2664 (ilogb_test_data): Likewise.
2665 (isfinite_test_data): Likewise.
2666 (isgreater_test_data): Likewise.
2667 (isgreaterequal_test_data): Likewise.
2668 (isinf_test_data): Likewise.
2669 (isless_test_data): Likewise.
2670 (islessequal_test_data): Likewise.
2671 (islessgreater_test_data): Likewise.
2672 (isnan_test_data): Likewise.
2673 (isnormal_test_data): Likewise.
2674 (issignaling_test_data): Likewise.
2675 (isunordered_test_data): Likewise.
2676 (ldexp_test_data): Likewise.
2677 (lrint_test_data): Likewise.
2678 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2679 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2680 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2681 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2682 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2683 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2684 test input.
2685 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2686 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2687 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2688 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2689 that test input.
2690 (lrint_downward_test_data): Test for "inexact" exceptions.
2691 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2692 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2693 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2694 test input.
2695 (lrint_upward_test_data): Test for "inexact" exceptions.
2696 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2697 test input.
2698 (llrint_test_data): Test for "inexact" exceptions.
2699 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2700 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2701 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2702 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2703 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2704 (llrint_downward_test_data): Test for "inexact" exceptions.
2705 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2706 (llrint_upward_test_data): Test for "inexact" exceptions.
2707 (logb_test_data): Likewise.
2708 (logb_downward_test_data): Likewise.
2709 (nextafter_test_data): Likewise.
2710 (nexttoward_test_data): Likewise.
2711 (remainder_test_data): Likewise.
2712 (remquo_test_data): Likewise.
2713 (scalbn_test_data): Likewise.
2714 (scalbln_test_data): Likewise.
2715 (signbit_test_data): Likewise.
2716 (sqrt_test_data): Likewise.
2717 (significand_test_data): Likewise.
2718
48a18de1
SP
27192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2720
2721 [BZ #15424]
2722 * benchtests/bench-modf.c (struct args): Mark arg0 as
2723 volatile.
2724 * scripts/bench.pl: Mark members of struct args as volatile.
2725
13d3b41a
AZ
27262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2727
68191c1d 2728 [BZ # 15497]
13d3b41a
AZ
2729 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2730 negative infinity on POWER6 or lower.
2731 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2732
2848b105
MR
27332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2734
2735 [BZ #15442]
2736 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2737 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2738 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2739 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2740 (_FP_SETQNAN): New macro.
2741 (_FP_SETQNAN_SEMIRAW): Likewise.
2742 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2743 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2744 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2745 (FP_EXTEND): Use _FP_FRAC_SNANP.
2746 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2747 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2748 into account.
2749 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2750 New macro.
2751 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2752 Likewise.
2753
323e5cb7
JM
27542013-05-16 Joseph Myers <joseph@codesourcery.com>
2755
c58b274f
JM
2756 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2757 with DIVIDE_BY_ZERO_EXCEPTION.
2758 (gamma_test_data): Likewise.
2759 (lgamma_test_data): Likewise.
2760 (log_test_data): Likewise.
2761 (log10_test_data): Likewise.
2762 (log2_test_data): Likewise.
2763 (tgamma_test_data): Likewise.
2764
0ab34904
JM
2765 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2766 (acos_test_tonearest): Likewise.
2767 (acos_test_towardzero): Likewise.
2768 (acos_test_downward): Likewise.
2769 (acos_test_upward): Likewise.
2770 (acosh_test): Likewise.
2771 (asin_test): Likewise.
2772 (asin_test_tonearest): Likewise.
2773 (asin_test_towardzero): Likewise.
2774 (asin_test_downward): Likewise.
2775 (asin_test_upward): Likewise.
2776 (asinh_test): Likewise.
2777 (atan_test): Likewise.
2778 (atanh_test): Likewise.
2779 (atan2_test): Likewise.
2780 (cabs_test): Likewise.
2781 (cacos_test): Likewise.
2782 (cacosh_test): Likewise.
2783 (casin_test): Likewise.
2784 (casinh_test): Likewise.
2785 (catan_test): Likewise.
2786 (catanh_test): Likewise.
2787 (cbrt_test): Likewise.
2788 (ccos_test): Likewise.
2789 (ccosh_test): Likewise.
2790 (cexp_test): Likewise.
2791 (clog_test): Likewise.
2792 (clog10_test): Likewise.
2793 (cos_test): Likewise.
2794 (cos_test_tonearest): Likewise.
2795 (cos_test_towardzero): Likewise.
2796 (cos_test_downward): Likewise.
2797 (cos_test_upward): Likewise.
2798 (cosh_test): Likewise.
2799 (cosh_test_tonearest): Likewise.
2800 (cosh_test_towardzero): Likewise.
2801 (cosh_test_downward): Likewise.
2802 (cosh_test_upward): Likewise.
2803 (cpow_test): Likewise.
2804 (csin_test): Likewise.
2805 (csinh_test): Likewise.
2806 (csqrt_test): Likewise.
2807 (ctan_test): Likewise.
2808 (ctan_test_tonearest): Likewise.
2809 (ctan_test_towardzero): Likewise.
2810 (ctan_test_downward): Likewise.
2811 (ctan_test_upward): Likewise.
2812 (ctanh_test): Likewise.
2813 (ctanh_test_tonearest): Likewise.
2814 (ctanh_test_towardzero): Likewise.
2815 (ctanh_test_downward): Likewise.
2816 (ctanh_test_upward): Likewise.
2817 (erf_test): Likewise.
2818 (erfc_test): Likewise.
2819 (exp_test): Likewise.
2820 (exp_test_tonearest): Likewise.
2821 (exp_test_towardzero): Likewise.
2822 (exp_test_downward): Likewise.
2823 (exp_test_upward): Likewise.
2824 (exp10_test): Likewise.
2825 (exp2_test): Likewise.
2826 (expm1_test): Likewise.
2827 (fmod_test): Likewise.
2828 (gamma_test): Likewise.
2829 (hypot_test): Likewise.
2830 (j0_test): Likewise.
2831 (j1_test): Likewise.
2832 (jn_test): Likewise.
2833 (lgamma_test): Likewise.
2834 (log_test): Likewise.
2835 (log10_test): Likewise.
2836 (log1p_test): Likewise.
2837 (log2_test): Likewise.
2838 (logb_test_downward): Likewise.
2839 (pow_test): Likewise.
2840 (pow_test_tonearest): Likewise.
2841 (pow_test_towardzero): Likewise.
2842 (pow_test_downward): Likewise.
2843 (pow_test_upward): Likewise.
2844 (remainder_test): Likewise.
2845 (remquo_test): Likewise.
2846 (sin_test): Likewise.
2847 (sin_test_tonearest): Likewise.
2848 (sin_test_towardzero): Likewise.
2849 (sin_test_downward): Likewise.
2850 (sin_test_upward): Likewise.
2851 (sincos_test): Likewise.
2852 (sinh_test): Likewise.
2853 (sinh_test_tonearest): Likewise.
2854 (sinh_test_towardzero): Likewise.
2855 (sinh_test_downward): Likewise.
2856 (sinh_test_upward): Likewise.
2857 (sqrt_test): Likewise.
2858 (tan_test): Likewise.
2859 (tan_test_tonearest): Likewise.
2860 (tan_test_towardzero): Likewise.
2861 (tan_test_downward): Likewise.
2862 (tan_test_upward): Likewise.
2863 (tanh_test): Likewise.
2864 (tgamma_test): Likewise.
2865 (y0_test): Likewise.
2866 (y1_test): Likewise.
2867 (yn_test): Likewise.
2868
323e5cb7
JM
2869 * math/gen-libm-test.pl (adjust_arg): Remove function.
2870 (special_function): Remove argument $in_func. Only handle
2871 generating output for tables of tests, not inside functions.
2872 (parse_args): Likewise.
2873 (generate_testfile): Remove variable $in_func. Update call to
2874 parse_args.
2875 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2876 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2877 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2878 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2879 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2880 (MAX_VALUE_INIT): Rename macro to max_value.
2881 (MIN_VALUE_INIT): Rename macro to min_value.
2882 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2883 (plus_zero): Remove variable.
2884 (minus_zero): Likewise.
2885 (plus_infty): Likewise.
2886 (minus_infty): Likewise.
2887 (qnan_value): Likewise.
2888 (max_value): Likewise.
2889 (min_value): Likewise.
2890 (min_subnorm_value): Likewise.
2891
e054f494
RA
28922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2893
2894 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2895 uint64_t or uint32_t usage.
2896 * crypt/sha256-block.c: Likewise.
2897 * crypt/sha256-crypt.c: Likewise.
2898 * crypt/sha256.c: Likewise.
2899 * crypt/sha512-block.c: Likewise.
2900 * crypt/sha512-crypt.c: Likewise.
2901 * crypt/sha512.c: Likewise.
2902 * debug/backtrace-tst.c: Likewise.
2903 * debug/pcprofiledump.c: Likewise.
2904 * elf/cache.c: Likewise.
2905 * elf/dl-cache.c: Likewise.
2906 * elf/dl-misc.c: Likewise.
2907 * elf/dl-profile.c: Likewise.
2908 * elf/dl-support.c: Likewise.
2909 * elf/ldconfig.c: Likewise.
2910 * elf/sprof.c: Likewise.
2911 * iconv/dummy-repertoire.c: Likewise.
2912 * iconv/iconv_charmap.c: Likewise.
2913 * iconv/skeleton.c: Likewise.
2914 * iconvdata/8bit-generic.c: Likewise.
2915 * iconvdata/cp737.h: Likewise.
2916 * iconvdata/cp775.h: Likewise.
2917 * iconvdata/ibm1008.h: Likewise.
2918 * iconvdata/ibm1025.h: Likewise.
2919 * iconvdata/ibm1046.h: Likewise.
2920 * iconvdata/ibm1097.h: Likewise.
2921 * iconvdata/ibm1112.h: Likewise.
2922 * iconvdata/ibm1122.h: Likewise.
2923 * iconvdata/ibm1123.h: Likewise.
2924 * iconvdata/ibm1124.h: Likewise.
2925 * iconvdata/ibm1129.h: Likewise.
2926 * iconvdata/ibm1130.h: Likewise.
2927 * iconvdata/ibm1132.h: Likewise.
2928 * iconvdata/ibm1133.h: Likewise.
2929 * iconvdata/ibm1137.h: Likewise.
2930 * iconvdata/ibm1140.h: Likewise.
2931 * iconvdata/ibm1141.h: Likewise.
2932 * iconvdata/ibm1142.h: Likewise.
2933 * iconvdata/ibm1143.h: Likewise.
2934 * iconvdata/ibm1144.h: Likewise.
2935 * iconvdata/ibm1145.h: Likewise.
2936 * iconvdata/ibm1146.h: Likewise.
2937 * iconvdata/ibm1147.h: Likewise.
2938 * iconvdata/ibm1148.h: Likewise.
2939 * iconvdata/ibm1149.h: Likewise.
2940 * iconvdata/ibm1153.h: Likewise.
2941 * iconvdata/ibm1154.h: Likewise.
2942 * iconvdata/ibm1155.h: Likewise.
2943 * iconvdata/ibm1156.h: Likewise.
2944 * iconvdata/ibm1157.h: Likewise.
2945 * iconvdata/ibm1158.h: Likewise.
2946 * iconvdata/ibm1160.h: Likewise.
2947 * iconvdata/ibm1161.h: Likewise.
2948 * iconvdata/ibm1162.h: Likewise.
2949 * iconvdata/ibm1163.h: Likewise.
2950 * iconvdata/ibm1164.h: Likewise.
2951 * iconvdata/ibm1166.h: Likewise.
2952 * iconvdata/ibm1167.h: Likewise.
2953 * iconvdata/ibm12712.h: Likewise.
2954 * iconvdata/ibm1390.h: Likewise.
2955 * iconvdata/ibm1399.h: Likewise.
2956 * iconvdata/ibm16804.h: Likewise.
2957 * iconvdata/ibm4517.h: Likewise.
2958 * iconvdata/ibm4899.h: Likewise.
2959 * iconvdata/ibm4909.h: Likewise.
2960 * iconvdata/ibm4971.h: Likewise.
2961 * iconvdata/ibm5347.h: Likewise.
2962 * iconvdata/ibm803.h: Likewise.
2963 * iconvdata/ibm856.h: Likewise.
2964 * iconvdata/ibm901.h: Likewise.
2965 * iconvdata/ibm902.h: Likewise.
2966 * iconvdata/ibm9030.h: Likewise.
2967 * iconvdata/ibm9066.h: Likewise.
2968 * iconvdata/ibm921.h: Likewise.
2969 * iconvdata/ibm922.h: Likewise.
2970 * iconvdata/ibm9448.h: Likewise.
2971 * iconvdata/isiri-3342.h: Likewise.
2972 * iconvdata/jis0201.h: Likewise.
2973 * include/link.h: Likewise.
2974 * include/netdb.h: Likewise.
2975 * inet/check_native.c: Likewise.
2976 * inet/check_pf.c: Likewise.
2977 * inet/getipv4sourcefilter.c: Likewise.
2978 * inet/getnameinfo.c: Likewise.
2979 * inet/getsourcefilter.c: Likewise.
2980 * inet/htonl.c: Likewise.
2981 * inet/setipv4sourcefilter.c: Likewise.
2982 * inet/setsourcefilter.c: Likewise.
2983 * inet/test-inet6_opt.c: Likewise.
2984 * inet/tst-network.c: Likewise.
2985 * locale/C-collate.c: Likewise.
2986 * locale/C-ctype.c: Likewise.
2987 * locale/C-time.c: Likewise.
2988 * locale/C-translit.h: Likewise.
2989 * locale/loadarchive.c: Likewise.
2990 * locale/programs/3level.h: Likewise.
2991 * locale/programs/charmap.c: Likewise.
2992 * locale/programs/charmap.h: Likewise.
2993 * locale/programs/ld-address.c: Likewise.
2994 * locale/programs/ld-collate.c: Likewise.
2995 * locale/programs/ld-ctype.c: Likewise.
2996 * locale/programs/ld-identification.c: Likewise.
2997 * locale/programs/ld-measurement.c: Likewise.
2998 * locale/programs/ld-messages.c: Likewise.
2999 * locale/programs/ld-monetary.c: Likewise.
3000 * locale/programs/ld-name.c: Likewise.
3001 * locale/programs/ld-numeric.c: Likewise.
3002 * locale/programs/ld-paper.c: Likewise.
3003 * locale/programs/ld-telephone.c: Likewise.
3004 * locale/programs/ld-time.c: Likewise.
3005 * locale/programs/linereader.c: Likewise.
3006 * locale/programs/locale.c: Likewise.
3007 * locale/programs/locarchive.c: Likewise.
3008 * locale/programs/locfile.h: Likewise.
3009 * locale/programs/repertoire.c: Likewise.
3010 * locale/programs/simple-hash.c: Likewise.
3011 * locale/programs/simple-hash.h: Likewise.
3012 * malloc/memusage.c: Likewise.
3013 * malloc/memusagestat.c: Likewise.
3014 * nis/nis_defaults.c: Likewise.
3015 * nis/nis_hash.c: Likewise.
3016 * nis/nis_print.c: Likewise.
3017 * nis/nis_xdr.c: Likewise.
3018 * nscd/connections.c: Likewise.
3019 * nscd/hstcache.c: Likewise.
3020 * nscd/nscd_gethst_r.c: Likewise.
3021 * nscd/nscd_getserv_r.c: Likewise.
3022 * nscd/nscd_helper.c: Likewise.
3023 * nscd/servicescache.c: Likewise.
3024 * nss/makedb.c: Likewise.
3025 * nss/nss_db/db-XXX.c: Likewise.
3026 * nss/nss_db/db-initgroups.c: Likewise.
3027 * nss/nss_db/db-netgrp.c: Likewise.
3028 * nss/nss_files/files-network.c: Likewise.
3029 * nss/nss_files/files-parse.c: Likewise.
3030 * posix/bug-regex5.c: Likewise.
3031 * posix/fnmatch_loop.c: Likewise.
3032 * posix/regcomp.c: Likewise.
3033 * posix/regexec.c: Likewise.
3034 * posix/tst-rfc3484-2.c: Likewise.
3035 * posix/tst-rfc3484-3.c: Likewise.
3036 * posix/tst-rfc3484.c: Likewise.
3037 * resolv/nss_dns/dns-canon.c: Likewise.
3038 * resolv/nss_dns/dns-network.c: Likewise.
3039 * resolv/res_init.c: Likewise.
3040 * resolv/res_mkquery.c: Likewise.
3041 * resolv/tst-aton.c: Likewise.
3042 * stdlib/cxa_atexit.c: Likewise.
3043 * stdlib/cxa_finalize.c: Likewise.
3044 * stdlib/gen-fpioconst.c: Likewise.
3045 * stdlib/strtol_l.c: Likewise.
3046 * string/tst-endian.c: Likewise.
3047 * sunrpc/auth_des.c: Likewise.
3048 * sunrpc/clnt_udp.c: Likewise.
3049 * sunrpc/rtime.c: Likewise.
3050 * sunrpc/svcauth_des.c: Likewise.
3051 * sunrpc/xdr.c: Likewise.
3052 * sunrpc/xdr_intXX_t.c: Likewise.
3053 * sunrpc/xdr_rec.c: Likewise.
3054 * sysdeps/generic/ldconfig.h: Likewise.
3055 * sysdeps/generic/ldsodefs.h: Likewise.
3056 * sysdeps/generic/memusage.h: Likewise.
3057 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3058 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3059 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3060 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3061 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3065 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3067 * sysdeps/posix/getaddrinfo.c: Likewise.
3068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3070 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3072 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3073 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3074 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3075 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3076 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3077 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3078 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3079 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3080 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3081 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3082 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3083 * sysdeps/x86_64/dl-tls.h: Likewise.
3084 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3085 * time/alt_digit.c: Likewise.
3086 * time/era.c: Likewise.
3087 * wcsmbs/tst-c16c32-1.c: Likewise.
3088
8c75f674
JM
30892013-05-16 Joseph Myers <joseph@codesourcery.com>
3090
3091 * math/libm-test.inc (struct test_sincos_data): New type.
3092 (RUN_TEST_LOOP_sincos): New macro.
3093 (sincos_test_data): New variable.
3094 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3095
e6e49e59
RH
30962013-05-16 Richard Henderson <rth@redhat.com>
3097
3098 * math/atest-exp2.c (LIMB64): New macro.
3099 (CONSTSZ): New macro.
3100 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3101 (hexdig): Move ...
3102 (print_mpn_fp): ... to function scope.
3103 (read_mpn_hex): Remove.
3104 (get_log2): Remove.
3105 (exp2_mpn): Use mp_log2.
3106 (main): Use mp_exp1.
3107
15c7c18d
JM
31082013-05-16 Joseph Myers <joseph@codesourcery.com>
3109
105a07df
JM
3110 * math/libm-test.inc: Remove comment about not testing "inexact"
3111 exceptions.
3112 (INEXACT_EXCEPTION): New macro.
3113 (NO_INEXACT_EXCEPTION): Likewise.
3114 (INVALID_EXCEPTION_OK): Update value.
3115 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3116 (OVERFLOW_EXCEPTION_OK): Likewise.
3117 (UNDERFLOW_EXCEPTION_OK): Likewise.
3118 (IGNORE_ZERO_INF_SIGN): Likewise.
3119 (ERRNO_UNCHANGED): Likewise.
3120 (ERRNO_EDOM): Likewise.
3121 (ERRNO_ERANGE): Likewise.
3122 (test_exceptions): Handle testing "inexact" exceptions.
3123 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3124 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3125 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3126 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3127 INEXACT_EXCEPTION.
3128 (rint_towardzero_test_data): Likewise.
3129 (rint_downward_test_data): Likewise.
3130 (rint_upward_test_data): Likewise.
3131
e9eee333
JM
3132 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3133 with OVERFLOW_EXCEPTION.
3134 (exp10_test_data): Likewise.
3135 (exp2_test_data): Likewise.
3136 (expm1_test_data): Likewise.
3137 (lgamma_test_data): Likewise.
3138 (pow_test_data): Likewise.
3139 (tgamma_test_data): Likewise.
3140 (yn_test_data): Remove duplicate test of overflow.
3141
1c38ff73
JM
3142 * math/libm-test.inc (struct test_cc_c_data): New type.
3143 (RUN_TEST_LOOP_cc_c): New macro.
3144 (cpow_test_data): New variable.
3145 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3146
15c7c18d
JM
3147 * math/libm-test.inc (struct test_f_L_data): New type.
3148 (RUN_TEST_LOOP_f_L): New macro.
3149 (llrint_test_data): New variable.
3150 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3151 (llrint_tonearest_test_data): New variable.
3152 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3153 (llrint_towardzero_test_data): New variable.
3154 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3155 (llrint_downward_test_data): New variable.
3156 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3157 (llrint_upward_test_data): New variable.
3158 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3159 (llround_test_data): New variable.
3160 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3161
f137ff13
PC
31622013-05-13 Peter Collingbourne <pcc@google.com>
3163
3164 * math/atest-exp2.c (get_log2): Remove const attribute.
3165
3608cb24
JM
31662013-05-15 Joseph Myers <joseph@codesourcery.com>
3167
3168 * math/libm-test.inc (struct test_f_l_data): New type.
3169 (RUN_TEST_LOOP_f_l): New macro.
3170 (lrint_test_data): New variable.
3171 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3172 (lrint_tonearest_test_data): New variable.
3173 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3174 (lrint_towardzero_test_data): New variable.
3175 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3176 (lrint_downward_test_data): New variable.
3177 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3178 (lrint_upward_test_data): New variable.
3179 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3180 (lround_test_data): New variable.
3181 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3182
39b1f617
PC
31832013-05-15 Peter Collingbourne <pcc@google.com>
3184
1deff3dc
PC
3185 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3186 (EXTRACT_WORDS64) Use where appropriate.
3187 (INSERT_WORDS64) Likewise.
3188
791f3ba0
PC
3189 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3190 constraints with x constraints.
3191 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3192
39b1f617
PC
3193 * malloc/obstack.c (_obstack_compat): Add initializer.
3194
12fba011
EM
31952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3196
3197 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3198 si_trapno and add si_addr_lsb to _sifields.sigfault.
3199 (si_trapno): Remove macro.
3200 (si_addr_lsb): Define new macro.
3201 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3202
d369f531
JM
32032013-05-15 Joseph Myers <joseph@codesourcery.com>
3204
b861c6c4
JM
3205 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3206 instead of TEST_f_l.
3207 (llrint_test_tonearest): Likewise.
3208 (llrint_test_towardzero): Likewise.
3209 (llrint_test_downward): Likewise.
3210 (llrint_test_upward): Likewise.
3211 (llround_test): Likewise.
3212
7abeee12
JM
3213 * math/libm-test.inc (struct test_f_i_data): Add comment.
3214 (RUN_TEST_LOOP_f_b): New macro.
3215 (RUN_TEST_LOOP_f_b_tg): Likewise.
3216 (finite_test_data): New variable.
3217 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3218 (isfinite_test_data): New variable.
3219 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3220 (isinf_test_data): New variable.
3221 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3222 (isnan_test_data): New variable.
3223 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3224 (isnormal_test_data): New variable.
3225 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3226 (issignaling_test_data): New variable.
3227 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3228 (signbit_test_data): New variable.
3229 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3230
cbe8c4d3
JM
3231 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3232 with INVALID_EXCEPTION.
3233 (acosh_test_data): Likewise.
3234 (asin_test_data): Likewise.
3235 (atanh_test_data): Likewise.
3236 (fmod_test_data): Likewise.
3237 (log_test_data): Likewise.
3238 (log10_test_data): Likewise.
3239 (log2_test_data): Likewise.
3240 (pow_test_data): Likewise.
3241 (sqrt_test_data): Likewise.
3242 (y0_test_data): Likewise.
3243 (y1_test_data): Likewise.
3244 (yn_test_data): Likewise.
3245
5575c0e5
JM
3246 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3247 function contents.
3248
d369f531
JM
3249 * math/libm-test.inc (struct test_ff_i_data): New type.
3250 (RUN_TEST_LOOP_ff_i_tg): New macro.
3251 (isgreater_test_data): New variable.
3252 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3253 (isgreaterequal_test_data): New variable.
3254 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3255 (isless_test_data): New variable.
3256 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3257 (islessequal_test_data): New variable.
3258 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3259 (islessgreater_test_data): New variable.
3260 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3261 (isunordered_test_data): New variable.
3262 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3263
781fd748
DM
32642013-05-14 David S. Miller <davem@davemloft.net>
3265
3266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3267
87aa21df
JM
32682013-05-14 Joseph Myers <joseph@codesourcery.com>
3269
5e908270
JM
3270 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3271
f71172e5
JM
3272 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3273 extra_test to int.
3274 (struct test_f_i_data): Change type of max_ulp to int.
3275
8cfa635a
JM
3276 * math/libm-test.inc (test_ffI_f1_data): New type.
3277 (RUN_TEST_LOOP_ffI_f1): New macro.
3278 (remquo_test_data): New variable.
3279 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3280
2bcb36b2
JM
3281 * setjmp/tst-setjmp-fp.c: New file.
3282 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3283 (link-libm): New variable.
3284 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3285
acbd839a
JM
3286 * math/libm-test.inc (struct test_f_i_data): New type.
3287 (RUN_TEST_LOOP_f_i): New macro.
3288 (RUN_TEST_LOOP_f_i_tg): Likewise.
3289 (fpclassify_test_data): New variable.
3290 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3291 (ilogb_test_data): New variable.
3292 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3293
e414d745
JM
3294 * math/libm-test.inc (scalbln_test): Correct function name in END
3295 call.
3296
d9c2a0fd
JM
3297 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3298 (RUN_TEST_LOOP_fI_f1): New macro.
3299 (frexp_test_data): New variable.
3300 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3301
9dc9095d
JM
3302 * math/libm-test.inc (struct test_fF_f1_data): New type.
3303 (RUN_TEST_LOOP_fF_f1): New macro.
3304 (modf_test_data): New variable.
3305 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3306
87aa21df
JM
3307 * math/libm-test.inc (struct test_f_f1_data): New type.
3308 (RUN_TEST_LOOP_f_f1): New macro.
3309 (gamma_test_data): New variable.
3310 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3311 (lgamma_test_data): New variable.
3312 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3313
141af660
CD
33142013-05-13 Carlos O'Donell <carlos@redhat.com>
3315
3316 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3317 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3318 (main): Comment "tls" pseudo-hwcap.
3319
6d33265c
JM
33202013-05-13 Joseph Myers <joseph@codesourcery.com>
3321
68fc074c
JM
3322 * math/libm-test.inc (struct test_fl_f_data): New type.
3323 (RUN_TEST_LOOP_fl_f): New variable.
3324 (scalbln_test_data): New variable.
3325 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3326
243216e1
JM
3327 * math/libm-test.inc (struct test_fi_f_data): New type.
3328 (RUN_TEST_LOOP_fi_f): New macro.
3329 (ldexp_test_data): New variable.
3330 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3331 (scalbn_test_data): New variable.
3332 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3333
6a1992e2
JM
3334 * math/libm-test.inc (struct test_c_f_data): New type.
3335 (RUN_TEST_LOOP_c_f): New macro.
3336 (cabs_test_data): New variable.
3337 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3338 (carg_test_data): New variable.
3339 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3340 (cimag_test_data): New variable.
3341 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3342 (creal_test_data): New variable.
3343 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3344
0e400df5
JM
3345 * math/libm-test.inc (struct test_if_f_data): New type.
3346 (RUN_TEST_LOOP_if_f): New macro.
3347 (jn_test_data): New variable.
3348 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3349 (yn_test_data): New variable.
3350 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3351
6d33265c
JM
3352 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3353
f98ece5f
AZ
33542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355
3356 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3357 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3358
0f7d347b
SP
33592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3360
43fe811b
SP
3361 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3362 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3363 (bench-deps): Add bench-timing.h.
3364 * benchtests-bench-skeleton.c: Include bench-timing.h.
3365 (main): Use TIMING_* macros instead of clock_gettime.
3366 * benchtests/bench-timing.h: New file.
3367
0f7d347b
SP
3368 [BZ #14582]
3369 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3370 Renamed from _LIB_VERSION.
3371 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3372
601a3a5f
JM
33732013-05-12 Joseph Myers <joseph@codesourcery.com>
3374
4f184d30
JM
3375 * math/libm-test.inc (struct test_fff_f_data): New type.
3376 (RUN_TEST_LOOP_fff_f): New macro.
3377 (fma_test_data): New variable.
3378 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3379 (fma_towardzero_test_data): New variable.
3380 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3381 (fma_downward_test_data): New variable.
3382 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3383 (fma_upward_test_data): New variable.
3384 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3385
08198877
JM
3386 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3387 (struct test_c_c_data): New type.
3388 (RUN_TEST_LOOP_c_c): New macro.
3389 (cacos_test_data): New variable.
3390 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3391 (cacosh_test_data): New variable.
3392 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3393 (casin_test_data): New variable.
3394 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3395 (casinh_test_data): New variable.
3396 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3397 (catan_test_data): New variable.
3398 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3399 (catanh_test_data): New variable.
3400 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3401 (ccos_test_data): New variable.
3402 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3403 (ccosh_test_data): New variable.
3404 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3405 (cexp_test_data): New variable.
3406 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3407 (clog_test_data): New variable.
3408 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3409 (clog10_test_data): New variable.
3410 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3411 (conj_test_data): New variable.
3412 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3413 (cproj_test_data): New variable.
3414 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3415 (csin_test_data): New variable.
3416 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3417 (csinh_test_data): New variable.
3418 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3419 (csqrt_test_data): New variable.
3420 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3421 (ctan_test_data): New variable.
3422 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3423 (ctan_tonearest_test_data): New variable.
3424 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3425 (ctan_towardzero_test_data): New variable.
3426 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3427 (ctan_downward_test_data): New variable.
3428 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3429 (ctan_upward_test_data): New variable.
3430 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3431 (ctanh_test_data): New variable.
3432 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3433 (ctanh_tonearest_test_data): New variable.
3434 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3435 (ctanh_towardzero_test_data): New variable.
3436 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3437 (ctanh_downward_test_data): New variable.
3438 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3439 (ctanh_upward_test_data): New variable.
3440 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3441 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3442 of BUILD_COMPLEX.
3443
601a3a5f
JM
3444 * math/libm-test.inc (struct test_ff_f_data): New type.
3445 (struct test_ff_f_data_nexttoward): Likewise.
3446 (RUN_TEST_LOOP_2_f): New macro.
3447 (RUN_TEST_LOOP_ff_f): Likewise.
3448 (atan2_test_data): New variable.
3449 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3450 (copysign_test_data): New variable.
3451 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3452 (fdim_test_data): New variable.
3453 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3454 (fmax_test_data): New variable.
3455 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3456 (fmin_test_data): New variable.
3457 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3458 (fmod_test_data): New variable.
3459 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3460 (hypot_test_data): New variable.
3461 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3462 (nextafter_test_data): New variable.
3463 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3464 (nexttoward_test_data): New variable.
3465 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3466 (pow_test_data): New variable.
3467 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3468 (pow_tonearest_test_data): New variable.
3469 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3470 (pow_towardzero_test_data): New variable.
3471 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3472 (pow_downward_test_data): New variable.
3473 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3474 (pow_upward_test_data): New variable.
3475 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3476 (remainder_test_data): New variable.
3477 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3478 (scalb_test_data): New variable.
3479 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3480 * sysdeps/i386/fpu/libm-test-ulps: Update.
3481
74c57478
JM
34822013-05-11 Joseph Myers <joseph@codesourcery.com>
3483
8329e4da
JM
3484 * math/libm-test.inc (fma_test): Use max_value instead of local
3485 variable fltmax.
3486 (nextafter_test): Likewise.
3487
74c57478
JM
3488 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3489 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3490 (acos_downward_test_data): New variable.
3491 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3492 (acos_upward_test_data): New variable.
3493 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3494 (acosh_test_data): New variable.
3495 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3496 (asin_test_data): New variable.
3497 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3498 (asin_tonearest_test_data): New variable.
3499 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3500 (asin_towardzero_test_data): New variable.
3501 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3502 (asin_downward_test_data): New variable.
3503 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3504 (asin_upward_test_data): New variable.
3505 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3506 (asinh_test_data): New variable.
3507 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3508 (atan_test_data): New variable.
3509 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3510 (atanh_test_data): New variable.
3511 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3512 (cbrt_test_data): New variable.
3513 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3514 (ceil_test_data): New variable.
3515 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3516 (cos_test_data): New variable.
3517 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3518 (cos_tonearest_test_data): New variable.
3519 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3520 (cos_towardzero_test_data): New variable.
3521 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3522 (cos_downward_test_data): New variable.
3523 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3524 (cos_upward_test_data): New variable.
3525 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3526 (cosh_test_data): New variable.
3527 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3528 (cosh_tonearest_test_data): New variable.
3529 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3530 (cosh_towardzero_test_data): New variable.
3531 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3532 (cosh_downward_test_data): New variable.
3533 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3534 (cosh_upward_test_data): New variable.
3535 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3536 (erf_test_data): New variable.
3537 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3538 (erfc_test_data): New variable.
3539 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3540 (exp_test_data): New variable.
3541 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3542 (exp_tonearest_test_data): New variable.
3543 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3544 (exp_towardzero_test_data): New variable.
3545 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3546 (exp_downward_test_data): New variable.
3547 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3548 (exp_upward_test_data): New variable.
3549 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3550 (exp10_test_data): New variable.
3551 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3552 (exp2_test_data): New variable.
3553 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3554 (expm1_test_data): New variable.
3555 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3556 (fabs_test_data): New variable.
3557 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3558 (floor_test_data): New variable.
3559 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3560 (j0_test_data): New variable.
3561 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3562 (j1_test_data): New variable.
3563 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3564 (log_test_data): New variable.
3565 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3566 (log10_test_data): New variable.
3567 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3568 (log1p_test_data): New variable.
3569 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3570 (log2_test_data): New variable.
3571 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3572 (logb_test_data): New variable.
3573 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3574 (logb_downward_test_data): New variable.
3575 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3576 (nearbyint_test_data): New variable.
3577 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3578 (rint_test_data): New variable.
3579 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3580 (rint_tonearest_test_data): New variable.
3581 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3582 (rint_towardzero_test_data): New variable.
3583 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3584 (rint_downward_test_data): New variable.
3585 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3586 (rint_upward_test_data): New variable.
3587 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3588 (round_test_data): New variable.
3589 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3590 (sin_test_data): New variable.
3591 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3592 (sin_tonearest_test_data): New variable.
3593 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3594 (sin_towardzero_test_data): New variable.
3595 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3596 (sin_downward_test_data): New variable.
3597 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3598 (sin_upward_test_data): New variable.
3599 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3600 (sinh_test_data): New variable.
3601 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3602 (sinh_tonearest_test_data): New variable.
3603 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3604 (sinh_towardzero_test_data): New variable.
3605 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3606 (sinh_downward_test_data): New variable.
3607 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3608 (sinh_upward_test_data): New variable.
3609 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3610 (sqrt_test_data): New variable.
3611 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3612 (tan_test_data): New variable.
3613 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3614 (tan_tonearest_test_data): New variable.
3615 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3616 (tan_towardzero_test_data): New variable.
3617 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3618 (tan_downward_test_data): New variable.
3619 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3620 (tan_upward_test_data): New variable.
3621 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3622 (tanh_test_data): New variable.
3623 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3624 (tgamma_test_data): New variable.
3625 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3626 (trunc_test_data): New variable.
3627 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3628 (y0_test_data): New variable.
3629 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3630 (y1_test_data): New variable.
3631 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3632 (significand_test_data): New variable.
3633 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3634
7187d844
CG
36352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3636
3637 [BZ #12387]
3638 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3639
f63fae73
PT
36402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3641
3642 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3643
8a67a4b3
AJ
36442013-05-10 Andreas Jaeger <aj@suse.de>
3645
3646 [BZ #15448]
3647 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3648 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3649
51df539d
JM
36502013-05-10 Joseph Myers <joseph@codesourcery.com>
3651
3652 * math/gen-libm-test.pl (adjust_arg): New function.
3653 (special_functions): Handle generating output in both functions
3654 and arrays.
3655 (parse_args): Likewise.
3656 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3657 $in_func argument to parse_args.
3658 * math/libm-test.inc (struct test_f_f_data): New type.
3659 (IF_ROUND_INIT_): New macro.
3660 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3661 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3662 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3663 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3664 (ROUND_RESTORE_): Likewise.
3665 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3666 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3667 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3668 (ROUND_RESTORE_FE_UPWARD): Likewise.
3669 (RUN_TEST_LOOP_f_f): New macro.
3670 (acos_test_data): New variable.
3671 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3672 (acos_tonearest_test_data): New variable.
3673 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3674
5c637fe5
SP
36752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3676
3677 * benchtests/bench-skeleton.c (startup): Fix coding style.
3678
ab2b9461
JM
36792013-05-10 Joseph Myers <joseph@codesourcery.com>
3680
3681 [BZ #6809]
3682 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3683 negative infinity argument.
3684 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3685 negative infinity argument.
3686 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3687 negative infinity argument.
3688 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3689 domain errors.
3690
4c0fe6fe
FW
36912013-05-10 Florian Weimer <fweimer@redhat.com>
3692
3693 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3694 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3695 * iconv/iconv_prog.c (main): Likewise.
3696 * locale/programs/charmap-dir.c (charmap_readdir)
3697 (fopen_uncompressed): Likewise.
3698 * locale/programs/locfile.c (siblings_uncached)
3699 (write_locale_data): Use lstat64 instead of lstat.
3700 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3701 stat.
3702
a3375d29
AJ
37032013-05-10 Andreas Jaeger <aj@suse.de>
3704
3705 [BZ #15395]
3706 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3707 localization.
3708 Include <locale.h>.
3709
36129722
CD
37102013-05-09 Carlos O'Donell <carlos@redhat.com>
3711
3712 * elf/dl-close.c (_dl_close_worker): Add comments.
3713
faa7f811
JM
37142013-05-09 Joseph Myers <joseph@codesourcery.com>
3715
ed41ffef
JM
3716 [BZ #15359]
3717 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3718 high part of pi/2.
3719 (__ieee754_rem_pio2l): Update comments.
3720
d0213cd0
JM
3721 [BZ #15429]
3722 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3723 high part of pi/2.
3724 (__ieee754_rem_pio2l): Update comments.
3725
0d3e777a
JM
3726 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3727 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3728
24f56066
JM
3729 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3730 M_PI_4l.
3731
faa7f811
JM
3732 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3733 (M_PI_34_LOG10El): Likewise.
3734 (M_PI2_LOG10El): Likewise.
3735 (M_PI4_LOG10El): Likewise.
3736 (M_PI_LOG10El): Likewise.
3737
e9a5e0fd
AZ
37382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3739
3740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3741
d8cd06db
JM
37422013-05-08 Joseph Myers <joseph@codesourcery.com>
3743
a0d9f9d7
JM
3744 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3745 (MINUS_ZERO_INIT): Likewise.
3746 (PLUS_INFTY_INIT): Likewise.
3747 (MINUS_INFTY_INIT): Likewise.
3748 (QNAN_VALUE_INIT): Likewise.
3749 (MAX_VALUE_INIT): Likewise.
3750 (MIN_VALUE_INIT): Likewise.
3751 (MIN_SUBNORM_VALUE_INIT): Likewise.
3752 (plus_zero): Initialize with PLUS_ZERO_INIT.
3753 (minus_zero): Initialize with MINUS_ZERO_INIT.
3754 (plus_infty): Initialize with PLUS_INFTY_INIT.
3755 (minus_infty): Initialize with MINUS_INFTY_INIT.
3756 (qnan_value): Initialize with QNAN_VALUE_INIT.
3757 (max_value): Initialize with MAX_VALUE_INIT.
3758 (min_value): Initialize with MIN_VALUE_INIT.
3759 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3760
ae08db3b
JM
3761 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3762 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3763 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3764 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3765
f44bf14a
JM
3766 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3767 (RUN_TEST_2_f): Likewise.
3768 (RUN_TEST_ff_f): Likewise.
3769 (RUN_TEST_fi_f): Likewise.
3770 (RUN_TEST_fl_f): Likewise.
3771 (RUN_TEST_fff_f): Likewise.
3772 (RUN_TEST_c_f): Likewise.
3773 (RUN_TEST_f_f1): Likewise.
3774 (RUN_TEST_fF_f1): Likewise.
3775 (RUN_TEST_fI_f1): Likewise.
3776 (RUN_TEST_ffI_f1): Likewise.
3777 (RUN_TEST_c_c): Likewise.
3778 (RUN_TEST_cc_c): Likewise.
3779 (RUN_TEST_f_i): Likewise.
3780 (RUN_TEST_f_i_tg): Likewise.
3781 (RUN_TEST_ff_i_tg): Likewise.
3782 (RUN_TEST_f_b): Likewise.
3783 (RUN_TEST_f_b_tg): Likewise.
3784 (RUN_TEST_f_l): Likewise.
3785 (RUN_TEST_f_L): Likewise.
3786 (RUN_TEST_sincos): Likewise.
3787 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3788 whether to show exceptions. Do not include ");\n" in return
3789 value.
3790 (special_functions): Output call to RUN_TEST_sincos instead of
3791 check_float calls. Update calls to new_test.
3792 (parse_args): Output call to single RUN_TEST_* macro instead of
3793 check_* calls and other assignments. Update calls to new_test.
3794
d8cd06db
JM
3795 [BZ #2546]
3796 [BZ #2560]
3797 [BZ #5159]
3798 [BZ #15426]
3799 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3800 input to result for tgamma overflow.
3801 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3802 (gamma_coeff): New variable.
3803 (NCOEFF): New macro.
3804 (gamma_positive): New function.
3805 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3806 underflow here. Use gamma_positive instead of exp (lgamma) for
3807 other arguments.
3808 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3809 (gamma_coeff): New variable.
3810 (NCOEFF): New macro.
3811 (gammaf_positive): New function.
3812 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3813 underflow here. Use gamma_positive instead of exp (lgamma) for
3814 other arguments.
3815 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3816 (gamma_coeff): New variable.
3817 (NCOEFF): New macro.
3818 (gammal_positive): New function.
3819 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3820 underflow here. Use gamma_positive instead of exp (lgamma) for
3821 other arguments.
3822 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3823 (gamma_coeff): New variable.
3824 (NCOEFF): New macro.
3825 (gammal_positive): New function.
3826 (__ieee754_gammal_r): Handle positive infinity, overflow and
3827 underflow here. Handle NaN the same as positive infinity. Remove
3828 check x < 0xffffffff for negative integers. Use gamma_positive
3829 instead of exp (lgamma) for other arguments.
3830 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3831 (gamma_coeff): New variable.
3832 (NCOEFF): New macro.
3833 (gammal_positive): New function.
3834 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3835 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3839 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3840 * sysdeps/generic/math_private.h (__gamma_productf): New
3841 prototype.
3842 (__gamma_product): Likewise.
3843 (__gamma_productl): Likewise.
3844 * math/Makefile (libm-calls): Add gamma_product.
3845 * math/libm-test.inc (tgamma_test): Add more tests.
3846 * sysdeps/i386/fpu/libm-test-ulps: Update.
3847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848
bb7cf681
OB
38492013-05-08 Ondřej Bílka <neleai@seznam.cz>
3850
3851 * benchtests/bench-skeleton.c (main): Preheat CPU.
3852
ba853947
AJ
38532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3854
3855 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3856
8347c74c
RM
38572013-05-07 Roland McGrath <roland@hack.frob.com>
3858
3859 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3860 and _dl_skip_args_internal.
3861
e8dd4791
CD
38622013-05-07 Carlos O'Donell <carlos@redhat.com>
3863
3864 * manual/message.texi (Message Translation): Talk about users.
3865 Message to key mapping impacts design.
3866
c7405830
RM
38672013-05-06 Roland McGrath <roland@hack.frob.com>
3868
a9173057
RM
3869 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3870
976e2f03
RM
3871 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3872
9723ffc5
RM
3873 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3874 * sysdeps/wordsize-64/glob64.c: ... here.
3875
962e6658
RM
3876 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3877 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3878 New macros.
3879
ee586a6d
RM
3880 * debug/getlogin_r_chk.c: Moved to ...
3881 * login/getlogin_r_chk.c: ... here.
3882 * debug/Makefile (routines): Move getlogin_r_chk to ...
3883 * login/Makefile (routines): ... here.
3884 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3885 * login/Versions (libc: GLIBC_2.4): ... here.
3886
355f9165
RM
3887 * io/poll.c (__poll): Renamed from poll.
3888 Add libc_hidden_def.
3889 (poll): Define as weak alias.
3890
bd9ffde6
RM
3891 * debug/ptsname_r_chk.c: Moved to ...
3892 * login/ptsname_r_chk.c: ... here.
3893 * debug/Makefile (routines): Move ptsname_r_chk to ...
3894 * login/Makefile (routines): ... here.
3895 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3896 * login/Versions (libc: GLIBC_2.4): ... here.
3897
8fb16a04
RM
3898 * posix/getlogin.c: Moved to ...
3899 * login/getlogin.c: ... here.
3900 * posix/getlogin_r.c: Moved to ...
3901 * login/getlogin_r.c: ... here.
3902 * posix/getlogin_r.c: Moved to ...
3903 * login/getlogin_r.c: ... here.
3904 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3905 * login/Makefile (routines): ... here.
3906 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3907 * login/Versions (libc: GLIBC_2.0): ... here.
3908
b99b892f
RM
3909 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3910 (setrlimit): Define as weak alias.
3911
c7405830
RM
3912 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3913 Call __ names for open, ftruncate, and close.
3914 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3915 (truncate): Define as weak alias.
3916
5bf96de5
JM
39172013-05-06 Joseph Myers <joseph@codesourcery.com>
3918
9ea3513c
JM
3919 * math/gen-libm-test.pl (parse_args): Initialize x before each
3920 test of frexp, modf and remquo.
3921
5bf96de5
JM
3922 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3923 test signgam value.
3924
16e616a7
AZ
39252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926
3927 [BZ #15418]
3928 [BZ #15419]
3929 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3930 internal tests.
3931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3932
d5e82754
RM
39332013-05-06 Roland McGrath <roland@hack.frob.com>
3934
3935 * elf/dl-writev.h: New file.
3936 * elf/dl-misc.c: Include it.
3937 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3938 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3939
a7548d41
JM
39402013-05-04 Joseph Myers <joseph@codesourcery.com>
3941
b7dab1e4
JM
3942 * math/libm-test.inc (noXFails): Remove variable.
3943 (noXPasses): Likewise.
3944 (BUILD_COMPLEX_INT): Remove macro.
3945 (print_screen): Remove xfail argument.
3946 (print_screen_max_error): Likewise.
3947 (update_stats): Likewise.
3948 (print_max_error): Likewise. Update calls to other affected
3949 functions.
3950 (print_complex_max_error): Likewise.
3951 (test_single_exception): Update calls to print_screen.
3952 (test_single_errno): Likewise.
3953 (check_float_internal): Remove xfail argument. Update calls to
3954 other affected functions.
3955 (check_float): Likewise.
3956 (check_complex): Likewise.
3957 (check_int): Likewise.
3958 (check_long): Likewise.
3959 (check_bool): Likewise.
3960 (check_longlong): Likewise.
3961 (main): Don't print noXFails and noXPasses.
3962 * math/gen-libm-test.pl (top level): Don't mention expected
3963 failure handling in comment.
3964 (new_test): Don't handle expected failures.
3965 (parse_args): Don't mention expected failure handling in comment.
3966 (generate_testfile): Don't handle expected failures.
3967 (parse_ulps): Likewise.
3968 (print_ulps_file): Likewise.
3969 (get_failure): Remove function.
3970 (output_test): Don't handle expected failures.
3971 * make/README.libm-test: Don't mention expected failure handling.
3972
a7548d41
JM
3973 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3974 (minus_zero): Likewise.
3975 (plus_infty): Likewise.
3976 (minus_infty): Likewise.
3977 (qnan_value): Likewise.
3978 (max_value): Likewise.
3979 (min_value): Likewise.
3980 (min_subnorm_value): Likewise.
3981 (initialize): Do not initialize those variables dynamically.
3982
60bfd54c
RM
39832013-05-03 Roland McGrath <roland@hack.frob.com>
3984
cc0e6ed8
RM
3985 * io/open.c (__open_2): Moved to ...
3986 * io/open_2.c: ... this new file.
3987 * io/open64.c (__open64_2): Moved to ...
3988 * io/open64_2.c: ... this new file.
3989 * io/openat.c (__openat_2): Moved to ...
3990 * io/openat_2.c: ... this new file.
3991 * io/openat64.c (__openat64_2): Moved to ...
3992 * io/openat64_2.c: ... this new file.
3993 * io/Makefile (routines): Add them.
3994 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3995 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3996 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3997 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3998 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3999 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4000 (__openat64): Add hidden_ver.
4001 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4002 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4003
60bfd54c
RM
4004 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4005 Separately conditionalize setting of GLRO(dl_sysinfo) so
4006 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4007 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4008
83e7640f
AZ
40092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4010
4011 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4012 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4013 definition.
4014 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4015 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4016 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4017 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4018 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4019
d5dc2af3
JM
40202013-05-03 Joseph Myers <joseph@codesourcery.com>
4021
c31a5b1e
JM
4022 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4023 test signgam value.
4024
d5dc2af3
JM
4025 * math/libm-test.inc (hypot_test): Do not use
4026 IGNORE_ZERO_INF_SIGN.
4027
164fd39d
AJ
40282013-05-03 Andreas Jaeger <aj@suse.de>
4029
4030 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4031 Linux 3.9.
4032 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4033 (PF_MAX): Adjust for VSOCK change.
4034
8237f48c
AZ
40352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4036
4037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4038
9df02941
CD
40392013-05-02 Carlos O'Donell <carlos@redhat.com>
4040
4041 [BZ #15264]
4042 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4043 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4044 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4045
d422395e
DM
40462013-05-02 David S. Miller <davem@davemloft.net>
4047
4048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4049
a07c5731
OB
40502013-05-01 Ondřej Bílka <neleai@seznam.cz>
4051
4052 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4053
1324e37f
RM
40542013-05-01 Roland McGrath <roland@hack.frob.com>
4055
4056 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4057
0695940b
RS
40582013-05-01 Richard Smith <richard@metafoo.co.uk>
4059
bb5f27ad 4060 [BZ #14952]
0695940b
RS
4061 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4062 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4063 Use __attribute__ ((__gnu_inline__)).
4064 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4065 Don't use __attribute__ ((__gnu_inline__)).
4066
10de07f5
JM
40672013-05-01 Joseph Myers <joseph@codesourcery.com>
4068
4069 [BZ #15423]
4070 * math/s_catan.c (__catan): Handle small real or imaginary part of
4071 input specially to avoid spurious underflow.
4072 * math/s_catanf.c (__catanf): Likewise.
4073 * math/s_catanh.c (__catanh): Likewise.
4074 * math/s_catanhf.c (__catanhf): Likewise.
4075 * math/s_catanhl.c (__catanhl): Likewise.
4076 * math/s_catanl.c (__catanl): Likewise.
4077 * math/libm-test.inc (catan_test): Add more tests.
4078 (catanh_test): Likewise.
4079 * sysdeps/i386/fpu/libm-test-ulps: Update.
4080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4081
cb4d5414
AZ
40822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4083
4084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4085
caf84319
JM
40862013-04-30 Joseph Myers <joseph@codesourcery.com>
4087
4088 [BZ #15416]
4089 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4090 accurately for denominator in atan2.
4091 * math/s_catanf.c (__catanf): Likewise.
4092 * math/s_catanh.c (__catanh): Likewise.
4093 * math/s_catanhf.c (__catanhf): Likewise.
4094 * math/s_catanhl.c (__catanhl): Likewise.
4095 * math/s_catanl.c (__catanl): Likewise.
4096 * math/libm-test.inc (catan_test): Add more tests.
4097 (catanh_test): Likewise.
4098 * sysdeps/i386/fpu/libm-test-ulps: Update.
4099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100
d569c6ee
SP
41012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4102
6dbe713d
SP
4103 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4104
f0ee064b
SP
4105 * benchtests/Makefile (bench): Remove slow benchmarks.
4106 * benchtests/atan-inputs: Add slow benchmark inputs.
4107 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4108 (BENCH_FUNC): Accept variant offset.
4109 (VARIANT): Define.
4110 * benchtests/bench-skeleton.c (main): Run benchmark for each
4111 variant.
4112 * benchtests/cos-inputs: Add slow benchmark inputs.
4113 * benchtests/exp-inputs: Likewise.
4114 * benchtests/pow-inputs: Likewise.
4115 * benchtests/sin-inputs: Likewise.
4116 * benchtests/slowatan-inputs: Remove.
4117 * benchtests/slowatan.c: Remove.
4118 * benchtests/slowcos-inputs: Remove.
4119 * benchtests/slowcos.c: Remove.
4120 * benchtests/slowexp-inputs: Remove.
4121 * benchtests/slowexp.c: Remove.
4122 * benchtests/slowpow-inputs: Remove.
4123 * benchtests/slowpow.c: Remove.
4124 * benchtests/slowsin-inputs: Remove.
4125 * benchtests/slowsin.c: Remove.
4126 * benchtests/slowtan-inputs: Remove.
4127 * benchtests/slowtan.c: Remove.
4128 * benchtests/tan-inputs: Add slow benchmark inputs.
4129 * scripts/bench.pl: Parse comments and directives.
4130
d569c6ee
SP
4131 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4132 in CPPFLAGS.
4133 ($(objpfx)bench-%.c): Remove *-ITER.
4134 * benchtests/bench-modf.c: Remove definition of ITER.
4135 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4136 (main): Loop for DURATION seconds instead of fixed number of
4137 iterations.
4138 * scripts/bench.pl: Don't expect iterations in parameters.
4139
a6a242fe
RM
41402013-04-29 Roland McGrath <roland@hack.frob.com>
4141
4142 * io/fchdir.c (__fchdir): Renamed from fchdir.
4143 (fchdir): Define as weak alias.
4144
f2da7793
JM
41452013-04-29 Joseph Myers <joseph@codesourcery.com>
4146
4147 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4148 (ERRNO_EDOM): Likewise.
4149 (ERRNO_ERANGE): Likewise.
4150 (noErrnoTests): New variable.
4151 (init_max_error): Set errno to 0.
4152 (test_single_errno): New function.
4153 (test_errno): Likewise.
4154 (check_float_internal): Call test_errno. Set errno to 0.
4155 (check_complex): Refer to errno tests in comment.
4156 (check_int): Call test_errno. Set errno to 0.
4157 (check_long): Likewise.
4158 (check_bool): Likewise.
4159 (check_longlong): Likewise.
4160 (cos_test): Use ERRNO_* flags for errno tests instead of
4161 check_int.
4162 (expm1_test): Likewise.
4163 (fmod_test): Likewise.
4164 (ilogb_test): Likewise.
4165 (lgamma_test): Likewise.
4166 (pow_test): Likewise.
4167 (remainder_test): Likewise.
4168 (sin_test): Likewise.
4169 (tan_test): Likewise.
4170 (yn_test): Likewise.
4171 (initialize): Set errno to 0.
4172 (main): Print number of errno tests.
4173 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4174
b1a36ceb
AJ
41752013-04-29 Andreas Jaeger <aj@suse.de>
4176
c3ed8088
AJ
4177 [BZ #15084]
4178 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4179 and RES_USEVC.
4180
f1a24198
AJ
4181 [BZ #15085]
4182 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4183 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4184 unimplemented.
4185
9ce3b2cb
AJ
4186 [BZ #15380]
4187 * stdlib/random.c (__initstate): Return NULL if
4188 __initstate fails.
4189
f1a24198 4190 [BZ #15086]
b1a36ceb
AJ
4191 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4192 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4193 RES_SNGLKUPREOP.
4194
7e7b6f36
AZ
41952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4196
4197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4198
4d14f449
JM
41992013-04-29 Joseph Myers <joseph@codesourcery.com>
4200
4201 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4202 of individual tests.
4203 (casin_test): Likewise.
4204 (casinh_test): Likewise.
4205
5b4217d7
JM
42062013-04-27 Joseph Myers <joseph@codesourcery.com>
4207
4208 [BZ #15409]
4209 * math/s_catan.c (__catan): Handle arguments with large real or
4210 imaginary part separately without squaring.
4211 * math/s_catanf.c (__catanf): Likewise.
4212 * math/s_catanh.c (__catanh): Likewise.
4213 * math/s_catanhf.c (__catanhf): Likewise.
4214 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4215 and redefine.
4216 (__catanhl): Handle arguments with large real or imaginary part
4217 separately without squaring.
4218 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4219 and redefine.
4220 (__catanl): Handle arguments with large real or imaginary part
4221 separately without squaring.
4222 * math/libm-test.inc (catan_test): Add more tests.
4223 (catanh_test): Likewise.
4224 * sysdeps/i386/fpu/libm-test-ulps: Update.
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4226
4220c3ef
AJ
42272013-04-27 Andreas Jaeger <aj@suse.de>
4228
4229 [BZ #15007]
4230 * stdlib/stdlib.h: Update guards for qecvt.
4231 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4232 <stdlib.h>.
4233
4721b2d1
AM
42342013-04-27 Allan McRae <allan@archlinux.org>
4235
4236 * sysdeps/i386/fpu/libm-test-ulps: Update.
4237
f0302940
JM
42382013-04-26 Joseph Myers <joseph@codesourcery.com>
4239
9457fd95
JM
4240 [BZ #15406]
4241 * math/s_catan.c: Include <float.h>.
4242 (__catan): Ensure underflow exception occurs for underflowed
4243 result.
4244 * math/s_catanf.c: Include <float.h>.
4245 (__catanf): Ensure underflow exception occurs for underflowed
4246 result.
4247 * math/s_catanh.c: Include <float.h>.
4248 (__catanh): Ensure underflow exception occurs for underflowed
4249 result.
4250 * math/s_catanhf.c: Include <float.h>.
4251 (__catanhf): Ensure underflow exception occurs for underflowed
4252 result.
4253 * math/s_catanhl.c: Include <float.h>.
4254 (__catanhl): Ensure underflow exception occurs for underflowed
4255 result.
4256 * math/s_catanl.c: Include <float.h>.
4257 (__catanl): Ensure underflow exception occurs for underflowed
4258 result.
4259 * math/libm-test.inc (catan_test): Add more tests.
4260 (catanh_test): Likewise.
4261
f0302940
JM
4262 [BZ #15405]
4263 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4264 underflowed result.
4265 * math/s_ccoshf.c (__ccoshf): Likewise.
4266 * math/s_ccoshl.c (__ccoshl): Likewise.
4267 * math/s_csin.c (__csin): Likewise.
4268 * math/s_csinf.c (__csinf): Likewise.
4269 * math/s_csinh.c (__csinh): Likewise.
4270 * math/s_csinhf.c (__csinhf): Likewise.
4271 * math/s_csinhl.c (__csinhl): Likewise.
4272 * math/s_csinl.c (__csinl): Likewise.
4273 * math/libm-test.inc (ccos_test): Add more tests.
4274 (ccosh_test): Likewise.
4275 (csin_test): Likewise.
4276 (csinh_test): Likewise.
4277
aa630f59
AZ
42782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4279
4280 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4281 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4282 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4283 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4284 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4285 powerpc/power5+/fpu folders.
4286 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4287
4288
1b835983
MT
42892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4290
4291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4292
73709b26
JM
42932013-04-25 Joseph Myers <joseph@codesourcery.com>
4294
4295 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4296 additions to variable.
4297 [$(config-machine) = x86_64] (modules-names): Likewise.
4298 ($(objpfx)tst-audit3): Remove dependency.
4299 ($(objpfx)tst-audit3.out): Likewise.
4300 ($(objpfx)tst-audit4): Likewise.
4301 ($(objpfx)tst-audit4.out): Likewise.
4302 ($(objpfx)tst-audit5): Likewise.
4303 ($(objpfx)tst-audit5.out): Likewise.
4304 ($(objpfx)tst-audit6): Likewise.
4305 ($(objpfx)tst-audit6.out): Likewise.
4306 ($(objpfx)tst-audit7): Likewise.
4307 ($(objpfx)tst-audit7.out): Likewise.
4308 (tst-audit3-ENV): Remove variable.
4309 (tst-audit4-ENV): Likewise.
4310 (tst-audit5-ENV): Likewise.
4311 (tst-audit6-ENV): Likewise.
4312 (tst-audit7-ENV): Likewise.
4313 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4314 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4315 addition to variable.
4316 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4317 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4318 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4319 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4320 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4321 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4322 tst-audit3, tst-audit4 and tst-audit5.
4323 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4324 tst-audit6 and tst-audit7.
4325 [$(subdir) = elf] (modules-names): Add audit modules for those
4326 tests.
4327 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4328 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4329 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4330 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4331 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4332 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4333 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4334 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4335 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4336 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4337 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4338 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4339 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4340 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4341 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4342 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4343 Likewise.
4344 [$(subdir) = elf && $(config-cflags-avx) = yes]
4345 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4346 [$(subdir) = elf && $(config-cflags-avx) = yes]
4347 (CFLAGS-tst-auditmod4a.c): Likewise.
4348 [$(subdir) = elf && $(config-cflags-avx) = yes]
4349 (CFLAGS-tst-auditmod4b.c): Likewise.
4350 [$(subdir) = elf && $(config-cflags-avx) = yes]
4351 (CFLAGS-tst-auditmod6b.c): Likewise.
4352 [$(subdir) = elf && $(config-cflags-avx) = yes]
4353 (CFLAGS-tst-auditmod6c.c): Likewise.
4354 [$(subdir) = elf && $(config-cflags-avx) = yes]
4355 (CFLAGS-tst-auditmod7b.c): Likewise.
4356 * elf/tst-audit3.c: Move to ...
4357 * sysdeps/x86_64/tst-audit3.c: ... here.
4358 * elf/tst-audit4.c: Move to ...
4359 * sysdeps/x86_64/tst-audit4.c: ... here.
4360 * elf/tst-audit5.c: Move to ...
4361 * sysdeps/x86_64/tst-audit5.c: ... here.
4362 * elf/tst-audit6.c: Move to ...
4363 * sysdeps/x86_64/tst-audit6.c: ... here.
4364 * elf/tst-audit7.c: Move to ...
4365 * sysdeps/x86_64/tst-audit7.c: ... here.
4366 * elf/tst-auditmod3a.c: Move to ...
4367 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4368 * elf/tst-auditmod3b.c: Move to ...
4369 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4370 * elf/tst-auditmod4a.c: Move to ...
4371 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4372 * elf/tst-auditmod4b.c: Move to ...
4373 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4374 * elf/tst-auditmod5a.c: Move to ...
4375 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4376 * elf/tst-auditmod5b.c: Move to ...
4377 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4378 * elf/tst-auditmod6a.c: Move to ...
4379 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4380 * elf/tst-auditmod6b.c: Move to ...
4381 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4382 * elf/tst-auditmod6c.c: Move to ...
4383 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4384 * elf/tst-auditmod7a.c: Move to ...
4385 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4386 * elf/tst-auditmod7b.c: Move to ...
4387 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4388
1ef74943
PP
43892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4390
4391 [BZ #15366]
4392 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4393 define unconditionally.
4394 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4395 define unconditionally.
4396 (INT8_C, INT16_C, etc.): Likewise.
4397
93fd48c5
MR
43982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4399
ae9552cf
MR
4400 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4401 __ehdr_start with hidden visibility.
4402
93fd48c5
MR
4403 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4404
418601aa
CD
44052013-04-24 Carlos O'Donell <carlos@redhat.com>
4406
4407 * math/libm-test.inc (cos_test): Use accurate hex constants.
4408 (sincost_test): Likewise.
4409
2f38fbfe
JM
44102013-04-24 Joseph Myers <joseph@codesourcery.com>
4411
5e221800
JM
4412 * math/libm-test.inc (catan_test): Add more tests.
4413 (catanh_test): Likewise.
4414
77f143fd
JM
4415 * math/s_catanf.c (__catanf): Use suffixed floating-point
4416 constants.
4417 * math/s_catanhf.c (__catanhf): Likewise.
4418 * math/s_catanhl.c (__catanhl): Likewise.
4419 * math/s_catanl.c (__catanl): Likewise.
4420
2f38fbfe
JM
4421 [BZ #15394]
4422 * math/s_catan.c (__catan): Calculate imaginary part of result
4423 with log1p not log unless computing log of number close to 0.
4424 * math/s_catanf.c (__catanf): Likewise.
4425 * math/s_catanl.c (__catanl): Likewise.
4426 * math/s_catanh.c (__catanh): Calculate real part of result with
4427 log1p not log unless computing log of number close to 0.
4428 * math/s_catanhf.c (__catanhf): Likewise.
4429 * math/s_catanhl.c (__catanhl): Likewise.
4430 * math/libm-test.inc (catan_test): Add more tests.
4431 (catanh_test): Likewise.
4432 * sysdeps/i386/fpu/libm-test-ulps: Update.
4433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4434
45d69176
SP
44352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4436
4437 * benchtests/Makefile: Mention files in which fast and slow
4438 paths of math functions are implemented.
4439
87f51853
RM
44402013-04-23 Roland McGrath <roland@hack.frob.com>
4441
4442 * sysdeps/posix/timespec_get.c: New file.
4443
3c026539
AZ
44442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4445
4446 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4447 POWER.
4448 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4449 for POWER.
4450 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4451 powerpc/power5/fpu folders.
4452 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4453 * benchtests/Makefile: Add modf testcase.
4454 * benchtests/bench-modf.c: New file: Benchmark test for mo
4455
ff491d14
SP
44562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4457
4458 [BZ #14888]
4459 * time/Makefile (tests): Add tst-strptime-whitespace.
4460 * time/strptime_l.c (get_number): Use ISSPACE.
4461 (__strptime_internal): Likewise.
4462 * time/tst-strptime-whitespace.c: New test case.
4463
7ed3f4e8
AS
44642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4465
4466 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4467 member.
4468 (_nss_files_init): Set it here.
4469
5c95f7b6
HC
44702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4471
4472 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4473 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4474 unsigned.
4475
d34c9158
JBG
44762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4477
4478 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4479
2169712d
SP
44802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4481
4482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4483 size just once.
4484
29c5de99
DM
44852013-04-21 David S. Miller <davem@davemloft.net>
4486
4487 * po/ru.po: Update Russion translation from translation project.
4488
ccdad15d
AC
44892013-04-17 Adam Conrad <adconrad@0c3.net>
4490
4491 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4492 and setfsgid.
4493
0f122b8d
CD
44942013-04-17 Carlos O'Donell <carlos@redhat.com>
4495
5c5b07da 4496 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4497 * configure: Regenerate.
5c5b07da 4498 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4499 Add example to error message.
4500 * sysdeps/i386/configure: Regenerate.
4501
037714dd
SP
45022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4503
4504 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4505 slowtan.
4506 * benchtests/cos-inputs: New file.
4507 * benchtests/slowcos-inputs: New file.
4508 * benchtests/slowcos.c: New file.
4509 * benchtests/slowtan-inputs: New file.
4510 * benchtests/slowtan.c: New file.
4511 * benchtests/tan-inputs: New file.
4512
e913141d
RM
45132013-04-16 Roland McGrath <roland@hack.frob.com>
4514
4515 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4516 considered kosher.
4517
a2964074
SP
45182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4519
4856bcd2
SP
4520 * benchtests/Makefile: Include cppflags-iterator.mk to add
4521 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4522
a2964074
SP
4523 * Makefile.in (bench-clean): New target.
4524 * benchtests/Makefile (bench-clean): Likewise.
4525
9fbf9aca
DH
45262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4527
4528 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4529
207d1e2a
TS
45302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4531
4532 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4533
306dfba9
AS
45342013-04-15 Andreas Schwab <schwab@suse.de>
4535
4536 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4537 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4538 * nscd/pwdcache.c (cache_addpw): Likewise.
4539 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4540 more than recsize.
4541
206a6699
SP
45422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4543
4544 * benchtests/Makefile (bench): Write all output to
4545 bench-out.tmp together.
4546
0582f6b3
AS
45472013-04-15 Andreas Schwab <schwab@suse.de>
4548
4549 * nscd/nscd.c (main): Don't fork again after closing files.
4550
acb4325f
SP
45512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4552
5cb26d0a
SP
4553 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4554
acb4325f
SP
4555 * benchtests/Rules (bench-deps): Collect dependencies into a
4556 single variable. Add Makefile to dependencies.
4557 ($(objpfx)bench-%.c): Depend on bench-deps.
4558
47792506
RM
45592013-04-12 Roland McGrath <roland@hack.frob.com>
4560 Xavier Roche <roche+kml2@exalead.com>
4561
4562 [BZ #15361]
4563 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4564 just that it's a file descriptor.
4565 * manual/llio.texi (Synchronizing AIO Operations): Update description
4566 for EBADF error from aio_fsync.
4567
8fc1bee5
SP
45682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4569
4570 * Rules (bench): Move target definition...
4571 * benchtests/Makefile: ... here.
4572
aba5e333
CD
45732013-04-11 Carlos O'Donell <carlos@redhat.com>
4574
4575 * math/libm-test.inc (cos_test): Fix PI/2 test.
4576 (sincos_test): Likewise.
4577 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4578 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4579
273cdee8
AS
45802013-04-11 Andreas Schwab <schwab@suse.de>
4581
6ecec3b6
AS
4582 [BZ #13988]
4583 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4584 accept exponent character only when digits were seen.
4585 * stdio-common/Makefile (tests): Add bug26.
4586 * stdio-common/bug26.c: New file.
4587
273cdee8
AS
4588 [BZ #14293]
4589 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4590 non-freeable.
4591
8da491f5
SP
45922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4593
01dc6df9
SP
4594 * Makeconfig (rtld-prefix): Define built linker prefix.
4595 * Rules (run-bench): Use it.
4596 * math/Makefile (run-regen-ulps): Likewise.
4597
8da491f5
SP
4598 * Rules (bench): Remove eval.
4599
abe7f530
SP
46002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4601 Roland McGrath <roland@hack.frob.com>
4602 Ondrej Bilka <neleai@seznam.cz>
4603
4604 [BZ #15346]
4605 * time/getdate.c: Include ctype.h and alloca.h.
4606 (__getdate_r): Trim leading and trailing spaces of input.
4607 * time/tst-getdate.c (tests): Add tests with leading and
4608 trailing spaces.
4609
61c23e62
RM
46102013-04-08 Roland McGrath <roland@hack.frob.com>
4611
4612 [BZ #14280]
4613 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4614 when computing value.
4615
7208a313
CD
46162013-04-06 Carlos O'Donell <carlos@redhat.com>
4617
085b2d41
CD
4618 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4619 Use testrun.sh to run libm tests.
4620
7208a313
CD
4621 [BZ #15309]
4622 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4623
872c0acd
MM
46242013-04-06 Marko Myllynen <myllynen@redhat.com>
4625
4626 [BZ #15264]
4627 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4628
26510bdd
CD
46292013-04-06 Carlos O'Donell <carlos@redhat.com>
4630
4631 * Makefile.in (regen-ulps): New target.
4632 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4633 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4634 [ifneq (no,$(PERL)] (regen-ulps): New target.
4635 [ifeq (no,$(PERL)] (regen-ulps): New target.
4636 * math/libm-test.inc (ulps_file_name): Define.
4637 (output_dir): New variable.
4638 (options): Add "output-dir" option.
4639 (parse_opt): Handle 'o' case.
4640 (main): If output_dir is non-NULL use it as a prefix
4641 otherwise use "".
4642 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4643
a01f19c8
CD
46442013-04-06 Carlos O'Donell <carlos@redhat.com>
4645
4646 [BZ #10060, #10062]
4647 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4648 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4649 fail configure if __sync_val_compare_and_swap is not inlined.
4650 * sysdeps/i386/configure: Regenerate.
4651 * configure.in: Build for i686 when configured for i386.
4652 * configure: Regenerate.
4653 * README: Remove i386 reference.
4654
b7a329a5
CD
46552013-04-06 Carlos O'Donell <carlos@redhat.com>
4656
4657 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4659
bf0f50df
TS
46602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4661
ee091edf
TS
4662 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4663 (lmsnanval): New variables.
4664 (F): Add conversion tests.
4665 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4666 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4667
a8b792d6
TS
4668 * stdio-common/tstdiomisc.c (F): Properly collect individual
4669 tests' results.
4670
a1cbf437
TS
4671 [BZ #14686, #15336]
4672 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4673 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4674 Instead, use input NaN values or generate a qNaN by arithmetic
4675 operation. Also fix bugs to comply with the standard.
4676 * math/libm-test.inc (remainder_test): Add more tests.
4677
8b43a0c9
TS
4678 [BZ #15335, #15342]
4679 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4681 input NaN values or generate a qNaN by arithmetic operation.
4682
d91da4ce
TS
4683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4684 unreachable code.
4685
bf0f50df
TS
4686 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4687 definitions.
4688
05e166c8
JM
46892013-04-03 Joseph Myers <joseph@codesourcery.com>
4690
4691 [BZ #14478]
4692 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4693 underflowed result.
4694 * math/s_cexpf.c (__cexpf): Likewise.
4695 * math/s_cexpl.c (__cexpl): Likewise.
4696 * math/libm-test.inc (cexp_test): Add more tests.
4697
1cef1b19
AS
46982013-04-03 Andreas Schwab <schwab@suse.de>
4699
4700 [BZ #15330]
4701 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4702 order arrays from heap if bigger than alloca cutoff.
4703
74d87055
TS
47042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4705
4706 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4707 (SNAN_TESTS_double): Refer to GCC PR56831.
4708 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4709 GCC PR56828.
4710
d755bba4
SP
47112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
90d5d5bb
SP
4713 * Rules (bench): Move bench.out after the run is complete.
4714
73e0cd5d
SP
4715 * Rules (bench): Echo currently running benchmark.
4716
64aabd4b
SP
4717 * benchtests/Makefile (bench): Add atan and slowatan.
4718 * benchtests/atan-inputs: New file.
4719 * benchtests/slowatan-inputs: New file.
4720 * benchtests/slowatan.c: New file.
4721
c871eccd
SP
4722 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4723 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4724 its value.
4725
d755bba4
SP
4726 [BZ #15305]
4727 * sysdeps/unix/sysv/linux/kernel-features.h
4728 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4729 __ASSUME_XFS_RESTRICTED_CHOWN.
4730 * sysdeps/unix/sysv/linux/pathconf.c
4731 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4732 Save and restore errno.
4733
52ce4860
JM
47342013-04-02 Joseph Myers <joseph@codesourcery.com>
4735
4736 [BZ #15327]
4737 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4738 arguments using __kernel_casinh.
4739 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4740 arguments using __kernel_casinhf.
4741 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4742 arguments using __kernel_casinhl.
4743 * math/libm-test.inc (cacosh_test): Add more tests.
4744 * sysdeps/i386/fpu/libm-test-ulps: Update.
4745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746
81f311c2
SP
47472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4748
e7906a47
SP
4749 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4751
92e3664b
SP
4752 * bench/Makefile (bench): Add sin and slowsin.
4753 * benchtests/sin-inputs: New file.
4754 * benchtests/slowsin-inputs: New file.
4755 * benchtests/slowsin.c: New file.
4756
81f311c2
SP
4757 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4758 (bench): Add slowexp and slowpow.
4759 (exp-ITER): Increase iterations.
4760 (pow-ITER): Likewise.
4761 * benchtests/exp-inputs: Change input.
4762 * benchtests/pow-inputs: Likewise.
4763 * benchtests/slowexp-inputs: New file.
4764 * benchtests/slowexp.c: New file.
4765 * benchtests/slowpow-inputs: New file.
4766 * benchtests/slowpow.c: New file.
4767
ab0f1aa9
AZ
47682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769
4770 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4771 instructions.
4772 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4773 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4774 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4775 * benchtests/Makefile: Add rint benchtest.
4776 * benchtests/rint-inputs: Input for rint benchtest.
4777
57267616
TS
47782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4779
4780 * Versions.def (libm): Add GLIBC_2.18.
4781 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4782 hidden libm prototypes.
4783 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4784 * math/Makefile (libm-calls): Add s_issignaling.
4785 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4786 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4787 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4788 declaration.
4789 * math/math.h [__USE_GNU] (issignaling): New macro.
4790 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4791 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4792 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4793 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4796 * manual/arith.texi (issignaling): New section.
4797 * manual/libm-err-tab.pl (@all_functions): Update comment.
4798 * math/gen-libm-test.pl (parse_args): Apply special handling for
4799 issignaling.
4800 * math/libm-test.inc (print_float, issignaling_test): New
4801 functions.
4802 (check_float_internal): Add issignaling checks.
4803 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4804 default definition.
4805 * sysdeps/powerpc/math-tests.h: New file.
4806 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4807 tests.
4808 * math/test-snan.c (TEST_FUNC): Likewise.
4809
6142896d
DM
48102013-03-30 David S. Miller <davem@davemloft.net>
4811
4812 * po/de.po: Update from translation team.
4813
ccc8cadf
JM
48142013-03-30 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #10357]
4817 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4818 imaginary part less than 1.0 and real part less than 0.5
4819 specially.
4820 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4821 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4822 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4823 (cacos_test): Add more tests.
4824 (casin_test): Likewise.
4825 (casinh_test): Likewise.
4826 * sysdeps/i386/fpu/libm-test-ulps: Update.
4827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4828
0f6a8d4b
SP
48292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4830
0d1029de
SP
4831 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4832 ONE with its value.
4833
c2d94018
SP
4834 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4835 (__pow_mp): Replace ONE and MONE with their values.
4836 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4837 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4838 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4839 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4840 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4841 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4842
27ec37f1
SP
4843 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4844
a64d7e0e
SP
4845 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4846 (__pow_mp): Replace ZERO and MZERO with their values.
4847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4848 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4849 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4851 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4852 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4853 (__sqr): Likewise.
4854
d26dd3eb
SP
4855 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4856
0f6a8d4b
SP
4857 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4858
e57b0c61
RM
48592013-03-28 Roland McGrath <roland@hack.frob.com>
4860
4861 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4862 Declare with __attribute__ ((weak)).
4863 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4864 Call __call_tls_dtors only if it's not NULL.
4865
356b3480
RM
48662013-03-28 Roland McGrath <roland@hack.frob.com>
4867
288f7d79
RM
4868 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4869 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4870 magic __ehdr_start linker symbol if it's defined.
4871 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4872 them up here if it was already done.
4873
dc0a0263
RM
4874 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4875 (_dl_aux_init): Use const in cast when setting it.
4876 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4877 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4878 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4879
3d3436ae
RM
4880 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4881 Declare them here.
4882 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4883 * csu/libc-tls.c: Nor here.
4884 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4885
356b3480
RM
4886 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4887 (__libc_message): Never call vsyslog.
4888
b0f1246a
AM
48892013-03-28 Alan Modra <amodra@gmail.com>
4890
4891 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4892 Define as empty.
4893 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4894 Likewise.
4895
fbbe2b9a
AZ
48962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4897
4898 [BZ #15214]
4899 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4900 underflow.
4901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4902
1728ab37
SP
49032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4904
7a86be6e
SP
4905 [BZ #15304]
4906 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4907 Don't add gid passed as argument.
4908
1728ab37
SP
4909 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4910
3a7182a1
JM
49112013-03-27 Joseph Myers <joseph@codesourcery.com>
4912
4913 [BZ #15307]
4914 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4915 imaginary part between 1.0 and 1.5 and real part less than 0.5
4916 specially.
4917 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4918 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4919 * math/libm-test.inc (cacos_test): Add more tests.
4920 (casin_test): Likewise.
4921 (casinh_test): Likewise.
4922 * sysdeps/i386/fpu/libm-test-ulps: Update.
4923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4924
6f2e90e7
SP
49252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4926
5739f705
SP
4927 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4928 constants.
4929 (norm): Likewise.
4930 (denorm): Likewise.
4931 (__dbl_mp): Likewise.
4932 (add_magnitudes): Likewise.
4933 (sub_magnitudes): Likewise.
4934 (__add): Likewise.
4935 (__sub): Likewise.
4936 (__mul): Likewise.
4937 (__sqr): Likewise.
4938 (__inv): Likewise.
4939 (__dvd): Likewise.
4940
e375e83d
SP
4941 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4942 commented code.
4943 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4944 (__dubcos): Likewise.
4945 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4946 (__ieee754_acos): Likewise.
4947 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4948 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4949 (__exp1): Likewise.
4950 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4952 (log1): Likewise.
4953 (my_log2): Likewise.
4954 (checkint): Likewise.
4955 * sysdeps/ieee754/dbl-64/e_remainder.c
4956 (__ieee754_remainder): Likewise.
4957 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4958 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4959 (bsloww): Likewise.
4960 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4961
6f2e90e7
SP
4962 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4963 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4964 MANTISSA_STORE_T to store computations on mantissa. Use
4965 macros for rounding and division.
4966 (denorm): Likewise.
4967 (__dbl_mp): Likewise.
4968 (add_magnitudes): Likewise.
4969 (sub_magnitudes): Likewise.
4970 (__mul): Likewise.
4971 (__sqr): Likewise.
4972 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4973 powers of two in terms of TWOPOW macro.
4974 (mp_no): Make type of mantissa as MANTISSA_T.
4975 [!RADIXI]: Define RADIXI.
4976 [!TWO52]: Define TWO52.
4977 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4978
fce14d4e
AZ
49792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4980
4981 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4982 llroundl symbol when building for PPC32.
4983
9ad027fb
MW
49842013-03-24 Mark H Weaver <mhw@netris.org>
4985
4986 * manual/arith.texi (Normalization Functions): Fix prototypes for
4987 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4988
e42a38dd
AZ
49892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4990
4991 [BZ #13889]
4992 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4993 high value to check if expl overflow.
4994 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4995 to check for underflow and overflow.
4996 * math/libm-test.inc: Add exp test.
4997
2e0fb521
DL
49982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4999
5000 [BZ #11120]
5001 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5002 with NOT_IN_libc.
5003
b5784d95
AZ
50042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5005
5006 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5007 symbol.
5008
5aa4a1a1
TS
50092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5010
bdef0be7
TS
5011 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5012 wrap blocks consisting of several statements.
5013
5aa4a1a1
TS
5014 * sysdeps/generic/math-tests.h: New file.
5015 * sysdeps/i386/fpu/math-tests.h: Likewise.
5016 * math/test-snan.c: Include it.
5017 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5018
98c48fe5
JM
50192013-03-21 Joseph Myers <joseph@codesourcery.com>
5020
5021 [BZ #15285]
5022 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5023 (__ieee754_j0l): Do not improve calculations using cos of twice
5024 input for inputs above LDBL_MAX / 2.0L.
5025 (__ieee754_y0l): Likewise.
5026 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5027 (__ieee754_j1l): Do not improve calculations using cos of twice
5028 input for inputs above LDBL_MAX / 2.0L.
5029 (__ieee754_y1l): Likewise.
5030 * math/libm-test.inc (j0_test): Add another test.
5031 (j1_test): Likewise.
5032 (y0_test): Likewise.
5033 (y1_test): Likewise.
5034 * sysdeps/i386/fpu/libm-test-ulps: Update.
5035
3775a8bc
SP
50362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5037
5038 * Rules ($(objpfx)bench-%.c): Include code from a C source
5039 file.
5040
0a1b2ae6
JM
50412013-03-21 Joseph Myers <joseph@codesourcery.com>
5042
5043 [BZ #15287]
5044 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5045 imaginary part 1.0 and real part less than 0.5 specially.
5046 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5047 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5048 * math/libm-test.inc (cacos_test): Add more tests.
5049 (casin_test): Likewise.
5050 (casinh_test): Likewise.
5051 * sysdeps/i386/fpu/libm-test-ulps: Update.
5052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053
b33d4ce4
SP
50542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5055
5056 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5057 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5058
bef0b507
JM
50592013-03-20 Joseph Myers <joseph@codesourcery.com>
5060
5061 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5062 * config.make.in (config-cflags-sse4): Remove variable.
5063 (config-cflags-avx): Likewise.
5064 (config-cflags-sse2avx): Likewise.
5065 (config-cflags-novzeroupper): Likewise.
5066 (config-asflags-i686): Likewise.
5067 (have-mfma4): Likewise.
5068 (have-as-vis3): Likewise.
5069 (MIG): Likewise.
5070 * configure.in (MIG): Do not AC_SUBST.
5071 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5072 (libc_cv_cc_sse4): Do not AC_SUBST.
5073 (libc_cv_cc_avx): Likewise.
5074 (libc_cv_cc_sse2avx): Likewise.
5075 (libc_cv_cc_novzeroupper): Likewise.
5076 (libc_cv_cc_fma4): Likewise.
5077 (libc_cv_as_i686): Likewise.
5078 (libc_cv_sparc_as_vis3): Likewise.
5079 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5080 LIBC_CONFIG_VAR.
5081 (config-asflags-i686): Likewise.
5082 (config-cflags-avx): Likewise.
5083 (config-cflags-sse2avx): Likewise.
5084 (have-mfma4): Likewise.
5085 (config-cflags-novzeroupper): Likewise.
5086 * sysdeps/mach/configure.in (MIG): Likewise.
5087 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5088 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5089 LIBC_CONFIG_VAR.
5090 (config-cflags-avx): Likewise.
5091 (config-cflags-sse2avx): Likewise.
5092 (have-mfma4): Likewise.
5093 (config-cflags-novzeroupper): Likewise.
5094 * configure: Regenerated.
5095 * sysdeps/i386/configure: Likewise.
5096 * sysdeps/mach/configure: Likewise.
5097 * sysdeps/sparc/configure: Likewise.
5098 * sysdeps/x86_64/configure: Likewise.
5099
912cc4b3
RM
51002013-03-20 Roland McGrath <roland@hack.frob.com>
5101
5102 [BZ #14812]
5103 * locale/programs/localedef.c (options): Put N_ translation marker
5104 on argument names, not just descriptions.
5105
04eed2b0
MS
51062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5107
5108 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5109
a065ceff
OB
51102013-03-20 Ondřej Bílka <neleai@seznam.cz>
5111
9bb2a810 5112 [BZ #14176]
a065ceff
OB
5113 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5114
a600e5ce
RM
51152013-03-19 Roland McGrath <roland@hack.frob.com>
5116
5117 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5118 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5119 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5120 [!BEFORE_ABORT] (before_abort): New function.
5121 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5122 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5123 (writev_for_fatal): New function.
5124 (WRITEV_FOR_FATAL): New macro; call that.
5125 (backtrace_and_maps): New function.
5126 (BEFORE_ABORT): New macro; call that.
5127 (struct str_list): Type removed.
5128 (__libc_message, __libc_fatal): Functions removed.
5129 Include <sysdeps/posix/libc_fatal.c> instead.
5130
6b18bea6
JM
51312013-03-19 Joseph Myers <joseph@codesourcery.com>
5132
5133 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5134 constants.
5135 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5136 double constants.
5137
aaa8cb4b
AS
51382013-03-19 Andreas Schwab <schwab@suse.de>
5139
44673770
AS
5140 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5141 * sysdeps/gnu/configure: Regenerate.
5142
aaa8cb4b
AS
5143 * configure.in: Substitute libc_cv_rtlddir.
5144 * configure: Regenerate.
5145 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5146 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5147 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5148 * elf/Makefile (install-others, CFLAGS-interp.c)
5149 (ldso_install, common-ldd-rewrite): Likewise.
5150 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5151 $(inst_slibdir)/$(rtld-installed-name).
5152 * scripts/rellns-sh: Add -p option.
5153 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5154 for source.
5155
d3cfc668
SP
51562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5157
5158 * manual/nptl.texi: Renamed to ...
5159 * manual/threads.texi: ... this.
5160 * manual/Makefile (chapters): Update.
5161
0e2b9cdd
RM
51622013-03-18 Roland McGrath <roland@hack.frob.com>
5163
5164 [BZ #14812]
5165 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5166 on argument names, not just descriptions.
0e2b9cdd
RM
5167 * malloc/memusagestat.c (options): Likewise.
5168 * nss/getent.c (options): Likewise.
63270c24
RM
5169
51702013-03-18 Benno Schulenberg <bensberg@justemail.net>
5171
5172 [BZ #14812]
5173 * iconv/iconv_prog.c (options): Put N_ translation marker
5174 on argument names, not just descriptions.
5175 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5176
b2e1393c
OB
51772013-03-18 Ondrej Bilka <neleai@seznam.cz>
5178
5179 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5180 implementation which is faster on all x86_64 architectures.
5181 Tested on AMD, Intel Nehalem, SNB, IVB.
5182 * sysdeps/x86_64/strnlen.S: Likewise.
5183
5184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5185 Remove all multiarch strlen and strnlen versions.
5186 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5187 Remove strlen and strnlen related parts.
5188
5189 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5190 Inline strlen part.
5191 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5192
5193 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5194 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5195 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5196 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5197 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5198 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5199
ec4ff04d
CD
52002013-03-17 Carlos O'Donell <carlos@redhat.com>
5201
5202 * manual/memory.texi (Malloc Tunable Parameters):
5203 Sort parameters alphabetically. Add comments for missing entries.
5204
cd18e90a
DM
52052013-03-17 David S. Miller <davem@davemloft.net>
5206
5207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5208
2a185d32
JM
52092013-03-16 Joseph Myers <joseph@codesourcery.com>
5210
d2f9799e
JM
5211 [BZ #15283]
5212 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5213 for arguments at most half maximum finite value.
5214 * math/libm-test.inc (j0_test): Add more tests.
5215 (j1_test): Likewise.
5216 (y0_test): Likewise.
5217 (y1_test): Likewise.
5218 * sysdeps/i386/fpu/libm-test-ulps: Update.
5219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5220
2a185d32
JM
5221 [BZ #14155]
5222 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5223 1 / x and functions P and Q for arguments above 0x1p256L.
5224 (__ieee754_y0l): Likewise.
5225 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5226 (__ieee754_y1l): Likewise.
5227 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5228 (j1_test): Likewise.
5229 (y0_test): Likewise.
5230 (y1_test): Likewise.
5231
6cbec759
TS
52322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5233
5234 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5235 variable.
5236
bc16e260
RM
52372013-03-15 Roland McGrath <roland@hack.frob.com>
5238
aefc9b8c
RM
5239 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5240 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5241 zero since it's initialized to EXEC_PAGESIZE.
5242
bc16e260
RM
5243 * sysdeps/unix/sysv/linux/ldsodefs.h
5244 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5245 * sysdeps/generic/ldsodefs.h: ... here.
5246
a57da955
TS
52472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5248
af00a34d
TS
5249 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5250
495ded2c
TS
5251 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5252 math/test-snan.c.
5253 * math/test-snan.c: Renamed from
5254 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5255 * math/Makefile (tests): Add test-snan.
5256 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5257 test-powerpc-snan.
5258
777b0332
TS
5259 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5260 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5261 functions.
5262 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5263 __builtin_nan family of functions.
5264 * math/libm-test.inc (initialize): Initialize qnan_value with
5265 __builtin_nan family of functions.
5266 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5267 Remove variables.
5268 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5269 Remove functions.
5270 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5271 storage class. Initialize qNaN_var and sNaN_var with
5272 __builtin_nan and __builtin_nans families of functions,
5273 respectively.
5274
64d063b8
TS
5275 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5276 (sqrt_test): Remove duplicate test with qNaN input.
5277 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5278 (round_test, signbit_test, significand_test): Note missing +/-Inf
5279 as well as qNaN tests.
5280
67e971f1
TS
5281 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5282 qNaN_var. Fix a few strings, too.
5283 * math/libm-test.inc (nan_value): Rename to qnan_value.
5284 * math/gen-libm-test.pl (%beautify): Adjust to that.
5285 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5286 * math/test-misc.c (main): Likewise.
5287 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5288 to __qnan_bytes, and __qnan_union, respectively.
5289 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5290 Likewise.
5291 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5292 and lqnanval, respectively.
5293 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5294 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5295 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5296 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5297
64487e12
TS
5298 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5299 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5300 doubles.
5301
e015e27b
TS
5302 * math/test-misc.c (main): Fix copy'n'pastos.
5303 * misc/tst-efgcvt.c (special): Likewise.
5304
a57da955
TS
5305 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5306 Remove declarations.
5307
1e380345
SP
53082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
5310 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5311 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5312 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5313 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5314
ef26eece
AZ
53152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5316
5317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5318 macro to return vdso values correctly in IFUNC implementations.
5319 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5320 Optimization by using IFUNC.
5321
8cfdb7e0
SP
53222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5323 Richard Henderson <rth@redhat.com>
5324 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5325
5326 * Makefile.in (bench): New target.
5327 * NEWS: Mention the benchmark framework.
5328 * Rules (bench): Likewise.
5329 (binaries-bench): Generate binaries for functions to
5330 benchmark.
5331 * benchtests/Makefile: New makefile for benchmark tests.
5332 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5333 programs.
5334 * benchtests/exp-inputs: New input file for EXP function.
5335 * benchtests/pow-inputs: New input file for POW function.
5336 * scripts/bench.pl: New script to generate source files for
5337 benchmark programs.
5338
bcda9880
SP
53392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5340
d22ca8cd
SP
5341 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5342 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5343 computations on mantissa. Use macros for rounding and
5344 division.
5345 (denorm): Likewise.
5346 (__dbl_mp): Likewise.
5347 (add_magnitudes): Likewise.
5348 (sub_magnitudes): Likewise.
5349 (__mul): Likewise.
5350 (__sqr): Likewise.
5351 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5352 powers of two in terms of TWOPOW macro.
5353 (mp_no): Make type of mantissa as MANTISSA_T.
5354 [!RADIXI]: Define RADIXI.
5355 [!TWO52]: Define TWO52.
5356 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5357
bcda9880
SP
5358 * manual/nptl.texi (cindex): Modify threads to pthreads.
5359
06d5adfb
JM
53602013-03-15 Joseph Myers <joseph@codesourcery.com>
5361
5362 * sysdeps/x86_64/preconfigure: Regenerated.
5363
41c7328e
JM
53642013-03-14 Joseph Myers <joseph@codesourcery.com>
5365
5366 [BZ #14155]
5367 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5368 0x1p28 and above.
5369 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5370 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5371 0x1p28 and above.
5372 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5373 * math/libm-test.inc (j0_test): Do not allow one spurious
5374 underflow exception.
5375 (y1_test): Likewise.
5376
e25cfa60
SP
53772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5378
0409959c
SP
5379 * manual/Makefile (chapters): Add nptl.
5380 * manual/debug.texi (Debugging Support): Add link to Threads
5381 chapter.
5382 * manual/nptl.texi: New file.
5383
e25cfa60
SP
5384 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5385
58a1335e
PB
53862013-03-14 Petr Baudis <pasky@ucw.cz>
5387
5388 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5389 for non-NULL pointer before the memory validity test. Pointed
5390 out by Holger Brunck <holger.brunck@keymile.com>.
5391
9dc7c64f
AS
53922013-03-13 Andreas Schwab <schwab@suse.de>
5393
5394 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5395 instead of .os.
5396
54206aa6
JM
53972013-03-13 Joseph Myers <joseph@codesourcery.com>
5398
5399 * timezone/zic.c: Update from tzcode 2013b.
5400
e98cdb38
CD
54012013-03-12 Carlos O'Donell <carlos@redhat.com>
5402
5403 * manual/install.texi (Configuring and compiling):
5404 Mention i686 and i586.
5405 * INSTALL: Regenerate.
5406
9967e003
RM
54072013-03-12 Roland McGrath <roland@hack.frob.com>
5408
5409 * sysdeps/init_array/elf-init.c: New file.
5410 * csu/elf-init.c
5411 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5412 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5413
5414 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5415 __gmon_start__ as global, but as static with a .preinit_array pointer.
5416 * sysdeps/init_array/gmon-start.c: New file. Use that.
5417 * sysdeps/init_array/crti.S: New file, empty except for comments.
5418 * sysdeps/init_array/crtn.S: Likewise.
5419
e6b5a293 54202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5421
5422 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5423 definining bcopy.
80f844c9
OB
5424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5425 Remove Prefer_SSE_for_memop.
5426 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5427 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5428 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5430 memset-x86-64.
80f844c9 5431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5432 Remove bzero, memset ifunc support.
80f844c9
OB
5433 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5434 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5435 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5436 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5437
fb6b0fcb
AS
54382013-03-11 Andreas Schwab <schwab@suse.de>
5439
5440 [BZ #15234]
5441 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5442 by SHLIB_COMPAT.
5443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5444 (GLIBC_2.16): Remove pthread_atfork.
5445
3e6bd4b1
PP
54462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5447
5448 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5449 (ptestcases.h): Likewise.
5450
222d7f00
RM
54512013-03-08 Roland McGrath <roland@hack.frob.com>
5452
5453 * Makeconfig ($(common-objpfx)config.status): Depend on
5454 sysdeps/*/preconfigure{,.in} too.
5455
1ba4f030
JM
54562013-03-08 Joseph Myers <joseph@codesourcery.com>
5457
a222d91a
JM
5458 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5459 (__free_hook): Use void * instead of __malloc_ptr_t.
5460 (__malloc_hook): Likewise.
5461 (__realloc_hook): Likewise.
5462 (__memalign_hook): Likewise.
5463 (__after_morecore_hook): Likewise.
5464 * malloc/arena.c (save_malloc_hook): Likewise.
5465 (save_free_hook): Likewise.
5466 * malloc/hooks.c (malloc_hook_ini): Likewise.
5467 (realloc_hook_ini): Likewise.
5468 (memalign_hook_ini): Likewise.
5469 * malloc/malloc.c (malloc_hook_ini): Likewise.
5470 (realloc_hook_ini): Likewise.
5471 (memalign_hook_ini): Likewise.
5472 (__free_hook): Likewise.
5473 (__malloc_hook): Likewise.
5474 (__realloc_hook): Likewise.
5475 (__memalign_hook): Likewise.
5476 (__libc_malloc): Likewise.
5477 (__libc_free): Likewise.
5478 (__libc_realloc): Likewise.
5479 (__libc_memalign): Likewise.
5480 (__libc_valloc): Likewise.
5481 (__libc_pvalloc): Likewise.
5482 (__libc_calloc): Likewise.
5483 (__posix_memalign): Likewise.
5484 * malloc/morecore.c (__sbrk): Likewise.
5485 (__default_morecore): Likewise.
5486
5cc45e10
JM
5487 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5488
dd54b864
JM
5489 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5490 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5491 __malloc_ptrdiff_t.
5492
1ba4f030
JM
5493 * malloc/malloc.h (__malloc_size_t): Remove macro.
5494 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5495 __malloc_size_t.
5496 (old_memalign_hook): Likewise.
5497 (old_realloc_hook): Likewise.
5498 (struct hdr): Likewise.
5499 (flood): Likewise.
5500 (mallochook): Likewise.
5501 (memalignhook): Likewise.
5502 (reallochook): Likewise.
5503 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5504 (tr_old_realloc_hook): Likewise.
5505 (tr_old_memalign_hook): Likewise.
5506 (tr_mallochook): Likewise.
5507 (tr_reallochook): Likewise.
5508 (tr_memalignhook): Likewise.
5509
edf66e57
AZ
55102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511
5512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5513 default_ldbl_pack and using as default implementation.
5514 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5515 implementation.
5516 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5517 redundant definition.
5518 (ldbl_insert_mantissa): Likewise.
5519 (ldbl_canonicalize): Likewise.
5520 (ldbl_nearbyint): Likewise.
5521 (ldbl_pack): Rename to ldbl_pack_ppc.
5522 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5523 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5524 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5525
6d9145d8
SP
55262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5527
5528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5529 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5531 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5533 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5534 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5535 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5536
4dd4e157
AJ
55372013-03-07 Andreas Jaeger <aj@suse.de>
5538
5539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5540 bits/mman-linux.h.
5541
adbb8027
SP
55422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5543
ce544b5b
SP
5544 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5545 Include mpa.h and declare __MPEXP.
5546 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5547 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5548 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5549 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5550 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5551 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5552 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5553
4cc149fd
SP
5554 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5555 (__slowpow): Use long double EXPL and LOGL functions to
5556 compute POW.
5557 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5558 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5559 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5560 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5561 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5562 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5563
e6ebd4a7
SP
5564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5565 intermediate variable to calculate exponent.
5566 (__sqr): Likewise.
5567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5568 Likewise.
5569 (__sqr): Likewise.
5570
82a9811d
SP
5571 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5572 [!NO__SQR]: Define __sqr.
5573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5574 and NO__SQR. Remove all code except __mul and __sqr. Include
5575 sysdeps/ieee754/dbl-64/mpa.c.
5576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5577
adbb8027
SP
5578 [BZ #12723]
5579 * posix/Makefile (tests): Add tst-pathconf.
5580 * posix/tst-pathconf.c: New test case.
5581 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5582 _PC_PIPE_BUF.
5583 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5584
39120df9
PF
55852013-03-06 Patsy Franklin <pfrankli@redhat.com>
5586
5587 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5588
67525cb8
AJ
55892013-03-06 Andreas Jaeger <aj@suse.de>
5590
664a9ce4
AJ
5591 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5592 definition via __MAP_ANONYMOUS.
5593
8e39047d
AJ
5594 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5595 it's not part of Linux headers.
5596
67525cb8
AJ
5597 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5598 (MAP_HUGE_MASK): Define.
5599
5600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5601 Define.
5602 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5604 Define.
5605 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5606 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5607 Define.
5608 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5609 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5610 Define.
5611 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5612
5613 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5614 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5615 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5616 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5617 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5618 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5619
5620 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5621 Handle f2fs.
5622
5623 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5624 Handle f2fs and efivarfs.
5625
5626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5627 f2fs.
5628
5629 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5630 (EFIVARFS_MAGIC): Add.
5631 (F2FS_LINK_MAX): Add.
5632
e1b42695
PP
56332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5634
5635 * stdio-common/vfprintf.c: Replace __builtin_expect with
5636 __glibc_unlikely.
5637
2d67d91a
JM
56382013-03-06 Joseph Myers <joseph@codesourcery.com>
5639
5640 [BZ #13550]
5641 * sysdeps/generic/bp-sym.h: Remove file.
5642 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5643 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5644 <bp-sym.h> and <bp-asm.h>.
5645 (__longjmp): Don't use BP_SYM.
5646 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5647 and <bp-asm.h>.
5648 (memcpy): Don't use BP_SYM.
5649 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5650 <bp-sym.h> and <bp-asm.h>.
5651 (memcpy): Don't use BP_SYM.
5652 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5653 <bp-asm.h>.
5654 (memcpy): Don't use BP_SYM.
5655 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5656 <bp-asm.h>.
5657 (memset): Don't use BP_SYM.
5658 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5659 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5660 (__bzero): Don't use BP_SYM.
5661 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5662 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5663 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5664 <bp-sym.h> and <bp-asm.h>.
5665 (memcmp): Don't use BP_SYM. Remove comment about bounded
5666 pointers.
5667 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5668 <bp-sym.h> and <bp-asm.h>.
5669 (memcpy): Don't use BP_SYM.
5670 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5671 <bp-sym.h> and <bp-asm.h>.
5672 (memset): Don't use BP_SYM.
5673 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5674 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5675 (__bzero): Don't use BP_SYM.
5676 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5677 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5678 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5679 <bp-sym.h> and <bp-asm.h>.
5680 (strncmp): Don't use BP_SYM. Remove comment about bounded
5681 pointers.
5682 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5683 <bp-sym.h> and <bp-asm.h>.
5684 (memcpy): Don't use BP_SYM.
5685 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5686 <bp-sym.h> and <bp-asm.h>.
5687 (memset): Don't use BP_SYM.
5688 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5689 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5690 (__bzero): Don't use BP_SYM.
5691 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5692 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5693 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5694 <bp-sym.h> and <bp-asm.h>.
5695 (__memchr): Don't use BP_SYM.
5696 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5697 <bp-sym.h> and <bp-asm.h>.
5698 (memcmp): Don't use BP_SYM. Remove comment about bounded
5699 pointers.
5700 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5701 <bp-sym.h> and <bp-asm.h>.
5702 (memcpy): Don't use BP_SYM.
5703 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5704 <bp-sym.h> and <bp-asm.h>.
5705 (__mempcpy): Don't use BP_SYM.
5706 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5707 <bp-sym.h> and <bp-asm.h>.
5708 (__memrchr): Don't use BP_SYM.
5709 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5710 <bp-sym.h> and <bp-asm.h>.
5711 (memset): Don't use BP_SYM.
5712 (__bzero): Likewise.
5713 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5714 <bp-sym.h> and <bp-asm.h>.
5715 (__rawmemchr): Don't use BP_SYM.
5716 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5717 <bp-sym.h> and <bp-asm.h>.
5718 (__STRCMP): Don't use BP_SYM.
5719 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5720 <bp-sym.h> and <bp-asm.h>.
5721 (strchr): Don't use BP_SYM.
5722 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5723 <bp-sym.h> and <bp-asm.h>.
5724 (__strchrnul): Don't use BP_SYM.
5725 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5726 <bp-sym.h> and <bp-asm.h>.
5727 (strlen): Don't use BP_SYM.
5728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5729 <bp-sym.h> and <bp-asm.h>.
5730 (strncmp): Don't use BP_SYM. Remove comment about bounded
5731 pointers.
5732 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5733 <bp-sym.h> and <bp-asm.h>.
5734 (__strnlen): Don't use BP_SYM.
5735 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5736 <bp-sym.h> and <bp-asm.h>.
5737 (__GI__setjmp): Don't use BP_SYM.
5738 (_setjmp): Likewise.
5739 (__sigsetjmp): Likewise.
5740 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5741 (L(start_addresses)): Don't use BP_SYM.
5742 (_start): Likewise.
5743 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5744 <bp-asm.h>.
5745 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5746 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5747 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5748 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5749 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5750 <bp-asm.h>.
5751 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5752 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5753 about bounded pointers.
5754 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5755 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5756 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5757 <bp-asm.h>.
5758 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5759 about bounded pointers. Remove GKM FIXME comments.
5760 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5761 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5762 <bp-asm.h>.
5763 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5764 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5765 Remove GKM FIXME comments.
5766 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5767 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5768 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5769 <bp-asm.h>.
5770 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5771 about bounded pointers. Remove GKM FIXME comment.
5772 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5773 and <bp-asm.h>.
5774 (strncmp): Don't use BP_SYM. Remove comment about bounded
5775 pointers.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5777 <bp-sym.h> and <bp-asm.h>.
5778 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5780 <bp-sym.h> and <bp-asm.h>.
5781 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5782 comment.
5783
cdcf361f
PP
57842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5785
5786 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5787 call free(NULL).
5788
3c4a2b15
DM
57892013-03-05 David S. Miller <davem@davemloft.net>
5790
5791 * po/es.po: Update from translation team.
5792
cdcf361f 57932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5794
5795 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5796 <bits/mman-linux.h>.
5797 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5798 is fine.
5799 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5800 <bits/mman-linux.h> to end of file.
5801 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5802 is fine.
5803 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5804 <bits/mman-linux.h> to end of file.
5805 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5806 is fine.
5807 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5808 <bits/mman-linux.h> to end of file.
5809
5810 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5811 (MCL_CURRENT, MCL_FUTURE): Define here.
5812
5f67c04f
AK
58132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5814
8a4473cc 5815 [BZ #15232]
5f67c04f
AK
5816 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5817 attribute_hidden.
5818 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5819
c3e94a95
AK
58202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5821
5822 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5823 fourth parameter needed for rt_sigprocmask syscall.
5824 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5825 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5827 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5828 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5829 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5830
cfb6382a
JM
58312013-03-04 Joseph Myers <joseph@codesourcery.com>
5832
5833 [BZ #13550]
5834 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5835 comment about bounded pointers.
5836 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5837 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5838
539d8e01
AJ
58392013-03-04 Andreas Jaeger <aj@suse.de>
5840
5841 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5842 common definitions.
5843
5844 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5845 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5846 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5847 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5849 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5850
2e167a70 58512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5852
5853 [BZ #15055]
5854 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5855 __ieee754_sqrl instead of __sqrl.
5856
68508633
JM
58572013-03-01 Joseph Myers <joseph@codesourcery.com>
5858
5859 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5860 * sysdeps/powerpc/fpu_control.h: ... here.
5861 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5862 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5863 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5864 * sysdeps/powerpc/bits/mathinline.h: ... here.
5865
7775448e
RM
58662013-03-01 Roland McGrath <roland@hack.frob.com>
5867
5868 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5869 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5870 to just [NEED_DL_SYSINFO_DSO].
5871 * elf/dl-support.c: Likewise.
5872 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5873 * elf/rtld.c (dl_main): Likewise.
5874 * elf/setup-vdso.h (setup_vdso): Likewise.
5875 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5876 * sysdeps/unix/sysv/linux/dl-sysdep.c
5877 (_dl_discover_osversion): Likewise.
5878
4e9b5995
CD
58792013-03-01 Carlos O'Donell <carlos@redhat.com>
5880
5881 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5882 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5883
e23872c8
SP
58842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5885
e5c74c63
SP
5886 * NEWS: Mention libm performance improvements and non-x86 PI
5887 futex support.
5888
e23872c8
SP
5889 * csu/libc-start.c (__pthread_initialize_minimal): Change
5890 function arguments.
5891 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5892
b5510883
JM
58932013-02-28 Joseph Myers <joseph@codesourcery.com>
5894
5895 [BZ #13550]
5896 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5897 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5898 <bp-sym.h> and <bp-asm.h>.
5899 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5900 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5901 and <bp-asm.h>.
5902 (memcpy): Don't use BP_SYM.
5903 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5904 <bp-asm.h>.
5905 (__mpn_add_n): Don't use BP_SYM.
5906 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5907 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5908 and <bp-asm.h>.
5909 (__mpn_addmul_1): Don't use BP_SYM.
5910 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5911 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5912 <bp-sym.h>.
5913 (_setjmp): Don't use BP_SYM.
5914 (__novmx_setjmp): Likewise.
5915 (__GI__setjmp): Likewise.
5916 (__vmx_setjmp): Likewise.
5917 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5918 <bp-sym.h>.
5919 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5920 (__bzero): Don't use BP_SYM.
5921 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5922 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5923 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5924 <bp-sym.h> and <bp-asm.h>.
5925 (memcpy): Don't use BP_SYM.
5926 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5927 <bp-sym.h> and <bp-asm.h>.
5928 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5929 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5930 <bp-sym.h> and <bp-asm.h>.
5931 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5932 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5933 <bp-asm.h>.
5934 (__mpn_lshift): Don't use BP_SYM.
5935 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5936 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5937 <bp-asm.h>.
5938 (memset): Don't use BP_SYM.
5939 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5940 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5941 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5942 <bp-asm.h>.
5943 (__mpn_mul_1): Don't use BP_SYM.
5944 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5945 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5946 <bp-sym.h> and <bp-asm.h>.
5947 (memcmp): Don't use BP_SYM.
5948 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5949 <bp-sym.h> and <bp-asm.h>.
5950 (memcpy): Don't use BP_SYM.
5951 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5952 <bp-sym.h> and <bp-asm.h>.
5953 (memset): Don't use BP_SYM.
5954 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5955 <bp-sym.h> and <bp-asm.h>.
5956 (strncmp): Don't use BP_SYM.
5957 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5958 <bp-sym.h> and <bp-asm.h>.
5959 (memcpy): Don't use BP_SYM.
5960 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5961 <bp-sym.h> and <bp-asm.h>.
5962 (memset): Don't use BP_SYM.
5963 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5964 <bp-sym.h> and <bp-asm.h>.
5965 (__memchr): Don't use BP_SYM.
5966 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5967 <bp-sym.h> and <bp-asm.h>.
5968 (memcmp): Don't use BP_SYM.
5969 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5970 <bp-sym.h> and <bp-asm.h>.
5971 (memcpy): Don't use BP_SYM.
5972 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5973 <bp-sym.h> and <bp-asm.h>.
5974 (__mempcpy): Don't use BP_SYM.
5975 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5976 <bp-sym.h> and <bp-asm.h>.
5977 (__memrchr): Don't use BP_SYM.
5978 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5979 <bp-sym.h> and <bp-asm.h>.
5980 (memset): Don't use BP_SYM.
5981 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5982 <bp-sym.h> and <bp-asm.h>.
5983 (__rawmemchr): Don't use BP_SYM.
5984 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5985 <bp-sym.h> and <bp-asm.h>.
5986 (__STRCMP): Don't use BP_SYM.
5987 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5988 <bp-sym.h> and <bp-asm.h>.
5989 (strchr): Don't use BP_SYM.
5990 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5991 <bp-sym.h> and <bp-asm.h>.
5992 (__strchrnul): Don't use BP_SYM.
5993 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5994 <bp-sym.h> and <bp-asm.h>.
5995 (strlen): Don't use BP_SYM.
5996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5997 <bp-sym.h> and <bp-asm.h>.
5998 (strncmp): Don't use BP_SYM.
5999 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6000 <bp-sym.h> and <bp-asm.h>.
6001 (__strnlen): Don't use BP_SYM.
6002 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6003 <bp-asm.h>.
6004 (__mpn_rshift): Don't use BP_SYM.
6005 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6006 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6007 <bp-sym.h> and <bp-asm.h>.
6008 (__sigsetjmp): Don't use BP_SYM.
6009 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6010 (L(start_addresses)): Don't use BP_SYM.
6011 (_start): Likewise.
6012 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6013 <bp-asm.h>.
6014 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6015 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6016 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6017 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6018 <bp-asm.h>.
6019 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6020 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6021 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6022 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6023 <bp-asm.h>.
6024 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6025 comments.
6026 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6027 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6028 <bp-asm.h>.
6029 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6030 FIXME comments.
6031 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6032 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6033 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6034 <bp-asm.h>.
6035 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6036 comment.
6037 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6038 and <bp-asm.h>.
6039 (strncmp): Don't use BP_SYM,
6040 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6041 <bp-asm.h>.
6042 (__mpn_sub_n): Don't use BP_SYM.
6043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6044 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6045 and <bp-asm.h>.
6046 (__mpn_submul_1): Don't use BP_SYM.
6047 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6049 <bp-sym.h> and <bp-asm.h>.
6050 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6052 <bp-sym.h> and <bp-asm.h>.
6053 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6054 comment.
6055
8d19fe64
SP
60562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6057
6058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6059 Use ZK to minimize writes to Z.
6060 (sub_magnitudes): Simplify code a bit.
6061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6062 Use ZK to minimize writes to Z.
6063 (sub_magnitudes): Simplify code a bit.
6064
85bd816a
RM
60652013-02-27 Roland McGrath <roland@hack.frob.com>
6066
6067 * csu/gmon-start.c: Add special exception to license text.
6068
b5977bf2
RH
60692013-02-27 Richard Henderson <rth@redhat.com>
6070
6071 * scripts/config.guess: Update from config.git.
6072 * scripts/config.sub: Likewise.
6073
11d6e2f2
SP
60742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6075
09c14ed2
SP
6076 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6077
a688864e
SP
6078 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6079
6295157a
SP
6080 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6081
b8de2202
SP
6082 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6083
11d6e2f2
SP
6084 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6085
7e80ddb8
RM
60862013-02-26 Roland McGrath <roland@hack.frob.com>
6087
6088 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6089 [$(build-shared = yes].
7e80ddb8 6090
7da6d9ed
SP
60912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6092
45f05884
SP
6093 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6094 (__mul): Reduce iterations for calculating mantissa.
6095
2236d359
SP
6096 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6097 MPTWO.
6098 (__mpranred): Likewise.
6099
7da6d9ed
SP
6100 [BZ #15160]
6101 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6102 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6103
b7688c42
PE
61042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6105
6106 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6107 Define __attribute__.
6108
53a5c423
SP
61092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6110
6111 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6112 unused.
6113 * posix/regex_internal.h (__attribute): Remove.
6114 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6115 (re_string_context_at): Likewise.
6116 (bitset_not): Use __attribute__ and mark function as possibly
6117 unused.
6118 (bitset_merge): Likewise.
6119 (bitset_mask): Likewise.
6120 (re_string_char_size_at): Likewise.
6121 (re_string_wchar_at): Likewise.
6122 (re_string_elem_size_at): Likewise.
6123
60f5a8b5
SP
61242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6125
2a983a2e
SP
6126 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6127 code.
6128 (cc32): Likewise.
6129
e69804d1
SP
6130 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6131 (__acr): Likewise.
6132 (__cpy): Likewise.
6133 (norm): Likewise.
6134 (denorm): Likewise.
6135 (__dbl_mp): Likewise.
6136 (add_magnitudes): Likewise.
6137 (sub_magnitudes): Likewise.
6138 (__mul): Likewise.
6139 (__inv): Likewise.
6140
2f22a1e8
SP
6141 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6142 style.
6143
8930ddc7
SP
6144 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6145 style.
6146
dc60cb11
SP
6147 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6148 code.
6149
60f5a8b5
SP
6150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6151 up changes with default code.
6152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6153 Likewise.
6154
b4d1fd33
AM
61552013-02-24 Allan McRae <allan@archlinux.org>
6156
faf6f8bc
AM
6157 * manual/socket.texi (The Internet Namespace): Order menu items
6158 to match that in the file.
6159
b4d1fd33
AM
6160 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6161 node listing of the info page menu.
6162
2366713d
JM
61632013-02-21 Joseph Myers <joseph@codesourcery.com>
6164
6165 [BZ #13550]
6166 * sysdeps/i386/bp-asm.h: Remove file.
6167 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (S1): Likewise.
6170 (S2): Likewise.
6171 (SIZE): Likewise.
6172 (__mpn_add_n): Do not use BP_SYM
6173 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6174 "bp-asm.h".
6175 (PARMS): Do not use macros from bp-asm.h.
6176 (S1): Likewise.
6177 (SIZE): Likewise.
6178 (__mpn_addmul_1): Do not use BP_SYM
6179 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6180 "bp-asm.h".
6181 (PARMS): Do not use macros from bp-asm.h.
6182 (SIGMSK): Likewise.
6183 (_setjmp): Likewise. Do not use BP_SYM.
6184 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6185 "bp-asm.h".
6186 (PARMS): Do not use macros from bp-asm.h.
6187 (SIGMSK): Likewise.
6188 (setjmp): Likewise. Do not use BP_SYM.
6189 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6190 "bp-asm.h".
6191 (PARMS): Do not use macros from bp-asm.h.
6192 (__frexp): Do not use BP_SYM.
6193 (frexp): Likewise.
6194 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6195 "bp-asm.h".
6196 (PARMS): Do not use macros from bp-asm.h.
6197 (__frexpf): Do not use BP_SYM.
6198 (frexpf): Likewise.
6199 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6200 "bp-asm.h".
6201 (PARMS): Do not use macros from bp-asm.h.
6202 (__frexpl): Do not use BP_SYM.
6203 (frexpl): Likewise.
6204 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6205 "bp-asm.h".
6206 (PARMS): Do not use macros from bp-asm.h.
6207 (__remquo): Do not use BP_SYM.
6208 (remquo): Likewise.
6209 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6210 "bp-asm.h".
6211 (PARMS): Do not use macros from bp-asm.h.
6212 (__remquof): Do not use BP_SYM.
6213 (remquof): Likewise.
6214 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6215 "bp-asm.h".
6216 (PARMS): Do not use macros from bp-asm.h.
6217 (__remquol): Do not use BP_SYM.
6218 (remquol): Likewise.
6219 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6220 "bp-asm.h".
6221 (PARMS): Do not use macros from bp-asm.h.
6222 (DEST): Likewise.
6223 (SRC): Likewise.
6224 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6225 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6226 "bp-asm.h".
6227 (PARMS): Do not use macros from bp-asm.h.
6228 (strlen): Do not use BP_SYM.
6229 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6230 "bp-asm.h".
6231 (PARMS): Do not use macros from bp-asm.h.
6232 (S1): Likewise.
6233 (S2): Likewise.
6234 (SIZE): Likewise.
6235 (__mpn_add_n): Do not use BP_SYM.
6236 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6237 "bp-asm.h".
6238 (PARMS): Do not use macros from bp-asm.h.
6239 (S1): Likewise.
6240 (SIZE): Likewise.
6241 (__mpn_addmul_1): Do not use BP_SYM.
6242 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6243 weak_alias.
6244 (bzero): Likewise.
6245 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6246 "bp-asm.h".
6247 (PARMS): Do not use macros from bp-asm.h.
6248 (S): Likewise.
6249 (SIZE): Likewise.
6250 (__mpn_lshift): Do not use BP_SYM.
6251 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6252 "bp-asm.h".
6253 (PARMS): Do not use macros from bp-asm.h.
6254 (DEST): Likewise.
6255 (SRC): Likewise.
6256 (LEN): Likewise.
6257 (memcpy): Likewise. Do not use BP_SYM.
6258 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6259 libc_hidden_def and weak_alias.
6260 (mempcpy): Do not use BP_SYM in weak_alias.
6261 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6262 "bp-asm.h".
6263 (PARMS): Do not use macros from bp-asm.h.
6264 (DEST): Likewise.
6265 (LEN): Likewise.
6266 [!BZERO_P] (CHR): Likewise.
6267 (memset): Likewise. Do not use BP_SYM.
6268 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6269 "bp-asm.h".
6270 (PARMS): Do not use macros from bp-asm.h.
6271 (S1): Likewise.
6272 (SIZE): Likewise.
6273 (__mpn_mul_1): Do not use BP_SYM.
6274 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6275 "bp-asm.h".
6276 (PARMS): Do not use macros from bp-asm.h.
6277 (S): Likewise.
6278 (SIZE): Likewise.
6279 (__mpn_rshift): Do not use BP_SYM.
6280 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6281 "bp-asm.h".
6282 (PARMS): Do not use macros from bp-asm.h.
6283 (STR): Likewise.
6284 (CHR): Likewise.
6285 (strchr): Likewise. Do not use BP_SYM.
6286 (index): Do not use BP_SYM in weak_alias.
6287 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6288 "bp-asm.h".
6289 (PARMS): Do not use macros from bp-asm.h.
6290 (DEST): Likewise.
6291 (SRC): Likewise.
6292 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6293 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6294 "bp-asm.h".
6295 (PARMS): Do not use macros from bp-asm.h.
6296 (strlen): Do not use BP_SYM.
6297 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6298 "bp-asm.h".
6299 (PARMS): Do not use macros from bp-asm.h.
6300 (S1): Likewise.
6301 (S2): Likewise.
6302 (SIZE): Likewise.
6303 (__mpn_sub_n): Do not use BP_SYM.
6304 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6305 "bp-asm.h".
6306 (PARMS): Do not use macros from bp-asm.h.
6307 (S1): Likewise.
6308 (SIZE): Likewise.
6309 (__mpn_submul_1): Do not use BP_SYM.
6310 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6311 "bp-asm.h".
6312 (PARMS): Do not use macros from bp-asm.h.
6313 (S1): Likewise.
6314 (S2): Likewise.
6315 (SIZE): Likewise.
6316 (__mpn_add_n): Do not use BP_SYM.
6317 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6318 weak_alias.
6319 (bzero): Likewise.
6320 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6321 "bp-asm.h".
6322 (PARMS): Do not use macros from bp-asm.h.
6323 (BLK2): Likewise.
6324 (LEN): Likewise.
6325 (memcmp): Do not use BP_SYM.
6326 (bcmp): Do not use BP_SYM in weak_alias.
6327 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6328 "bp-asm.h".
6329 (PARMS): Do not use macros from bp-asm.h.
6330 (DEST): Likewise.
6331 (SRC): Likewise.
6332 (LEN): Likewise.
6333 (memcpy): Likewise. Do not use BP_SYM.
6334 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6335 "bp-asm.h".
6336 (PARMS): Do not use macros from bp-asm.h.
6337 (DEST): Likewise.
6338 (SRC): Likewise.
6339 (LEN): Likewise.
6340 (memmove): Likewise. Do not use BP_SYM.
6341 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6342 "bp-asm.h".
6343 (PARMS): Do not use macros from bp-asm.h.
6344 (DEST): Likewise.
6345 (SRC): Likewise.
6346 (LEN): Likewise.
6347 (__mempcpy): Likewise. Do not use BP_SYM.
6348 (mempcpy): Do not use BP_SYM in weak_alias.
6349 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6350 "bp-asm.h".
6351 (PARMS): Do not use macros from bp-asm.h.
6352 (DEST): Likewise.
6353 (LEN): Likewise.
6354 [!BZERO_P] (CHR): Likewise.
6355 (memset): Likewise. Do not use BP_SYM.
6356 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6357 "bp-asm.h".
6358 (PARMS): Do not use macros from bp-asm.h.
6359 (STR2): Likewise.
6360 (strcmp): Do not use BP_SYM.
6361 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6362 "bp-asm.h".
6363 (PARMS): Do not use macros from bp-asm.h.
6364 (STR): Likewise.
6365 (DELIM): Likewise.
6366 [USE_AS_STRTOK_R] (SAVE): Likewise.
6367 (FUNCTION): Likewise. Do not use BP_SYM.
6368 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6369 aliases.
6370 (strtok_r): Likewise.
6371 (__GI___strtok_r): Likewise.
6372 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6373 (PARMS): Do not use macros from bp-asm.h.
6374 (S): Likewise.
6375 (SIZE): Likewise.
6376 (__mpn_lshift): Do not use BP_SYM.
6377 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6378 (PARMS): Do not use macros from bp-asm.h.
6379 (STR): Likewise.
6380 (CHR): Likewise.
6381 (__memchr): Do not use BP_SYM.
6382 (memchr): Do not use BP_SYM in weak_alias.
6383 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6384 (PARMS): Do not use macros from bp-asm.h.
6385 (BLK2): Likewise.
6386 (LEN): Likewise.
6387 (memcmp): Do not use BP_SYM.
6388 (bcmp): Do not use BP_SYM in weak_alias.
6389 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6390 (PARMS): Do not use macros from bp-asm.h.
6391 (S1): Likewise.
6392 (SIZE): Likewise.
6393 (__mpn_mul_1): Do not use BP_SYM.
6394 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6395 "bp-asm.h".
6396 (PARMS): Do not use macros from bp-asm.h.
6397 (STR): Likewise.
6398 (CHR): Likewise.
6399 (__rawmemchr): Do not use BP_SYM.
6400 (rawmemchr): Do not use BP_SYM in weak_alias.
6401 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6402 (PARMS): Do not use macros from bp-asm.h.
6403 (S): Likewise.
6404 (SIZE): Likewise.
6405 (__mpn_rshift): Do not use BP_SYM.
6406 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6407 (PARMS): Do not use macros from bp-asm.h.
6408 (SIGMSK): Likewise.
6409 (__sigsetjmp): Likewise. Do not use BP_SYM.
6410 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6411 (_start): Do not use BP_SYM.
6412 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6413 (PARMS): Do not use macros from bp-asm.h.
6414 (DEST): Likewise.
6415 (SRC): Likewise.
6416 (__stpcpy): Likewise. Do not use BP_SYM.
6417 (stpcpy): Do not use BP_SYM in weak_alias.
6418 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6419 "bp-asm.h".
6420 (PARMS): Do not use macros from bp-asm.h.
6421 (DEST): Likewise.
6422 (SRC): Likewise.
6423 (LEN): Likewise.
6424 (__stpncpy): Likewise. Do not use BP_SYM.
6425 (stpncpy): Do not use BP_SYM in weak_alias.
6426 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6427 (PARMS): Do not use macros from bp-asm.h.
6428 (STR): Likewise.
6429 (CHR): Likewise.
6430 (strchr): Likewise. Do not use BP_SYM.
6431 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6432 "bp-asm.h".
6433 (PARMS): Do not use macros from bp-asm.h.
6434 (STR): Likewise.
6435 (CHR): Likewise.
6436 (__strchrnul): Likewise. Do not use BP_SYM.
6437 (strchrnul): Do not use BP_SYM in weak_alias.
6438 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6439 "bp-asm.h".
6440 (PARMS): Do not use macros from bp-asm.h.
6441 (STOP): Likewise.
6442 (strcspn): Do not use BP_SYM.
6443 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6444 "bp-asm.h".
6445 (PARMS): Do not use macros from bp-asm.h.
6446 (STR): Likewise.
6447 (STOP): Likewise.
6448 (strpbrk): Likewise. Do not use BP_SYM.
6449 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6450 "bp-asm.h".
6451 (PARMS): Do not use macros from bp-asm.h.
6452 (STR): Likewise.
6453 (CHR): Likewise.
6454 (strrchr): Likewise. Do not use BP_SYM.
6455 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6456 (PARMS): Do not use macros from bp-asm.h.
6457 (SKIP): Likewise.
6458 (strspn): Do not use BP_SYM.
6459 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6460 (PARMS): Do not use macros from bp-asm.h.
6461 (STR): Likewise.
6462 (DELIM): Likewise.
6463 (SAVE): Likewise.
6464 (FUNCTION): Likewise. Do not use BP_SYM.
6465 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6466 aliases.
6467 (strtok_r): Likewise.
6468 (__GI___strtok_r): Likewise.
6469 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6470 (PARMS): Do not use macros from bp-asm.h.
6471 (S1): Likewise.
6472 (S2): Likewise.
6473 (SIZE): Likewise.
6474 (__mpn_sub_n): Do not use BP_SYM.
6475 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6476 "bp-asm.h".
6477 (PARMS): Do not use macros from bp-asm.h.
6478 (S1): Likewise.
6479 (SIZE): Likewise.
6480 (__mpn_submul_1): Do not use BP_SYM.
6481 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6482 <bp-sym.h>.
6483 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6484 and <bp-asm.h>.
6485 (PARMS): Do not use macros from bp-asm.h.
6486 (FLAGS): Likewise.
6487 (PTID): Likewise.
6488 (TLS): Likewise.
6489 (CTID): Likewise.
6490 (__clone): Do not use BP_SYM.
6491 (clone): Do not use BP_SYM in weak_alias.
6492 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6493 and <bp-asm.h>.
6494 (PARMS): Do not use macros from bp-asm.h.
6495 (LEN): Likewise.
6496 (__mmap64): Do not use BP_SYM.
6497 (mmap64): Do not use BP_SYM in weak_alias.
6498 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6499 <bp-sym.h> and <bp-asm.h>.
6500 (PARMS): Do not use macros from bp-asm.h.
6501 (__posix_fadvise64_l64): Do not use BP_SYM.
6502 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6503 (PARMS): Do not use macros from bp-asm.h.
6504 (NSOPS): Likewise.
6505 (semtimedop): Do not use BP_SYM.
6506 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6507 and <bp-asm.h>.
6508
582a3cff
AM
65092013-02-21 Allan McRae <allan@archlinux.org>
6510
6511 * manual/message.texi (Charset conversion in gettext):
6512 Move @end statement to beginning of line.
6513
bab8a695
SP
65142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
80945231
SP
6516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6517 static.
6518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6519 Likewise.
6520
bab8a695
SP
6521 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6522 (denorm): Likewise.
6523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6525
e21d7aa7
AK
65262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6527
6528 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6529 tail-call to the resolved function if pltexit isn't needed.
6530
4c7a4263
SP
65312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6532
6533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6534 or Y being zero as being unlikely.
6535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6536 Likewise.
6537
41f49342
CD
65382013-02-20 Carlos O'Donell <carlos@redhat.com>
6539
6540 * manual/nss.texi (System Databases and Name Service Switch):
6541 Remove frobnicate @pxref.
6542
50022a93
TS
65432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6544
6545 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6546 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6547
08cbd996
PM
65482013-02-20 Petr Machata <pmachata@redhat.com>
6549
6550 * elf/elf.h (R_ARM_TARGET1): New macro.
6551 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6552 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6553 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6554 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6555 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6556 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6557 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6558 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6559 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6560 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6561 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6562 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6563 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6564 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6565 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6566 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6567 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6568 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6569 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6570 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6571 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6572 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6573 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6574 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6575 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6576 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6577 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6578 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6579 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6580 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6581 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6582 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6583 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6584 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6585 (R_ARM_THM_GOT_BREL12): Likewise.
6586 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6587 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6588 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6589 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6590 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6591 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6592 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6593 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6594 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6595
c7b275d6
TS
65962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6597
6598 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6599 __attribute_used__ to __attribute__ ((unused)).
6600
20cd7fb3
SP
66012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6602
6603 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6604 powerpc mpa.c.
6605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6606 comment formatting.
6607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6608
92945b52
JM
66092013-02-19 Joseph Myers <joseph@codesourcery.com>
6610
6611 [BZ #13550]
6612 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6613 Remove macro.
6614 (ENTER): Remove both macro definitions.
6615 (LEAVE): Likewise.
6616 (CHECK_BOUNDS_LOW): Likewise.
6617 (CHECK_BOUNDS_HIGH): Likewise.
6618 (CHECK_BOUNDS_BOTH): Likewise.
6619 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6620 (RETURN_BOUNDED_POINTER): Likewise.
6621 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6622 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6623 (POP_ERRNO_LOCATION_RETURN): Likewise.
6624 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6625 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6626 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6627 macros.
6628 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6629 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6630 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6631 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6632 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6633 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6634 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6635 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6636 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6637 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6638 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6639 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6640 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6641 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6642 removed macros.
6643 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6644 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6645 macros.
6646 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6647 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6648 * sysdeps/i386/i586/memset.S (memset): Likewise.
6649 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6650 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6651 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6652 macros.
6653 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6654 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6655 Change uses of L(2) to L(out).
6656 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6657 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6658 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6659 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6660 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6661 removed macros.
6662 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6663 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6664 macros.
6665 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6666 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6667 (RETURN): Do not use macro LEAVE.
6668 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6669 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6670 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6671 * sysdeps/i386/i686/memset.S (memset): Likewise.
6672 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6673 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6674 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6675 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6676 Likewise.
6677 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6678 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6679 L(1_2) and L(1_3) into L(1).
6680 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6682 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6683 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6684 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6685 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6686 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6687 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6688 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6689 macros.
6690 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6691 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6692 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6693 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6694 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6695 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6696 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6697 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6698 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6699 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6700 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6701 * sysdeps/i386/strspn.S (strspn): Likewise.
6702 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6703 conditional code.
6704 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6705 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6706 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6707 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6708 L(1_3) into L(1_1).
6709 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6710 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6711 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6712 macros.
6713 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6714
2389741a
JJ
67152013-02-19 Jakub Jelinek <jakub@redhat.com>
6716
6717 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6718 macro.
6719
2016b3cd
SP
67202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6721
e4f22324
SP
6722 * math/atest-exp.c (exp_mpn): Remove ROUND.
6723 * math/atest-exp2.c (exp_mpn): Likewise.
6724 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6725
2016b3cd
SP
6726 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6727 * stdlib/tst-tls-atexit-lib.c: Likewise.
6728 * stdlib/tst-tls-atexit.c: Likewise.
6729
4be9b544
MF
67302013-02-18 Mike Frysinger <vapier@gentoo.org>
6731
6732 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6733 and __attribute_alloc_size__.
6734
2f62b9ee
MF
67352013-02-18 Mike Frysinger <vapier@gentoo.org>
6736
6737 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6738 __attribute_alloc_size__.
6739 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6740 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6741
6ff444c4
MF
67422013-02-18 Mike Frysinger <vapier@gentoo.org>
6743
6744 * include/programs/xmalloc.h: New file.
6745 * catgets/gencat.c: Include it.
6746 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6747 * elf/pldd.c: Likewise.
6748 * iconv/iconv_charmap.c: Likewise.
6749 * iconv/iconvconfig.c: Likewise.
6750 * iconv/strtab.c: Likewise.
6751 * locale/programs/locale.c: Likewise.
6752 * locale/programs/localedef.h: Likewise.
6753 * locale/programs/simple-hash.c: Likewise.
6754 * nscd/nscd.h: Likewise.
6755 * nss/makedb.c: Likewise.
6756 * sysdeps/generic/ldconfig.h: Likewise.
6757
be179c8a
SP
67582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6759
ba384f6e
SP
6760 * Versions.def: Add GLIBC_2.18.
6761 * include/link.h (struct link_map): New member l_tls_dtor_count.
6762 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6763 (__call_tls_dtors): Likewise.
6764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6765 __cxa_thread_atexit_impl.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6767 Likewise.
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6769 Likewise.
6770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6771 Likewise.
6772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6773 Likewise.
6774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6776 Likewise.
6777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6778 Likewise.
6779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6781 Likewise.
6782 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6783 (tests): Add test case tst-tls-atexit.
6784 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6785 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6786 (GLIBC_PRIVATE): Add __call_tls_dtors.
6787 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6788 for libstdc++.
6789 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6790 * stdlib/tst-tls-atexit.c: New test case.
6791 * stdlib/tst-tls-atexit-lib.c: New test case.
6792
ffaa74cf 6793 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6794
be179c8a
SP
6795 * elf/Versions (ld): Add _dl_find_dso_for_object.
6796 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6797 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6798 (dl_open_worker): Use _dl_find_dso_for_object.
6799 * elf/dl-sym.c (do_sym): Likewise.
6800 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6801
f78b5caa
AK
68022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6803
6804 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6805 Syntactic changes only.
6806 (_dl_runtime_profile): Do a tail-call to the resolved function.
6807
29691210
JM
68082013-02-17 Joseph Myers <joseph@codesourcery.com>
6809
6810 [BZ #13550]
6811 * sysdeps/x86_64/bp-asm.h: Remove file.
6812 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6813 <bp-sym.h> and <bp-asm.h>.
6814 (__clone): Do not use BP_SYM.
6815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6816 <bp-sym.h> and <bp-asm.h>.
6817 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6818 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6819 "bp-asm.h".
6820 (_setjmp): Do not use BP_SYM.
6821 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6822 "bp-asm.h".
6823 (setjmp): Do not use BP_SYM.
6824 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6825 libc_hidden_def.
6826 (mempcpy): Do not use BP_SYM in weak_alias.
6827 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6828 "bp-asm.h".
6829 (strchr): Do not use BP_SYM.
6830 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6831 "bp-asm.h".
6832 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6833 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6834 (_start): Do not use BP_SYM.
6835 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6836 "bp-asm.h".
6837 (strcat): Do not use BP_SYM.
6838 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6839 "bp-asm.h".
6840 (STRCMP): Do not use BP_SYM.
6841 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6842 "bp-asm.h".
6843 (STRCPY): Do not use BP_SYM.
6844 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6845 "bp-asm.h".
6846 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6847 "bp-asm.h".
6848 (FUNCTION): Do not use BP_SYM.
6849 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6850 weak_alias.
6851 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6852
f238fd19
AJ
68532013-02-17 Andreas Jaeger <aj@suse.de>
6854
6855 * time/Versions: Sort entries.
6856 * string/Versions: Likewise.
6857 * resolv/Versions: Likewise.
6858 * posix/Versions: Likewise.
6859 * iconv/Versions: Likewise.
6860 * elf/Versions: Likewise.
6861 * wcsmbs/Versions: Likewise.
6862
bd07f23c 68632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6864
22af19f9
SP
6865 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6866 loop termination condition.
6867
4709fe76
SP
6868 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6869 variable to calculate EZ.
6870 (__sqr): Likewise.
2d0e0f29
SP
6871
6872 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6873 the lower precision input.
6874
daaa7713
JM
68752013-02-15 Joseph Myers <joseph@codesourcery.com>
6876
6877 [BZ #13550]
6878 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6879 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6880 (run-via-rtld-prefix): Do not handle %-bp tests.
6881 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6882 (all-object-suffixes): Remove .ob.
6883 (bppfx): Remove variable.
6884 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6885 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6886 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6887 [$(build-bounded) = yes] (libtype.ob): Likewise.
6888 * Makerules (elide-routines.ob): Remove variable.
6889 (do-tests-clean): Do not handle *-bp.out.
6890 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6891 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6892 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6893 (tests): Do not include $(tests-bp.out).
6894 (xtests): Do not include $(xtests-bp.out).
6895 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6896 [$(build-bounded) = yes] ($(addprefix
6897 $(objpfx),$(binaries-bounded))): Remove rule.
6898 ($(objpfx)%-bp.out): Remove rule.
6899 * config.make.in (build-bounded): Remove variable.
6900 * crypt/Makefile [$(build-bounded) = yes]
6901 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6902 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6903 append to variable.
6904 [$(build-bounded) = yes] (install-lib): Likewise.
6905 [$(build-bounded) = yes] (generated): Likewise.
6906 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6907 Remove rule.
6908 * intl/Makefile [$(build-bounded) = yes]
6909 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6910 * math/Makefile [$(build-bounded) = yes]
6911 ($(tests:%=$(objpfx)%-bp): Likewise.
6912 * misc/Makefile [$(build-bounded) = yes]
6913 ($(objpfx)tst-tsearch-bp): Likewise.
6914 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6915 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6916 Remove dependency.
6917 * string/Makefile (o-objects.ob): Remove variable.
6918 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6919 (CFLAGS-.ob): Remove variable.
6920 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6921 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6922 both definitions of variable.
6923 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6924 (ASFLAGS-.ob): Remove variable.
6925
e97ed6dd
JM
69262013-02-14 Joseph Myers <joseph@codesourcery.com>
6927
2bdd4ca6
JM
6928 [BZ #13550]
6929 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6930 Remove __BOUNDED_POINTERS__ from condition.
6931 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6932 * string/bits/string2.h [!__NO_STRING_INLINES &&
6933 !__BOUNDED_POINTERS__]: Likewise.
6934 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6935 Likewise.
6936 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6937 Remove conditional code.
6938 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6939 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6940 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6941 condition.
6942
e97ed6dd
JM
6943 [BZ #13550]
6944 * csu/libc-start.c: Do not include <bp-sym.h>.
6945 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6946 * elf/dl-open.c: Do not include <bp-sym.h>.
6947 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6948 * math/fegetenv.c: Do not include <bp-sym.h>.
6949 (fegetenv): Do not use BP_SYM in versioned symbols.
6950 * nptl/sysdeps/pthread/bits/libc-lockP.h
6951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6952 <bp-sym.h>.
6953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6954 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6956 (__pthread_mutex_destroy): Likewise.
6957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6958 (__pthread_mutex_lock): Likewise.
6959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6960 (__pthread_mutex_trylock): Likewise.
6961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6962 (__pthread_mutex_unlock): Likewise.
6963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6964 (__pthread_mutexattr_init): Likewise.
6965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6966 (__pthread_mutexattr_destroy): Likewise.
6967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6968 (__pthread_mutexattr_settype): Likewise.
6969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6970 (__pthread_rwlock_init): Likewise.
6971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6972 (__pthread_rwlock_destroy): Likewise.
6973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6974 (__pthread_rwlock_rdlock): Likewise.
6975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6976 (__pthread_rwlock_tryrdlock): Likewise.
6977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6978 (__pthread_rwlock_wrlock): Likewise.
6979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6980 (__pthread_rwlock_trywrlock): Likewise.
6981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6982 (__pthread_rwlock_unlock): Likewise.
6983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6984 (__pthread_key_create): Likewise.
6985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6986 (__pthread_setspecific): Likewise.
6987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6988 (__pthread_getspecific): Likewise.
6989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6990 Likewise.
6991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6992 (_pthread_cleanup_push_defer): Likewise.
6993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6994 (_pthread_cleanup_pop_restore): Likewise.
6995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6996 (pthread_setcancelstate): Likewise.
6997 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6998 <bp-sym.h>.
6999 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7000 (memchr): Do not use BP_SYM in weak_alias.
7001 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7002 (fegetenv): Do not use BP_SYM in versioned symbols.
7003 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7004 (fesetenv): Do not use BP_SYM in versioned symbols.
7005 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7006 (feupdateenv): Do not use BP_SYM in versioned symbols.
7007 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7008 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7009 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7010 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7011 (open64): Do not use BP_SYM in weak_alias.
7012 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7013 (fegetenv): Do not use BP_SYM in versioned symbols.
7014 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7015 (fesetenv): Do not use BP_SYM in versioned symbols.
7016 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7017 (feupdateenv): Do not use BP_SYM in versioned symbols.
7018 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7019 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7020 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7021 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7022 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7023 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7024 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7025 <bp-sym.h>.
7026 (__libc_start_main): Do not use BP_SYM.
7027
d6752ccd
SP
70282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7029
cb57ce60
SP
7030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7031 redundant return line.
7032 (norm): Likewise.
7033 (denorm): Likewise.
7034 (dbl_mp): Likewise.
7035 (sub_magnitudes): Likewise.
7036 (__add): Likewise.
7037 (__sub): Likewise.
7038 (__mul): Likewise.
7039 (__inv): Likewise.
7040 (__dvd): Likewise.
7041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7042 (norm): Likewise.
7043 (denorm): Likewise.
7044 (dbl_mp): Likewise.
7045 (sub_magnitudes): Likewise.
7046 (__add): Likewise.
7047 (__sub): Likewise.
7048 (__mul): Likewise.
7049 (__inv): Likewise.
7050 (__dvd): Likewise.
7051
f414520d
SP
7052 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7053 instead of __mul.
7054 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7055 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7056 (cc32): Likewise.
7057
d6752ccd
SP
7058 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7059 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7061 of __mul for squares.
7062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7063 function
7064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7065 Likewise.
7066 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7067 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7068
70d9946a
JM
70692013-02-13 Joseph Myers <joseph@codesourcery.com>
7070
7071 [BZ #13550]
7072 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7073 code.
7074 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7075 prototype or function definition. Rename ubp_* variables and
7076 parameters. Remove argv definitions conditional on
7077 [__BOUNDED_POINTERS__].
7078 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7079 * elf/dl-runtime.c (_dl_fixup): Likewise.
7080 * include/set-hooks.h (RUN_HOOK): Likewise.
7081 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7082 definition.
7083 * string/strcpy.c (strcpy): Do not use __unbounded.
7084 * sysdeps/generic/frame.h (struct layout): Likewise.
7085 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7086 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7087 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7088 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7089 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7090 (__backtrace): Likewise.
7091 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7092 use __ptrvalue.
7093 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7094 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7095 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7096 Likewise.
7097 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7098 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7099 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7100 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7101 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7102 Do not use __unbounded.
7103 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7104 Rename __unboundedrlimits parameter to rlimits in prototype.
7105 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7106 Do not use __unbounded.
7107 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7108 not use __ptrvalue.
7109 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7110 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7111 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7112 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7113 __ptrvalue or __unbounded.
7114 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7115 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7116 use __unbounded.
7117 (__new_msgctl): Do not use __ptrvalue.
7118 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7119 __unbounded.
7120 (__libc_msgrcv): Do not use __ptrvalue.
7121 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7122 startup_info): Do not use __unbounded.
7123 (__libc_start_main): Likewise. Rename ubp_* variables and
7124 parameters. Remove argv definitions conditional on
7125 [__BOUNDED_POINTERS__].
7126 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7127 __ptrvalue.
7128 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7129 use __unbounded.
7130 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7131 or __ptrvalue.
7132 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7133 use __unbounded.
7134 (__new_shmctl): Do not use __ptrvalue.
7135 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7136 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7137 Likewise.
7138 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7140 (__libc_sigaction): Likewise.
7141 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7142 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7143 Likewise.
7144 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7145
cc7834d6
OB
71462013-02-13 Ondřej Bílka <neleai@seznam.cz>
7147
ffb1ec7b 7148 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7149
7150 * string/mempcpy.c: Implement by calling memcpy.
7151
bdf02814
SP
71522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
c2af38aa
SP
7154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7155
4e92d59e
SP
7156 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7157 evaluation.
7158
909279a5
SP
7159 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7160 values in the mantissa.
7161
bdf02814
SP
7162 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7163 minimize writes to Z.
7164 (sub_magnitudes): Simplify code a bit.
7165
cd525923
RM
71662013-02-12 Roland McGrath <roland@hack.frob.com>
7167
7168 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7169 from the message. The linker prefixes all warnings with that already.
7170
7e2f0d2d
AS
71712013-02-12 Andreas Schwab <schwab@suse.de>
7172
a445af0b
AS
7173 [BZ #15078]
7174 * posix/regexec.c (extend_buffers): Add parameter min_len.
7175 (check_matching): Pass minimum needed length.
7176 (clean_state_log_if_needed): Likewise.
7177 (get_subexp): Likewise.
7178 * posix/Makefile (tests): Add bug-regex34.
7179 (bug-regex34-ENV): Define.
7180 * posix/bug-regex34.c: New file.
7181
7e2f0d2d
AS
7182 [BZ #11561]
7183 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7184 elements compare against the byte sequence of it, not its name.
7185 * posix/Makefile (tests): Add bug-regex35.
7186 (bug-regex35-ENV): Define.
7187 * posix/bug-regex35.c: New file.
7188
a175b684
TV
71892013-02-11 Tom de Vries <tom@codesourcery.com>
7190
7191 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7192 comment.
7193 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7194 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7195 (CHECK_EOL): Add undef.
7196
310998fe 71972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7198
7199 * bits/stdlib-bsearch.h: New file.
7200 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7201 * stdlib/stdlib.h: Likewise.
41eda41d 7202
8ded91fb
RM
72032013-02-11 Roland McGrath <roland@hack.frob.com>
7204
7205 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7206 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7207 declaration.
7208 * manual/search.texi (Array Search Function): Add missing const in
7209 lfind prototype.
7210 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7211 declaration to use rlim_t.
7212 (Basic Scheduling Functions): Remove erroneous const from
7213 sched_getparam prototype. Remove erroneous * from
7214 sched_get_priority_max and sched_get_priority_min prototypes.
7215 (Resource Usage): Fix summary @comment on vtimes to refer to
7216 sys/vtimes.h rather than vtimes.h.
7217 Add missing *s in vtimes prototype.
7218 (Limits on Resources): Fix ulimit prototype to return long int.
7219 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7220 prototypes to use long int rather than double.
7221 (BSD Random): Fix initstate and setstate to use char *, not void *.
7222 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7223 prototype to make second argument 'struct aiocb64 *const[]'.
7224 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7225 (Status of AIO Operations): Remove erroneous const in aio_return and
7226 aio_return64 prototypes.
7227 (Synchronizing I/O): Fix sync prototype to return void.
7228 * manual/startup.texi (Suboptions): Remove an erroneous const in
7229 getsubopt prototype.
7230 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7231 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7232 use size_t rather than int.
7233 (Scanning All Users): Likewise for getpwent_r.
7234 (Setting Groups): Add missing const to setgroups prototype.
7235 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7236 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7237 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7238 'const void *' rather than 'const char *'.
7239 (Host Address Functions): Likewise for inet_ntop.
7240 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7241 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7242 ssize_t for return value.
7243 (Sending Data): Likewise for send, sendto, sendmsg.
7244 (Socket Option Functions): Add a missing const in setsockopt prototype.
7245 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7246 use wchar_t for the argument.
7247 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7248 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7249 take no arguments.
7250 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7251 double/float/long double for second argument.
7252 Fix return types of significand, significandf, significandl.
7253 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7254 argument in fchmod prototype.
7255 (File Owner): Use uid_t and gid_t in fchown prototype.
7256 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7257 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7258 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7259 use 'const struct dirent **' as argument types to CMP function pointer
7260 argument.
7261 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7262 (File Times): Fix summary magic @comment for struct utimbuf and utime
7263 to refer to utime.h, not time.h.
7264 * manual/string.texi (Argz Functions): Add missing const in
7265 argz_extract and argz_next prototypes.
7266 (Finding Tokens in a String): Likewise for basename.
7267 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7268 (Copying and Concatenation): Fix typo in wmemmove prototype.
7269 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7270 (Signal Stack): Remove erroneous const in sigstack prototype.
7271 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7272 prototype.
7273 (Simple Calendar Time): Likewise for stime.
7274 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7275 prototype.
7276 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7277 say sys/sysctl.h instead.
7278 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7279 and vsyslog prototypes.
7280
fe77fe6d
TV
72812013-02-11 Tom de Vries <tom@codesourcery.com>
7282
7283 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7284 Remove.
7285
3a09b620
RM
72862013-02-11 Roland McGrath <roland@hack.frob.com>
7287
7288 * misc/sys/mman.h: Fix typo in mremap comment.
7289
550a0b89
RM
72902013-02-08 Roland McGrath <roland@hack.frob.com>
7291
7292 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7293 the '\0' terminator.
7294
a2da1673
JM
72952013-02-08 Joseph Myers <joseph@codesourcery.com>
7296
7297 [BZ #13550]
7298 * debug/segfault.c: Don't include <bp-checks.h>.
7299 * sysdeps/generic/bp-checks.h: Remove file.
7300 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7301 (__GETDENTS): Don't use CHECK_N.
7302 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7303 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7304 (__getgroups): Don't use CHECK_N.
7305 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7306 (setgroups): Don't use CHECK_N.
7307 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7308 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7309 (__libc_msgrcv): Don't use CHECK_N.
7310 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7311 (__libc_msgsnd): Don't use CHECK_N.
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7313 <bp-checks.h>.
7314 (__libc_pread): Don't use CHECK_N.
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7316 include <bp-checks.h>.
7317 (__libc_pread64): Don't use CHECK_N.
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7319 include <bp-checks.h>.
7320 (__libc_pwrite): Don't use CHECK_N.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7322 include <bp-checks.h>.
7323 (__libc_pwrite64): Don't use CHECK_N.
7324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7325 <bp-checks.h>.
7326 (__libc_pread): Don't use CHECK_N.
7327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7328 include <bp-checks.h>.
7329 (__libc_pread64): Don't use CHECK_N.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7331 include <bp-checks.h>.
7332 (__libc_pwrite): Don't use CHECK_N.
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7334 include <bp-checks.h>.
7335 (__libc_pwrite64): Don't use CHECK_N.
7336 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7337 (do_pread): Don't use CHECK_N.
7338 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7339 (do_pread64): Don't use CHECK_N.
7340 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7341 (do_pwrite): Don't use CHECK_N.
7342 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7343 (do_pwrite64): Don't use CHECK_N.
7344 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7345 (__libc_readv): Don't use CHECK_N.
7346 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7347 (semop): Don't use CHECK_N.
7348 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7349 <bp-checks.h>.
7350 (semtimedop): Don't use CHECK_N.
7351 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7352 (__libc_pread): Don't use CHECK_N.
7353 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7354 <bp-checks.h>.
7355 (__libc_pread64): Don't use CHECK_N.
7356 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7357 <bp-checks.h>.
7358 (__libc_pwrite): Don't use CHECK_N.
7359 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7360 <bp-checks.h>.
7361 (__libc_pwrite64): Don't use CHECK_N.
7362 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7363 <bp-checks.h>.
7364 (__libc_msgrcv): Don't use CHECK_N.
7365 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7366 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7367 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7368 (__libc_writev): Don't use CHECK_N.
7369
b84660a8
RM
73702013-02-08 Roland McGrath <roland@hack.frob.com>
7371
7f3e75f8
RM
7372 * string/strcpy.c: Removed unused variable.
7373
b84660a8
RM
7374 * Makeconfig (+sysdep-includes): Define with := rather than =.
7375 Use an existing include/ subdir of each sysdeps dir before it.
7376
471514d3
CD
73772013-02-08 Carlos O'Donell <carlos@redhat.com>
7378
7379 * nscd/connection.c (register_traced_file): Comment function.
7380 [HAVE_INOTIFY] (union __inev): Define.
7381 [HAVE_INOTIFY] (inotify_check_files): New function.
7382 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7383 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7384 clear_db_cache.
7385 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7386
b2d3c3be
CD
73872013-02-08 Carlos O'Donell <carlos@redhat.com>
7388
7389 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7390 loaded if not already and that a failure is permanent.
7391
b39949d2
CD
73922013-02-08 Carlos O'Donell <carlos@redhat.com>
7393
ddacd1db 7394 [BZ #15006]
b39949d2
CD
7395 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7396 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7397
b2c9eff4
JM
73982013-02-08 Joseph Myers <joseph@codesourcery.com>
7399
f3aae3f3
JM
7400 [BZ #13550]
7401 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7402 (CHECK_1_NULL_OK): Likewise.
7403 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7404 (__fxstat): Do not use CHECK_1.
7405 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7406 <bp-checks.h>.
7407 (___fxstat64): Do not use CHECK_1.
7408 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7409 <bp-checks.h>.
7410 (__fxstatat): Do not use CHECK_1.
7411 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7412 <bp-checks.h>.
7413 (__fxstatat64): Do not use CHECK_1.
7414 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7415 <bp-checks.h>.
7416 (__fxstat): Do not use CHECK_1.
7417 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7418 <bp-checks.h>.
7419 (__fxstatat): Do not use CHECK_1.
7420 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7421 <bp-checks.h>.
7422 (__getresgid): Do not use CHECK_1.
7423 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7424 <bp-checks.h>.
7425 (__getresuid): Do not use CHECK_1.
7426 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7427 <bp-checks.h>.
7428 (__lxstat): Do not use CHECK_1.
7429 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7430 <bp-checks.h>.
7431 (__old_msgctl): Do not use CHECK_1.
7432 (__new_msgctl): Likewise.
7433 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7434 <bp-checks.h>.
7435 (__new_setrlimit): Do not use CHECK_1.
7436 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7437 <bp-checks.h>.
7438 (__old_shmctl): Do not use CHECK_1.
7439 (__new_shmctl): Likewise.
7440 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7441 <bp-checks.h>.
7442 (__xstat): Do not use CHECK_1.
7443 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7444 (__lxstat): Do not use CHECK_1.
7445 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7446 <bp-checks.h>.
7447 (___lxstat64): Do not use CHECK_1.
7448 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7449 (__old_msgctl): Do not use CHECK_1.
7450 (__new_msgctl): Likewise.
7451 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7452 <bp-checks.h>.
7453 (__gettimeofday): Do not use CHECK_1.
7454 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7455 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7456 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7457 <bp-checks.h>.
7458 (__gettimeofday): Do not use CHECK_1.
7459 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7460 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7461 (__new_shmctl): Do not use CHECK_1.
7462 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7463 <bp-checks.h>.
7464 (do_sigtimedwait): Do not use CHECK_1.
7465 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7466 <bp-checks.h>.
7467 (do_sigwaitinfo): Do not use CHECK_1.
7468 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7469 <bp-checks.h>.
7470 (msgctl): Do not use CHECK_1.
7471 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7472 <bp-checks.h>.
7473 (shmctl): Do not use CHECK_1.
7474 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7475 (ustat): Do not use CHECK_1.
7476 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7477 <bp-checks.h>.
7478 (__fxstat): Do not use CHECK_1.
7479 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7480 <bp-checks.h>.
7481 (__fxstatat): Do not use CHECK_1.
7482 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7483 <bp-checks.h>.
7484 (__lxstat): Do not use CHECK_1.
7485 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7486 <bp-checks.h>.
7487 (__xstat): Do not use CHECK_1.
7488 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7489 (__xstat): Do not use CHECK_1.
7490 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7491 (___xstat64): Do not use CHECK_1.
7492
b2c9eff4
JM
7493 [BZ #13550]
7494 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7495 definitions.
7496 (CHECK_BOUNDS_HIGH): Likewise.
7497 * string/strcpy.c: Do not include <bp-checks.h>.
7498 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7499
f1d70dad
RM
75002013-02-07 Roland McGrath <roland@hack.frob.com>
7501
7502 * nscd/nscd-client.h (__nscd_drop_map_ref):
7503 Add __attribute__ ((unused)).
7504 * nis/nss-nisplus.h (niserr2nss): Likewise.
7505
7506 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7507 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7508
7509 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7510 Remove inline keyword.
7511 * include/rounding-mode.h (round_away): Likewise.
7512 * libio/wfileops.c (adjust_wide_data): Likewise.
7513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7514 (__m128i_strloadu_tolower): Likewise.
7515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7516 (__m128i_strloadu_tolower): Likewise.
7517 * time/mktime.c (ydhms_diff): Likewise.
7518 * locale/elem-hash.h (elem_hash): Likewise.
7519 * locale/setlocale.c (setdata): Likewise.
7520 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7521 (re_string_wchar_at): Likewise.
7522 (bitset_not, bitset_merge, bitset_mask): Likewise.
7523 [!(__GNUC__ > 3)] (inline): Remove macro.
7524 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7525 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7526 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7527 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7528 * string/memcmp.c (memcmp_bytes): Likewise.
7529 * locale/programs/locarchive.c (compute_hashval): Likewise.
7530 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7531 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7532 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7533 * nss/getent.c (print_rpc, print_protocols): Likewise.
7534 (print_passwd, print_group, print_aliases): Likewise.
7535 * nis/nss-nisplus.h (niserr2nss): Likewise.
7536 * nscd/connections.c (restart_p): Likewise.
7537 Change return type to bool.
7538
eab55bfb
RM
75392013-02-05 Roland McGrath <roland@hack.frob.com>
7540
7bd642f5
RM
7541 * Makeconfig (all-Depend-files): Add existing
7542 $(sorted-subdirs:=/Depend) files.
7543 (all-subdirs): Remove nss.
7544 * sysdeps/unix/inet/Subdirs: Add it here instead.
7545 * hesiod/Depend: New file.
7546
573c29b2
RM
7547 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7548 instead of calling alloca.
7549
b2e25af0
RM
7550 * io/lseek.c (__lseek): Rename to __libc_lseek.
7551 Define __lseek as an alias.
7552
eab55bfb
RM
7553 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7554
9a0d1941
CD
75552013-02-04 Carlos O'Donell <carlos@redhat.com>
7556
7557 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7558 else clause and remove check for non-standard endianness.
7559
b83bbec4
DM
75602013-02-04 David S. Miller <davem@davemloft.net>
7561
7562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7563
6277fdab
JM
75642013-02-04 Joseph Myers <joseph@codesourcery.com>
7565
7566 [BZ #13550]
7567 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7568 (__ubp_memchr): Remove prototype.
7569 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7570 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7571 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7572 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7573 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7574 Remove alias.
7575 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7576 (__ubp_memchr): Likewise.
7577 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7578 (__ubp_memchr): Likewise.
7579 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7580 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7581 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7582 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7583 CHECK_STRING.
7584 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7585 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7586 (__getcwd): Do not use CHECK_STRING.
7587 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7588 <bp-checks.h>.
7589 (__real_chown): Do not use CHECK_STRING.
7590 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7591 <bp-checks.h>.
7592 (fchownat): Do not use CHECK_STRING.
7593 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7594 CHECK_STRING.
7595 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7596 <bp-checks.h>.
7597 (__lchown): Do not use CHECK_STRING.
7598 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7599 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7600 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7601 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7603 include <bp-checks.h>.
7604 (truncate64): Do not use CHECK_STRING.
7605 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7606 <bp-checks.h>.
7607 (__real_chown): Do not use CHECK_STRING.
7608 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7609 <bp-checks.h>.
7610 (__lchown): Do not use CHECK_STRING.
7611 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7612 <bp-checks.h>.
7613 (__chown): Do not use CHECK_STRING.
7614 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7615 <bp-checks.h>.
7616 (truncate64): Do not use CHECK_STRING.
7617 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7618 Likewise.
7619 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7620 (__xmknod): Do not use CHECK_STRING.
7621 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7622 <bp-checks.h>.
7623 (__xmknodat): Do not use CHECK_STRING.
7624 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7625 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7626
903ae060
AS
76272013-02-04 Andreas Schwab <schwab@suse.de>
7628
7629 [BZ #14142]
7630 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7631 * include/netdb.h: Likewise for h_errno.
7632 * elf/tst-stackguard1.c: Include <tls.h>.
7633
542f9466
JK
76342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7635
7636 * elf/link.h (struct link_map): Extend the l_addr comment.
7637 * include/link.h (struct link_map): Likewise.
7638
e782a927
JM
76392013-02-01 Joseph Myers <joseph@codesourcery.com>
7640
7641 [BZ #13550]
7642 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7643 (BOUNDED_1): Remove macro.
7644 * debug/backtrace.c: Don't include <bp-checks.h>.
7645 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7646 (__backtrace): Likewise.
7647 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7648 <bp-checks.h>.
7649 (__backtrace): Don't use BOUNDED_1.
7650 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7651 <bp-checks.h>.
7652 (__backtrace): Don't use BOUNDED_1.
7653 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7654 (__backtrace): Don't use BOUNDED_1.
7655 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7656 (shmat): Don't use BOUNDED_N.
7657
8cf28c5e
JM
76582013-01-31 Joseph Myers <joseph@codesourcery.com>
7659
3a7ac8a0
JM
7660 [BZ #13550]
7661 * sysdeps/generic/bp-start.h: Remove file.
7662 * csu/libc-start.c: Don't include <bp-start.h>.
7663 (LIBC_START_MAIN): Set up __environ directly instead of using
7664 INIT_ARGV_and_ENVIRON.
7665 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7666 <bp-start.h>.
7667
f3499f95
JM
7668 [BZ #13550]
7669 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7670 definitions.
7671 (CHECK_FCNTL): Likewise.
7672 (CHECK_N_PAGES): Likewise.
7673
32a45bea
JM
7674 [BZ #13550]
7675 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7676 definitions.
7677 (CHECK_SIGSET_NULL_OK): Likewise.
7678 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7679 <bp-checks.h>.
7680 (sigpending): Don't use CHECK_SIGSET.
7681 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7682 <bp-checks.h>.
7683 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7684 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7685 <bp-checks.h>.
7686 (do_sigsuspend): Don't use CHECK_SIGSET.
7687 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7688 use CHECK_SIGSET.
7689 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7690 (do_sigwait): Don't use CHECK_SIGSET.
7691 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7692 use CHECK_SIGSET.
7693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7694 include <bp-checks.h>.
7695 (sigpending): Don't use CHECK_SIGSET.
7696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7697 include <bp-checks.h>.
7698 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7699 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7700 <bp-checks.h>.
7701 (sigpending): Don't use CHECK_SIGSET.
7702 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7703 <bp-checks.h>.
7704 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7705
2e8a5c8c
JM
7706 [BZ #13550]
7707 * sysdeps/generic/bp-semctl.h: Remove file.
7708 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7709 <bp-checks.h> and <bp-semctl.h>.
7710 (__old_semctl): Don't use CHECK_SEMCTL.
7711 (__new_semctl): Likewise.
7712 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7713 and <bp-semctl.h>.
7714 (__old_semctl): Don't use CHECK_SEMCTL.
7715 (__new_semctl): Likewise.
7716 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7717 <bp-checks.h> and <bp-semctl.h>.
7718 (__old_semctl): Don't use CHECK_SEMCTL.
7719 (__new_semctl): Likewise.
7720 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7721 <bp-checks.h> and <bp-semctl.h>.
7722 (semctl): Don't use CHECK_SEMCTL.
7723
c2d54929
JM
7724 [BZ #13550]
7725 * Makerules (elide-bp-thunks): Remove variable.
7726 (elide-routines.oS): Don't use $(elide-bp-thunks).
7727 (elide-routines.os): Likewise.
7728 (elide-routines.o): Likewise.
7729 (elide-routines.op): Likewise.
7730 (elide-routines.og): Likewise.
7731 (objects): Don't use $(bp-thunks).
7732 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7733 include.
7734 (common-generated): Do not add s-proto-bp.d.
7735 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7736 (int): Likewise.
7737 (typ): Likewise.
7738 Do not generate makefile rules for bounded-pointer thunks.
7739 * sysdeps/generic/bp-thunks.h: Remove file.
7740 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7741 * sysdeps/unix/s-proto-bp.S: Likewise.
7742
8cf28c5e
JM
7743 [BZ #15062]
7744 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7745 parts of result separately when argument is not close to line from
7746 -i to i and one part of argument is small.
7747 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7748 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7749 * math/libm-test.inc (cacos_test): Add more tests.
7750 (casin_test): Likewise.
7751 (casinh_test): Likewise.
7752 * sysdeps/i386/fpu/libm-test-ulps: Update.
7753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7754
c4e33b8d
DM
77552013-01-31 David S. Miller <davem@davemloft.net>
7756
7757 * po/de.po: Update from translation team.
7758
3b60b421
MK
77592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7760
7761 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7762
bb931195
TS
77632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7764
b5a5da23
TS
7765 * configure.in (_AC_PROG_CC_C89): New definition.
7766 * configure: Regenerate.
7767
bb931195
TS
7768 * configure.in (AC_PROG_CPP): New definition.
7769 * configure: Regenerate.
7770
8c53a12c
JM
77712013-01-23 Joseph Myers <joseph@codesourcery.com>
7772
7773 * debug/tst-backtrace.h: New file.
7774 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7775 (ret): Remove variable.
7776 (x): Likewise.
7777 (FAIL): Remove macro.
7778 (NO_INLINE): Likewise.
7779 (fn1): Use match function instead of strstr.
7780 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7781 (ret): Remove variable.
7782 (x): Likewise.
7783 (FAIL): Remove macro.
7784 (NO_INLINE): Likewise.
7785 (fn): Use match function instead of strstr.
7786 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7787 (ret): Remove variable.
7788 (x): Likewise.
7789 (FAIL): Remove macro.
7790 (NO_INLINE): Likewise.
7791 (handle_signal): Use match function instead of strstr.
7792 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7793 (ret): Remove variable.
7794 (x): Likewise.
7795 (FAIL): Remove macro.
7796 (NO_INLINE): Likewise.
7797 (handle_signal): Use match function instead of strstr.
7798
4858fa2a
RM
77992013-01-23 Roland McGrath <roland@hack.frob.com>
7800
7801 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7802
bae8e7f5
DM
78032013-01-23 David S. Miller <davem@davemloft.net>
7804
7805 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7806 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7807 argument of CAS if possible.
7808 * sysdeps/sparc/sparc64/bits/atomic.h
7809 (__arch_compare_and_exchange_val_32_acq): Likewise.
7810 (__arch_compare_and_exchange_val_64_acq): Likewise.
7811
9cbbc4ae
PT
78122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7813
7814 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7815 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7816 Include <limits.h>.
67b3f58c 7817 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7818
5655a0b5
AC
78192013-01-23 Adam Conrad <adconrad@0c3.net>
7820
7821 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7822 (LDFLAGS-tst-array5): Likewise.
7823
052aff95
JM
78242013-01-23 Joseph Myers <joseph@codesourcery.com>
7825
7826 [BZ #15036]
7827 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7828 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7829 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7830 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7831
7c1e01aa
DM
78322013-01-21 David S. Miller <davem@davemloft.net>
7833
7834 * sysdeps/sparc/backtrace.c: New file.
7835 * sysdeps/sparc/sparc32/backtrace.h: New file.
7836 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7837 * sysdeps/sparc/sparc64/backtrace.h: New file.
7838 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7839 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7840 -funwind-tables.
7841
ab087e0a
AS
78422013-01-21 Andreas Schwab <schwab@suse.de>
7843
7844 [BZ #15020]
7845 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7846 closed its stdout.
7847
ed689c2f
AS
78482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7849
7850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7851 "mpa2.h".
7852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7853
31d470ac
JM
78542013-01-18 Joseph Myers <joseph@codesourcery.com>
7855 Mark Mitchell <mark@codesourcery.com>
7856 Tom de Vries <tom@codesourcery.com>
7857 Paul Pluzhnikov <ppluzhnikov@google.com>
7858
7859 * debug/tst-backtrace2.c: New file.
7860 * debug/tst-backtrace3.c: Likewise.
7861 * debug/tst-backtrace4.c: Likewise.
7862 * debug/tst-backtrace5.c: Likewise.
7863 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7864 (CFLAGS-tst-backtrace3.c): Likewise.
7865 (CFLAGS-tst-backtrace4.c): Likewise.
7866 (CFLAGS-tst-backtrace5.c): Likewise.
7867 (LDFLAGS-tst-backtrace2): Likewise.
7868 (LDFLAGS-tst-backtrace3): Likewise.
7869 (LDFLAGS-tst-backtrace4): Likewise.
7870 (LDFLAGS-tst-backtrace5): Likewise.
7871 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7872 tst-backtrace4 and tst-backtrace5.
7873
90567f30 78742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7875 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7876
7877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7878 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7879 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7880 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7882 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7883 "+r" and remove output regs list as redundant. Add explicit inline
7884 asm to specify register of return val to work around compiler codegen
7885 bug. Remove (int) cast on return value. Add return type parameter to
7886 use in macro so that this macro does not truncate return value for
7887 64-bit values.
7888 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7889 pass to INTERNAL_VSYSCALL_NCS.
7890 (INLINE_VSYSCALL): Add 'long int' as return type to
7891 INTERNAL_VSYSCALL_NCS macro invocation.
7892 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7893 INTERNAL_VSYSCALL_NCS macro invocation.
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7895
d3b9ea61
SP
78962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7897
0b57daeb
SP
7898 [BZ #14496]
7899 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7900 Fix application of SIMD FP exception mask.
7901
caa99d06
SP
7902 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7903 mp_no from a power of two.
7904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7905 __mpexp_twomm1. Use __pow_mp.
7906
d3b9ea61
SP
7907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7908 multiplication.
7909
1dbaee3c
DM
79102013-01-17 David S. Miller <davem@davemloft.net>
7911
7912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7913
728d7b43
JM
79142013-01-17 Joseph Myers <joseph@codesourcery.com>
7915
7916 [BZ #15023]
7917 * include/complex.h: Condition contents on [!_COMPLEX_H].
7918 (__kernel_casinhf): New prototype.
7919 (__kernel_casinh): Likewise.
7920 (__kernel_casinhl): Likewise.
7921 * math/Makefile (libm_calls): Add k_casinh.
7922 * math/k_casinh.c: New file.
7923 * math/k_casinhf.c: Likewise.
7924 * math/k_casinhl.c: Likewise.
7925 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7926 finite nonzero arguments.
7927 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7928 finite nonzero arguments.
7929 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7930 finite nonzero arguments.
7931 * math/s_casinh.c: Do not include <float.h>.
7932 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7933 * math/s_casinhf.c: Do not include <float.h>.
7934 (__casinhf): Move code for finite nonzero arguments to
7935 k_casinhf.c.
7936 * math/s_casinhl.c: Do not include <float.h>.
7937 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7938 redefine.
7939 (__casinhl): Move code for finite nonzero arguments to
7940 k_casinhl.c.
7941 * math/libm-test.inc (cacos_test): Add more tests.
7942 * sysdeps/i386/fpu/libm-test-ulps: Update.
7943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7944
2a26ef3a
PT
79452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7946
7947 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7948 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7949 [!HAVE_MREMAP]: Remove [defined linux] case.
7950 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7951
a897655d
SP
79522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7953
7954 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7955
881ebe89 79562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7957
7958 * elf/elf.h (R_386_SIZE32): New relocation.
7959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7960 R_386_SIZE32.
7961 (elf_machine_rela): Likewise.
7962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7963 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7964
59981e9b
JM
79652013-01-17 Joseph Myers <joseph@codesourcery.com>
7966
7967 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7968 (FP_FAST_FMA): Do not define.
7969 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7970 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7971 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7972 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7973 !_SOFT_FLOAT]: Likewise.
7974 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7975 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7976 value.
7977 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7978 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7979 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7980 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7981 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7982 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7983 file.
7984
cfa8054f
AS
79852013-01-16 Andreas Schwab <schwab@suse.de>
7986
7987 [BZ #14327]
7988 * include/stdlib.h (__mktemp): Add declaration.
7989 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7990 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7991
dd930cc5
SP
79922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7993
881ebe89
SP
7994 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7995 definitions.
7996 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7997 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7998 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7999 definitions here.
8000 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8001 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8002 definitions.
8003 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8004 and ONE.
8005 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8006 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8007 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8008 definitions.
8009 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8010 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8011 definitions.
8012 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8013
dd930cc5
SP
8014 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8015
c19a9f89
DM
80162013-01-15 David S. Miller <davem@davemloft.net>
8017
1aa61767
DM
8018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8019 trunc{,f} to libm-sysdep_routes.
8020 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8022 file.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8025 file.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8027 file.
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8030 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8031 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8032 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8033 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8034 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8035 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8036
c42d5e98
DM
8037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8038 nearbyint{,f} to libm-sysdep_routes.
8039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8041 New file.
8042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8043 file.
8044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8045 New file.
8046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8047 file.
8048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8051 file.
8052 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8053 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8054 file.
8055 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8056 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8057 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8058
c19a9f89
DM
8059 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8060 libc_feholdexcept and libc_fesetenv.
8061
357679d2
MF
80622013-01-15 Mike Frysinger <vapier@gentoo.org>
8063
8064 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8065
65a82e3d
DM
80662013-01-14 David S. Miller <davem@davemloft.net>
8067
8b954ab9
DM
8068 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8069 (SPARC_ASM_VIS2_IFUNC): Likewise.
8070 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8072 use of 'siam' instruction.
8073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8074 Likewise.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8076 Likewise.
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8078 Likewise.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8084 file.
8085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8086 file.
8087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8088 file.
8089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8090 file.
8091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8096 new VIS2 routines.
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8100 Likewise.
8101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8106 routines to libm-sysdep_routines.
8107 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8108
65a82e3d
DM
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8110 fdim/fdimf to libm-sysdep_routines.
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8112 file.
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8115 file.
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8119 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8120 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8121 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8122 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8123
e34ab705
SP
81242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8125
2a91b573
SP
8126 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8127 to optimize copies.
8128
1066a534
SP
8129 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8132
e34ab705
SP
8133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8134 local variable MPTWO.
8135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8136 Likewise.
8137
aba5e596
MF
81382013-01-13 Mike Frysinger <vapier@gentoo.org>
8139
8140 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8141 GLOB_NOESCAPE.
8142
e557e9e5
MF
81432013-01-13 Mike Frysinger <vapier@gentoo.org>
8144
8145 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8146
0428cec9
MF
81472013-01-13 Mike Frysinger <vapier@gentoo.org>
8148
8149 * manual/pattern.texi (glob_t): Document gl_flags.
8150 (glob64_t): Likewise.
8151
8794a964
DM
81522013-01-11 David S. Miller <davem@davemloft.net>
8153
66438c3f
RM
8154 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8155 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8156 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8157 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8158 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8159 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8160 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8161 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8162 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8163 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8164 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8165 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8166 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8167
4ae4244d
DM
8168 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8169 sparc V9 rather than using V8 code.
8170 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8171 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8172
8794a964
DM
8173 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8174 Move to...
8175 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8176 Here.
8177
6270516e
RM
81782013-01-11 Roland McGrath <roland@hack.frob.com>
8179
8180 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8181 not in the main loop.
8182 * configure: Regenerated.
8183
6a57d931
JM
81842013-01-11 Joseph Myers <joseph@codesourcery.com>
8185
8186 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8187 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8188 to just #else.
8189 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8190 [!__GLIBC_HAVE_LONG_LONG] case.
8191 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8192 condition to just #else.
8193 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8194 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8195 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8196 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8197 unconditional.
8198 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8199 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8200 #elif condition to just #else.
8201 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8202 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8203 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8204 #elif condition to just #else.
8205
0e8529e9
SE
82062013-01-11 Steve Ellcey <sellcey@mips.com>
8207
8208 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8209 (EF_MIPS_ARCH_64): Fix value.
8210 (EF_MIPS_ARCH_32R2): New.
8211 (EF_MIPS_ARCH_64R2): New.
8212
740b3dbe
L
82132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8214
8215 * Makeconfig (+link-pie-before-libc): New.
8216 (+link-pie-after-libc): Likewise.
8217 (+link-pie-tests): Likewise.
8218 (+link-pie): Rewritten.
8219 (link-before-libc): Remove $(config-LDFLAGS).
8220 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8221 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8222 (config-LDFLAGS): Renamed to ...
8223 (rtld-LDFLAGS): This.
8224 (rtld-tests-LDFLAGS): New macro.
8225 (link-libc-rpath-link): Likewise.
8226 (link-libc-tests-rpath-link): Likewise.
8227 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8228 (link-libc): Prepand $(link-libc-rpath-link).
8229 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8230 (test-program-prefix): New macro.
8231 (test-via-rtld-prefix): Likewise.
8232 (test-program-cmd): Likewise.
8233 (host-test-program-cmd): Likewise.
8234 * Makefile ($(common-objpfx)testrun.sh): Replace
8235 $(run-program-prefix) with $(test-program-prefix).
8236 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8237 $(rtld-LDFLAGS).
8238 ($(common-objpfx)shlib.lds): Likewise.
8239 (build-module-helper): Likewise.
8240 ($(common-objpfx)format.lds): Likewise.
8241 * Rules (binaries-pie-tests): New.
8242 (binaries-pie-notests): Likewise.
8243 (binaries-pie): Rewritten.
8244 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8245 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8246 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8247 (make-test-out): Replace $(host-built-program-cmd) with
8248 $(host-test-program-cmd).
8249 * config.make.in (build-hardcoded-path-in-tests): New variable.
8250 * configure.in (--enable-hardcoded-path-in-tests): New configure
8251 option.
8252 (hardcoded_path_in_tests): New AC_SUBST.
8253 * configure: Regenerated.
8254 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8255 $(built-program-cmd) with $(test-program-cmd).
8256 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8257 (test_program_cmd): This.
8258 * elf/Makefile ($(objpfx)order.out): Run test with
8259 $(test-program-prefix).
8260 ($(objpfx)order2.out): Likewise.
8261 ($(objpfx)tst-initorder.out): Likewise.
8262 ($(objpfx)tst-initorder2.out): Likewise.
8263 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8264 $(test-program-cmd).
8265 ($(objpfx)tst-array1-static.out): Likewise.
8266 ($(objpfx)tst-array2.out): Likewise.
8267 ($(objpfx)tst-array3.out): Likewise.
8268 ($(objpfx)tst-array4.out): Likewise.
8269 ($(objpfx)tst-array5.out): Likewise.
8270 ($(objpfx)tst-array5-static.out): Likewise.
8271 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8272 $(test-program-cmd).
8273 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8274 $(run-program-prefix) with $(test-program-prefix).
8275 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8276 (test_program_prefix): This.
8277 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8278 $(run-program-prefix) with $(test-program-prefix).
8279 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8280 (test_program_prefix): This.
8281 * iconvdata/tst-tables.sh: Likewise.
8282 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8283 $(run-program-prefix) with $(test-program-prefix).
8284 ($(objpfx)tst-translit.out): Likewise.
8285 ($(objpfx)tst-gettext2.out): Likewise.
8286 ($(objpfx)tst-gettext4.out): Likewise.
8287 ($(objpfx)tst-gettext6.out): Likewise.
8288 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8289 (test_program_prefix): This.
8290 * intl/tst-gettext2.sh: Likewise.
8291 * intl/tst-gettext4.sh Likewise.
8292 * intl/tst-gettext6.sh: Likewise.
8293 * intl/tst-translit.sh: Likewise.
8294 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8295 with $(test-program-cmd).
8296 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8297 $(run-program-prefix) with $(test-program-prefix).
8298 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8299 (test_program_prefix): This.
8300 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8301 $(run-program-prefix) with $(test-program-prefix).
8302 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8303 (test_program_prefix): This.
8304 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8305 * posix/Makefile ($(objpfx)globtest.out): Replace
8306 $(run-via-rtld-prefix) and $(test-wrapper) with
8307 $(test-program-prefix) and $(test-via-rtld-prefix).
8308 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8309 $(test-program-prefix).
8310 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8311 $(host-test-program-cmd).
8312 (tst-spawn-ARGS): Likewise.
8313 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8314 $(test-program-prefix).
8315 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8316 (test_via_rtld_prefix): This.
8317 (test_wrapper): Renamed to ...
8318 (test_program_prefix): This.
8319 (run_program_prefix): Replaced by test_program_prefix.
8320 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8321 (test_program_prefix): This.
8322 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8323 with $(host-test-program-cmd).
8324 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8325 $(run-program-prefix) with $(test-program-prefix).
8326 ($(objpfx)tst-printf.out): Likewise.
8327 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8328 $(test-program-cmd).
8329 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8330 (test_program_prefix): This.
8331 * stdio-common/tst-unbputc.sh: Likewise.
8332 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8333 $(run-program-prefix) with $(test-program-prefix).
8334 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8335 (test_program_prefix): This.
8336 * string/Makefile ($(objpfx)tst-svc.out): Replace
8337 $(built-program-cmd) with $(test-program-cmd).
8338
c6fe55cf
AJ
83392013-01-11 Andreas Jaeger <aj@suse.de>
8340
8341 [BZ #15003]
8342 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8343 value. Sync with Linux 3.7.
8344
9e6919c8
DM
83452013-01-10 David S. Miller <davem@davemloft.net>
8346
8347 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8348 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8349 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8350
1c9f1a02
RM
83512013-01-10 Roland McGrath <roland@hack.frob.com>
8352
8353 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8354 never set.
8355 * configure: Regenerated.
8356
b9de2dde
DM
83572013-01-10 David S. Miller <davem@davemloft.net>
8358
8359 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8360 sparc V9 rather than using V8 code.
8361 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8362 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8363
e7f68ef4
RM
83642013-01-10 Roland McGrath <roland@hack.frob.com>
8365
8366 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8367 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8368 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8369 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8370 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8371 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8372 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8373 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8374 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8375 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8376 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8377 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8378 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8379 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8380 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8381 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8382 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8383 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8384 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8385 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8386 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8387 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8388 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8389 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8390 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8391 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8392 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8393
5a47cc9c
DM
83942013-01-10 David S. Miller <davem@davemloft.net>
8395
8396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8397
4cf8f209
L
83982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8399
8400 * posix/Makefile (tests-static): New variable.
8401 (tests): Add $(tests-static).
8402 (tst-exec-static-ARGS): New variable.
8403 (tst-spawn-static-ARGS): Likewise.
8404 * posix/tst-exec-static.c: New file.
8405 * posix/tst-spawn-static.c: Likewise.
8406 * posix/tst-exec.c: Support run directly.
8407 * posix/tst-spawn.c: Likewise.
8408
fed0faa1
JM
84092013-01-10 Joseph Myers <joseph@codesourcery.com>
8410
828beb13
JM
8411 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8412 long.
8413 * math/bits/mathcalls.h (llrint): Likewise.
8414 (llround): Likewise.
8415 * stdlib/stdlib.h (struct drand48_data): Likewise.
8416 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8417 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8418 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8419 Likewise.
8420 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8421 Likewise.
8422 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8423 (elf_greg_t): Likewise.
8424 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8425 (__jmp_buf): Likewise.
8426 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8427 definitions.
8428 (llrint): Likewise, for all definitions.
8429 (llrintl): Likewise.
8430
fed0faa1
JM
8431 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8432 Remove [__GNUC__] condition.
8433 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8434 condition to just [__USE_ISOC99].
8435 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8436
1a20cb20
L
84372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8438
8439 [BZ #14200]
8440 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8441 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8442 defined.
8443 (_POSIX_V6_ILP32_OFF32): Likewise.
8444 (_XBS5_ILP32_OFF32): Likewise.
8445 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8446 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8447
751b85f7
SP
84482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8449
7490eb81
SP
8450 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8451
751b85f7
SP
8452 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8453 doubles __mpexp_twomm1. Adjust usage.
8454 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8455 Remove.
8456
988197f0
AS
84572013-01-10 Andreas Schwab <schwab@suse.de>
8458
8459 [BZ #14964]
8460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8461 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8462
e83d7298
DM
84632013-01-09 David S. Miller <davem@davemloft.net>
8464
034ed64b 8465 [BZ #15003]
e83d7298
DM
8466 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8467 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8468 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8469 TCP_FASTOPEN): Define.
8470 (tcp_repair_opt): New structure.
8471 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8472 enum values.
8473 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8474 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8475 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8476 (tcp_cookie_transactions): New structure.
8477
d5e0b9bd
AB
84782013-01-09 Anton Blanchard <anton@samba.org>
8479
8480 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8481 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8482 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8483 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8484
0c07e3ea
JM
84852013-01-09 Joseph Myers <joseph@codesourcery.com>
8486
8487 * include/features.h (__USE_ANSI): Remove.
8488
232f7002
RM
84892013-01-09 Roland McGrath <roland@hack.frob.com>
8490
ad98e30c
RM
8491 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8492
232f7002
RM
8493 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8494
950c99ca
SP
84952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8496
b5792741
SP
8497 * sysdeps/s390/fpu/libm-test-ulps: Update.
8498
47cf2278
SP
8499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8500
950c99ca
SP
8501 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8502 (__acr): Likewise.
8503 (__cpy): Likewise.
8504 (norm): Likewise.
8505 (denorm): Likewise.
8506 (__mp_dbl): Likewise.
8507 (__dbl_mp): Likewise.
8508 (add_magnitudes): Likewise.
8509 (sub_magnitudes): Likewise.
8510 (__add): Likewise.
8511 (__sub): Likewise.
8512 (__mul): Likewise.
8513 (__inv): Likewise.
8514 (__dvd): Likewise.
8515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8516 (__acr): Likewise.
8517 (__cpy): Likewise.
8518 (norm): Likewise.
8519 (denorm): Likewise.
8520 (__mp_dbl): Likewise.
8521 (__dbl_mp): Likewise.
8522 (add_magnitudes): Likewise.
8523 (sub_magnitudes): Likewise.
8524 (__add): Likewise.
8525 (__sub): Likewise.
8526 (__mul): Likewise.
8527 (__inv): Likewise.
8528 (__dvd): Likewise.
8529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8530 (__acr): Likewise.
8531 (__cpy): Likewise.
8532 (norm): Likewise.
8533 (denorm): Likewise.
8534 (__mp_dbl): Likewise.
8535 (__dbl_mp): Likewise.
8536 (add_magnitudes): Likewise.
8537 (sub_magnitudes): Likewise.
8538 (__add): Likewise.
8539 (__sub): Likewise.
8540 (__mul): Likewise.
8541 (__inv): Likewise.
8542 (__dvd): Likewise.
8543
eede9df9
JM
85442013-01-08 Joseph Myers <joseph@codesourcery.com>
8545
8546 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8547 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8548 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8549 2 && __USE_EXTERN_INLINES]: Likewise.
8550
c40ea3d9
AJ
85512013-01-08 Andreas Jaeger <aj@suse.de>
8552
8553 [BZ# 14985]
8554 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8555 Remove.
8556 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8557 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8558
2ccdea26
AB
85592013-01-07 Anton Blanchard <anton@samba.org>
8560
8561 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8562 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8563 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8564 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8565 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8566 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8567 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8568 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8572 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8573 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8575 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8576 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8577 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8578 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8579 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8580 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8581 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8582 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8584 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8585 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8586 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8587 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8588 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8589 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8590 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8591 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8593 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8594 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8595 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8596 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8597 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8598 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8601 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8602 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8603 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8604
a9708fed
JM
86052013-01-07 Joseph Myers <joseph@codesourcery.com>
8606
375607b9
JM
8607 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8608 (__MALLOC_PMT): Likewise.
8609 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8610 [__GNUC__], only on [_LIBC].
8611 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8612 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8613 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8614 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8615 forward declaration.
8616 (realloc_hook_ini): Likewise.
8617 (memalign_hook_ini): Likewise.
8618 (__libc_memalign): Do not use __MALLOC_PMT in variable
8619 declaration.
8620 (__libc_valloc): Likewise.
8621 (__libc_pvalloc): Likewise.
8622 (__libc_calloc): Likewise.
8623 (__posix_memalign): Likewise.
8624
a9708fed
JM
8625 [BZ #14996]
8626 * math/s_casinh.c: Include <float.h>.
8627 (__casinh): Do not do computation with squaring and square root
8628 for large arguments.
8629 * math/s_casinhf.c: Include <float.h>.
8630 (__casinhf): Do not do computation with squaring and square root
8631 for large arguments.
8632 * math/s_casinhl.c: Include <float.h>.
8633 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8634 (__casinhl): Do not do computation with squaring and square root
8635 for large arguments.
8636 * math/libm-test.inc (casin_test): Add more tests.
8637 (casinh_test): Likewise.
8638 * sysdeps/i386/fpu/libm-test-ulps: Update.
8639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8640
afec409a
L
86412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8644 (__x86_64_raw_data_cache_size): Likewise.
8645 (__x86_64_data_cache_size_half): Likewise.
8646 (__x86_64_raw_data_cache_size_half): Likewise.
8647 (__x86_64_shared_cache_size): Likewise.
8648 (__x86_64_raw_shared_cache_size): Likewise.
8649 (__x86_64_shared_cache_size_half): Likewise.
8650 (__x86_64_raw_shared_cache_size_half): Likewise.
8651 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8652 to ...
8653 (__x86_data_cache_size): This.
8654 (__x86_64_raw_data_cache_size): Renamed to ...
8655 (__x86_raw_data_cache_size): This.
8656 (__x86_64_data_cache_size_half): Renamed to ...
8657 (__x86_data_cache_size_half): This.
8658 (__x86_64_raw_data_cache_size_half): Renamed to ...
8659 (__x86_raw_data_cache_size_half): This.
8660 (__x86_64_shared_cache_size): Renamed to ...
8661 (__x86_shared_cache_size): This.
8662 (__x86_64_raw_shared_cache_size): Renamed to ...
8663 (__x86_raw_shared_cache_size): This.
8664 (__x86_64_shared_cache_size_half): Renamed to ...
8665 (__x86_shared_cache_size_half): This.
8666 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8667 (__x86_raw_shared_cache_size_half): This.
8668 * sysdeps/x86_64/memcpy.S: Updated.
8669 * sysdeps/x86_64/memset.S: Likewise.
8670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8671 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8672 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8673
0b3986d0
DM
86742013-01-04 David S. Miller <davem@davemloft.net>
8675
8676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8677
e47686e9
AS
86782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8679
d643bac1
AS
8680 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8681 1 to avoid redefinition warning.
8682 (__USE_GNU): Don't define.
8683 (init_signaling_nan): Protoize.
8684
e47686e9
AS
8685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8686
b18decba
SP
86872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8688
fffb407f
SP
8689 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8691 (__cpymn): Likewise.
8692 (norm): Remove commented code.
8693 (denorm): Likewise.
8694 (__mp_dbl): Likewise.
8695 (__inv): Likewise.
8696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8697 (__cpymn): Likewise.
8698 (norm): Remove commented code.
8699 (denorm): Likewise.
8700 (__mp_dbl): Likewise.
8701 (__inv): Likewise.
8702
b18decba
SP
8703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8704 mp_no value for 1.0 and 2.0.
8705 (norm): Use RADIXI instead of radixi.d.
8706 (denorm): Likewise.
8707 (__mul): Use 0.0 instead of zero.d.
8708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8709 mp_no value for 1.0 and 2.0.
8710 (norm): Use RADIXI instead of radixi.d.
8711 (denorm): Likewise.
8712 (__mul): Use 0.0 instead of zero.d.
8713
cdc1c96f
JM
87142013-01-04 Joseph Myers <joseph@codesourcery.com>
8715
8716 [BZ #14994]
8717 * math/s_casinh.c (__casinh): Reduce finite argument to first
8718 quadrant then set signs of results at the end.
8719 * math/s_casinhf.c (__casinhf): Likewise.
8720 * math/s_casinhl.c (__casinhl): Likewise.
8721 * math/libm-test.inc (casin_test): Add more tests.
8722 (casinh_test): Likewise.
8723 * sysdeps/i386/fpu/libm-test-ulps: Update.
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8725
302913e1
SP
87262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8727
6420d207
SP
8728 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8729
a9e48ab4
SP
8730 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8731
b7837264
SP
8732 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8733 declarations.
8734 (denorm): Likewise.
8735 (__mp_dbl): Likewise.
8736 (__inv): Likewise.
8737
f8af25d2
SP
8738 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8739 and adjust the header comment.
8740
302913e1
SP
8741 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8742 variable name from declaration.
8743
5d7dd1ca
L
87442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8747 Initialize COMMON_CPUID_INDEX_7 element.
8748 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8749 (CPUID_RTM): Likewise.
8750 (HAS_RTM): Likewise.
8751 (COMMON_CPUID_INDEX_7): New enum.
8752
2f5f40f4
AS
87532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8754
8755 [BZ #14981]
8756 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8757 size is zero, record memory as freed.
8758
4056f4a0
AJ
87592013-01-03 Andreas Jaeger <aj@suse.de>
8760
8761 * po/ia.po: Add new Interlingua translation.
8762
ab15736f 87632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8764
8765 * locale/programs/localedef.c: Fix description of '--posix' flag.
8766
568035b7
JM
87672013-01-02 Joseph Myers <joseph@codesourcery.com>
8768
e6898b8d
JM
8769 * NEWS: Update dates in second copyright notice.
8770 * README: Update copyright dates in example.
8771 * manual/libc.texinfo: Update copyright dates.
8772 * scripts/test-installation.pl: Update copyright date in --version
8773 output.
8774
0e2f9562
JM
8775 * hurd/ctty-input.c: Fix copyright notice formatting.
8776 * hurd/ctty-output.c: Likewise.
8777 * hurd/dtable.c: Likewise.
8778 * hurd/hurd-raise.c: Likewise.
8779 * hurd/hurdprio.c: Likewise.
8780 * hurd/msgportdemux.c: Likewise.
8781 * misc/sys/file.h: Likewise.
8782 * misc/sys/ioctl.h: Likewise.
8783 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8784 * sysdeps/mach/hurd/chdir.c: Likewise.
8785 * sysdeps/mach/hurd/fchdir.c: Likewise.
8786 * sysdeps/mach/hurd/rename.c: Likewise.
8787 * sysdeps/mach/hurd/rmdir.c: Likewise.
8788 * sysdeps/mach/hurd/seekdir.c: Likewise.
8789 * sysdeps/mach/hurd/setsid.c: Likewise.
8790 * sysdeps/posix/wait3.c: Likewise.
8791
568035b7
JM
8792 * All files with FSF copyright notices: Update copyright dates
8793 using scripts/update-copyrights.
8794 * intl/plural.c: Regenerated.
8795 * locale/programs/charmap-kw.h: Likewise.
8796 * locale/programs/locfile-kw.h: Likewise.
8797
da08f647
SP
87982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8799
0f5477af
SP
8800 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8801 four values.
8802
44e0d4c2
SP
8803 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8804 calculation loop and add branch prediction.
8805
4d55b4e5
SP
8806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8807 check access beyond bounds of m1np.
8808
da08f647
SP
8809 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8810 MPTWO.
8811 (__inv): Remove local variable MPTWO to use the global
8812 constant.
8813 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8815 variable MPTWO.
8816 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8817 MP3HALFS static const.
8818
8e051029
DM
88192013-01-01 David S. Miller <davem@davemloft.net>
8820
8821 * po/ca.po: Update from translation team.
8822
f4cf5f2d
JM
88232013-01-01 Joseph Myers <joseph@codesourcery.com>
8824
8825 * scripts/update-copyrights: New file.
8826 * Makeconfig: Reformat copyright notice.
8827 * ctype/ctype.h: Likewise.
8828 * debug/swprintf_chk.c: Likewise.
8829 * elf/dl-cache.c: Likewise.
8830 * elf/dl-debug.c: Likewise.
8831 * elf/dl-object.c: Likewise.
8832 * grp/initgroups.c: Likewise.
8833 * hurd/Makefile: Likewise.
8834 * hurd/hurd/signal.h: Likewise.
8835 * hurd/hurdfault.c: Likewise.
8836 * hurd/hurdioctl.c: Likewise.
8837 * hurd/hurdlookup.c: Likewise.
8838 * hurd/intr-msg.c: Likewise.
8839 * iconv/gconv_open.c: Likewise.
8840 * libio/swprintf.c: Likewise.
8841 * locale/lc-ctype.c: Likewise.
8842 * locale/nl_langinfo.c: Likewise.
8843 * mach/Machrules: Likewise.
8844 * mach/Makefile: Likewise.
8845 * malloc/obstack.h: Likewise.
8846 * manual/Makefile: Likewise.
8847 * manual/tsort.awk: Likewise.
8848 * misc/bits/stab.def: Likewise.
8849 * nis/nis_print_group_entry.c: Likewise.
8850 * nis/nis_table.c: Likewise.
8851 * nis/nss_compat/compat-pwd.c: Likewise.
8852 * nis/nss_compat/compat-spwd.c: Likewise.
8853 * po/Makefile: Likewise.
8854 * posix/fnmatch.c: Likewise.
8855 * posix/regex.h: Likewise.
8856 * resolv/Makefile: Likewise.
8857 * resolv/nss_dns/dns-network.c: Likewise.
8858 * resolv/res_hconf.c: Likewise.
8859 * scripts/gen-sorted.awk: Likewise.
8860 * soft-fp/soft-fp.h: Likewise.
8861 * stdio-common/printf.h: Likewise.
8862 * stdlib/monetary.h: Likewise.
8863 * stdlib/random.c: Likewise.
8864 * stdlib/random_r.c: Likewise.
8865 * sysdeps/generic/Makefile: Likewise.
8866 * sysdeps/gnu/Makefile: Likewise.
8867 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8895 * sysdeps/mach/hurd/errnos.awk: Likewise.
8896 * sysdeps/mach/hurd/fork.c: Likewise.
8897 * sysdeps/mach/hurd/getcwd.c: Likewise.
8898 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8899 * sysdeps/mach/hurd/mmap.c: Likewise.
8900 * sysdeps/mach/hurd/utimes.c: Likewise.
8901 * sysdeps/mach/hurd/xmknod.c: Likewise.
8902 * sysdeps/posix/profil.c: Likewise.
8903 * sysdeps/posix/readdir_r.c: Likewise.
8904 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8905 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8906 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8907 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8909 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8910 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8911 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8913 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8914 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8915 * sysdeps/pthread/lio_listio.c: Likewise.
8916 * sysdeps/sparc/dl-procinfo.h: Likewise.
8917 * sysdeps/unix/i386/sysdep.S: Likewise.
8918 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8919 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8920 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8921 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8923 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8924 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8925 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8926 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8927 * sysdeps/wordsize-32/divdi3.c: Likewise.
8928 * time/sys/time.h: Likewise.
8929 * wcsmbs/Makefile: Likewise.
8930
0549fbba
DM
89312013-01-01 David S. Miller <davem@davemloft.net>
8932
a141f1a7
DM
8933 * po/fr.po: Update from translation team.
8934
0549fbba
DM
8935 * catgets/gencat.c: Update copyright year.
8936 * csu/version.c: Likewise.
8937 * debug/catchsegv.sh: Likewise.
8938 * debug/pcprofiledump.c: Likewise.
8939 * debug/xtrace.sh: Likewise.
8940 * elf/ldconfig.c: Likewise.
8941 * elf/ldd.bash.in: Likewise.
8942 * elf/pldd.c: Likewise.
8943 * elf/sotruss.ksh: Likewise.
8944 * elf/sprof.c: Likewise.
8945 * iconv/iconv_prog.c: Likewise.
8946 * iconv/iconvconfig.c: Likewise.
8947 * locale/programs/locale.c: Likewise.
8948 * locale/programs/localedef.c: Likewise.
8949 * login/programs/pt_chown.c: Likewise.
8950 * malloc/memusage.sh: Likewise.
8951 * malloc/memusagestat.c: Likewise.
8952 * malloc/mtrace.pl: Likewise.
8953 * nscd/nscd.c: Likewise.
8954 * nss/getent.c: Likewise.
8955 * nss/makedb.c: Likewise.
8956 * posix/getconf.c: Likewise.
8957
18ea052c
SP
89582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8959
8960 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8961 numbers.
8962
9c89fca6
MF
89632012-12-30 Mike Frysinger <vapier@gentoo.org>
8964
8965 * math/bits/mathcalls.h (modf): Use __nonnull.
8966
085ec079
SP
89672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8968
8969 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8970 (split): Use macro CN instead of the bare value.
8971 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8972 could be used.
8973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8974 instead of the bare value.
8975 (power1): Likewise.
8976
6d9f97e1
SP
89772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8978
d63f73be
SP
8979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8980 __ATAN_TWOM.
8981 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8982
6d9f97e1
SP
8983 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8984 their values.
8985 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8986 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8987 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8988 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8989
4c4febf5
AJ
89902012-12-28 Andreas Jaeger <aj@suse.de>
8991
af5843ef
AJ
8992 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8993 values are from Linux 3.7.
8994
4c4febf5
AJ
8995 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8996 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8997
99136f82
SP
89982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8999
2f216c3c 9000 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9001 TRUE case.
9002
99136f82
SP
9003 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9004 (norm): Likewise.
9005 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9006 variables with preprocessor constants.
9007 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9008 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9009 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9010
7fffbdff
BH
90112012-12-27 Bruno Haible <bruno@clisp.org>
9012
9013 [BZ #14317]
9014 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9015 only if needed.
9016
b76eb5f0
SP
90172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9018
31a7fe5c
SP
9019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9020 and use variable directly.
9021 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9022
b76eb5f0
SP
9023 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9024 MPONE.
9025 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9027 variable MPONE.
9028 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9030 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9031 include directive. Remove local variable MPONE.
9032 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9033 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9034 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9035
2c8bfe7d
DM
90362012-12-25 David S. Miller <davem@davemloft.net>
9037
9038 * version.h (RELEASE): Set to "development".
9039 (VERSION): Set to "2.17.90".
9040 * NEWS: Add 2.18 section.
9041
147d03b0
DM
90422012-12-21 David S. Miller <davem@davemloft.net>
9043
9044 * po/hr.po: Update from translation team.
9045
a8ebb2b9
AK
90462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9047
9048 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9049
95b4f1b6
SE
90502012-12-19 Steve Ellcey <sellcey@mips.com>
9051
b2d94007 9052 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9053
cedb2a90
MS
90542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9055
9056 * manual/contrib.texi (Contributors): Spelling correction.
9057
bbf527d6
DM
90582012-12-15 David S. Miller <davem@davemloft.net>
9059
9060 * po/ru.po: Update from translation team.
9061
bc38c906
DM
90622012-12-13 David S. Miller <davem@davemloft.net>
9063
85429b1a
DM
9064 * NEWS: Mention IFUNC testsuite enhancements.
9065
d283e353
DM
9066 * po/pl.po: Update from translation team.
9067 * po/bg.po: Likewise.
9068
bc38c906
DM
9069 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9070 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9071
a181b0d7
DM
90722012-12-11 David S. Miller <davem@davemloft.net>
9073
4641d57e
DM
9074 * po/sv.po: Update from translation team.
9075
f7bc6495
DM
9076 * po/vi.po: Update from translation team.
9077
6fc9048f
DM
9078 * po/cs.po: Update from translation team.
9079
a181b0d7
DM
9080 * po/de.po: Update from translation team.
9081 * po/eo.po: Likewise.
9082 * po/nl.po: Likewise.
9083
f70bfe80
SP
90842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9085
3c8b4190
SP
9086 [BZ #14246]
9087 * manual/argp.texi (Argp Helper Functions): Move node to follow
9088 Argp Parsing State.
9089
f70bfe80
SP
9090 [BZ #14872]
9091 * manual/conf.texi (Limits on File System Capacity): Mention if
9092 terminating null is included in the max size.
9093
188f0adf
AJ
90942012-12-10 Andreas Jaeger <aj@suse.de>
9095
9096 * po/cs.po: Update from translation team.
9097
56e7d3ad
SP
90982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9099
9100 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9101 void pointer and cast to uintptr_t.
9102 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9103 path.
9104 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9105 * sysdeps/s390/s390-64/memset.S: Likewise.
9106
76f2d2ea 91072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9108
9109 [BZ #14833]
9110 * menual/message.texi (Message Translation): Fix typos.
9111 (Helper programs for gettext): Likewise.
9112
67cbf9a2
AS
91132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9114
9115 [BZ #14898]
9116 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9117 Change to -1.
9118
682d0e9a
DM
91192012-12-07 David S. Miller <davem@davemloft.net>
9120
9121 * po/libc.pot: Update.
9122
573cd484
RH
91232012-12-07 Richard Henderson <rth@redhat.com>
9124
7e9da188 9125 [BZ #10114]
573cd484
RH
9126 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9127 normal/normal case to before the switch.
9128 (_FP_DIV): Likewise.
9129
e933a943
MF
91302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9131 Mike Frysinger <vapier@gentoo.org>
9132
9133 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9134 check for __NR_fadvise64_64.
9135
82123268
CM
91362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9137
9138 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9139 0, not just to plain "0" as a statement.
9140 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9141 with cw.
9142
d9814526
JM
91432012-12-06 Joseph Myers <joseph@codesourcery.com>
9144
9145 * NEWS: Use sourceware.org in Bugzilla URL.
9146
7728c574
SP
91472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9148
f16946dd
SP
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9150 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9151
5704bbcb
SP
9152 * stdio-common/tst-put-error.c (do_test): Add newline to the
9153 padded test to ensure flush.
9154
17aa0516
JL
91552012-12-05 Jeff Law <law@redhat.com>
9156
9157 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9158
363313b5
JM
91592012-12-05 Joseph Myers <joseph@codesourcery.com>
9160
effbd42a
JM
9161 * README: Don't refer to ports add-on as distributed separately.
9162 Mention AArch64 in list of systems supported in the ports add-on.
9163
87600365
JM
9164 * LICENSES: Add more non-FSF copyright and license notices.
9165
a0d7066a
JM
9166 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9167 ((unused)).
9168
66ca5a5b
JM
9169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9170
363313b5
JM
9171 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9172 10000 as width of padded output.
9173
b37984ad
JM
91742012-12-04 Joseph Myers <joseph@codesourcery.com>
9175
9003570a
JM
9176 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9177
b37984ad
JM
9178 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9179 variable LX with __attribute__ ((unused)).
9180 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9181 Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9185 with __attribute__ ((unused)).
9186
c8df52ec
DM
91872012-12-04 David S. Miller <davem@abraco.davemloft.net>
9188
9189 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9190
b3b099af
JM
91912012-12-04 Joseph Myers <joseph@codesourcery.com>
9192
c33aa6e3
JM
9193 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9194 (CFLAGS-nldbl-acos.c): New variable.
9195 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9228 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9229 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9230 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9231 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9232 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9233 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9234 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9235 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9236 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9237 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9238 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9239 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9240 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9241 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9242 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9243 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9244 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9245 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9246 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9247 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9248 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9249 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9250 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9251 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9252 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9253 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9258 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9259 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9261 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9262 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9263 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9264 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9265 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9266 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9267 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9268 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9269 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9270 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9271 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9272 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9273 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9274 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9275 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9276 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9277 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9278 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9279 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9280 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9281 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9282 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9283 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9284 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9285 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9286 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9287 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9288 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9289 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9290 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9291 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9292
20f0018d
JM
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9294 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9295
b3b099af
JM
9296 [BZ #14914]
9297 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9298 whole low double instead of just low 47 bits when splitting values
9299 into two parts.
9300
029264d1
AM
93012012-12-03 Allan McRae <allan@archlinux.org>
9302
9303 * manual/stdio.texi (Predefined Printf Handlers): Remove
9304 @hsep and @vsep usage.
9305
c9d6789e
MF
93062012-12-03 Mike Frysinger <vapier@gentoo.org>
9307
9308 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9309 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9310
4b7634a5
JL
93112012-12-03 Jeff Law <law@redhat.com>
9312
9313 * time/sys/time.h (settimeofday): Do not mark TV argument
9314 as __nonnull.
9315
eb6cbd24
MF
93162012-12-01 Mike Frysinger <vapier@gentoo.org>
9317
9318 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9319 when currently writing and seek to current position when not.
9320 * libio/Makefile (tests): Remove bug-fclose1.
9321 * libio/bug-fclose1.c: Delete.
9322
f638872a
JM
93232012-12-01 Joseph Myers <joseph@codesourcery.com>
9324
9325 * manual/arith.texi (feenableexcept): Fix typo.
9326 (fedisableexcept): Likewise.
9327
48085d14
RM
93282012-11-30 Roland McGrath <roland@hack.frob.com>
9329
9330 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9331 second, differently-typed declaration, rather than a cast.
9332
1a538b9f
SP
93332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9334
9335 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9336 * include/rpc/svc.h: ... here.
9337
d07f2ff1 93382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9339
9340 [BZ #13013]
9341 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9342 depending n and resplen2 to catch cases where answer
9343 equals answerp2.
9344
c93ec1f0
CD
93452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9346
9347 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9348 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9349
37db69de
MF
93502012-11-29 Mike Frysinger <vapier@gentoo.org>
9351
9352 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9353
e10c4e4f
RM
93542012-11-29 Roland McGrath <roland@hack.frob.com>
9355
9356 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9357
2af1b328
JL
93582012-11-28 Jeff Law <law@redhat.com>
9359
9360 [BZ #13761]
9361 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9362 dataset_temporary. Track alloca usage into alloca_used.
9363 If dataset is large allocate and release it via malloc/free.
9364
111db5b1
FW
93652012-06-04 Florian Weimer <fweimer@redhat.com>
9366
f06cc227 9367 [BZ #14197]
111db5b1
FW
9368 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9369
dd694abd
DM
93702012-11-28 David S. Miller <davem@davemloft.net>
9371
9372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9373
9984dd01
JM
93742012-11-28 Joseph Myers <joseph@codesourcery.com>
9375
9376 [BZ #14803]
9377 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9378 of pi/2 rounded to nearest to 64 bits.
9379 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9380 nearest to 64 bits.
9381 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9382 bits.
9383
14bc93a9
JL
93842012-11-28 Jeff Law <law@redhat.com>
9385 Martin Osvald <mosvald@redhat.com>
9386
9387 [BZ #14889]
9388 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9389 * sunrpc/svc.c: Include time.h.
9390 (__svc_accept_failed): New function.
9391 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9392 any reason other than EINTR, call __svc_accept_failed.
9393 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9394 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9395
e3c6aa3a
AS
93962012-11-28 Andreas Schwab <schwab@suse.de>
9397
9398 * scripts/abilist.awk: Also handle indirect functions in .opd
9399 section.
9400
1bead169
JM
94012012-11-28 Joseph Myers <joseph@codesourcery.com>
9402
9403 [BZ #13881]
9404 * sysdeps/x86/fpu/powl_helper.c: New file.
9405 * sysdeps/x86/fpu/Makefile: Likewise.
9406 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9407 (p3): New object.
9408 (__ieee754_powl): Use __powl_helper for finite arguments except
9409 integer exponents below 8.
9410 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9411 (p3): New object.
9412 (__ieee754_powl): Use __powl_helper for finite arguments except
9413 integer exponents below 8.
9414 * math/libm-test.inc (pow_test): Add more tests and enable some
9415 previously disabled tests.
9416 * sysdeps/i386/fpu/libm-test-ulps: Update.
9417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9418
0817d63d
SP
94192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9420 Carlos O'Donell <carlos_odonell@mentor.com>
9421
9422 * nss/makedb.c (is_prime): Assert that input is odd and greater
9423 than 4. Note that fact in a comment too.
9424 (next_prime): Add 4 to input.
9425
de2fd463
SP
94262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9427
9428 [BZ #11741]
9429 * libio/Makefile (tests): Add test case tst-fwrite-error.
9430 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9431 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9432 * libio/tst-fwrite-error.c: New test case.
9433
c515fb51
L
94342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9437 before casting to void *.
9438 * include/libc-internal.h (__pointer_type): New macro.
9439 (__integer_if_pointer_type_sub): Likewise.
9440 (__integer_if_pointer_type): Likewise.
9441 (cast_to_integer): Likewise.
9442 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9443 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9444 before casting to atomic64_t.
9445 (atomic_exchange_acq): Likewise.
9446 (__arch_exchange_and_add_body): Likewise.
9447 (__arch_add_body): Likewise.
9448 (atomic_add_negative): Likewise.
9449 (atomic_add_zero): Likewise.
9450
4cf77aa9
JM
94512012-11-26 Joseph Myers <joseph@codesourcery.com>
9452
9453 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9454 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9455 (add_fdes): Likewise.
9456 (linear_search_fdes): Likewise.
9457 (binary_search_unencoded_fdes): Likewise.
9458
d260b3b4
AS
94592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9460
9461 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9462
67060746
AC
94632012-11-24 Adam Conrad <adconrad@0c3.net>
9464
9465 * configure.in: Autodetect C++ header directories.
9466 * configure: Regenerated.
9467
800938a1
MF
94682012-11-23 Mike Frysinger <vapier@gentoo.org>
9469
9470 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9471
4e6e34e6
AS
94722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9473
9474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9475
7c7feb47
JM
94762012-11-22 Joseph Myers <joseph@codesourcery.com>
9477
7184dcdf
JM
9478 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9479 LDBL_MANT_DIG == 106]: Disable some tests.
9480 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9481 Likewise.
9482 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9483 Likewise.
9484
0a42601f
JM
9485 [BZ #14871]
9486 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9487 input for small inputs. Return +/- pi/2 for large inputs.
9488 * math/libm-test.inc (atan_test): Add more tests.
9489
79c9b9fe
JM
9490 * sysdeps/generic/unwind-dw2-fde-glibc.c
9491 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9492 __attribute__ ((unused)).
9493
c60d3bf2
JM
9494 [BZ #14645]
9495 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9496 x * y if x and y are nonzero and z is zero.
9497
ef1e0867
JM
9498 [BZ #14811]
9499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9500 nonzero exponents with absolute value below 0x1p-117 to +/-
9501 0x1p-117.
9502
1468ded3
JM
9503 [BZ #14869]
9504 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9505 up arguments below 2**-450, not just those below 2**-500.
9506 * math/libm-test.inc (hypot_test): Add another test.
9507
8e27e3cc
JM
9508 [BZ #14868]
9509 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9510 Return a+b for ratio over 2**120, not 2**60.
9511 * math/libm-test.inc (hypot_test): Add another test.
9512
c9c0279b
JM
9513 * math/libm-test.inc (clog_test): Use
9514 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9515 (clog10_test): Likewise.
9516
7c7feb47
JM
9517 [BZ #6778]
9518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9519
fff1530e
AS
95202012-11-22 Andreas Schwab <schwab@suse.de>
9521
9522 * sysdeps/i386/fpu/libm-test-ulps: Update.
9523
94558d30
PT
95242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9525
9526 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9527 printf output with newline.
9528
7e1be741
L
95292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9530
6bfea974
L
9531 [BZ #14865]
9532 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9533 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9534 -z nodlopen, -z initfirst and -z execstack support.
9535 * configure: Regenerated.
9536
7e1be741
L
9537 * elf/elf.h (DF_1_NODIRECT): New macro.
9538 (DF_1_IGNMULDEF): Likewise.
9539 (DF_1_NOKSYMS): Likewise.
9540 (DF_1_NOHDR): Likewise.
9541 (DF_1_EDITED): Likewise.
9542 (DF_1_NORELOC): Likewise.
9543 (DF_1_SYMINTPOSE): Likewise.
9544 (DF_1_GLOBAUDIT): Likewise.
9545 (DF_1_SINGLETON): Likewise.
9546 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9547 DT_1_SUPPORTED_MASK bits.
9548 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9549
105ce2ce
CD
95502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9551
9552 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9553
123be9de
TS
95542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9555
d072f3f7
TS
9556 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9557 macro.
9558
123be9de
TS
9559 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9560 (sendmmsg): Move declarations...
9561 * socket/sys/socket.h: ... here.
9562 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9563 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9564 include it from...
9565 * socket/recvmmsg.c: ... this new file.
9566 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9567 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9568 definition of __sendmmsg hidden.
9569 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9570 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9571 Move ENOSYS stub into and include it from...
9572 * socket/sendmmsg.c: ... this new file.
9573 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9574 (sysdep_routines): Move recvmmsg and sendmmsg...
9575 * socket/Makefile (routines): ... here.
9576 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9577 (GLIBC_PRIVATE): Add __sendmmsg.
9578 * include/sys/socket.h (__sendmmsg): Add declarations.
9579 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9580 sendmmsg.
9581
cf9a5d18
JM
95822012-11-20 Joseph Myers <joseph@codesourcery.com>
9583
9584 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9585 variable I1 with __attribute__ ((unused)).
9586 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9587
ecd4caf9
JM
95882012-11-19 Joseph Myers <joseph@codesourcery.com>
9589
be14d48f
JM
9590 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9591 DUMMY variables with __attribute__ ((unused)).
9592
ecd4caf9
JM
9593 * bits/byteswap.h: Include <bits/types.h>.
9594 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9595
986cab95
PT
95962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9597
9598 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9599 string_t. Do not manually set errno.
9600 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9601 length with __strnlen. Make sure to both set errno and return it on
9602 failure.
9603
6d33cc9d
DM
96042012-11-19 David S. Miller <davem@davemloft.net>
9605
9606 With help from Joseph Myers.
9607 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9608 very large arguments properly.
9609 * math/libm-test.inc (atan_test): New tests.
9610 (atan2_test): New tests.
9611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9613
ee663277
JM
96142012-11-19 Joseph Myers <joseph@codesourcery.com>
9615
877f2d8e
JM
9616 [BZ #14856]
9617 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9618 Define to 3.
9619
116fc08a
JM
9620 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9621 [POSIX] (EADDRNOTAVAIL): Likewise.
9622 [POSIX] (EAFNOSUPPORT): Likewise.
9623 [POSIX] (EALREADY): Likewise.
9624 [POSIX] (ECONNABORTED): Likewise.
9625 [POSIX] (ECONNREFUSED): Likewise.
9626 [POSIX] (ECONNRESET): Likewise.
9627 [POSIX] (EDESTADDRREQ): Likewise.
9628 [POSIX] (EDQUOT): Likewise.
9629 [POSIX] (EHOSTUNREACH): Likewise.
9630 [POSIX] (EIDRM): Likewise.
9631 [POSIX] (EISCONN): Likewise.
9632 [POSIX] (ELOOP): Likewise.
9633 [POSIX] (EMULTIHOP): Likewise.
9634 [POSIX] (ENETDOWN): Likewise.
9635 [POSIX] (ENETUNREACH): Likewise.
9636 [POSIX] (ENOBUFS): Likewise.
9637 [POSIX] (ENODATA): Likewise.
9638 [POSIX] (ENOLINK): Likewise.
9639 [POSIX] (ENOMSG): Likewise.
9640 [POSIX] (ENOPROTOOPT): Likewise.
9641 [POSIX] (ENOSR): Likewise.
9642 [POSIX] (ENOSTR): Likewise.
9643 [POSIX] (ENOTCONN): Likewise.
9644 [POSIX] (ENOTSOCK): Likewise.
9645 [POSIX] (EOPNOTSUPP): Likewise.
9646 [POSIX] (EOVERFLOW): Likewise.
9647 [POSIX] (EPROTO): Likewise.
9648 [POSIX] (EPROTONOSUPPORT): Likewise.
9649 [POSIX] (EPROTOTYPE): Likewise.
9650 [POSIX] (ESTALE): Likewise.
9651 [POSIX] (ETIME): Likewise.
9652 [POSIX] (ETXTBSY): Likewise.
9653 [POSIX] (EWOULDBLOCK): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9655 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9656 [POSIX] (SEEK_CUR): Likewise.
9657 [POSIX] (SEEK_END): Likewise.
9658 [POSIX || UNIX98] (mode_t): Do not require.
9659 [POSIX] (off_t): Likewise.
9660 [POSIX] (pid_t): Likewise.
9661 [POSIX] (sys/stat.h): Do not allow header.
9662 [POSIX] (unistd.h): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9664 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9666 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9667 require.
9668 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9669 sigevent): Specify elements.
9670 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9671 entry.
9672 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9673 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9674
a483863f
JM
9675 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9676 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9677 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9678 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9679 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9680 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9681 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9682 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9684 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9685 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9686 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9687 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9688 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9689 Likewise.
9690 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9691 Likewise.
9692 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9693 Likewise.
9694 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9695 Likewise.
9696 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9697 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9698 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9699 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9700 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9701 Specify lower bound on value.
9702 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9703 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9704 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9705 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9706 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9707 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9708 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9709 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9710 value.
9711 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9712 as optional.
9713 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9724 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9729 entry.
9730 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9731 optional.
9732 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9736 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9738 Likewise.
9739 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9744 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9745 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9746 as optional.
9747 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9750 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9751 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9752 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9753 specify as optional.
9754 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9755 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9756 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9757 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9758 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9759 [XPG3] (NL_LANGMAX): Likewise.
9760 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9761 [POSIX || XPG3] (NL_NMAX): Likewise.
9762 [POSIX || XPG3] (NL_SETMAX): Likewise.
9763 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9764 [XPG3] (NZERO): Likewise.
9765 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9766 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9767 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9768 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9769 (REG_ERANGE): Expect.
9770 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9771 optional-constant.
9772 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9773 Use (void) in prototype.
9774 [POSIX] (*_t): Allow.
9775 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9776 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9777 (WRDE_BADVAL): Expect.
9778
5ba924e3
JM
9779 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9780 expect.
9781 [XPG3 || XPG4] (O_RSYNC): Likewise.
9782 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9783 Likewise.
9784 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9785 [XPG3 || XPG4] (sigqueue): Likewise.
9786 [XPG3 || XPG4] (sigtimedwait): Likewise.
9787 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9788 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9789 [XPG3 || XPG4] (vsnprintf): Likewise.
9790 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9791 Likewise.
9792 [XPG3 || XPG4] (blksize_t): Likewise.
9793 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9794 Likewise.
9795 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9796 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9797 [XPG3 || XPG4] (struct itimerspec): Likewise.
9798 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9799 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9800 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9801 [XPG3 || XPG4] (clockid_t): Likewise.
9802 [XPG3 || XPG4] (timer_t): Likewise.
9803 [XPG3 || XPG4] (clock_getres): Likewise.
9804 [XPG3 || XPG4] (clock_gettime): Likewise.
9805 [XPG3 || XPG4] (clock_settime): Likewise.
9806 [XPG3 || XPG4] (nanosleep): Likewise.
9807 [XPG3 || XPG4] (timer_create): Likewise.
9808 [XPG3 || XPG4] (timer_delete): Likewise.
9809 [XPG3 || XPG4] (timer_gettime): Likewise.
9810 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9811 [XPG3 || XPG4] (timer_settime): Likewise.
9812 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9813 [XPG3 || XPG4] (getlogin_r): Likewise.
9814 [XPG3 || XPG4] (pread): Likewise.
9815 [XPG3 || XPG4] (pthread_atfork): Likewise.
9816 [XPG3 || XPG4] (pwrite): Likewise.
9817
ee663277
JM
9818 [BZ #14835]
9819 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9820 <bits/siginfo.h>.
9821
942caa16
PT
98222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9823
e19af380
PT
9824 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9825 finalizing MALLSTREAM.
9826
942caa16
PT
9827 * sysdeps/mach/hurd/syncfs.c: New file.
9828
cfde9b46
SP
98292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9830
9831 [BZ #14719]
9832 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9833 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9834 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9835 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9836 (_nss_dns_gethostbyname4_r): Likewise.
9837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9838 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9839
f6da27e5
PH
98402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9841
9842 [BZ #13763]
9843 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9844
6665d4a2
SM
98452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9846
1f51ee92
SM
9847 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9848 * elf/cache.c (print_entry): Print ",AArch64" for
9849 FLAG_AARCH64_LIB64
9850
6665d4a2
SM
9851 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9852 * elf/cache.c (print_entry): Print ",hard-float" for
9853 FLAG_ARM_LIBHF.
9854
05b227bd
DM
98552012-11-18 David S. Miller <davem@davemloft.net>
9856
9857 With help from Joseph Myers.
9858 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9859 cutoff to 2**-13.
9860 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9861 cutoff to 2**-25.
9862 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9863 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9864 small.
9865 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9866 * math/libm-test.inc (y0_test): New tests.
9867 (y1_test): New tests.
9868 * sysdeps/i386/fpu/libm-test-ulps: Update.
9869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9871
786b0b67
AS
98722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9873
9874 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9875 64-bit targets.
9876 * configure: Regenerated.
9877
8e18b86d
DM
98782012-11-17 David S. Miller <davem@davemloft.net>
9879
9880 [BZ #14811]
9881 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9882 nonzero exponents with absolute value below 0x1p-128 to +/-
9883 0x1p-128.
9884
531f1ae0
JM
98852012-11-17 Joseph Myers <joseph@codesourcery.com>
9886
12df29e2
JM
9887 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9888
150dc1a0
JM
9889 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9890
531f1ae0
JM
9891 * posix/getconf-speclist.c: New file.
9892 * posix/posix-envs.def: Likewise.
9893 * posix/confstr.c (START_ENV_GROUP): New macro.
9894 (END_ENV_GROUP): Likewise.
9895 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9896 (KNOWN_PRESENT_ENV_STRING): Likewise.
9897 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9898 (UNKNOWN_ENVIRONMENT): Likewise.
9899 (confstr): Include posix-envs.def instead of handling
9900 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9901 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9902 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9903 (END_ENV_GROUP): Likewise.
9904 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9905 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9906 (UNKNOWN_ENVIRONMENT): Likewise.
9907 (__sysconf): Include posix-envs.def instead of handling associated
9908 cases directly here.
9909 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9910 preprocessing getconf-speclist.c rather than running getconf or
9911 generating empty file.
9912
a93f9cbc
PT
99132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9914
9915 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9916
d64d9f87
AL
99172012-11-16 Andrej Lajovic <natrij@gmail.com>
9918
9919 [BZ #14672]
9920 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9921
447885eb
DM
99222012-11-16 David S. Miller <davem@davemloft.net>
9923
9924 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9925 smaller than LDBL_EPSILON/2.0L, just return xm1.
9926
bcbf9830
L
99272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9928
9929 * elf/tst-array1.c (init): Set constructor priority to 1000.
9930 (fini): Set destructor priority to 1000.
9931 * elf/tst-array2dep.c: Likewise.
9932
2b766585
SP
99332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9934
9935 [BZ #11741]
9936 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9937 (_IO_new_file_xsputn): Also return EOF if none of the input
9938 data was written when overflow failed.
9939 * libio/iopadn.c (_IO_padn): Likewise.
9940 * libio/iowpadn.c (_IO_wpadn): Likewise.
9941 * stdio-common/tst-put-error.c: Add copyright notice.
9942 (do_test): Add case for printing padded string.
9943 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9944 _IO_padn returned error.
9945 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9946 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9947 return EOF.
9948
b1848fde
SP
99492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9950
9951 * libio/libioP.h: Add comment note that the references to C++
9952 bits are now obsolete.
9953
2fd89785
MS
99542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9955
9956 * math/libm-test.inc (check_complex): Use asprintf.
9957
e3ea5409
JM
99582012-11-14 Joseph Myers <joseph@codesourcery.com>
9959
9960 * debug/pcprofiledump.c (print_version): Update copyright year.
9961 * malloc/memusagestat.c (print_version): Likewise.
9962
2e64d265
L
99632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9964
9965 [BZ #14831]
9966 * elf/Makefile (tests): Add tst-audit8.
9967 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9968 ($(objpfx)tst-audit8.out): New target.
9969 (tst-audit8-ENV): New variable.
9970 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9971 audit if l_reloc_result is NULL.
9972 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9973 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9974 * elf/tst-audit8.c: New file.
9975
c485e4d2
MS
99762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9977
9978 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9979 * misc/Makefile (CFLAGS-select.c): Define.
9980 * posix/Makefile (CFLAGS-pause.c): Define.
9981
3a0d900a
DM
99822012-11-13 David S. Miller <davem@davemloft.net>
9983
9984 * crypt/Makefile: Move test targets after toplevel Rules
9985 inclusion. Grab any necessary sysdep routines when linking.
9986 * crypt/md5.c (md5_process_block): Remove define, we will always
9987 name it __md5_process_block.
9988 (md5_finish_ctx): Update md5_process_block call.
9989 (md5_stream): Likewise.
9990 (md5_process_bytes): Likewise.
9991 (md5_process_block): Rename to __md5_process_block and move to ...
9992 * crypt/md5-block.c: ... here.
9993 * crypt/sha256.c (sha256_process_block): Move to ...
9994 * crypt/sha256-block.c: ... here.
9995 * crypt/sha512.c (sha512_process_block): Move to ...
9996 * crypt/sha512-block.c: ... here.
9997 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9998 path.
9999 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10000 * sysdeps/sparc/sparc64/multiarch/Makefile
10001 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10002 crypt subdir.
10003 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10004 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10005 multiarch changes.
10006 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10007 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10008 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10009 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10010 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10011 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10012 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10013 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10014 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10015 file.
10016 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10017 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10018 file.
10019 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10020
8ca89318
JM
100212012-11-13 Joseph Myers <joseph@codesourcery.com>
10022
e27d476a
JM
10023 * timezone/tzselect.ksh: Update from tzcode git revision
10024 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10025 * timezone/zdump.c: Likewise.
10026 * timezone/zic.c: Likewise.
10027 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10028 in TZVERSION setting, not $(PKGVERSION).
10029 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10030 REPORT_BUGS_TO settings.
10031
8ca89318
JM
10032 [BZ #14838]
10033 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10034 macro.
10035
47594329
MS
100362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10037
10038 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10039 detection to immediately after _FP_ROUND().
10040 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10041 bits are 0.
10042
640ac3f1
DM
100432012-11-11 David S. Miller <davem@davemloft.net>
10044
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10046 inttypes.h
10047 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10048 __close rather than their public counterparts.
10049
3d2577bb
JM
100502012-11-10 Joseph Myers <joseph@codesourcery.com>
10051
10052 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10053 file.
10054 [UNIX98] (sem_timedwait): Do not expect.
10055 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10056 [XPG4 || UNIX98] (sockatmark): Do not expect.
10057 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10058 (clock_getcpuclockid): Do not expect.
10059 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10060 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10061 Do not expect.
10062 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10063 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10064 [UNIX98] (vwscanf): Likewise.
10065 [UNIX98] (vswscanf): Likewise.
10066
fb1ae1ee
JM
100672012-11-09 Joseph Myers <joseph@codesourcery.com>
10068
9ec6f8bd
JM
10069 * timezone/version.h: Remove file.
10070 * timezone/README: Do not refer to version.h.
10071 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10072 $(objpfx)version.h.
10073 ($(objpfx)zdump.o): Likewise.
c3f81911 10074 ($(objpfx)version.h): New target.
9ec6f8bd 10075
0aa8f8a1
JM
10076 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10077 2012i.
10078 * timezone/README: Don't mention modification to tzselect.ksh.
10079 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10080 work on unmodified tzselect.ksh. Substitute version numbers in
10081 tzselect.ksh.
10082
4e87147f
JM
10083 * Makefile (format-me): Remove.
10084 (INSTALL): Adjust indentation. Use commands directly instead of
10085 using $(format-me).
10086
8b748aed
JM
10087 * aclocal.m4 (ACX_PKGVERSION): New macro.
10088 (ACX_BUGURL): Likewise.
10089 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10090 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10091 (REPORT_BUGS_TO): Likewise.
10092 * configure: Regenerated.
10093 * config.h.in (PKGVERSION): New macro.
10094 (REPORT_BUGS_TO): Likewise.
10095 * config.make.in (PKGVERSION): New variable.
10096 (PKGVERSION_TEXI): Likewise.
10097 (REPORT_BUGS_TO): Likewise.
10098 (REPORT_BUGS_TEXI): Likewise.
10099 * Makefile (format-me): Use -I$(common-objpfx)manual.
10100 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10101 ($(common-objpfx)manual/%): New target.
10102 (manual/%): Remove target.
10103 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10104 (print_version): Use PKGVERSION.
10105 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10106 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10107 and REPORT_BUGS_TO.
10108 ($(objpfx)xtrace): Likewise.
10109 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10110 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10111 (print_version): Use PKGVERSION.
10112 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10113 (do_version): Use PKGVERSION.
10114 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10115 REPORT_BUGS_TO.
10116 (common-ldd-rewrite): Likewise.
10117 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10118 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10119 (print_version): Use PKGVERSION.
10120 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10121 * elf/pldd.c (argp_program_bug_address): Remove variable.
10122 (more_help): New function.
10123 (argp): Use more_help.
10124 (print_version): Use PKGVERSION.
10125 * elf/sln.c (main): Use PKGVERSION.
10126 (usage): Use REPORT_BUGS_TO.
10127 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10128 (top level): Use PKGVERSION.
10129 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10130 (print_version): Use PKGVERSION.
10131 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10132 (print_version): Use PKGVERSION.
10133 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10134 (print_version): Use PKGVERSION.
10135 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10136 (print_version): Use PKGVERSION.
10137 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10138 (print_version): Use PKGVERSION.
10139 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10140 (print_version): Use PKGVERSION.
10141 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10142 and BUGURL.
10143 ($(objpfx)memusage): Likewise.
10144 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10145 (do_version): Use PKGVERSION.
10146 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10147 (print_version): Use PKGVERSION.
10148 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10149 ($PKGVERSION): New variable.
10150 ($REPORT_BUGS_TO): Likewise.
10151 (usage): Use $REPORT_BUGS_TO.
10152 (top level): Use $PKGVERSION.
10153 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10154 ($(objpfx)pkgvers.texi): New rule.
10155 ($(objpfx)stamp-pkgvers): Likewise.
10156 * manual/install.texi: Include pkgvers.texi.
10157 (--with-pkgversion): Document new configure option.
10158 (--with-bugurl): Likewise.
10159 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10160 than necessarily for this particular distribution. Use
10161 REPORT_BUGS_TO for where to report bugs.
10162 * INSTALL: Regenerated.
10163 * manual/libc.texinfo: Include pkgvers.texi.
10164 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10165 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10166 (print_version): Use PKGVERSION.
10167 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10168 (print_version): Use PKGVERSION.
10169 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10170 (print_version): Use PKGVERSION.
10171 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10172 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10173 macro.
10174 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10175 (print_version): Use PKGVERSION.
10176 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10177 (print_version): Use PKGVERSION.
10178 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10179 and PKGVERSION.
10180
92e4b6a9
JM
10181 * timezone/checktab.awk: Update from tzcode 2012i.
10182 * timezone/ialloc.c: Likewise.
10183 * timezone/private.h: Likewise.
10184 * timezone/scheck.c: Likewise.
10185 * timezone/tzfile.h: Likewise.
10186 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10187 (TZVERSION): Hardcode tzcode version number.
10188 * timezone/zdump.c: Update from tzcode 2012i.
10189 * timezone/zic.c: Likewise.
10190 * timezone/version.h: New file.
10191 * timezone/README: Describe version.h. Update upstream location.
10192
9bde902c
JM
10193 [BZ #14824]
10194 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10195 (mktemp): Enable declaration.
10196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10197 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10199 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10200 Likewise.
10201 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10202 Likewise.
10203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10204 Likewise.
10205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10206 Likewise.
10207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10208 Likewise.
10209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10210 Likewise.
10211
fb1ae1ee
JM
10212 [BZ #14821]
10213 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10214 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10215 for copies of such integer values.
10216 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10217 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10218
2c1adbcb
AJ
102192012-11-09 Andreas Jaeger <aj@suse.de>
10220
10221 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10222 definitions and declarations that are provided by
10223 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10224
d0f8457e
AK
102252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10226
3a235abb 10227 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10228 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10229 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10230 definition.
10231
57241e26
MS
102322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10233
10234 * elf/elf.h: Update comment before AArch64 relocations.
10235
60e8270d
DM
102362012-11-07 David S. Miller <davem@davemloft.net>
10237
10238 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10239 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10240 (__start_context): Declare.
10241 (__makecontext_ret): Delete.
10242 (__makecontext): Hook up __start_context instead of
10243 __makecontext_ret.
10244 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10245 (sysdep_routines): Add __start_context when in stdlib.
10246
0fbb0fbc
JM
102472012-11-07 Joseph Myers <joseph@codesourcery.com>
10248
10249 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10250 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10251 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10252 hardcoded "nm".
10253 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10254 (READELF): New variable. Use it instead of hardcoded "readelf".
10255
eb48db7e
L
102562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10259 * sysdeps/x86/Makefile: Here.
10260 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10261 * sysdeps/x86/tst-xmmymm.sh: This.
10262
05bcf62a
JM
102632012-11-07 Joseph Myers <joseph@codesourcery.com>
10264
c4b6cf53
JM
10265 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10266 expectations.
10267 [UNIX98] (pthread_barrier_t): Do not expect.
10268 [UNIX98] (pthread_barrierattr_t): Likewise.
10269 [UNIX98] (pthread_spinlock_t): Likewise.
10270 [UNIX98] (pthread_barrier_destroy): Likewise.
10271 [UNIX98] (pthread_barrier_init): Likewise.
10272 [UNIX98] (pthread_barrier_wait): Likewise.
10273 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10274 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10275 [UNIX98] (pthread_barrierattr_init): Likewise.
10276 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10277 [UNIX98] (pthread_getcpuclockid): Likewise.
10278 [UNIX98] (pthread_mutex_timedlock): Likewise.
10279 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10280 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10281 [UNIX98] (pthread_sigmask): Likewise.
10282 [UNIX98] (pthread_spin_destroy): Likewise.
10283 [UNIX98] (pthread_spin_init): Likewise.
10284 [UNIX98] (pthread_spin_lock): Likewise.
10285 [UNIX98] (pthread_spin_trylock): Likewise.
10286 [UNIX98] (pthread_spin_unlock): Likewise.
10287 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10288 Do not expect.
10289 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10291 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10292 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10293 [XPG3 || XPG4] (pthread_key_t): Likewise.
10294 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10295 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10296 [XPG3 || XPG4] (pthread_once_t): Likewise.
10297 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10298 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10300 [XPG3 || XPG4] (pthread_t): Likewise.
10301
cbe6e120
JM
10302 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10303 not expect.
10304 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10305
1b126443
JM
10306 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10307 Change function return type to int.
10308
b961a573
JM
10309 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10310 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10311 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10312 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10313 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10314 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10315 [!POSIX] (posix_madvise): Likewise.
10316 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10317 && !UNIX98].
10318 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10319 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10320 (mode_t): Likewise.
10321 (posix_mem_offset): Likewise.
10322 (posix_typed_mem_get_info): Likewise.
10323 (posix_typed_mem_open): Likewise.
10324
9e188909
JM
10325 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10326 Change condition to [XOPEN2K8].
10327
05bcf62a
JM
10328 * conform/conformtest.pl: Preprocess allow-header data with -x c
10329 instead of from stdin.
10330 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10331 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10332 [C99-based standards] (cerfc): Likewise.
10333 [C99-based standards] (cexp2): Likewise.
10334 [C99-based standards] (cexpm1): Likewise.
10335 [C99-based standards] (clog10): Likewise.
10336 [C99-based standards] (clog1p): Likewise.
10337 [C99-based standards] (clog2): Likewise.
10338 [C99-based standards] (clgamma): Likewise.
10339 [C99-based standards] (ctgamma): Likewise.
10340 [C99-based standards] (cerff): Likewise.
10341 [C99-based standards] (cerfcf): Likewise.
10342 [C99-based standards] (cexp2f): Likewise.
10343 [C99-based standards] (cexpm1f): Likewise.
10344 [C99-based standards] (clog10f): Likewise.
10345 [C99-based standards] (clog1pf): Likewise.
10346 [C99-based standards] (clog2f): Likewise.
10347 [C99-based standards] (clgammaf): Likewise.
10348 [C99-based standards] (ctgammaf): Likewise.
10349 [C99-based standards] (cerfl): Likewise.
10350 [C99-based standards] (cerfcl): Likewise.
10351 [C99-based standards] (cexp2l): Likewise.
10352 [C99-based standards] (cexpm1l): Likewise.
10353 [C99-based standards] (clog10l): Likewise.
10354 [C99-based standards] (clog1pl): Likewise.
10355 [C99-based standards] (clog2l): Likewise.
10356 [C99-based standards] (clgammal): Likewise.
10357 [C99-based standards] (ctgammal): Likewise.
10358 * conform/data/inttypes.h-data [C99-based standards]: Include
10359 stdint.h-data. Remove all expectations for stdint.h contents.
10360 [C99-based standards] (PRI*): Do not allow.
10361 [C99-based standards] (SCN*): Likewise.
10362 [C99-based standards] (*_t): Likewise.
10363 [C99-based-standards] (PRId8): Expect macro.
10364 [C99-based-standards] (PRIi8): Likewise.
10365 [C99-based-standards] (PRIo8): Likewise.
10366 [C99-based-standards] (PRIu8): Likewise.
10367 [C99-based-standards] (PRIx8): Likewise.
10368 [C99-based-standards] (PRIX8): Likewise.
10369 [C99-based-standards] (SCNd8): Likewise.
10370 [C99-based-standards] (SCNi8): Likewise.
10371 [C99-based-standards] (SCNo8): Likewise.
10372 [C99-based-standards] (SCNu8): Likewise.
10373 [C99-based-standards] (SCNx8): Likewise.
10374 [C99-based-standards] (PRIdLEAST8): Likewise.
10375 [C99-based-standards] (PRIiLEAST8): Likewise.
10376 [C99-based-standards] (PRIoLEAST8): Likewise.
10377 [C99-based-standards] (PRIuLEAST8): Likewise.
10378 [C99-based-standards] (PRIxLEAST8): Likewise.
10379 [C99-based-standards] (PRIXLEAST8): Likewise.
10380 [C99-based-standards] (SCNdLEAST8): Likewise.
10381 [C99-based-standards] (SCNiLEAST8): Likewise.
10382 [C99-based-standards] (SCNoLEAST8): Likewise.
10383 [C99-based-standards] (SCNuLEAST8): Likewise.
10384 [C99-based-standards] (SCNxLEAST8): Likewise.
10385 [C99-based-standards] (PRIdFAST8): Likewise.
10386 [C99-based-standards] (PRIiFAST8): Likewise.
10387 [C99-based-standards] (PRIoFAST8): Likewise.
10388 [C99-based-standards] (PRIuFAST8): Likewise.
10389 [C99-based-standards] (PRIxFAST8): Likewise.
10390 [C99-based-standards] (PRIXFAST8): Likewise.
10391 [C99-based-standards] (SCNdFAST8): Likewise.
10392 [C99-based-standards] (SCNiFAST8): Likewise.
10393 [C99-based-standards] (SCNoFAST8): Likewise.
10394 [C99-based-standards] (SCNuFAST8): Likewise.
10395 [C99-based-standards] (SCNxFAST8): Likewise.
10396 [C99-based-standards] (PRId16): Likewise.
10397 [C99-based-standards] (PRIi16): Likewise.
10398 [C99-based-standards] (PRIo16): Likewise.
10399 [C99-based-standards] (PRIu16): Likewise.
10400 [C99-based-standards] (PRIx16): Likewise.
10401 [C99-based-standards] (PRIX16): Likewise.
10402 [C99-based-standards] (SCNd16): Likewise.
10403 [C99-based-standards] (SCNi16): Likewise.
10404 [C99-based-standards] (SCNo16): Likewise.
10405 [C99-based-standards] (SCNu16): Likewise.
10406 [C99-based-standards] (SCNx16): Likewise.
10407 [C99-based-standards] (PRIdLEAST16): Likewise.
10408 [C99-based-standards] (PRIiLEAST16): Likewise.
10409 [C99-based-standards] (PRIoLEAST16): Likewise.
10410 [C99-based-standards] (PRIuLEAST16): Likewise.
10411 [C99-based-standards] (PRIxLEAST16): Likewise.
10412 [C99-based-standards] (PRIXLEAST16): Likewise.
10413 [C99-based-standards] (SCNdLEAST16): Likewise.
10414 [C99-based-standards] (SCNiLEAST16): Likewise.
10415 [C99-based-standards] (SCNoLEAST16): Likewise.
10416 [C99-based-standards] (SCNuLEAST16): Likewise.
10417 [C99-based-standards] (SCNxLEAST16): Likewise.
10418 [C99-based-standards] (PRIdFAST16): Likewise.
10419 [C99-based-standards] (PRIiFAST16): Likewise.
10420 [C99-based-standards] (PRIoFAST16): Likewise.
10421 [C99-based-standards] (PRIuFAST16): Likewise.
10422 [C99-based-standards] (PRIxFAST16): Likewise.
10423 [C99-based-standards] (PRIXFAST16): Likewise.
10424 [C99-based-standards] (SCNdFAST16): Likewise.
10425 [C99-based-standards] (SCNiFAST16): Likewise.
10426 [C99-based-standards] (SCNoFAST16): Likewise.
10427 [C99-based-standards] (SCNuFAST16): Likewise.
10428 [C99-based-standards] (SCNxFAST16): Likewise.
10429 [C99-based-standards] (PRId32): Likewise.
10430 [C99-based-standards] (PRIi32): Likewise.
10431 [C99-based-standards] (PRIo32): Likewise.
10432 [C99-based-standards] (PRIu32): Likewise.
10433 [C99-based-standards] (PRIx32): Likewise.
10434 [C99-based-standards] (PRIX32): Likewise.
10435 [C99-based-standards] (SCNd32): Likewise.
10436 [C99-based-standards] (SCNi32): Likewise.
10437 [C99-based-standards] (SCNo32): Likewise.
10438 [C99-based-standards] (SCNu32): Likewise.
10439 [C99-based-standards] (SCNx32): Likewise.
10440 [C99-based-standards] (PRIdLEAST32): Likewise.
10441 [C99-based-standards] (PRIiLEAST32): Likewise.
10442 [C99-based-standards] (PRIoLEAST32): Likewise.
10443 [C99-based-standards] (PRIuLEAST32): Likewise.
10444 [C99-based-standards] (PRIxLEAST32): Likewise.
10445 [C99-based-standards] (PRIXLEAST32): Likewise.
10446 [C99-based-standards] (SCNdLEAST32): Likewise.
10447 [C99-based-standards] (SCNiLEAST32): Likewise.
10448 [C99-based-standards] (SCNoLEAST32): Likewise.
10449 [C99-based-standards] (SCNuLEAST32): Likewise.
10450 [C99-based-standards] (SCNxLEAST32): Likewise.
10451 [C99-based-standards] (PRIdFAST32): Likewise.
10452 [C99-based-standards] (PRIiFAST32): Likewise.
10453 [C99-based-standards] (PRIoFAST32): Likewise.
10454 [C99-based-standards] (PRIuFAST32): Likewise.
10455 [C99-based-standards] (PRIxFAST32): Likewise.
10456 [C99-based-standards] (PRIXFAST32): Likewise.
10457 [C99-based-standards] (SCNdFAST32): Likewise.
10458 [C99-based-standards] (SCNiFAST32): Likewise.
10459 [C99-based-standards] (SCNoFAST32): Likewise.
10460 [C99-based-standards] (SCNuFAST32): Likewise.
10461 [C99-based-standards] (SCNxFAST32): Likewise.
10462 [C99-based-standards] (PRId64): Likewise.
10463 [C99-based-standards] (PRIi64): Likewise.
10464 [C99-based-standards] (PRIo64): Likewise.
10465 [C99-based-standards] (PRIu64): Likewise.
10466 [C99-based-standards] (PRIx64): Likewise.
10467 [C99-based-standards] (PRIX64): Likewise.
10468 [C99-based-standards] (SCNd64): Likewise.
10469 [C99-based-standards] (SCNi64): Likewise.
10470 [C99-based-standards] (SCNo64): Likewise.
10471 [C99-based-standards] (SCNu64): Likewise.
10472 [C99-based-standards] (SCNx64): Likewise.
10473 [C99-based-standards] (PRIdLEAST64): Likewise.
10474 [C99-based-standards] (PRIiLEAST64): Likewise.
10475 [C99-based-standards] (PRIoLEAST64): Likewise.
10476 [C99-based-standards] (PRIuLEAST64): Likewise.
10477 [C99-based-standards] (PRIxLEAST64): Likewise.
10478 [C99-based-standards] (PRIXLEAST64): Likewise.
10479 [C99-based-standards] (SCNdLEAST64): Likewise.
10480 [C99-based-standards] (SCNiLEAST64): Likewise.
10481 [C99-based-standards] (SCNoLEAST64): Likewise.
10482 [C99-based-standards] (SCNuLEAST64): Likewise.
10483 [C99-based-standards] (SCNxLEAST64): Likewise.
10484 [C99-based-standards] (PRIdFAST64): Likewise.
10485 [C99-based-standards] (PRIiFAST64): Likewise.
10486 [C99-based-standards] (PRIoFAST64): Likewise.
10487 [C99-based-standards] (PRIuFAST64): Likewise.
10488 [C99-based-standards] (PRIxFAST64): Likewise.
10489 [C99-based-standards] (PRIXFAST64): Likewise.
10490 [C99-based-standards] (SCNdFAST64): Likewise.
10491 [C99-based-standards] (SCNiFAST64): Likewise.
10492 [C99-based-standards] (SCNoFAST64): Likewise.
10493 [C99-based-standards] (SCNuFAST64): Likewise.
10494 [C99-based-standards] (SCNxFAST64): Likewise.
10495 [C99-based-standards] (PRIdMAX): Likewise.
10496 [C99-based-standards] (PRIiMAX): Likewise.
10497 [C99-based-standards] (PRIoMAX): Likewise.
10498 [C99-based-standards] (PRIuMAX): Likewise.
10499 [C99-based-standards] (PRIxMAX): Likewise.
10500 [C99-based-standards] (PRIXMAX): Likewise.
10501 [C99-based-standards] (SCNdMAX): Likewise.
10502 [C99-based-standards] (SCNiMAX): Likewise.
10503 [C99-based-standards] (SCNoMAX): Likewise.
10504 [C99-based-standards] (SCNuMAX): Likewise.
10505 [C99-based-standards] (SCNxMAX): Likewise.
10506 [C99-based-standards] (PRIdPTR): Likewise.
10507 [C99-based-standards] (PRIiPTR): Likewise.
10508 [C99-based-standards] (PRIoPTR): Likewise.
10509 [C99-based-standards] (PRIuPTR): Likewise.
10510 [C99-based-standards] (PRIxPTR): Likewise.
10511 [C99-based-standards] (PRIXPTR): Likewise.
10512 [C99-based-standards] (SCNdPTR): Likewise.
10513 [C99-based-standards] (SCNiPTR): Likewise.
10514 [C99-based-standards] (SCNoPTR): Likewise.
10515 [C99-based-standards] (SCNuPTR): Likewise.
10516 [C99-based-standards] (SCNxPTR): Likewise.
10517 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10518 allow.
10519 * conform/data/stdint.h-data: Update comments to clarify
10520 requirements.
10521 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10522 type.
10523 [C99-based standards] (INT8_MAX): Likewise.
10524 [C99-based standards] (INT16_MIN): Likewise.
10525 [C99-based standards] (INT16_MAX): Likewise.
10526 [C99-based standards] (INT32_MIN): Likewise.
10527 [C99-based standards] (INT32_MAX): Likewise.
10528 [C99-based standards] (INT64_MIN): Likewise.
10529 [C99-based standards] (INT64_MAX): Likewise.
10530 [C99-based standards] (UINT8_MAX): Likewise.
10531 [C99-based standards] (UINT16_MAX): Likewise.
10532 [C99-based standards] (UINT32_MAX): Likewise.
10533 [C99-based standards] (UINT64_MAX): Likewise.
10534 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10535 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10536 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10537 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10538 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10539 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10540 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10541 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10542 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10543 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10544 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10545 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10546 [C99-based standards] (INT_FAST8_MIN): Likewise.
10547 [C99-based standards] (INT_FAST8_MAX): Likewise.
10548 [C99-based standards] (INT_FAST16_MIN): Likewise.
10549 [C99-based standards] (INT_FAST16_MAX): Likewise.
10550 [C99-based standards] (INT_FAST32_MIN): Likewise.
10551 [C99-based standards] (INT_FAST32_MAX): Likewise.
10552 [C99-based standards] (INT_FAST64_MIN): Likewise.
10553 [C99-based standards] (INT_FAST64_MAX): Likewise.
10554 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10555 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10556 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10557 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10558 [C99-based standards] (INTPTR_MIN): Likewise.
10559 [C99-based standards] (INTPTR_MAX): Likewise.
10560 [C99-based standards] (UINTPTR_MAX): Likewise.
10561 [C99-based standards] (INTMAX_MIN): Likewise.
10562 [C99-based standards] (INTMAX_MAX): Likewise.
10563 [C99-based standards] (UINTMAX_MAX): Likewise.
10564 [C99-based standards] (PTRDIFF_MIN): Likewise.
10565 [C99-based standards] (PTRDIFF_MAX): Likewise.
10566 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10567 [C99-based standards] (SIZE_MAX): Likewise.
10568 [C99-based standards] (WCHAR_MAX): Likewise.
10569 [C99-based standards] (WINT_MAX): Likewise.
10570 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10571 constraint on value.
10572 [C99-based standards] (WCHAR_MIN): Likewise.
10573 [C99-based standards] (WINT_MIN): Likewise.
10574 [C99-based standards] (*_t): Allow.
10575 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10576 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10577 Include math.h-data and complex.h-data. Remove all expectations
10578 of math.h and complex.h contents.
10579 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10580 at end of line.
10581 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10582 (struct tm): Expect tag.
10583 [C99-based-standards] (wcstof): Expect function.
10584 [C99-based-standards] (wcstold): Likewise.
10585 [C99-based-standards] (wcstoll): Likewise.
10586 [C99-based-standards] (wcstoull): Likewise.
10587 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10588 macro-int-constant. Specify type.
10589 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10590 constraint on value.
10591 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10592 Specify type.
10593 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10594 Specify value.
10595 [ISO C standards]: Do not allow headers.
10596 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10597 wcs[abcdefghijklmnopqrstuvwxyz]*.
10598 [ISO C standards] (*_t): Do not allow.
10599 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10600 Expect function.
10601 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10602 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10603 Specify type.
10604 [ISO C standards]: Do not allow headers.
10605 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10606 is[abcdefghijklmnopqrstuvwxyz]*.
10607 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10608 to[abcdefghijklmnopqrstuvwxyz]*.
10609 [ISO C standards] (*_t): Do not allow.
10610 * conform/data/stdalign.h-data: New file.
10611 * conform/data/stdbool.h-data: Likewise.
10612 * conform/data/stdnoreturn.h-data: Likewise.
10613
7514feb8
RM
106142012-11-07 Roland McGrath <roland@hack.frob.com>
10615
10616 [BZ #14815]
10617 * manual/filesys.texi (Directory Entries): Typo fix.
10618 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10619
19b2ecfc
MS
106202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10621
10622 * elf/elf.h (EM_AARCH64): New macro.
10623 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10624 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10625 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10626 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10627 (R_AARCH64_TLSDESC): Likewise.
10628 (NT_ARM_TLS): Likewise.
10629 (NT_ARM_HW_BREAK): Likewise.
10630 (NT_ARM_HW_WATCH): Likewise.
10631
60e235ee
JM
106322012-11-07 Joseph Myers <joseph@codesourcery.com>
10633
10634 [BZ #14811]
10635 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10636 (__ieee754_powl): Saturate nonzero exponents with absolute value
10637 below 0x1p-79 to +/- 0x1p-79.
10638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10639 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10640 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10641 nonzero exponents with absolute value below 0x1p-32 to +/-
10642 0x1p-32.
10643 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10644 (__ieee754_powl): Saturate nonzero exponents with absolute value
10645 below 0x1p-79 to +/- 0x1p-79.
10646 * math/libm-test.inc (pow_test): Add more tests.
10647
0ab234b7
AK
106482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10649
10650 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10651 _dl_s390_cap_flags with kernel. Increase string length.
10652 (_dl_s390_platforms): Add z196 and zEC12.
10653
45832f74
JM
106542012-11-07 Joseph Myers <joseph@codesourcery.com>
10655
10656 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10657 Change XOPEN21K to XOPEN2K.
10658
19218757
MK
106592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10660
10661 * string/memmove.c: Use memcpy when possible.
10662
c5f45721
AJ
106632012-11-06 Andreas Jaeger <aj@suse.de>
10664
10665 * po/eo.po: Update from translation team.
10666
82477c28
JM
106672012-11-06 Joseph Myers <joseph@codesourcery.com>
10668
10669 [BZ #14793]
10670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10671 exponent and small x and y exponents, scale x or y up. Increase
10672 by 2 the exponent used in scaling up.
10673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10675 * math/libm-test.inc (fma_test): Add more tests.
10676 (fma_test_towardzero): Likewise.
10677 (fma_test_downward): Likewise.
10678 (fma_test_upward): Likewise.
10679
99252c8c
JM
106802012-11-05 Joseph Myers <joseph@codesourcery.com>
10681
acfa885f
JM
10682 [BZ #14805]
10683 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10684 fenv_t *.
10685
99252c8c
JM
10686 [BZ #14801]
10687 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10688 namespace for names of struct fields.
10689 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10690 fenv_t fields.
10691 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10692 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10693
d6d98dea
ST
106942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10695
10696 [BZ #3665]
10697 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10698
e10bb107
TS
106992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10700
10701 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10702 PTR_DEMANGLE.
10703
10704 [BZ #5246]
10705 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10706 PTR_DEMANGLE.
10707
a0c2940d
JM
107082012-11-04 Joseph Myers <joseph@codesourcery.com>
10709
10710 [BZ #14797]
10711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10712 definitely overflow as x * y not x * y + z.
10713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10714 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10715 * math/libm-test.inc (fma_test): Add more tests.
10716 (fma_test_towardzero): Likewise.
10717 (fma_test_downward): Likewise.
10718 (fma_test_upward): Likewise.
10719
b830319d
TS
107202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10721
10722 [BZ #157]
10723
10724 * include/stub-tag.h: Remove file.
10725 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10726 '#include' of it.
10727 * manual/maint.texi (Porting): Don't reference it.
10728 * Makerules ($(objpfx)stubs): Likewise.
10729 * dirent/closedir.c: Don't include <stub-tag.h>.
10730 * dirent/dirfd.c: Likewise.
10731 * dirent/fdopendir.c: Likewise.
10732 * dirent/getdents.c: Likewise.
10733 * dirent/getdents64.c: Likewise.
10734 * dirent/opendir.c: Likewise.
10735 * dirent/readdir.c: Likewise.
10736 * dirent/readdir64.c: Likewise.
10737 * dirent/readdir64_r.c: Likewise.
10738 * dirent/readdir_r.c: Likewise.
10739 * dirent/rewinddir.c: Likewise.
10740 * dirent/seekdir.c: Likewise.
10741 * dirent/telldir.c: Likewise.
10742 * gmon/profil.c: Likewise.
10743 * grp/setgroups.c: Likewise.
10744 * inet/if_index.c: Likewise.
10745 * io/access.c: Likewise.
10746 * io/chdir.c: Likewise.
10747 * io/chmod.c: Likewise.
10748 * io/chown.c: Likewise.
10749 * io/close.c: Likewise.
10750 * io/dup.c: Likewise.
10751 * io/dup2.c: Likewise.
10752 * io/dup3.c: Likewise.
10753 * io/euidaccess.c: Likewise.
10754 * io/faccessat.c: Likewise.
10755 * io/fchdir.c: Likewise.
10756 * io/fchmod.c: Likewise.
10757 * io/fchmodat.c: Likewise.
10758 * io/fchown.c: Likewise.
10759 * io/fchownat.c: Likewise.
10760 * io/fcntl.c: Likewise.
10761 * io/flock.c: Likewise.
10762 * io/fstatfs.c: Likewise.
10763 * io/fstatfs64.c: Likewise.
10764 * io/fstatvfs.c: Likewise.
10765 * io/fstatvfs64.c: Likewise.
10766 * io/futimens.c: Likewise.
10767 * io/fxstat.c: Likewise.
10768 * io/fxstat64.c: Likewise.
10769 * io/fxstatat.c: Likewise.
10770 * io/fxstatat64.c: Likewise.
10771 * io/getcwd.c: Likewise.
10772 * io/isatty.c: Likewise.
10773 * io/lchmod.c: Likewise.
10774 * io/lchown.c: Likewise.
10775 * io/link.c: Likewise.
10776 * io/linkat.c: Likewise.
10777 * io/lseek.c: Likewise.
10778 * io/lseek64.c: Likewise.
10779 * io/lxstat64.c: Likewise.
10780 * io/mkdir.c: Likewise.
10781 * io/mkdirat.c: Likewise.
10782 * io/mkfifo.c: Likewise.
10783 * io/mkfifoat.c: Likewise.
10784 * io/open.c: Likewise.
10785 * io/open64.c: Likewise.
10786 * io/openat.c: Likewise.
10787 * io/openat64.c: Likewise.
10788 * io/pipe.c: Likewise.
10789 * io/pipe2.c: Likewise.
10790 * io/poll.c: Likewise.
10791 * io/posix_fadvise.c: Likewise.
10792 * io/posix_fadvise64.c: Likewise.
10793 * io/posix_fallocate.c: Likewise.
10794 * io/posix_fallocate64.c: Likewise.
10795 * io/read.c: Likewise.
10796 * io/readlink.c: Likewise.
10797 * io/readlinkat.c: Likewise.
10798 * io/rmdir.c: Likewise.
10799 * io/sendfile.c: Likewise.
10800 * io/sendfile64.c: Likewise.
10801 * io/statfs.c: Likewise.
10802 * io/statfs64.c: Likewise.
10803 * io/statvfs.c: Likewise.
10804 * io/statvfs64.c: Likewise.
10805 * io/symlink.c: Likewise.
10806 * io/symlinkat.c: Likewise.
10807 * io/ttyname.c: Likewise.
10808 * io/ttyname_r.c: Likewise.
10809 * io/umask.c: Likewise.
10810 * io/unlink.c: Likewise.
10811 * io/unlinkat.c: Likewise.
10812 * io/utime.c: Likewise.
10813 * io/utimensat.c: Likewise.
10814 * io/write.c: Likewise.
10815 * io/xmknod.c: Likewise.
10816 * io/xmknodat.c: Likewise.
10817 * io/xstat.c: Likewise.
10818 * io/xstat64.c: Likewise.
10819 * login/getpt.c: Likewise.
10820 * login/grantpt.c: Likewise.
10821 * login/unlockpt.c: Likewise.
10822 * math/e_acoshl.c: Likewise.
10823 * math/e_acosl.c: Likewise.
10824 * math/e_asinl.c: Likewise.
10825 * math/e_atan2l.c: Likewise.
10826 * math/e_atanhl.c: Likewise.
10827 * math/e_coshl.c: Likewise.
10828 * math/e_expl.c: Likewise.
10829 * math/e_fmodl.c: Likewise.
10830 * math/e_gammal_r.c: Likewise.
10831 * math/e_hypotl.c: Likewise.
10832 * math/e_j0l.c: Likewise.
10833 * math/e_j1l.c: Likewise.
10834 * math/e_jnl.c: Likewise.
10835 * math/e_lgammal_r.c: Likewise.
10836 * math/e_log10l.c: Likewise.
10837 * math/e_log2l.c: Likewise.
10838 * math/e_logl.c: Likewise.
10839 * math/e_powl.c: Likewise.
10840 * math/e_rem_pio2l.c: Likewise.
10841 * math/e_sinhl.c: Likewise.
10842 * math/e_sqrtl.c: Likewise.
10843 * math/fclrexcpt.c: Likewise.
10844 * math/fedisblxcpt.c: Likewise.
10845 * math/feenablxcpt.c: Likewise.
10846 * math/fegetenv.c: Likewise.
10847 * math/fegetexcept.c: Likewise.
10848 * math/fegetround.c: Likewise.
10849 * math/feholdexcpt.c: Likewise.
10850 * math/fesetenv.c: Likewise.
10851 * math/fesetround.c: Likewise.
10852 * math/feupdateenv.c: Likewise.
10853 * math/fgetexcptflg.c: Likewise.
10854 * math/fraiseexcpt.c: Likewise.
10855 * math/fsetexcptflg.c: Likewise.
10856 * math/ftestexcept.c: Likewise.
10857 * math/k_cosl.c: Likewise.
10858 * math/k_rem_pio2l.c: Likewise.
10859 * math/k_sinl.c: Likewise.
10860 * math/k_tanl.c: Likewise.
10861 * math/s_asinhl.c: Likewise.
10862 * math/s_atanl.c: Likewise.
10863 * math/s_cbrtl.c: Likewise.
10864 * math/s_erfl.c: Likewise.
10865 * math/s_expm1l.c: Likewise.
10866 * math/s_log1pl.c: Likewise.
10867 * math/s_tanhl.c: Likewise.
10868 * misc/acct.c: Likewise.
10869 * misc/brk.c: Likewise.
10870 * misc/chflags.c: Likewise.
10871 * misc/chroot.c: Likewise.
10872 * misc/fchflags.c: Likewise.
10873 * misc/fgetxattr.c: Likewise.
10874 * misc/flistxattr.c: Likewise.
10875 * misc/fremovexattr.c: Likewise.
10876 * misc/fsetxattr.c: Likewise.
10877 * misc/fsync.c: Likewise.
10878 * misc/ftruncate.c: Likewise.
10879 * misc/futimes.c: Likewise.
10880 * misc/futimesat.c: Likewise.
10881 * misc/getdomain.c: Likewise.
10882 * misc/getdtsz.c: Likewise.
10883 * misc/gethostid.c: Likewise.
10884 * misc/gethostname.c: Likewise.
10885 * misc/getloadavg.c: Likewise.
10886 * misc/getpagesize.c: Likewise.
10887 * misc/getsysstats.c: Likewise.
10888 * misc/getxattr.c: Likewise.
10889 * misc/gtty.c: Likewise.
10890 * misc/ioctl.c: Likewise.
10891 * misc/lgetxattr.c: Likewise.
10892 * misc/listxattr.c: Likewise.
10893 * misc/llistxattr.c: Likewise.
10894 * misc/lremovexattr.c: Likewise.
10895 * misc/lsetxattr.c: Likewise.
10896 * misc/lutimes.c: Likewise.
10897 * misc/madvise.c: Likewise.
10898 * misc/mincore.c: Likewise.
10899 * misc/mlock.c: Likewise.
10900 * misc/mlockall.c: Likewise.
10901 * misc/mmap.c: Likewise.
10902 * misc/mprotect.c: Likewise.
10903 * misc/msync.c: Likewise.
10904 * misc/munlock.c: Likewise.
10905 * misc/munlockall.c: Likewise.
10906 * misc/munmap.c: Likewise.
10907 * misc/preadv.c: Likewise.
10908 * misc/preadv64.c: Likewise.
10909 * misc/ptrace.c: Likewise.
10910 * misc/pwritev.c: Likewise.
10911 * misc/pwritev64.c: Likewise.
10912 * misc/readv.c: Likewise.
10913 * misc/reboot.c: Likewise.
10914 * misc/remap_file_pages.c: Likewise.
10915 * misc/removexattr.c: Likewise.
10916 * misc/revoke.c: Likewise.
10917 * misc/select.c: Likewise.
10918 * misc/setdomain.c: Likewise.
10919 * misc/setegid.c: Likewise.
10920 * misc/seteuid.c: Likewise.
10921 * misc/sethostid.c: Likewise.
10922 * misc/sethostname.c: Likewise.
10923 * misc/setregid.c: Likewise.
10924 * misc/setreuid.c: Likewise.
10925 * misc/setxattr.c: Likewise.
10926 * misc/sstk.c: Likewise.
10927 * misc/stty.c: Likewise.
10928 * misc/swapoff.c: Likewise.
10929 * misc/swapon.c: Likewise.
10930 * misc/sync.c: Likewise.
10931 * misc/syncfs.c: Likewise.
10932 * misc/syscall.c: Likewise.
10933 * misc/truncate.c: Likewise.
10934 * misc/ualarm.c: Likewise.
10935 * misc/usleep.c: Likewise.
10936 * misc/ustat.c: Likewise.
10937 * misc/utimes.c: Likewise.
10938 * misc/vhangup.c: Likewise.
10939 * misc/writev.c: Likewise.
10940 * posix/_exit.c: Likewise.
10941 * posix/alarm.c: Likewise.
10942 * posix/execve.c: Likewise.
10943 * posix/fexecve.c: Likewise.
10944 * posix/fork.c: Likewise.
10945 * posix/fpathconf.c: Likewise.
10946 * posix/getaddrinfo.c: Likewise.
10947 * posix/getegid.c: Likewise.
10948 * posix/geteuid.c: Likewise.
10949 * posix/getgid.c: Likewise.
10950 * posix/getgroups.c: Likewise.
10951 * posix/getlogin.c: Likewise.
10952 * posix/getlogin_r.c: Likewise.
10953 * posix/getpgid.c: Likewise.
10954 * posix/getpid.c: Likewise.
10955 * posix/getppid.c: Likewise.
10956 * posix/getresgid.c: Likewise.
10957 * posix/getresuid.c: Likewise.
10958 * posix/getsid.c: Likewise.
10959 * posix/getuid.c: Likewise.
10960 * posix/glob64.c: Likewise.
10961 * posix/nanosleep.c: Likewise.
10962 * posix/pathconf.c: Likewise.
10963 * posix/pause.c: Likewise.
10964 * posix/posix_madvise.c: Likewise.
10965 * posix/pread.c: Likewise.
10966 * posix/pread64.c: Likewise.
10967 * posix/pwrite.c: Likewise.
10968 * posix/pwrite64.c: Likewise.
10969 * posix/sched_getaffinity.c: Likewise.
10970 * posix/sched_getp.c: Likewise.
10971 * posix/sched_gets.c: Likewise.
10972 * posix/sched_primax.c: Likewise.
10973 * posix/sched_primin.c: Likewise.
10974 * posix/sched_rr_gi.c: Likewise.
10975 * posix/sched_setaffinity.c: Likewise.
10976 * posix/sched_setp.c: Likewise.
10977 * posix/sched_sets.c: Likewise.
10978 * posix/sched_yield.c: Likewise.
10979 * posix/setgid.c: Likewise.
10980 * posix/setlogin.c: Likewise.
10981 * posix/setpgid.c: Likewise.
10982 * posix/setresgid.c: Likewise.
10983 * posix/setresuid.c: Likewise.
10984 * posix/setsid.c: Likewise.
10985 * posix/setuid.c: Likewise.
10986 * posix/sleep.c: Likewise.
10987 * posix/spawni.c: Likewise.
10988 * posix/sysconf.c: Likewise.
10989 * posix/times.c: Likewise.
10990 * posix/wait.c: Likewise.
10991 * posix/wait3.c: Likewise.
10992 * posix/wait4.c: Likewise.
10993 * posix/waitpid.c: Likewise.
10994 * resolv/gai_sigqueue.c: Likewise.
10995 * resource/getpriority.c: Likewise.
10996 * resource/getrlimit.c: Likewise.
10997 * resource/getrusage.c: Likewise.
10998 * resource/nice.c: Likewise.
10999 * resource/setpriority.c: Likewise.
11000 * resource/setrlimit.c: Likewise.
11001 * resource/ulimit.c: Likewise.
11002 * rt/aio_cancel.c: Likewise.
11003 * rt/aio_fsync.c: Likewise.
11004 * rt/aio_read.c: Likewise.
11005 * rt/aio_sigqueue.c: Likewise.
11006 * rt/aio_suspend.c: Likewise.
11007 * rt/aio_write.c: Likewise.
11008 * rt/clock_getres.c: Likewise.
11009 * rt/clock_gettime.c: Likewise.
11010 * rt/clock_nanosleep.c: Likewise.
11011 * rt/clock_settime.c: Likewise.
11012 * rt/lio_listio.c: Likewise.
11013 * rt/mq_close.c: Likewise.
11014 * rt/mq_getattr.c: Likewise.
11015 * rt/mq_notify.c: Likewise.
11016 * rt/mq_open.c: Likewise.
11017 * rt/mq_receive.c: Likewise.
11018 * rt/mq_send.c: Likewise.
11019 * rt/mq_setattr.c: Likewise.
11020 * rt/mq_timedreceive.c: Likewise.
11021 * rt/mq_timedsend.c: Likewise.
11022 * rt/mq_unlink.c: Likewise.
11023 * rt/shm_open.c: Likewise.
11024 * rt/shm_unlink.c: Likewise.
11025 * rt/timer_create.c: Likewise.
11026 * rt/timer_delete.c: Likewise.
11027 * rt/timer_getoverr.c: Likewise.
11028 * rt/timer_gettime.c: Likewise.
11029 * rt/timer_settime.c: Likewise.
11030 * setjmp/__longjmp.c: Likewise.
11031 * setjmp/setjmp.c: Likewise.
11032 * signal/kill.c: Likewise.
11033 * signal/killpg.c: Likewise.
11034 * signal/raise.c: Likewise.
11035 * signal/sigaction.c: Likewise.
11036 * signal/sigaltstack.c: Likewise.
11037 * signal/sigblock.c: Likewise.
11038 * signal/sigignore.c: Likewise.
11039 * signal/sigintr.c: Likewise.
11040 * signal/signal.c: Likewise.
11041 * signal/sigpause.c: Likewise.
11042 * signal/sigpending.c: Likewise.
11043 * signal/sigqueue.c: Likewise.
11044 * signal/sigreturn.c: Likewise.
11045 * signal/sigset.c: Likewise.
11046 * signal/sigsetmask.c: Likewise.
11047 * signal/sigstack.c: Likewise.
11048 * signal/sigsuspend.c: Likewise.
11049 * signal/sigtimedwait.c: Likewise.
11050 * signal/sigvec.c: Likewise.
11051 * signal/sigwait.c: Likewise.
11052 * signal/sigwaitinfo.c: Likewise.
11053 * signal/sysv_signal.c: Likewise.
11054 * socket/accept.c: Likewise.
11055 * socket/accept4.c: Likewise.
11056 * socket/bind.c: Likewise.
11057 * socket/connect.c: Likewise.
11058 * socket/getpeername.c: Likewise.
11059 * socket/getsockname.c: Likewise.
11060 * socket/getsockopt.c: Likewise.
11061 * socket/isfdtype.c: Likewise.
11062 * socket/listen.c: Likewise.
11063 * socket/recv.c: Likewise.
11064 * socket/recvfrom.c: Likewise.
11065 * socket/recvmsg.c: Likewise.
11066 * socket/send.c: Likewise.
11067 * socket/sendmsg.c: Likewise.
11068 * socket/sendto.c: Likewise.
11069 * socket/setsockopt.c: Likewise.
11070 * socket/shutdown.c: Likewise.
11071 * socket/sockatmark.c: Likewise.
11072 * socket/socket.c: Likewise.
11073 * socket/socketpair.c: Likewise.
11074 * stdio-common/ctermid.c: Likewise.
11075 * stdio-common/cuserid.c: Likewise.
11076 * stdio-common/remove.c: Likewise.
11077 * stdio-common/rename.c: Likewise.
11078 * stdio-common/renameat.c: Likewise.
11079 * stdio-common/tempname.c: Likewise.
11080 * stdlib/getcontext.c: Likewise.
11081 * stdlib/makecontext.c: Likewise.
11082 * stdlib/setcontext.c: Likewise.
11083 * stdlib/swapcontext.c: Likewise.
11084 * stdlib/system.c: Likewise.
11085 * streams/fattach.c: Likewise.
11086 * streams/fdetach.c: Likewise.
11087 * streams/getmsg.c: Likewise.
11088 * streams/getpmsg.c: Likewise.
11089 * streams/putmsg.c: Likewise.
11090 * streams/putpmsg.c: Likewise.
11091 * sysdeps/unix/bsd/getpt.c: Likewise.
11092 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11093 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11094 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11096 Likewise.
11097 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11098 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11099 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11100 * sysvipc/msgctl.c: Likewise.
11101 * sysvipc/msgget.c: Likewise.
11102 * sysvipc/msgrcv.c: Likewise.
11103 * sysvipc/msgsnd.c: Likewise.
11104 * sysvipc/semctl.c: Likewise.
11105 * sysvipc/semget.c: Likewise.
11106 * sysvipc/semop.c: Likewise.
11107 * sysvipc/semtimedop.c: Likewise.
11108 * sysvipc/shmat.c: Likewise.
11109 * sysvipc/shmctl.c: Likewise.
11110 * sysvipc/shmdt.c: Likewise.
11111 * sysvipc/shmget.c: Likewise.
11112 * termios/tcdrain.c: Likewise.
11113 * termios/tcflow.c: Likewise.
11114 * termios/tcflush.c: Likewise.
11115 * termios/tcgetattr.c: Likewise.
11116 * termios/tcgetpgrp.c: Likewise.
11117 * termios/tcsendbrk.c: Likewise.
11118 * termios/tcsetattr.c: Likewise.
11119 * termios/tcsetpgrp.c: Likewise.
11120 * time/adjtime.c: Likewise.
11121 * time/clock.c: Likewise.
11122 * time/getitimer.c: Likewise.
11123 * time/gettimeofday.c: Likewise.
11124 * time/setitimer.c: Likewise.
11125 * time/settimeofday.c: Likewise.
11126 * time/stime.c: Likewise.
11127 * time/time.c: Likewise.
11128
111292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11130
a20492cf
PT
11131 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11132 /usr/old/bin.
11133
72e182e3
PT
11134 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11135 instead of spaces.
11136 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11137
fbeafede
JM
111382012-11-03 Joseph Myers <joseph@codesourcery.com>
11139
5b5b04d6
JM
11140 [BZ #14796]
11141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11142 FE_TONEAREST before applying Dekker multiplication and Knuth
11143 addition. Clear inexact exceptions and check for exact zero
11144 results afterwards.
11145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11146 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11148 * math/libm-test.inc (fma_test): Add more tests.
11149 (fma_test_towardzero): Likewise.
11150 (fma_test_downward): Likewise.
11151 (fma_test_upward): Likewise.
11152 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11153 function.
11154 (libc_fesetround): New macro.
11155 (libc_fesetroundf): Likewise.
11156 (libc_fesetroundl): Likewise.
11157 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11158 function.
11159 (libc_fesetround_387): Likewise.
11160 (libc_fesetroundf): New macro.
11161 (libc_fesetround): Likewise.
11162 (libc_fesetroundl): Likewise.
11163 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11164 function.
11165 (libc_fesetroundf): New macro.
11166 (libc_fesetround): Likewise.
11167 (libc_fesetroundl): Likewise.
11168 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11169 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11170 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11171 libm_hidden_ver.
11172 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11173 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11174 libm_hidden_def.
11175 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11176 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11177 libm_hidden_ver.
11178 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11179 libm_hidden_def.
11180
fbeafede
JM
11181 [BZ #3439]
11182 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11183 integer constant usable in #if and use that to give value to enum
11184 constant.
11185 (FE_DIVBYZERO): Likewise.
11186 (FE_UNDERFLOW): Likewise.
11187 (FE_OVERFLOW): Likewise.
11188 (FE_INVALID): Likewise.
11189 (FE_INVALID_SNAN): Likewise.
11190 (FE_INVALID_ISI): Likewise.
11191 (FE_INVALID_IDI): Likewise.
11192 (FE_INVALID_ZDZ): Likewise.
11193 (FE_INVALID_IMZ): Likewise.
11194 (FE_INVALID_COMPARE): Likewise.
11195 (FE_INVALID_SOFTWARE): Likewise.
11196 (FE_INVALID_SQRT): Likewise.
11197 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11198 (FE_TONEAREST): Likewise.
11199 (FE_TOWARDZERO): Likewise.
11200 (FE_UPWARD): Likewise.
11201 (FE_DOWNWARD): Likewise.
11202 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11203 (FE_DIVBYZERO): Likewise.
11204 (FE_OVERFLOW): Likewise.
11205 (FE_UNDERFLOW): Likewise.
11206 (FE_INEXACT): Likewise.
11207 (FE_TONEAREST): Likewise.
11208 (FE_DOWNWARD): Likewise.
11209 (FE_UPWARD): Likewise.
11210 (FE_TOWARDZERO): Likewise.
11211 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11212 (FE_UNDERFLOW): Likewise.
11213 (FE_OVERFLOW): Likewise.
11214 (FE_DIVBYZERO): Likewise.
11215 (FE_INVALID): Likewise.
11216 (FE_TONEAREST): Likewise.
11217 (FE_TOWARDZERO): Likewise.
11218 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11219 (FE_OVERFLOW): Likewise.
11220 (FE_UNDERFLOW): Likewise.
11221 (FE_DIVBYZERO): Likewise.
11222 (FE_INEXACT): Likewise.
11223 (FE_TONEAREST): Likewise.
11224 (FE_TOWARDZERO): Likewise.
11225 (FE_UPWARD): Likewise.
11226 (FE_DOWNWARD): Likewise.
11227 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11228 (FE_DIVBYZERO): Likewise.
11229 (FE_OVERFLOW): Likewise.
11230 (FE_UNDERFLOW): Likewise.
11231 (FE_INEXACT): Likewise.
11232 (FE_TONEAREST): Likewise.
11233 (FE_DOWNWARD): Likewise.
11234 (FE_UPWARD): Likewise.
11235 (FE_TOWARDZERO): Likewise.
11236
105ca950
CM
112372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11238
11239 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11240
a542b389
AS
112412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11242
11243 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11244 commands. Quote $PWD.
11245 (blacklist_exports): Don't use remove_newlines. Replace "declare
11246 -x" by "export".
11247 (remove_newlines): Remove.
11248
f62c8abc
L
112492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11250
11251 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11252 * stdlib/stdlib.h (atof): Moved to ...
11253 * include/bits/stdlib-float.h: Here. New file.
11254 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11255 * stdlib/bits/stdlib-float.h: New file.
11256 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11257 -mno-sse -mno-mmx.
11258 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11259 <xmmintrin.h>.
11260
0155d5b2
JM
112612012-11-02 Joseph Myers <joseph@codesourcery.com>
11262
a68d0680
JM
11263 * conform/conformtest.pl (@headers): Add fenv.h.
11264 * conform/data/fenv.h-data: New file.
11265 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11266 include of <math/fenv.h>.
11267
caf7f573
JM
11268 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11269 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11270 && !UNIX98]. Enables tests for XOPEN2K8.
11271 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11272 POSIX2008]: Likewise.
11273
6c073ad6
JM
11274 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11275 (struct rusage): Do not expect type or its members.
11276
0155d5b2
JM
11277 [BZ #3439]
11278 * math/math.h (FP_NAN): Define macro to integer constant usable in
11279 #if and use that to give value to enum constant.
11280 (FP_INFINITE): Likewise.
11281 (FP_ZERO): Likewise.
11282 (FP_SUBNORMAL): Likewise.
11283 (FP_NORMAL): Likewise.
11284
b5dcacb4
AS
112852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11286
11287 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11288 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11289 arguments.
11290
f7934be8
RM
112912012-11-02 Roland McGrath <roland@hack.frob.com>
11292
11293 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11294 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11295 autoconf-time if not.
11296 * configure.in: Remove AC_PREREQ.
11297
d7d08bde
TMQMF
112982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11299
11300 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11301 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11302 of the internal implementation.
11303
dcdae19a
JM
113042012-11-02 Joseph Myers <joseph@codesourcery.com>
11305
11306 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11307 except include of <misc/sys/syslog.h>.
11308
d6cffd3e
AS
113092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11310
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11312 function returns with a NULL context exit with zero.
11313
b3563932
TMQMF
113142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11315
11316 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11317
b288a93d
L
113182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11319
11320 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11321 (run_program_cmd): This.
11322 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11323 (tst_langinfo): New variable. Use it.
11324
a2421a68
SAS
113252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11326
11327 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11328 floating point opcodes.
11329
6f796e1b
TS
113302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11331
7402596b
TS
11332 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11333 variable.
11334
d0d4f868
TS
11335 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11336
6f796e1b
TS
11337 * sysdeps/mach/hurd/powerpc: Remove directory.
11338 * sysdeps/mach/powerpc: Likewise.
11339
4da224a2
AS
113402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11341
11342 * scripts/check-local-headers.sh: Ignore c++ headers.
11343
341dd673
TS
113442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11345
11346 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11347 __libc_cleanup_region_start argument.
11348
473611b2
JM
113492012-11-01 Joseph Myers <joseph@codesourcery.com>
11350
11351 [BZ #14784]
11352 [BZ #14785]
11353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11354 x * y using scaling, not as x * y + z.
11355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11357 * math/libm-test.inc (fma_test): Add more tests.
11358 (fma_test_towardzero): Likewise.
11359 (fma_test_downward): Likewise.
11360 (fma_test_upward): Likewise.
11361
4078da3d
TS
113622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11363
11364 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11365
903252aa
JM
113662012-10-31 Joseph Myers <joseph@codesourcery.com>
11367
11368 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11369 New variable.
11370
cbc818d0
TS
113712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11372
11373 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11374
5a03cb1e
AS
113752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11376
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11378 Fix sort order.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11380 Likewise.
11381
90aff2ff
TMQMF
113822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11383
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11385 Fix the order of the list for glibc 2.17.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11387 Likewise.
11388
1818fcb7
AS
113892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11390
11391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11392
ef82f4da
JM
113932012-10-31 Joseph Myers <joseph@codesourcery.com>
11394
16a0e2ec
JM
11395 [BZ #14610]
11396 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11397 for low part of x being zero before using __atanl (y).
11398 * math/libm-test.inc (atan2_test): Add another test.
11399
0eb69512
JM
11400 * manual/install.texi (Configuring and compiling): Document
11401 general use of test-wrapper and test-wrapper-env.
11402 * INSTALL: Regenerated.
11403
ef82f4da
JM
11404 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11405 (__fma): Do not extract and scale down low bits on after-rounding
11406 systems when result rounded to normal precision would have normal
11407 exponent.
11408 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11409 (__fmal): Do not extract and scale down low bits on after-rounding
11410 systems when result rounded to normal precision would have normal
11411 exponent.
11412 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11413 (__fmal): Do not extract and scale down low bits on after-rounding
11414 systems when result rounded to normal precision would have normal
11415 exponent.
11416 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11417 macro.
11418 (fma_test): Add more tests.
11419 (fma_test_towardzero): Likewise.
11420 (fma_test_downward): Likewise.
11421 (fma_test_upward): Likewise.
11422
954ef0d9
L
114232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11424
11425 * sysdeps/i386/tininess.h: Renamed to ...
11426 * sysdeps/x86/tininess.h: This.
11427 * sysdeps/x86_64/tininess.h: Removed.
11428
df61ffb2
JM
114292012-10-30 Joseph Myers <joseph@codesourcery.com>
11430
11431 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11432 input. Use $(build-program-cmd).
11433 ($(objpfx)tst-array1-static.out): Likewise.
11434 ($(objpfx)tst-array2.out): Likewise.
11435 ($(objpfx)tst-array3.out): Likewise.
11436 ($(objpfx)tst-array4.out): Likewise.
11437 ($(objpfx)tst-array5.out): Likewise.
11438 ($(objpfx)tst-array5-static.out): Likewise.
11439
01767843
CM
114402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11441
47cc1490
CM
11442 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11443 if defined.
11444
01767843
CM
11445 * nss/nsswitch.h (nss_interface_function): Provide new
11446 macro for use with NSS functions.
11447 * grp/initgroups.c: Use new macro.
11448 * nss/getXXbyYY.c: Likewise.
11449 * nss/getXXbyYY_r.c: Likewise.
11450 * nss/getXXent.c: Likewise.
11451 * nss/getXXent_r.c: Likewise.
11452 * sysdeps/posix/getaddrinfo.c: Likewise.
11453
8321aa97
AJ
114542012-10-30 Andreas Jaeger <aj@suse.de>
11455
11456 * po/ru.po: Update Russion translation from translation project.
11457
2a27fd6d
JM
114582012-10-30 Joseph Myers <joseph@codesourcery.com>
11459
8627a232
JM
11460 [BZ #14152]
11461 [BZ #14783]
11462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11463 result and shift together with sticky bit instead of replicating
11464 round-to-nearest rounding.
11465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11467 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11468 missing underflow exceptions.
11469 (fma_test_towardzero): Add more tests.
11470 (fma_test_downward): Likewise.
11471 (fma_test_upward): Likewise.
11472
2a27fd6d
JM
11473 [BZ #14047]
11474 * sysdeps/generic/tininess.h: New file.
11475 * sysdeps/i386/tininess.h: Likewise.
11476 * sysdeps/sh/tininess.h: Likewise.
11477 * sysdeps/x86_64/tininess.h: Likewise.
11478 * stdlib/tst-strtod-underflow.c: Likewise.
11479 * stdlib/tst-tininess.c: Likewise.
11480 * stdlib/strtod_l.c: Include <tininess.h>.
11481 (round_and_return): Do not set errno for exact underflow cases.
11482 Force an underflow exception when setting errno for underflow.
11483 Determine underflow based on rounding to normal precision if
11484 TININESS_AFTER_ROUNDING.
11485 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11486 ERANGE for exact underflow cases.
11487 * stdlib/Makefile (tests): Add tst-tininess and
11488 tst-strtod-underflow.
11489 ($(objpfx)tst-tininess): Use $(link-libm).
11490 ($(objpfx)tst-strtod-underflow): Likewise.
11491
e7170363
AJ
114922012-10-30 Andreas Jaeger <aj@suse.de>
11493
e5088dc6
AJ
11494 [BZ#14767]
11495 * elf/Makefile (tests): Remove conditional for have-initfini-array
11496 since this is now always required and the variable does not exist
11497 anymore.
11498 (tests-static): Likewise.
11499 (modules-names): Likewise.
11500
e7170363 11501 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11502
11503 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11504 merged with constructor/destructor.
11505 (init_array): Likewise.
11506 * elf/tst-array2dep.c (fini_array): Likewise.
11507 (init_array): Likewise.
11508
60457d8a
MF
115092012-10-29 Mike Frysinger <vapier@gentoo.org>
11510
11511 * manual/message.texi: Delete @cartouche tags.
11512
8bece752
PT
115132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11514
94ce799f
PT
11515 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11516 EOPNOTSUPP.
11517 * sysdeps/mach/hurd/fsync.c: Likewise.
11518
8bece752
PT
11519 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11520 [_POSIX_REALTIME_SIGNALS]: Change condition to
11521 [_POSIX_REALTIME_SIGNALS > 0].
11522
86ebe6b1
AJ
115232012-10-27 Andreas Jaeger <aj@suse.de>
11524
11525 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11526 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11528 [__WORDSIZE != 64]: Likewise.
11529
54399c08
L
115302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11531
11532 * iconvdata/tst-table.sh: Remove ${SHELL}.
11533 * iconvdata/tst-tables.sh: Likewise.
11534
e2211bed
DM
115352012-10-25 David S. Miller <davem@davemloft.net>
11536
11537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11538 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11539 of strtoull.
11540
f303f97c
DM
11541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11542 ifunc-impl-list.c
11543 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11544 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11545 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11546 file.
11547
1e9d84cd
RM
115482012-10-25 Roland McGrath <roland@hack.frob.com>
11549
11550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11551 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11552 __getdirentries.
11553
df381762
JM
115542012-10-25 Joseph Myers <joseph@codesourcery.com>
11555 Jim Blandy <jimb@codesourcery.com>
11556
11557 * scripts/cross-test-ssh.sh: New file.
11558 * manual/install.texi (Configuring and compiling): Document use of
11559 cross-test-ssh.sh.
11560 * INSTALL: Regenerated.
11561
bff64913
PT
115622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11563
11564 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11565 EOPNOTSUPP.
11566
25fe8932
JM
115672012-10-25 Joseph Myers <joseph@codesourcery.com>
11568
11569 * Makeconfig (run-program-prefix): Fix comment.
11570
cc1290d0
JM
115712012-10-24 Joseph Myers <joseph@codesourcery.com>
11572 Jim Blandy <jimb@codesourcery.com>
11573
11574 * Makeconfig (test-wrapper): New variable,
11575 (test-wrapper-env): Likewise.
11576 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11577 (run-built-tests): Define to yes.
11578 (run-program-prefix): Use $(test-wrapper).
11579 (built-program-cmd): Likewise.
11580 * Rules (make-test-out): Use $(test-wrapper-env) and
11581 $(host-built-program-cmd).
11582 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11583 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11584 tst-pathopt.sh.
11585 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11586 $(test-wrapper-env) to tst-rtld-load-self.sh.
11587 ($(objpfx)order2.out): Use $(test-wrapper).
11588 ($(objpfx)tst-initorder.out): Likewise.
11589 ($(objpfx)tst-initorder2.out): Likewise.
11590 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11591 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11592 (test_wrapper_env): New variable. Use it to run ld.so.
11593 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11594 Use it to run ld.so.
11595 (test_wrapper_env): Likewise.
11596 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11597 $(test-wrapper) to run-iconv-test.sh.
11598 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11599 (ICONV): Use $test_wrapper.
11600 * posix/Makefile ($(objpfx)globtest.out): Pass
11601 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11602 globtest.sh, not $(run-program-prefix).
11603 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11604 (test_wrapper): Likewise.
11605 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11606 set together with run_via_rtld_prefix.
11607 (run_program_prefix): Define in terms of test_wrapper and
11608 run_via_rtld_prefix.
11609
6e6249d0
RM
116102012-10-24 Roland McGrath <roland@hack.frob.com>
11611
11612 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11613 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11614 Targets removed.
11615
11616 [BZ #14743]
11617 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11618 Declare __clock_getres, __clock_gettime, __clock_settime,
11619 __clock_nanosleep, and __clock_getcpuclockid.
11620 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11621 Remove librt_hidden_def (clock_gettime).
11622 * sysdeps/unix/clock_gettime.c: Likewise.
11623 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11624 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11625 * rt/clock_getres.c: Define __clock_getres as an alias.
11626 * sysdeps/posix/clock_getres.c: Likewise.
11627 * rt/clock_settime.c: Define __clock_settime as an alias.
11628 * sysdeps/unix/clock_settime.c: Likewise.
11629 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11630 * sysdeps/unix/clock_nanosleep.c: Likewise.
11631 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11632 * rt/clock-compat.c: New file.
11633 * rt/Makefile (librt-routines): Add clock-compat and move
11634 $(clock-routines) to ...
11635 (routines): ... here, new variable.
11636 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11637 Don't add get_clockfreq here.
11638 * rt/Versions (libc: GLIBC_2.17): New version set.
11639 Add clock_* symbols here.
11640 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11641 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11642 (GLIBC_2.17): Add clock_* symbols.
11643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11647 Likewise.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11649 Likewise.
11650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11654 * NEWS: Mention the move.
11655
11656 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11657 Use __open, __read, __close rather than their public counterparts.
11658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11659 (__get_clockfreq_via_cpuinfo): Likewise.
11660 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11661 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11662
11663 * config.h.in (HAVE_IFUNC): New #undef.
11664 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11665 was successful.
11666 * configure: Regenerated.
11667
0cae3f4b
MF
116682012-10-24 Mike Frysinger <vapier@gentoo.org>
11669
11670 * configure.in: Move READELF check to start of file.
11671 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11672 libc_cv_asm_gnu_indirect_function in the process.
11673 * configure: Regenerated.
11674
8175a253
MF
116752012-10-24 Mike Frysinger <vapier@gentoo.org>
11676
11677 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11678 send the output to /dev/null.
11679 (libc_cv_cc_with_libunwind): Likewise.
11680 (libc_cv_as_noexecstack): Likewise.
11681 * configure: Regenerate.
11682
0708a7d1
JM
116832012-10-24 Joseph Myers <joseph@codesourcery.com>
11684
10b40d85
JM
11685 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11686
0708a7d1
JM
11687 * posix/globtest.sh (TMPDIR): Do not set.
11688 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11689 (testout): Likewise.
11690
9fddec1a
AJ
116912012-10-24 Andreas Jaeger <aj@suse.de>
11692
3a8db22f
AJ
11693 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11694 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11695 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11696 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11697 posix_fadvise64, posix_fallocate64.
11698
9fddec1a
AJ
11699 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11700 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11701 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11702 Likewise.
11703 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11704 Likewise.
11705 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11706
11707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11708 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11709 <bits/fcntl-linux.h>.
11710 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11711
11712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11713 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11714 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11715 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11716 [__WORDSIZE != 64]: Likewise.
11717
ebfd1bbd
JM
117182012-10-23 Joseph Myers <joseph@codesourcery.com>
11719
03ac099f
JM
11720 * Makeconfig (run-built-tests): New variable.
11721 * Rules [$(cross-compiling) = yes]: Change condition to
11722 [$(run-built-tests) = no].
11723 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11724 to [$(run-built-tests) = yes].
11725 * elf/Makefile [$(cross-compiling) = no]: Likewise
11726 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11727 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11728 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11729 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11730 * io/Makefile [$(cross-compiling) = no]: Likewise.
11731 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11732 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11733 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11734 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11735 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11736 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11737 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11738 * string/Makefile [$(cross-compiling) = no]: Likewise.
11739
ebfd1bbd
JM
11740 * posix/Makefile ($(objpfx)globtest.out): Pass
11741 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11742 $(rtld-installed-name).
11743 * posix/globtest.sh (elf_objpfx): Remove variable.
11744 (rtld_installed_name): Likewise.
11745 (library_path): Likewise.
11746 (run_program_prefix): New variable. Use for running globtest
11747 binary.
11748
166bca24
JB
117492012-10-23 Jim Blandy <jimb@codesourcery.com>
11750 Joseph Myers <joseph@codesourcery.com>
11751
11752 * Makeconfig (host-built-program-cmd): New variable.
11753 * elf/Makefile (tst-stackguard1-ARGS): Use
11754 $(host-built-program-cmd).
11755 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11756 (tst-spawn-ARGS): Likewise.
11757 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11758
88866099
JM
117592012-10-23 Joseph Myers <joseph@codesourcery.com>
11760 Jim Blandy <jimb@codesourcery.com>
11761
11762 * Makeconfig (run-via-rtld-prefix): New variable.
11763 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11764 (built-program-cmd): Likewise.
11765
b4b4c296
AJ
117662012-10-22 Andreas Jaeger <aj@suse.de>
11767
11768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11769 __O_RSYNC if it exists, otherwise to O_SYNC.
11770
6fb54a22
JB
117712012-10-22 Jim Blandy <jimb@codesourcery.com>
11772 Joseph Myers <joseph@codesourcery.com>
11773
11774 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11775 /dev/null.
11776 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11777 from /dev/null
11778 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11779 /dev/null.
11780
481b90b9
AJ
117812012-10-22 Andreas Jaeger <aj@suse.de>
11782
2a0e2669
AJ
11783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11784 Define always.
11785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11786
76e38f9a
AJ
11787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11788 bits/fcntl-linux.h.
11789
7cd37b43
AJ
11790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11791 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11792
481b90b9
AJ
11793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11794 to __O_LARGEFILE.
11795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11796 to __O_LARGEFILE.
11797
aba75984
JB
117982012-10-21 Jim Blandy <jimb@codesourcery.com>
11799 Joseph Myers <joseph@codesourcery.com>
11800
11801 * config.make.in (NM): New variable.
11802
88d4247f
AJ
118032012-10-21 Andreas Jaeger <aj@suse.de>
11804
11805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11806 definitions and declarations that are provided by
11807 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11808
f2eed205
L
118092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 [BZ #14683]
11812 * elf/Makefile (tests-static): Add tst-leaks1-static.
11813 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11814 ($(objpfx)tst-leaks1-static): New rule.
11815 ($(objpfx)tst-leaks1-static-mem): Likewise.
11816 (tst-leaks1-static-ENV): New macro.
11817 * elf/dl-open.c (dl_open_worker): Check the main application
11818 only if SHARED is defined.
11819 * elf/tst-leaks1-static.c: New file.
11820
335e6931
AJ
118212012-10-20 Andreas Jaeger <aj@suse.de>
11822
11823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11824 generic values for Linux.
11825 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11826 and declarations that are provided by <bits/fcntl-linux.h> and
11827 include <bits/fcntl-linux.h>.
11828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11830
ac5c94d3
RM
118312012-10-20 Roland McGrath <roland@hack.frob.com>
11832
11833 * io/fcntl.h: Move include of <bits/types.h> to the top and
11834 include it unconditionally.
11835
de54b33a
L
118362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11837
228cfb01
L
11838 * wcsmbs/Makefile (tests-ifunc): New variable.
11839 (tests): Add $(tests-ifunc).
11840 * wcsmbs/test-wcschr-ifunc.c: New file.
11841 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11842 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11843 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11844 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11845 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11846
69f07e5f
L
11847 * string/Makefile (tests-ifunc): New variable.
11848 (tests): Add $(tests-ifunc).
11849 * string/test-memccpy.c (TEST_NAME): New macro.
11850 * string/test-memchr.c (TEST_NAME): Likewise.
11851 * string/test-memcmp.c (TEST_NAME): Likewise.
11852 * string/test-memcpy.c (TEST_NAME): Likewise.
11853 * string/test-memmem.c (TEST_NAME): Likewise.
11854 * string/test-memmove.c (TEST_NAME): Likewise.
11855 * string/test-memset.c (TEST_NAME): Likewise.
11856 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11857 * string/test-stpcpy.c (TEST_NAME): Likewise.
11858 * string/test-stpncpy.c (TEST_NAME): Likewise.
11859 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11860 * string/test-strcasestr.c (TEST_NAME): Likewise.
11861 * string/test-strcat.c (TEST_NAME): Likewise.
11862 * string/test-strchr.c (TEST_NAME): Likewise.
11863 * string/test-strcmp.c(TEST_NAME): Likewise.
11864 * string/test-strcpy.c (TEST_NAME): Likewise.
11865 * string/test-strcspn.c (TEST_NAME): Likewise.
11866 * string/test-strlen.c (TEST_NAME): Likewise.
11867 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11868 * string/test-strncmp.c (TEST_NAME): Likewise.
11869 * string/test-strncpy.c (TEST_NAME): Likewise.
11870 * string/test-strnlen.c (TEST_NAME): Likewise.
11871 * string/test-strpbrk.c (TEST_NAME): Likewise.
11872 * string/test-strrchr.c (TEST_NAME): Likewise.
11873 * string/test-strspn.c (TEST_NAME): Likewise.
11874 * string/test-strstr.c (TEST_NAME): Likewise.
11875 * string/test-bcopy-ifunc.c: New file.
11876 * string/test-bzero-ifunc.c: Likewise.
11877 * string/test-memccpy-ifunc.c: Likewise.
11878 * string/test-memchr-ifunc.c: Likewise.
11879 * string/test-memcmp-ifunc.c: Likewise.
11880 * string/test-memcpy-ifunc.c: Likewise.
11881 * string/test-memmem-ifunc.c: Likewise.
11882 * string/test-memmove-ifunc.c: Likewise.
11883 * string/test-mempcpy-ifunc.c: Likewise.
11884 * string/test-memset-ifunc.c: Likewise.
11885 * string/test-rawmemchr-ifunc.c: Likewise.
11886 * string/test-stpcpy-ifunc.c: Likewise.
11887 * string/test-stpncpy-ifunc.c: Likewise.
11888 * string/test-strcasecmp-ifunc.c: Likewise.
11889 * string/test-strcasestr-ifunc.c: Likewise.
11890 * string/test-strcat-ifunc.c: Likewise.
11891 * string/test-strchr-ifunc.c: Likewise.
11892 * string/test-strchrnul-ifunc.c: Likewise.
11893 * string/test-strcmp-ifunc.c: Likewise.
11894 * string/test-strcpy-ifunc.c: Likewise.
11895 * string/test-strcspn-ifunc.c: Likewise.
11896 * string/test-strlen-ifunc.c: Likewise.
11897 * string/test-strncasecmp-ifunc.c: Likewise.
11898 * string/test-strncat-ifunc.c: Likewise.
11899 * string/test-strncmp-ifunc.c: Likewise.
11900 * string/test-strncpy-ifunc.c: Likewise.
11901 * string/test-strnlen-ifunc.c: Likewise.
11902 * string/test-strpbrk-ifunc.c: Likewise.
11903 * string/test-strrchr-ifunc.c: Likewise.
11904 * string/test-strspn-ifunc.c: Likewise.
11905 * string/test-strstr-ifunc.c: Likewise.
11906
de54b33a
L
11907 * debug/Makefile (tests-ifunc): New variable.
11908 (tests): Add $(tests-ifunc).
11909 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11910 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11911 * debug/test-stpcpy_chk-ifunc.c: New file.
11912 * debug/test-strcpy_chk-ifunc.c: Likewise.
11913
88481c16
SP
119142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11915
11916 [BZ #13601]
11917 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11918 header is not read in.
11919
135948bd
JM
119202012-10-19 Joseph Myers <joseph@codesourcery.com>
11921
89f1c388
JM
11922 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11923 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11924 directly. Pass built executable to script as
11925 $(built-program-cmd).
11926 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11927 $testprogram without using LD_LIBRARY_PATH and $ldso.
11928
e40a0d21
JM
11929 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11930 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11931 $(rtld-installed-name).
11932 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11933 (rtld_installed_name): Likewise.
11934 (library_path): Likewise.
11935 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11936 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11937 $(run-program-prefix) to tst-tables.sh.
11938 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11939 it to run tst-table-from and tst-table-to.
11940 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11941 Pass it to tst-table.sh.
11942 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11943 $(run-program-prefix) to tst-gettext.sh.
11944 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11945 tst-translit.sh.
11946 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11947 tst-gettext2.sh.
11948 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11949 to run tst-gettext.
11950 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11951 to run tst-gettext2.
11952 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11953 to run tst-translit.
11954 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11955 $(run-program-prefix) to tst-mtrace.sh.
11956 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11957 to run tst-mtrace.
11958 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11959 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11960 $(rtld-installed-name).
11961 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11962 (rtld_installed_name): Likewise.
11963 (run_program_prefix): New variable. Use it to run wordexp-test.
11964
728e272a
JM
11965 * Makeconfig (ARCH): Remove all definitions.
11966 (machine): Likewise.
11967 [ARCH]: Remove conditional code.
11968 [!objdir]: Give error.
11969 [!objdir] (objpfx): Remove.
11970 [!objdir] (common-objpfx): Likewise.
11971 [!objdir] (common-objdir): Likewise.
11972 * configure.in (config_makefile): Remove. Hardcode Makefile in
11973 AC_CONFIG_FILES call.
11974 * configure: Regenerated.
11975
d528cdcf
JM
11976 [BZ #13888]
11977 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11978 or TMPDIR.
11979 (testout): Likewise.
11980
135948bd
JM
11981 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11982 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11983 $(rtld-installed-name).
11984 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11985 (rtld_installed_name): Likwise.
11986 (runit): Remove function.
11987 (run_getconf): New variable, Use it for running getconf binary.
11988
38c78296
L
119892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11990
11991 [BZ #14716]
11992 * string/test-memmem.c (check_result): New function.
11993 (do_one_test): Use it.
11994 (check1): New function.
11995 (test_main): Use it.
11996
d077f65f
MT
119972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11998
11999 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12000
ced52c71
JM
120012012-10-18 Joseph Myers <joseph@codesourcery.com>
12002
12003 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12004 (_G_LSEEK64): Likewise.
12005 (_G_MMAP64): Likewise.
12006 (_G_FSTAT64): Likewise.
12007 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12008 (_G_LSEEK64): Likewise.
12009 (_G_MMAP64): Likewise.
12010 (_G_FSTAT64): Likewise.
12011 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12012 unconditional. Call __mmap64 directly.
12013 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12014 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12015 __lseek64 directly.
12016 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12017 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12018 __mmap64 directly.
12019 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12020 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12021 __lseek64 directly.
12022 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12023 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12024 __lseek64 directly.
12025 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12026 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12027 __lseek64 directly.
12028 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12029 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12030 __fxstat64 directly.
12031 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12032 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12033 unconditional.
12034 (freopen64) [!_G_OPEN64]: Remove conditional code.
12035 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12036 unconditional.
12037 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12038 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12039 unconditional.
12040 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12041 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12042 unconditional.
12043 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12044 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12045 unconditional.
12046 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12047 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12048 unconditional.
12049 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12050 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12051 unconditional.
12052 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12053 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12054 unconditional.
12055 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12056
b741de23
SP
120572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12058
12059 [BZ #12140]
12060 * manual/memory.texi (Malloc Tunable Parameters): Add note
12061 about free list pointers overwriting some perturb bytes.
12062 Wording suggested by Roland McGrath.
12063
f9b9d9c9
JM
120642012-10-17 Joseph Myers <joseph@codesourcery.com>
12065
12066 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12067 (lgamma_test): Likewise.
12068 (tgamma_test): Likewise.
12069
172a631a
FW
120702012-10-16 Florian Weimer <fweimer@redhat.com>
12071
12072 [BZ #14700]
12073 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12074 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12075
e9f37252
MK
120762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12077
12078 * NEWS: Mention BZ #14716.
12079 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12080 when removing AVAILABLE1_USES_J macro.
12081
d394eb74
L
120822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12083
12084 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12085 (__bswap_64): __uint64_t for unsigned 64-bit int.
12086
ca38dc17
AS
120872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12088
12089 * include/string.h (memmem): Declare libc hidden alias.
12090 * string/memmem.c (memmem): Define libc hidden alias.
12091 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12092 __read, __close instead of open, read, close.
12093
9a387d1f
L
120942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12095
ac49ecaf
L
12096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12097 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12098 global and hidden.
12099 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12100 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12101 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12102 Likewise.
12103 (__rawmemchr_sse2): Likewise.
12104 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12105 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12106 (__strchr_sse2): Likewise.
12107 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12108 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12109 (__strcasecmp_sse2): Likewise.
12110 (__strncasecmp_sse2): Likewise.
12111 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12112 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12113 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12114 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12115 (__strrchr_sse2): Likewise.
12116 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12117 ifunc-impl-list.c.
12118 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12119 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12120 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12121 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12122 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12123 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12124 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12125 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12126 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12127 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12128 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12129 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12130 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12131 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12132 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12133 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12134 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12135 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12136 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12137 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12138 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12139 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12140 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12141 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12142 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12143 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12144 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12145 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12146 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12147 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12148
b090e8ea
L
12149 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12150 global and hidden.
12151 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12152 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12153 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12154 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12155 Likewise.
12156 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12157 Likewise.
12158 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12159 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12160 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12161 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12162 ifunc-impl-list.c.
12163 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12165 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12166 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12167 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12168 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12169 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12170 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12172 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12173 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12174 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12175 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12176 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12177 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12178 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12179 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12180 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12181 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12182 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12183 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12184 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12185 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12186 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12187 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12188 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12189 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12190 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12191 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12192 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12193 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12194 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12195 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12196 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12197 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12198 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12199 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12200 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12202 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12203 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12204
11dd4af6
L
12205 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12206 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12207 * include/ifunc-impl-list.h: New file.
12208 * misc/ifunc-impl-list.c: Likewise.
12209 * misc/Makefile (routines): Add ifunc-impl-list.
12210 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12211 * string/test-string.h: Include <ifunc-impl-list.h>.
12212 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12213 impl_array): New variables.
12214 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12215 are defined.
12216 (test_init): Call __libc_ifunc_impl_list to initialize
12217 func_list if TEST_IFUNC and TEST_NAME are defined.
12218
9a387d1f
L
12219 * string/Makefile (strop-tests): Add bcopy and bzero.
12220 * string/test-bcopy.c: New file.
12221 * string/test-bzero.c: Likewise.
12222 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12223 defined.
12224 * string/test-memset.c: Support bzero test if TEST_BZERO is
12225 defined.
12226 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12227 __libc_memmove.
12228 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12229 __libc_memset.
12230 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12231 of memset.
12232
472371b9
JM
122332012-10-10 Joseph Myers <joseph@codesourcery.com>
12234
1e4a9536
JM
12235 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12236 * configure: Regenerated.
12237
d173d12e
JM
12238 * Makeconfig (+link-static-before-libc): Don't include
12239 $(link-static-libc).
12240
472371b9
JM
12241 * libio/libio.h (_IO_pos_t): Remove.
12242
89a3ad0b
AO
122432012-10-10 Alexandre Oliva <aoliva@redhat.com>
12244
12245 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12246 McGrath.
12247
e7451425
AO
122482012-10-10 Alexandre Oliva <aoliva@redhat.com>
12249
12250 * crypt/crypt-entry.c: Include fips-private.h.
12251 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12252 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12253 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12254 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12255
4ba74a35
AO
122562012-10-10 Alexandre Oliva <aoliva@redhat.com>
12257
12258 * crypt/crypt-private.h: Include stdbool.h.
12259 (_ufc_setup_salt_r): Return bool.
12260 * crypt/crypt-entry.c: Include errno.h.
12261 (__crypt_r): Return NULL with EINVAL for bad salt.
12262 * crypt/crypt_util.c (bad_for_salt): New.
12263 (_ufc_setup_salt_r): Check that salt is long enough and within
12264 the specified alphabet.
12265 * crypt/badsalttest.c: New file.
12266 * crypt/Makefile (tests): Add it.
12267 ($(objpfx)badsalttest): New.
12268
f96f1242
MK
122692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12270
12271 * NEWS: Add entry for BZ #14602.
12272
0e8e0c1c
JM
122732012-10-09 Joseph Myers <joseph@codesourcery.com>
12274
12275 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12276 type-generic.
12277 * math/libm-test.inc: Update comment listing what functions and
12278 macros are tested.
12279 (isgreater_test): New function.
12280 (isgreaterequal_test): Likewise.
12281 (isless_test): Likewise.
12282 (islessequal_test): Likewise.
12283 (islessgreater_test): Likewise.
12284 (isunordered_test): Likewise.
12285 (main): Call the new functions.
12286
273edc5e
RM
122872012-10-09 Roland McGrath <roland@hack.frob.com>
12288
b8493de0
RM
12289 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12290 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12291 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12292 * sysdeps/i386/configure: Regenerated.
12293 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12294 * sysdeps/mach/configure: Regenerated.
12295 * sysdeps/mach/hurd/configure: Regenerated.
12296 * sysdeps/powerpc/configure: Regenerated.
12297 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12298 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12299 * sysdeps/s390/s390-32/configure: Regenerated.
12300 * sysdeps/s390/s390-64/configure: Regenerated.
12301 * sysdeps/sh/configure: Regenerated.
12302 * sysdeps/sparc/configure: Regenerated.
12303 * sysdeps/unix/sysv/linux/configure: Regenerated.
12304 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12305 * sysdeps/x86_64/configure: Regenerated.
12306
273edc5e
RM
12307 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12308 defined. Don't check if MAP is NULL.
12309
c8450f70
JM
123102012-10-09 Joseph Myers <joseph@codesourcery.com>
12311
12312 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12313 (_G_stat64): Likewise.
12314 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12315 (_G_stat64): Likewise.
12316 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12317 instead of struct _G_stat64.
12318 * libio/fileops.c (mmap_remap_check): Likewise.
12319 (decide_maybe_mmap): Likewise.
12320 (_IO_new_file_seekoff): Likewise.
12321 (_IO_file_stat): Likewise.
12322 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12323 _G_off64_t.
12324 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12325 instead of struct _G_stat64.
12326 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12327
57e605ba
MK
123282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12329
12330 [BZ #14602]
12331 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12332 Replace with ...
12333 (CHECK_EOL): New macro.
12334 (two_way_short_needle): Check beginning of haystack for EOL. Use
12335 CHECK_EOL.
12336 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12337 Replace with CHECK_EOL.
12338 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12339 Replace with CHECK_EOL.
12340
ef1bb361
JM
123412012-10-08 Joseph Myers <joseph@codesourcery.com>
12342
12343 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12344 type-generic.
12345 * math/libm-test.inc: Update comment listing what functions and
12346 macros are tested.
12347 (finite_test): New function.
12348 (isinf_test): Likewise.
12349 (isnan_test): Likewise.
12350 (fpclassify_test): Test subnormal input.
12351 (isfinite_test): Likewise.
12352 (isnormal_test): Likewise.
12353 (main): Call the new functions.
12354
55f11534
JN
123552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12356
12357 [BZ #14660]
12358 * Makerules (%.dynsym): Force C locale when running
12359 $(OBJDUMP) --dynamic-syms.
12360
1ab29350
AS
123612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12362
12363 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12364 <stdint.h>.
12365
f1ecb7ef
DM
123662012-10-06 David S. Miller <davem@davemloft.net>
12367
12368 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12369 upper 32-bits of the length value in %o2 since we use branch-on-register
12370 tests which consider the entire 64-bit register.
12371
5d41d91a
L
123722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12373
12374 * string/test-strstr.c (check2): Add a test for page boundary.
12375
3baddb72
DM
123762012-10-05 David S. Miller <davem@davemloft.net>
12377
12378 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12379 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12380 file.
12381 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12382 sysdep_routines.
12383 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12384 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12385 and bzero when HWCAP_SPARC_CRYPTO is present.
12386
9cee5585
L
123872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12388
d7e0dab9
L
12389 [BZ #14602]
12390 * string/test-strstr.c (check2): New function.
12391 (test_main): Call check2.
12392
03759f47
L
12393 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12394 and bug-strchr1.
12395 * string/bug-strcasestr1.c (do_test): Moved to ...
12396 * string/test-strcasestr.c (check1): Here. New function.
12397 (do_one_test): Break out result checking code into ...
12398 (check_result): This. New function.
12399 (do_one_test): Call check_result.
12400 (test_main): Call check1.
12401 * string/bug-strchr1.c (do_test): Moved to ...
12402 * string/test-strchr.c (check1): Here. New function.
12403 (do_one_test): Break out result checking code into ...
12404 (check_result): This. New function.
12405 (do_one_test): Call check_result.
12406 (test_main): Call check1.
12407 * string/bug-strstr1.c (main): Moved to ...
046f153e 12408 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12409 (do_one_test): Break out result checking code into ...
12410 (check_result): This. New function.
12411 (do_one_test): Call check_result.
12412 (test_main): Call check1.
12413 * string/bug-strcasestr1.c: Removed.
12414 * string/bug-strchr1.c: Likewise.
12415 * string/bug-strstr1.c: Likewise.
12416
53cea63e
L
12417 * elf/Makefile (dl-routines): Add hwcaps.
12418 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12419 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12420 (_dl_important_hwcaps): Moved to ...
12421 * elf/dl-hwcaps.c: Here. New file.
12422 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12423
9cee5585 12424 [BZ #14557]
bb859b06
L
12425 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12426 if IS_IN_rtld isn't defined.
12427
9cee5585
L
12428 * elf/dl-support.c (_dl_sysinfo_map): New.
12429 Include "get-dynamic-info.h" and "setup-vdso.h".
12430 (_dl_non_dynamic_init): Call setup_vdso.
12431 * elf/dynamic-link.h: Don't include <assert.h>.
12432 (elf_get_dynamic_info): Moved to ...
12433 * elf/get-dynamic-info.h: Here. New file.
12434 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12435 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12436 * elf/setup-vdso.h: Here. New file.
12437 * elf/rtld.c: Include "setup-vdso.h".
12438 (dl_main): Call setup_vdso.
12439
23c31b76
JM
124402012-10-05 Joseph Myers <joseph@codesourcery.com>
12441
28234b07
JM
12442 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12443 creal in comment listing functions tested. List finite, isinf,
12444 isnan, isless, islessequal, isgreater, isgreaterequal,
12445 islessgreater, isunordered, lgamma_r and pow10 as functions and
12446 macros not tested. Mention which functions not tested are aliases
12447 for other functions. Fix typo. Note that signs of NaNs are not
12448 tested.
12449
23c31b76
JM
12450 * scripts/config.guess: Update from config.git.
12451 * scripts/config.sub: Likewise.
12452
9043e228
RM
124532012-10-04 Roland McGrath <roland@hack.frob.com>
12454
12455 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12456 * misc/madvise.c (madvise): Renamed to __madvise.
12457 Make madvise a weak alias.
12458 * include/sys/mman.h: Declare __madvise.
12459 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12460 * sysdeps/unix/syscalls.list
12461 (madvise): Make __madvise the strong name, and madvise a weak alias.
12462 * sysdeps/unix/sysv/linux/syscalls.list
12463 (madvise, mmap): Remove redundant entries.
12464 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12465 * malloc/malloc.c (mtrim): Likewise.
12466 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12467
f57f8055
RM
124682012-10-03 Roland McGrath <roland@hack.frob.com>
12469
12470 * sysdeps/mach/hurd/dl-cache.c: File removed.
12471 * config.h.in (USE_LDCONFIG): New #undef.
12472 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12473 * configure: Regenerated.
12474 * elf/Makefile (dl-routines): Add dl-cache only under
12475 [$(use-ldconfig) = yes].
12476 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12477 cache on [USE_LDCONFIG].
12478 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12479 [USE_LDCONFIG].
12480 * elf/rtld.c (dl_main): Likewise.
12481
5bb0c10a
PT
124822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12483
12484 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12485 _SC_LEVEL4_CACHE_LINESIZE.
12486
010188c6
RM
124872012-10-03 Roland McGrath <roland@hack.frob.com>
12488
12489 * sysdeps/unix/bsd/confstr.h: File removed.
12490
b6c5ec07
AO
124912012-10-02 Alexandre Oliva <aoliva@redhat.com>
12492
12493 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12494 sys/sdt-config.h.
12495
408223d4
RM
124962012-10-02 Roland McGrath <roland@hack.frob.com>
12497
12498 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12499 Make 'mapoff' field ElfW(Off) rather than off_t.
12500
bb9510dc
DL
125012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12502
fc997c6e
DL
12503 * nscd/Makefile: Remove nscd-cflags and all its users.
12504 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12505 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12506
bb9510dc
DL
12507 [BZ #10631]
12508 * malloc.c (malloc_printerr): Clarify error message.
12509
05699367
L
125102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 [BZ #14648]
12513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12514 Set bit_FMA_Usable if FMA is supported.
12515 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12516 macro.
12517 (bit_FMA4_Usable): Updated.
12518 (index_FMA_Usable): New macro.
12519 (CPUID_FMA): Likewise
12520 (HAS_FMA): Defined with bit_FMA_Usable.
12521
51367701
RM
125222012-10-01 Roland McGrath <roland@hack.frob.com>
12523
12524 * bits/types.h (__swblk_t): Type removed.
12525 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12526 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12527 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12528 (__SWBLK_T_TYPE): Likewise.
12529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12530 (__SWBLK_T_TYPE): Likewise.
12531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12532 (__SWBLK_T_TYPE): Likewise.
12533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12534 (__SWBLK_T_TYPE): Likewise.
12535
4d57bf63 125362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12537 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12538
12539 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12540 (xdr_mapname): Use YPMAXMAP as maxsize.
12541 (xdr_peername): Use YPMAXPEER as maxsize.
12542 (xdr_keydat): Use YPAXRECORD as maxsize.
12543 (xdr_valdat): Use YPMAXRECORD as maxsize.
12544
93c65d43
RM
125452012-10-01 Roland McGrath <roland@hack.frob.com>
12546
497a03d6
RM
12547 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12548
93c65d43
RM
12549 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12550 * csu/init-first.c: ... here.
12551 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12552 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12553 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12554 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12555 * sysdeps/i386/init-first.c: File removed.
12556 * sysdeps/sh/init-first.c: File removed.
12557
bec749fd
JM
125582012-10-01 Joseph Myers <joseph@codesourcery.com>
12559
12560 [BZ #14645]
12561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12562 if x * y might underflow to zero and z is zero.
12563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12564 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12565 * math/libm-test.inc (min_subnorm_value): New variable.
12566 (fma_test): Add more tests.
12567 (fma_test_towardzero): Likewise.
12568 (fma_test_downward): Likewise
12569 (fma_test_upward): Likewise.
12570 (initialize): Set min_subnorm_value.
12571
8ec5b013
JM
125722012-09-29 Joseph Myers <joseph@codesourcery.com>
12573
12574 [BZ #14638]
12575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12576 0 + 0.
12577 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12578 mode for addition resulting in exact zero.
12579 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12581 exact 0 + 0.
12582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12584 * math/libm-test.inc (fma_test): Add more tests.
12585 (fma_test_towardzero): New function.
12586 (fma_test_downward): Likewise.
12587 (fma_test_upward): Likewise.
12588 (main): Call the new functions.
12589
b1fa802e
DM
125902012-09-28 David S. Miller <davem@davemloft.net>
12591
12592 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12593
d3b9fd9e
RM
125942012-09-28 Roland McGrath <roland@hack.frob.com>
12595
ea4d37b3
RM
12596 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12597 instead of SIGALRM.
12598
ac51c949
RM
12599 * sysdeps/gnu/_G_config.h: Moved to ...
12600 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12601 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12602 * sysdeps/generic/_G_config.h: ... here.
12603
28c195f7
RM
12604 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12605
848917f9
RM
12606 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12607
6bacf05b
RM
12608 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12609 Conditionalize target on [libnss_test1.so-version].
12610
91363dbb
RM
12611 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12612
cc87f7d8
RM
12613 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12614 (elfobjdir): Move out of conditionals.
12615
b1c608fe
RM
12616 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12617 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12618 (__nss_lookup_function): Conditionalize label remove_from_tree on
12619 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12620
1d9a6d96
DM
126212012-09-28 David S. Miller <davem@davemloft.net>
12622
12623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12624 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12625 file.
12626 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12627 sysdep_routines.
12628 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12630 when HWCAP_SPARC_CRYPTO is present.
12631
72581615
PT
126322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12633
12634 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12635
715a900c
JL
126362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12637
12638 [BZ #6530]
12639 * stdio-common/vfprintf.c (process_string_arg): Revert
12640 2000-07-22 change.
12641
126422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12643
12644 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12645 for testcase.
12646 * stdio-common/tst-sprintf.c: Include <locale.h>
12647 (main): Test sprintf's handling of incomplete multibyte
12648 characters.
12649
9bac1d86
L
126502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12651
12652 * elf/dl-runtime.c (VERSYMIDX): Removed.
12653 * elf/dl-version.c (VERSYMIDX): Likewise.
12654 * elf/do-rel.h (VERSYMIDX): Likewise.
12655 (VALIDX): Likewise.
12656 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12657 * elf/rtld.c (VALIDX): Likewise.
12658 (ADDRIDX): Likewise.
9bac1d86
L
12659 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12660 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12661 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12662 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12663 (VALIDX): Likewise.
12664 (ADDRIDX): Likewise.
9bac1d86 12665
b31606c0
PT
126662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12667
12668 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12669
11541177
JL
126702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12671
12672 [BZ #11438]
12673 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12674 to global scope.
12675 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12676 addresses are in the same scope as 192.0.2/24.
12677 * posix/gai.conf: Document new scope table defaults.
12678
adb26fae
SP
126792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12680
12681 [BZ #5298]
12682 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12683 for ftell. Compute offsets from write pointers instead.
12684 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12685
4573c6b0
SP
126862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12687
12688 [BZ #14543]
12689 * libio/Makefile (tests): New test case tst-fseek.
12690 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12691 combination works in wide mode.
12692 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12693 state when the external buffer state changes.
12694
aa9bbfe6
DM
126952012-09-27 David S. Miller <davem@davemloft.net>
12696
12697 [BZ #14376]
12698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12699 pass reloc->r_addend in as the 'high' argument to
12700 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12701
784421e7
DM
12702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12703
c39bc8b8
PT
127042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12705
12706 * rt/tst-aio2.c: Include <pthread.h>.
12707 * rt/tst-aio3.c: Likewise.
12708
1ccc2399
SE
127092012-09-27 Steve Ellcey <sellcey@mips.com>
12710
12711 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12712
31ed4153
L
127132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12714
25f5f885
L
12715 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12716 contents on [SHARED].
31ed4153 12717
b7bfe116
MP
127182012-09-26 Marek Polacek <polacek@redhat.com>
12719
12720 [BZ #14530]
12721 [BZ #13741]
12722 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12723 for C++ and GCC <4.3 as well as for non GCC compilers.
12724
43c4edba
MT
127252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12726
12727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12728
6a1bf82f
RM
127292012-09-25 Roland McGrath <roland@hack.frob.com>
12730
12731 * Makefile.in (all, install): Declare with .PHONY.
12732 Reported by Michael Hope <michael.hope@linaro.org>.
12733
8ad11b9a
TMQMF
127342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12735
12736 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12737 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12738 system header.
12739 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12740 Likewise.
12741 (sydep_routines): Add the new and the internal functions.
12742 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12743 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12745 (GLIBC_2.17): Add the new function.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12747 (GLIBC_2.17): Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12749 (GLIBC_2.17): Likewise.
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12751 (GLIBC_2.17): Likewise.
12752 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12753
7e2fca8d
AM
127542012-09-25 Alan Modra <amodra@gmail.com>
12755
12756 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12757 Add release barrier before setting once_control to say
12758 initialisation is done. Add hints on lwarx. Use macro in
12759 place of isync.
12760 (clear_once_control): Add release barrier.
12761
b87c4b24
JM
127622012-09-25 Joseph Myers <joseph@codesourcery.com>
12763
d032e0d2
JM
12764 [BZ #13629]
12765 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12766 specially.
12767 * math/s_clog10.c (__clog10): Likewise.
12768 * math/s_clog10f.c (__clog10f): Likewise.
12769 * math/s_clog10l.c (__clog10l): Likewise.
12770 * math/s_clogf.c (__clogf): Likewise.
12771 * math/s_clogl.c (__clogl): Likewise.
12772 * math/Makefile (libm-calls): Add x2y2m1.
12773 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12774 (__x2y2m1): Likewise.
12775 (__x2y2m1l): Likewise.
12776 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12777 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12780 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12781 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12782 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12783 * sysdeps/i386/fpu/libm-test-ulps: Update.
12784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12785
b87c4b24
JM
12786 [BZ #14621]
12787 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12788 int as type of variable DEPTH.
12789 (glob): Use size_t instead of int as type of variables NEWCOUNT
12790 and OLD_PATHC.
12791
6d3bf199
LD
127922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12793
22bf5c17
LD
12794 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12795 Add s_sincosf-sse2.
12796 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12797 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12798 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12799 macros for using routine as __sincosf_ia32.
12800 Use macro for function declaration and weak_alias.
12801 * sysdeps/i386/fpu/libm-test-ulps: Update.
12802
12803 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12805
12806 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12807 subnormal argument.
12808 * math/s_cexpf.c (__cexpf): Likewise.
12809 * math/s_csinf.c (__csinf): Likewise.
12810 * math/s_csinhf.c (__csinhf): Likewise.
12811 * math/s_ctanf.c (__ctanf): Likewise.
12812 * math/s_ctanhf.c (__ctanhf): Likewise.
12813 * math/s_ccosh.c (__ccoshf): Likewise.
12814 * math/s_cexp.c (__cexpl): Likewise.
12815 * math/s_csin.c (__csin): Likewise.
12816 * math/s_csinh.c (__csinh): Likewise.
12817 * math/s_ctan.c (__ctan): Likewise.
12818 * math/s_ctanh.c (ctanh): Likewise.
12819 * math/s_ccoshl.c (__ccoshl): Likewise.
12820 * math/s_cexpl.c (__cexpl): Likewise.
12821 * math/s_csinl.c (__csinl): Likewise.
12822 * math/s_csinhl.c (__csinhl): Likewise.
12823 * math/s_ctanl.c (__ctanl): Likewise.
12824 * math/s_ctanhl.c (__ctanhl): Likewise.
12825
203e5603
JM
128262012-09-25 Joseph Myers <joseph@codesourcery.com>
12827
12828 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12829 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12830 (_IO_off_t): Define to __off_t, not _G_off_t.
12831 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12832 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12833 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12834 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12835 type of __dummy and __dummy2 fields.
12836 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12837 (_G_ssize_t): Likewise.
12838 (_G_off_t): Likewise.
12839 (_G_pid_t): Likewise.
12840 (_G_uid_t): Likewise.
12841 (_G_wchar_t): Likewise.
12842 (_G_wint_t): Likewise.
12843 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12844 (_G_ssize_t): Likewise.
12845 (_G_off_t): Likewise.
12846 (_G_pid_t): Likewise.
12847 (_G_uid_t): Likewise.
12848 (_G_wchar_t): Likewise.
12849 (_G_wint_t): Likewise.
12850 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12851 (_G_ssize_t): Likewise.
12852 (_G_off_t): Likewise.
12853 (_G_pid_t): Likewise.
12854 (_G_uid_t): Likewise.
12855 (_G_wchar_t): Likewise.
12856 (_G_wint_t): Likewise.
12857
9fab36eb
SP
128582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12859
12860 * malloc/arena.c: Include malloc-sysdep.h.
12861 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12862 is sufficient to shrink the heap or an unmap is needed.
12863 * sysdeps/generic/malloc-sysdep.h: New file. Define
12864 new function check_may_shrink_heap.
12865 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12866 new function check_may_shrink_heap.
12867
2b4f00d1
SP
128682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12869
12870 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12871 comments.
12872
9a9028b1
DL
128732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12874
57c69bef
DL
12875 * catgets/test-gencat.sh: Add "set -e".
12876 * elf/tst-pathopt.sh: Likewise.
12877 * grp/tst_fgetgrent.sh: Likewise.
12878 * iconvdata/run-iconv-test.sh: Likewise.
12879 * intl/tst-gettext.sh: Likewise.
12880 * intl/tst-gettext2.sh: Likewise.
12881 * intl/tst-gettext4.sh: Likewise.
12882 * intl/tst-gettext6.sh: Likewise.
12883 * intl/tst-translit.sh: Likewise.
12884 * io/ftwtest-sh: Likewise.
12885 * libio/test-freopen.sh: Likewise.
12886 * malloc/tst-mtrace.sh: Likewise.
12887 * posix/globtest.sh: Likewise.
12888 * posix/tst-getconf.sh: Likewise.
12889 * posix/wordexp-tst.sh: Likewise.
12890 * stdio-common/tst-printf.sh: Likewise.
12891 * stdio-common/tst-unbputc.sh: Likewise.
12892 * stdlib/tst-fmtmsg.sh: Likewise.
12893 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12894 * catgets/Makefile: Do not specify -e option when running
12895 testsuite shell scripts.
12896 * elf/Makefile: Likewise.
12897 * grp/Makefile: Likewise.
12898 * iconvdata/Makefile: Likewise.
12899 * intl/Makefile: Likewise.
12900 * io/Makefile: Likewise.
12901 * libio/Makefile: Likewise.
12902 * malloc/Makefile: Likewise.
12903 * posix/Makefile: Likewise.
12904 * stdio-common/Makefile: Likewise.
12905 * stdlib/Makefile: Likewise.
12906 * sysdeps/x86_64/Makefile: Likewise.
12907
9a9028b1
DL
12908 * io/ftwtest-sh: Add copyright header.
12909 * posix/globtest.sh: Likewise.
12910 * posix/tst-getconf.sh: Likewise.
12911 * posix/wordexp-tst.sh: Likewise.
12912 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12913
ced6f16e
L
129142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12915
94b32c39
L
12916 [BZ #13679]
12917 * Makeconfig (+link): Defined as $(+link-static) if
12918 $(build-shared) isn't yes.
12919 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12920 isn't yes.
12921 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12922
189e935b
L
12923 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12924
ced6f16e
L
12925 [BZ #14562]
12926 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12927 new chunk size with MALLOC_ALIGN_MASK.
12928
a9f8e53a
JM
129292012-09-24 Joseph Myers <joseph@codesourcery.com>
12930
12931 [BZ #5044]
12932 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12933 <rounding-mode.h>.
12934 (__printf_fphex): Determine rounding using get_rounding_mode and
12935 round_away.
12936 * stdio-common/tst-printf-round.c (struct hex_test): New
12937 structure.
12938 (hex_tests): New variable.
12939 (test_hex_in_one_mode): New function.
12940 (do_test): Also run tests for hex float output.
12941
43153109
JM
129422012-09-21 Joseph Myers <joseph@codesourcery.com>
12943
12944 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12945 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12946 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12947 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12948 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12949 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12950 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12951 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12952
8a26625d
JM
129532012-09-20 Joseph Myers <joseph@codesourcery.com>
12954
12955 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12956 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12957 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12958 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12959
f3fd569c
DL
129602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12961
12962 [BZ #14579]
12963 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12964 mode only.
12965 * elf/tst-rtld-load-self.sh: New test.
12966 * elf/Makefile: Run it.
12967
63bbedd4
JM
129682012-09-18 Joseph Myers <joseph@codesourcery.com>
12969
12970 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12971 (tst-writev-ENV): Remove.
12972 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12973
626f8b6a
CM
129742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12975
12976 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12977
b7aaa4d6
JM
129782012-09-17 Joseph Myers <joseph@codesourcery.com>
12979
12980 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12981 unconditional.
12982 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12983 Likewise.
12984 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12985 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12986 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12987 Likewise.
12988
65513990
L
129892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12990
12991 [BZ #14587]
12992 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12993 * config.make.in (have-cpp-asm-debuginfo): Removed.
12994 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12995 * configure: Regenerated.
12996
784761be
JM
129972012-09-14 Joseph Myers <joseph@codesourcery.com>
12998
12999 [BZ #5044]
13000 * stdio-common/printf_fp.c: Include <stdbool.h> and
13001 <rounding-mode.h>.
13002 (___printf_fp): Determine rounding using get_rounding_mode and
13003 round_away.
13004 * stdio-common/tst-printf-round.c: New file.
13005 * stdio-common/Makefile (tests): Add tst-printf-round.
13006 (link-libm): New variable.
13007 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13008
9503345f
L
130092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13010
13011 [BZ #14576]
13012 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13013 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13014 Likewise.
13015 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13016 Likewise.
13017
ad35fc00
JM
130182012-09-13 Joseph Myers <joseph@codesourcery.com>
13019
13020 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13021 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13022 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13023 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13024
6c9b0f68
JM
130252012-09-12 Joseph Myers <joseph@codesourcery.com>
13026
13027 [BZ #14518]
13028 * include/rounding-mode.h: New file.
13029 * sysdeps/generic/get-rounding-mode.h: Likewise.
13030 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13031 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13032 (MAX_VALUE): New macro.
13033 (MIN_VALUE): Likewise.
13034 (overflow_value): New function.
13035 (underflow_value): Likewise.
13036 (round_and_return): Use overflow_value and underflow_value to
13037 determine return values in overflow and underflow cases. Use
13038 round_away to determine rounding depending on rounding mode.
13039 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13040 determine return values in overflow and underflow cases.
13041 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13042 (struct test_results): New structure.
13043 (struct test): Use struct test_results to store expected results
13044 for all rounding modes.
13045 (TEST): Include expected results for all rounding modes.
13046 (test_in_one_mode): New function.
13047 (do_test): Use test_in_one_mode to compute and check results.
13048 Check results for all rounding modes.
13049 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13050 $(link-libm).
13051
19fcedd5
AM
130522012-12-09 Allan McRae <allan@archlinux.org>
13053
1e9d84cd 13054 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13055
8bbfd2f1
JM
130562012-09-11 Joseph Myers <joseph@codesourcery.com>
13057
13058 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13059 (_G_int32_t): Likewise.
13060 (_G_uint16_t): Likewise.
13061 (_G_uint32_t): Likewise.
13062 (_G_HAVE_BOOL): Likewise.
13063 (_G_HAVE_ATEXIT): Likewise.
13064 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13065 (_G_HAVE_IO_FILE_OPEN): Likewise.
13066 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13067 (_G_int32_t): Likewise.
13068 (_G_uint16_t): Likewise.
13069 (_G_uint32_t): Likewise.
13070 (_G_HAVE_BOOL): Likewise.
13071 (_G_HAVE_ATEXIT): Likewise.
13072 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13073 (_G_HAVE_IO_FILE_OPEN): Likewise.
13074 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13075 (_G_int32_t): Likewise.
13076 (_G_uint16_t): Likewise.
13077 (_G_uint32_t): Likewise.
13078 (_G_HAVE_BOOL): Likewise.
13079 (_G_HAVE_ATEXIT): Likewise.
13080 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13081 (_G_HAVE_IO_FILE_OPEN): Likewise.
13082
b1dc5912
L
130832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13084
13085 * csu/libc-tls.c: Update copyright years.
13086
0e886ef9
JM
130872012-09-10 Joseph Myers <joseph@codesourcery.com>
13088
28361c5e
JM
13089 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13090 [!_G_USING_THUNKS]: Remove conditional code.
13091 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13092 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13093
0e886ef9
JM
13094 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13095 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13096 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13097 (_G_VTABLE_LABEL_PREFIX): Likewise.
13098 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13099 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13100 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13101 (_G_VTABLE_LABEL_PREFIX): Likewise.
13102 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13103 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13104 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13105 (_G_VTABLE_LABEL_PREFIX): Likewise.
13106 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13107
bcba7aa2
L
131082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13109
13110 * libio/Makefile: Include ../Makeconfig before tests.
13111 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13112 only if $(build-shared) is yes.
13113
06585ee8
L
13114 * iconv/gconv_db.c: Update copyright years.
13115
80ccd52c
LD
131162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13117
13118 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13119 unwind info if defined PIC. Fix special cases description.
13120 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13121
13122 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13123 DP_HI_MASK entry.
13124 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13125
691bc9c1
L
131262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13127
3d9b46b3
L
13128 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13129
de2139a9
L
13130 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13131 is NULL.
13132
5ca78dd0
L
13133 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13134 (LDLIBS-tst-chk4): This.
13135 (LDFLAGS-tst-chk5): Renamed to ...
13136 (LDLIBS-tst-chk5): This.
13137 (LDFLAGS-tst-chk6): Renamed to ...
13138 (LDLIBS-tst-chk6): This.
13139 (LDFLAGS-tst-lfschk4): Renamed to ...
13140 (LDLIBS-tst-lfschk4): This.
13141 (LDFLAGS-tst-lfschk5): Renamed to ...
13142 (LDLIBS-tst-lfschk5): This.
13143 (LDFLAGS-tst-lfschk6): Renamed to ...
13144 (LDLIBS-tst-lfschk6): This.
13145
691bc9c1
L
13146 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13147 on $(common-objpfx)soversions.mk.
13148
65cafb1c
JM
131492012-09-07 Joseph Myers <joseph@codesourcery.com>
13150
13151 [BZ #10014]
13152 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13153 example host name.
13154
c78ab094
SP
131552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13156
13157 * malloc/arena.c (arena_get_retry): New function that gets
13158 another arena for the caller to try its request on.
13159 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13160 current arena cannot fulfill the request.
13161 (__libc_memalign): Likewise.
13162 (__libc_memalign): Likewise.
13163 (__libc_pvalloc): Likewise.
13164 (__libc_calloc): Likewise.
13165
01f49f59
JT
131662012-09-05 John Tobey <john.tobey@gmail.com>
13167
13168 [BZ #13542]
13169 * manual/arith.texi (Operations on Complex): Fix description
13170 of carg branch cut.
13171
4c23fed5
JM
131722012-09-06 Joseph Myers <joseph@codesourcery.com>
13173
1d3c8572
JM
13174 [BZ #10014]
13175 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13176 host name.
13177
4c23fed5
JM
13178 [BZ #10038]
13179 * manual/memory.texi (Memory): Make order of menu items match
13180 order of sections.
13181
04570aaa
L
131822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13183
13184 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13185 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13186 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13187
b80af2f4
L
131882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13189
13190 * csu/libc-tls.c (static_dtv): Renamed to ...
13191 (_dl_static_dtv): This. Make it global.
13192 (_dl_initial_dtv): Removed.
13193 (__libc_setup_tls): Updated.
13194 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13195 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13196 DL_INITIAL_DTV.
13197
2abe9f15
PM
131982012-09-06 Petr Machata <pmachata@redhat.com>
13199
13200 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13201 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13202 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13203 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13204
0948c3af
L
132052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 [BZ #14545]
13208 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13209 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13210 freeing dtv[-1].
13211
a5055ad1
L
132122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13213
13214 [BZ #14544]
13215 * Makeconfig (link-static-before-libc): Replace $(+prector)
13216 with $(+prectorT).
13217 (link-static-after-libc): Replace $(+postctor) with
13218 $(+postctorT).
13219 (link-bounded): Replace $(+prector)/$(+postctor) with
13220 $(+prectorT)/$(+postctorT).
13221 (+prectorT): New macro.
13222 (+postctorT): Likewise.
13223
ed8c2ecd
JM
132242012-09-06 Joseph Myers <joseph@codesourcery.com>
13225
13226 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13227 (round_str): Handle values above the maximum for IBM long double
13228 as inexact.
13229 * stdlib/tst-strtod-round.c (tests): Regenerated.
13230
14c996c8
AK
132312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13232
13233 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13234 assembler flag.
13235 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13236 zarch_nohighgprs around the zarch optimized routines.
13237 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13238 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13239 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13240 for zarch.
13241
430d6ce6
DM
132422012-09-05 David S. Miller <davem@davemloft.net>
13243
13244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13245
ff04dda4
DM
13246 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13247 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13248 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13249 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13250 entries.
13251
24d4e01b
AO
132522012-09-05 Alexandre Oliva <aoliva@redhat.com>
13253
13254 * malloc/arena.c: Fold copyright years.
13255 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13256
61d58174
AO
132572012-09-05 Alexandre Oliva <aoliva@redhat.com>
13258
13259 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13260
20196a5e
AO
132612012-09-05 Alexandre Oliva <aoliva@redhat.com>
13262
13263 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13264
5c447383
AO
132652012-09-05 Alexandre Oliva <aoliva@redhat.com>
13266
13267 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13268 change internal state upon failure.
13269
fad64255
AO
132702012-09-05 Alexandre Oliva <aoliva@redhat.com>
13271
13272 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13273 * malloc/memusage.c (mmap): Likewise.
13274 (mmap64, mremap): Likewise. Adjust name in comment.
13275
1ffb8c90
SP
132762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13277
13278 * libio/fileops.c: Fix typos in comments.
13279 * libio/oldfileops.c: Likewise.
13280 * libio/wfileops.c: Likewise.
13281
6ef9cc37
SP
132822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13283
13284 [BZ #1349]
13285 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13286 (tst-malloc-usable-ENV): Set environment for test case.
13287 * malloc/hooks.c (malloc_check_get_size): New function to get
13288 requested size.
13289 * malloc/malloc.c (musable): Use malloc_check_get_size.
13290 * malloc/tst-malloc-usable.c: New test case.
13291
4d038ae3
AS
132922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13293
13294 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13295
c4e85184
AM
132962012-09-05 Allan McRae <allan@archlinux.org>
13297
b9dafc56 13298 [BZ #13966]
c4e85184
AM
13299 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13300 determine header location.
13301 * configure: Regenerated.
13302
e1343020
AS
133032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13304
13305 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13306 float format.
13307 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13308 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13309 format.
e1343020
AS
13310 (test): Regenerate.
13311
0a9f1987
DM
133122012-09-04 David S. Miller <davem@davemloft.net>
13313
13314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13316 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13317
29237804
FW
133182012-09-04 Florian Weimer <fweimer@redhat.com>
13319
13320 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13321 failures.
13322
edb3cb88
FW
13323 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13324
60160d83
JM
133252012-09-04 Joseph Myers <joseph@codesourcery.com>
13326
13327 [BZ #9914]
13328 * libio/iogetdelim.c: Include <limits.h>.
13329 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13330 + len + 1 would overflow.
13331
bcd6c8dc
AJ
133322012-09-03 Andreas Jaeger <aj@suse.de>
13333
13334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13335 * sysdeps/i386/fpu/libm-test-ulps: Update.
13336
4ffffbd2
LD
133372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13338
13339 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13340 Add s_sinf-sse2, s_conf-sse2.
13341
13342 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13343 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13344 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13345 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13346
13347 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13348 for using routine as __sinf_ia32.
13349 Use macro for function declaration and weak_alias.
13350 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13351 for using routine as __cosf_ia32.
13352 Use macro for function declaration and weak_alias.
13353
13354 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13355 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13356
13357 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13358 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13360
13361 * math/libm-test.inc (cos_test): Add more test cases.
13362 (sin_test): Likewise.
13363 (sincos_test): Likewise.
13364
511fa286
AK
133652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13366
13367 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13368 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13369 hidden.
13370 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13371
5f30cfec
L
133722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 [BZ #14538]
13375 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13376 first element of the GOT.
13377 (elf_machine_load_address): Return the difference between
13378 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13379
0786794f
AM
133802012-09-01 Allan McRae <allan@archlinux.org>
13381
5f30cfec
L
13382 [BZ #13412]
13383 * configure.in (AWK): Require gawk version 3.0 or later.
13384 * configure: Regenerated.
0786794f 13385
26889eac
JM
133862012-09-01 Joseph Myers <joseph@codesourcery.com>
13387
13388 * sysdeps/unix/sysv/linux/kernel-features.h
13389 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13390 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13391 [__NR_clock_getres]: Make code unconditional.
13392 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13393 (clock_getcpuclockid): Remove code left unreachable by removal of
13394 conditionals.
13395 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13396 code unconditional.
13397 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13398 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13399 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13400 Make code unconditional.
13401 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13402 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13403 * sysdeps/unix/sysv/linux/clock_settime.c
13404 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13405 conditional code.
13406 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13407 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13408
d22e28b0
L
134092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 [BZ #14476]
13412 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13413 scripts/test-installation.pl.
13414
13415 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13416 and $ld_so_version if it is set.
13417
050af9c4
SP
134182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13419
13420 [BZ #14516]
13421 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13422 failure if reading from procfs failed.
13423 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13424
ad845c0b
JM
134252012-08-27 Joseph Myers <joseph@codesourcery.com>
13426
13427 * sysdeps/unix/sysv/linux/kernel-features.h
13428 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13429 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13430 Remove conditional code.
13431 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13432 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13433 Remove conditional code.
13434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13435 * sysdeps/unix/sysv/linux/i386/fxstat.c
13436 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13438 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13439 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13440 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13441 * sysdeps/unix/sysv/linux/i386/lxstat.c
13442 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13443 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13444 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13445 Remove conditional code.
13446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13447 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13448 Remove conditional code.
13449 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13450 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13451 <kernel-features.h>.
13452 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13453 Remove.
13454 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13455 Remove conditional code.
13456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13457 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13458 Remove conditional.
13459
5dbf56af
MF
134602012-08-27 Mike Frysinger <vapier@gentoo.org>
13461
13462 [BZ #5400]
13463 * NEWS: Add fixed bug number.
13464
d6e70f43
JM
134652012-08-27 Joseph Myers <joseph@codesourcery.com>
13466
7efb4737
JM
13467 [BZ #14519]
13468 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13469 underflowing exponent in case of negative sign.
13470 * stdlib/tst-strtod-round-data: Add more tests.
13471 * stdlib/tst-strtod-round.c (tests): Regenerated.
13472
af92131a
JM
13473 [BZ #3479]
13474 * stdlib/strtod_l.c (NDIG): Remove.
13475 (HEXNDIG): Likewise.
13476 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13477 smallest representable value.
13478 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13479 lie within an exact representation of 1/2 ulp of the result.
13480 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13481 unconditionally.
13482 (TENS_P9_IDX): Define unconditionally.
13483 (TENS_P9_SIZE): Likewise.
13484 (TENS_P10_IDX): Likewise.
13485 (TENS_P10_SIZE): Likewise.
13486 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13487 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13488 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13489 entries for 10^2^13 and 10^2^14.
13490 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13491 (TENS_P13_IDX): Define.
13492 (TENS_P13_SIZE): Likewise.
13493 (TENS_P14_IDX): Likewise.
13494 (TENS_P14_SIZE): Likewise.
13495 (_fpioconst_pow10): Change array size to
13496 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13497 unconditional.
13498 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13499 1024]: Add entries for 10^2^13 and 10^2^14.
13500 [LAST_POW10 > _LAST_POW10]: Remove #error.
13501 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13502 (_fpioconst_pow10): Change array size to
13503 FPIOCONST_POW10_ARRAY_SIZE.
13504 * stdlib/gen-fpioconst.c: New file.
13505 * stdlib/gen-tst-strtod-round.c: Likewise.
13506 * stdlib/tst-strtod-round-data: Likewise.
13507 * stdlib/tst-strtod-round.c: Likewise.
13508 * stdlib/Makefile (tests): Add tst-strtod-round.
13509
d6e70f43
JM
13510 [BZ #14459]
13511 * stdlib/strtod_l.c: Include <stdint.h>.
13512 (NDEBUG): Do not define.
13513 (round_and_return): Change EXPONENT parameter to type intmax_t.
13514 Rearrange calculations to avoid internal overflow possibilities.
13515 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13516 Rearrange calculations to avoid internal overflow possibilities.
13517 Assert that number fits inside MPNSIZE limbs.
13518 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13519 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13520 calculations and add assertions to avoid internal overflow
13521 possibilities. Add casts to avoid signed/unsigned operations.
13522 * stdlib/tst-strtod-overflow.c: New file.
13523 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13524
1f529f7d
MP
135252012-08-25 Marek Polacek <polacek@redhat.com>
13526
13527 * time/time.h: Fix some typos in comments.
13528
59a629f1
RM
135292012-08-23 Roland McGrath <roland@hack.frob.com>
13530
13531 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13532 * posix/tst-rfc3484-2.c: Likewise.
13533 * posix/tst-rfc3484-3.c: Likewise.
13534
d3bafbc9
SM
135352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13536
13537 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13538 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13539
4efcc022
JM
135402012-08-23 Joseph Myers <joseph@codesourcery.com>
13541
13542 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13543 #include of fxstatat64.c.
13544
3cc3ef96
RM
135452012-08-22 Roland McGrath <roland@hack.frob.com>
13546
f04e2132
RM
13547 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13548 * shadow/getspent_r.c: Likewise.
13549 * shadow/getspnam.c: Likewise.
13550 * shadow/getspnam_r.c: Likewise.
13551 * gshadow/getsgent.c: Likewise.
13552 * gshadow/getsgent_r.c: Likewise.
13553 * gshadow/getsgnam.c: Likewise.
13554 * gshadow/getsgnam_r.c: Likewise.
13555 * inet/getnetbyad.c: Likewise.
13556 * inet/getnetbyad_r.c: Likewise.
13557 * inet/getnetbynm.c: Likewise.
13558 * inet/getnetbynm_r.c: Likewise.
13559 * inet/getnetent.c: Likewise.
13560 * inet/getnetent_r.c: Likewise.
13561 * inet/getproto.c: Likewise.
13562 * inet/getproto_r.c: Likewise.
13563 * inet/getprtent.c: Likewise.
13564 * inet/getprtent_r.c: Likewise.
13565 * inet/getprtname.c: Likewise.
13566 * inet/getprtname_r.c: Likewise.
13567 * inet/getrpcbyname.c: Likewise.
13568 * inet/getrpcbyname_r.c: Likewise.
13569 * inet/getrpcbynumber.c: Likewise.
13570 * inet/getrpcbynumber_r.c: Likewise.
13571 * inet/getrpcent.c: Likewise.
13572 * inet/getrpcent_r.c: Likewise.
13573 * inet/getaliasent.c: Likewise.
13574 * inet/getaliasent_r.c: Likewise.
13575 * inet/getaliasname.c: Likewise.
13576 * inet/getaliasname_r.c: Likewise.
13577 * nscd/getgrgid_r.c: Likewise.
13578 * nscd/getgrnam_r.c: Likewise.
13579 * nscd/gethstbyad_r.c: Likewise.
13580 * nscd/gethstbynm3_r.c: Likewise.
13581 * nscd/getpwnam_r.c: Likewise.
13582 * nscd/getpwuid_r.c: Likewise.
13583 * nscd/getsrvbynm_r.c: Likewise.
13584 * nscd/getsrvbypt_r.c: Likewise.
13585 * nscd/gai.c: Likewise.
13586
c53d909c
RM
13587 * configure.in (build_nscd): New substituted variable, set
13588 by --disable-build-nscd and defaults to $use_nscd.
13589 * configure: Regenerated.
13590 * config.make.in (build-nscd): New substituted variable.
13591 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13592 Change conditional to require [$(build-nscd) = yes] as well.
13593 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13594
3cc3ef96
RM
13595 [BZ# 13696]
13596 * configure.in (use_nscd): New substituted variable, set by
13597 --disable-nscd. If enabled, define USE_NSCD.
13598 * configure: Regenerated.
13599 * config.h.in: Add USE_NSCD.
13600 * config.make.in (use-nscd): New substituted variable.
13601 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13602 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13603 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13604 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13605 (CFLAGS-getgrnam_r.c): Likewise.
13606 (CFLAGS-initgroups.c): Likewise.
13607 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13608 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13609 Variables removed.
13610 * inet/getnetgrent_r.c
13611 (nscd_setnetgrent): New function, broken out of ...
13612 (setnetgrent): ... here. Call it.
13613 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13614 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13615 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13616 * nscd/Makefile (routines, aux): Move definitions after include of
13617 Makeconfig. Conditionalize on [$(use-nscd) != no].
13618 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13619 Conditionalize on [USE_NSCD].
13620 (is_nscd, nscd_init_cb): Likewise.
13621 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13622 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13623 * nss/nss_db/db-init.c: Likewise.
13624 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13625 [USE_NSCD].
13626 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13627 (make_request): Use it.
13628 (cache_valid_p): New function.
13629 (__check_pf): Use it.
13630 * NEWS: Add item for --disable-nscd.
13631
07e51550
DL
136322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13633
13634 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13635 to support sed >= 4.2.1-20-ga9bf076.
13636 * configure: Regenerated.
13637
35a5b08b
RM
136382012-08-22 Roland McGrath <roland@hack.frob.com>
13639
13640 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13641 Conditionalize whole body on [IREL].
13642
8479f23a
JL
136432012-08-22 Jeff Law <law@redhat.com>
13644
13645 [BZ #14505]
13646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13647 if the family is PF_UNSPEC.
13648
48da0b21
MF
136492012-08-22 Mike Frysinger <vapier@gentoo.org>
13650
13651 * Makerules (lib-version): Rename from V.
13652 (install-lib-nosubdir): Change V to lib-version.
13653
15d0da8c
WS
136542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13655
13656 [BZ #14252]
13657 * powerpc32/power6/wcschr.c: New file.
13658 * powerpc32/power6/wcscpy.c: New file.
13659 * powerpc32/power6/wcsrchr.c: New file.
13660 * powerpc64/power6/wcschr.c: New file.
13661 * powerpc64/power6/wcscpy.c: New file.
13662 * powerpc64/power6/wcsrchr.c: New file.
13663
bcca0895
MK
136642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13665
13666 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13667 (two_way_short_needle): Use it.
5a4aaa33
RM
13668 * string/strstr.c (AVAILABLE1_USES_J): Define.
13669 * string/strcasestr.c: Likewise.
99677e57
MK
13670
13671 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13672 array references.
13673 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13674
400726de
MK
13675 [BZ #11607]
13676 * NEWS: Add an entry.
13677 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13678 define their defaults.
13679 (two_way_short_needle): Detect end-of-string on-the-fly.
13680 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13681 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13682 * string/bug-strcasestr1.c: New test.
13683 * string/Makefile: Run it.
13684
20a71f2c
MK
136852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13686
13687 [BZ #11607]
13688 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13689 the first character.
13690
21ad0558
RM
136912012-08-21 Roland McGrath <roland@hack.frob.com>
13692
13693 * csu/elf-init.c (__libc_csu_irel): Function removed.
13694 * csu/libc-start.c (apply_irel): New function.
13695 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13696
0e1d9911
JM
136972012-08-21 Joseph Myers <joseph@codesourcery.com>
13698
13699 * sysdeps/unix/sysv/linux/kernel-features.h
13700 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13701 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13702 <kernel-features.h>.
13703 [__NR_fadvise64_64]: Make code unconditional.
13704 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13705 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13706 !__NR_fadvise64_64)]: Likewise.
13707 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13708 !__NR_fadvise64_64))]: Likewise.
13709 [__NR_fadvise64]: Make code unconditional.
13710 [!__NR_fadvise64]: Remove conditional code.
13711 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13712 <kernel-features.h>.
13713 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13714 unconditional.
13715 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13716 conditional code.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13718 not include <kernel-features.h>.
13719 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13720 unconditional.
13721 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13722 conditional code.
13723 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13724 include <kernel-features.h>.
13725 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13726 unconditional.
13727 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13728 conditional code.
13729
14a50c9d
WS
137302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13731
13732 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13733 slight instruction rearrangements per scrollpipe analysis.
13734 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13735
c0f4faf0
RM
137362012-08-20 Roland McGrath <roland@hack.frob.com>
13737
696da859
RM
13738 * manual/syslog.texi (syslog; vsyslog, closelog):
13739 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13740 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13741
c0f4faf0
RM
13742 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13743 DSOCAPS to match condition on defining it.
13744
348363b2
JM
137452012-08-20 Joseph Myers <joseph@codesourcery.com>
13746
a35cbf28
JM
13747 * sysdeps/unix/sysv/linux/kernel-features.h
13748 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13750 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13751 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13753 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13754 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13756 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13757 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13758
445f7ecd
JM
13759 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13760 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13761
348363b2
JM
13762 * sysdeps/unix/sysv/linux/kernel-features.h
13763 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13764 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13765 unconditional.
13766 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13767 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13768 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13769 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13770 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13771 Make code unconditional.
13772 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13773 (__mmap64) [!__NR_mmap2]: Likewise.
13774 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13775 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13776 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13777 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13778 [__NR_mmap2]: Make code unconditional.
13779 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13780 (__mmap64) [!__NR_mmap2]: Likewise.
13781
bc5bc0e5
AK
137822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13783
13784 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13785
88d506de
AJ
137862012-08-18 Andreas Jaeger <aj@suse.de>
13787
13788 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13789
493387d2
MF
137902012-08-18 Mike Frysinger <vapier@gentoo.org>
13791
13792 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13793 * include/unistd.h (__have_sock_cloexec): Likewise.
13794 (__have_pipe2): Likewise.
13795 (__have_dup3): Likewise.
13796
a277af22
MF
137972012-08-18 Mike Frysinger <vapier@gentoo.org>
13798
13799 [BZ #9685]
13800 * include/unistd.h (__have_pipe2): Change define into an extern int.
13801 (__have_dup3): Likewise.
13802 * socket/have_sock_cloexec.c: Include fcntl.h.
13803 (__have_pipe2): New variable.
13804 (__have_dup3): Likewise.
13805
fdab8fd3
MF
138062012-08-17 Mike Frysinger <vapier@gentoo.org>
13807
13808 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13809
31035e80
MP
138102012-08-17 Marek Polacek <polacek@redhat.com>
13811
13812 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13813 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13814
3bd9e993
RM
138152012-08-17 Roland McGrath <roland@hack.frob.com>
13816
c91c505f
RM
13817 * configure.in: Add AC_SUBST for sysheaders.
13818 * configure: Regenerated.
13819 * config.make.in (sysheaders): New substituted variable.
13820
7c6f9d53
RM
13821 * sysdeps/unix/mkfifo.c: Moved ...
13822 * sysdeps/posix/mkfifo.c: ... here.
13823 * sysdeps/unix/mkfifoat.c: Moved ...
13824 * sysdeps/posix/mkfifoat.c: ... here.
13825
13826 * sysdeps/unix/utime.c: Moved ...
13827 * sysdeps/posix/utime.c: ... here.
13828
13829 * sysdeps/unix/time.c: Moved ...
13830 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13831 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13832 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13833
13834 * sysdeps/unix/nice.c: Moved ...
13835 * sysdeps/posix/nice.c: ... here.
13836
13837 * sysdeps/unix/alarm.c: Moved ...
13838 * sysdeps/posix/alarm.c: ... here.
13839
3bd9e993
RM
13840 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13841
d1f09384
JL
138422012-08-17 Jeff Law <law@redhat.com>
13843
13844 * intl/Makefile (codeset_mo): New variable.
13845 ($(codeset_mo)): New target.
13846 (tst-codeset.out): Depend on that. Remove explicit rule.
13847 (tst-gettext3.out, tst-gettext5.out): Likewise.
13848 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13849 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13850 * intl/tst-codeset.sh: Remove.
13851 * intl/tst-gettext3.sh: Likewise.
13852 * intl/tst-gettext5.sh: Likewise.
13853
2ae1ae5c
RM
138542012-08-17 Roland McGrath <roland@hack.frob.com>
13855
c31fdb83
RM
13856 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13857 * sysdeps/unix/syscalls.list: ... here.
13858
a0844057
RM
13859 * sysdeps/posix/getaddrinfo.c
13860 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13861 (gaiconf_init, gaiconf_reload): Use them.
13862 [!_STATBUF_ST_NSEC]
13863 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13864 Define using time_t rather than struct timespec.
13865
750c1f2a
RM
13866 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13867 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13868 Macros removed.
13869 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13870 [!NO_THREADS].
13871 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13872 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13873 Likewise.
13874
2ae1ae5c
RM
13875 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13876 __libc_cleanup_push argument.
13877
e66a42f5
RM
13878 * bits/param.h: New file.
13879 * misc/sys/param.h: New file.
13880 * include/sys/param.h: New file.
13881 * misc/Makefile (headers): Add bits/param.h.
13882 * sysdeps/generic/sys/param.h: File removed.
13883 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13884 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13885 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13886 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13887
b7c08a66
RM
13888 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13889 last change.
13890
b2e1c562
RM
13891 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13892 [_IO_MTSAFE_IO].
13893 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13894 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13895 New macros.
13896
c75ccd4c
RM
13897 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13898 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13899 rather than -D_IO_MTSAFE_IO conditionally.
13900 * stdio-common/Makefile (CPPFLAGS): Likewise.
13901 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13902 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13903 Use $(libio-mtsafe).
13904 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13905 of -D_IO_MTSAFE_IO.
13906 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13907 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13908 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13909 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13910 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13911 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13912 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13913 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13914 (CFLAGS-fread_u_chk.c): Likewise.
13915 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13916 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13917 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13918 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13919 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13920 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13921 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13922 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13923 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13924
13925 * libio/Makefile: Test [$(libc-reentrant) = yes]
13926 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13927
13928 * Makeconfig
13929 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13930 * sysdeps/pthread/configure: File removed.
13931 * sysdeps/pthread/Makeconfig: New file.
13932 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13933 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13934
d9195db8
GB
139352012-08-16 Gary Benson <gbenson@redhat.com>
13936
13937 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13938 unmapping the first object in a namespace.
13939
86466cd9
RM
139402012-08-16 Roland McGrath <roland@hack.frob.com>
13941
13942 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13943 (__internal_setnetgrent): ... this. Add internal_function to
13944 definition. Add libc_hidden_def.
13945 (setnetgrent): Update caller.
13946 (internal_endnetgrent): Renamed to ...
13947 (__internal_endnetgrent): ... this. Add internal_function to
13948 definition. Add libc_hidden_def.
13949 (endnetgrent): Update caller.
13950 (internal_getnetgrent_r): Renamed to ...
13951 (__internal_getnetgrent_r): ... this. Add internal_function to
13952 definition. Add libc_hidden_def.
13953 (__getnetgrent_r): Update caller.
13954 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13955
c3c8283c
JM
139562012-08-16 Joseph Myers <joseph@codesourcery.com>
13957
13958 * stdlib/longlong.h: Update from GCC.
13959
db1ee0a8
RM
139602012-08-16 Roland McGrath <roland@hack.frob.com>
13961
13962 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13963 on _QL, which is set by umul_ppmm but never used.
13964 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13965 variables, which are set by GMP macros but never used.
13966 * stdio-common/_itowa.c (_itowa): Likewise.
13967 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13968 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13969
30f69637
CD
139702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13971
13972 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13973 struct La_sh_regs is not constant.
13974 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13975 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13976 and struct La_sparc64_regs are not constant.
13977
93a78ac4
JM
139782012-08-16 Joseph Myers <joseph@codesourcery.com>
13979
13980 * sysdeps/unix/sysv/linux/kernel-features.h
13981 (__ASSUME_POSIX_TIMERS): Remove.
13982 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13983 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13984 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13985 Make code unconditional.
13986 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13987 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13988 Make code unconditional.
13989 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13990 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13991 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13992 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13993 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13994 Make code unconditional.
13995 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13996 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13997 (__libc_missing_posix_timers): Remove.
13998
dd924cd7
RM
139992012-08-15 Roland McGrath <roland@hack.frob.com>
14000
4b4f2771
RM
14001 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14002 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14003
601c888b
RM
14004 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14005
176790a7
RM
14006 * elf/dl-sym.c: Include <stdlib.h>.
14007
329bc018
RM
14008 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14009 constants, which avoids warnings in 32-bit builds.
14010
e04e272d
RM
14011 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14012 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14013
952bf94a
RM
14014 * misc/lseek.c: File moved to ...
14015 * io/lseek.c: ... here.
14016
7c99b50a
RM
14017 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14018
dd924cd7
RM
14019 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14020 shifting LEN more than 31 bits at once.
14021
b3f479a8
LD
140222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14023
14024 [BZ #14195]
8c4ae0d4
RM
14025 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14026 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14027 * string/test-strncasecmp.c (check1): Renamed to...
14028 (bz12205): ...this.
14029 (bz14195): Add new testcase for two empty input strings and N > 0.
14030 (test_main): Call new testcase, adapt for renamed function.
14031
9c55864e
AJ
140322012-08-15 Andreas Jaeger <aj@suse.de>
14033
14034 [BZ #14090]
14035 * crypt/md5test2.c: New test, based on test supplied by Serge
14036 Belyshev <belyshev@depni.sinp.msu.ru>.
14037 * crypt/Makefile (xtests): Add md5test-giant..
14038 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14039
02dcb6c5
PE
140402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14041
14042 [BZ #14090]
14043 * crypt/md5.c (md5_process_block): Don't assume the buffer
14044 length is less than 2**32.
14045 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14046 length is less than 2**64.
14047
a3f95dcc
RM
140482012-08-15 Roland McGrath <roland@hack.frob.com>
14049
be75d758
RM
14050 * string/str-two-way.h: Include <sys/param.h>.
14051 (MAX): Macro removed.
14052
7312ca90
RM
14053 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14054 Move #define and #undef of memmove to just before and after
14055 including <string.h>.
14056
9a0a5486
RM
14057 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14058 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14059 and after including <string.h>. Move declarations of
14060 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14061 to before #include "string/memmove.c".
14062
67cc348d
RM
14063 * include/dirent.h: Declare __getdirentries.
14064
a3f95dcc
RM
14065 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14066 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14067
ca98e171
MF
140682012-08-14 Mike Frysinger <vapier@gentoo.org>
14069
14070 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14071 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14072 * sysdeps/i386/configure: Regenerated.
14073 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14074 STABS_CURRENT_FILE, and STABS_FUN.
14075 (END): Remove call to STABS_FUN_END.
14076 (STABS_CURRENT_FILE1): Delete.
14077 (STABS_CURRENT_FILE): Likewise.
14078 (STABS_FUN): Likewise.
14079 (STABS_FUN_END): Likewise.
14080 (STABS_FUN2): Likewise.
14081 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14082 * sysdeps/x86_64/configure: Regenerated.
14083
5908bf46
RM
140842012-08-14 Roland McGrath <roland@hack.frob.com>
14085
14086 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14087 * elf/dl-lookup.c: Likewise.
5908bf46 14088
f2c05b9e
JM
140892012-08-14 Joseph Myers <joseph@codesourcery.com>
14090
14091 * sysdeps/unix/sysv/linux/kernel-features.h
14092 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14093 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14094 unconditionally.
14095 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14096 unconditionally.
14097 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14098 condition on __ASSUME_CLONE_THREAD_FLAGS.
14099
e11f5155
AJ
141002012-08-14 Andreas Jaeger <aj@suse.de>
14101
14102 * sysdeps/i386/fpu/libm-test-ulps: Update.
14103
51a9ba86
MK
141042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14105
2fdd4f78
AJ
14106 * include/atomic.h (atomic_exchange_and_add): Split into ...
14107 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14108 New atomic macros.
51a9ba86 14109
ba6cba9e
MT
141102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14111
14112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14113
42443a47
JL
141142012-08-13 Jeff Law <law@redhat.com>
14115
14116 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14117 null byte in the output string.
14118
121dce05
JM
141192012-08-10 Joseph Myers <joseph@codesourcery.com>
14120
14121 * sysdeps/unix/sysv/linux/kernel-features.h
14122 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14123 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14124 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14125 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14126 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14127 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14128 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14129
bf51f568
JL
141302012-08-09 Jeff Law <law@redhat.com>
14131
14132 [BZ #13939]
14133 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14134 When avoid_arena is set, don't retry in the that arena. Pick the
14135 next one, whatever it might be.
14136 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14137 (arena_lock): Pass in new parameter to arena_get2.
14138 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14139 arena_get2.
14140 (__libc_malloc): Unify retrying after main arena failure with
14141 __libc_memalign version.
14142 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14143
f85fa270
L
141442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14145
14146 [BZ #14166]
14147 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14148 to __redirect_strstr.
14149 (__strstr_sse42): Use typeof __redirect_strstr.
14150 (__strstr_ia32): Likewise.
14151 (__libc_strstr): New prototype.
14152 (strstr): Renamed to ...
14153 (__libc_strstr): This.
14154 (strstr): New strong alias of __libc_strstr.
14155 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14156 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14157 __redirect_time.
14158 Include <time.h>.
14159 (__libc_time): New prototype.
14160 (time_ifunc): Replace time with __libc_time.
14161 (time): New strong alias and hidden definition of __libc_time.
14162 (__GI_time): Remove strong alias.
14163 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14164 Include <stddef.h>.
14165 (memmove): Redefined to __redirect_memmove.
14166 (__memmove_sse2): Use typeof __redirect_memmove.
14167 (__memmove_ssse3): Likewise.
14168 (__memmove_ssse3_back): Likewise.
14169 (__libc_memmove): New prototype.
14170 (memmove): Renamed to ...
14171 (__libc_memmove): This.
14172 (memmove): New strong alias of __libc_memmove.
14173
33b4a91e
MS
141742012-08-08 Mark Salter <msalter@redhat.com>
14175
14176 * elf/elf.h
14177 (R_MN10300_TLS_GD): Define.
14178 (R_MN10300_TLS_LD): Likewise.
14179 (R_MN10300_TLS_LDO): Likewise.
14180 (R_MN10300_TLS_GOTIE): Likewise.
14181 (R_MN10300_TLS_IE): Likewise.
14182 (R_MN10300_TLS_LE): Likewise.
14183 (R_MN10300_TLS_DTPMOD): Likewise.
14184 (R_MN10300_TLS_DTPOFF): Likewise.
14185 (R_MN10300_TLS_TPOFF): Likewise.
14186 (R_MN10300_SYM_DIFF): Likewise.
14187 (R_MN10300_ALIGN): Likewise.
14188 (R_MN10300_NUM): Update.
14189
b36137f1
JM
141902012-08-08 Joseph Myers <joseph@codesourcery.com>
14191
14192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14193 Remove.
14194
cdd915fd
RM
141952012-08-08 Roland McGrath <roland@hack.frob.com>
14196
a2433aac
RM
14197 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14198
cdd915fd
RM
14199 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14200 sysdeps/unix -> sysdeps/posix move.
14201 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14202
bf9b740a
AM
142032012-08-07 Allan McRae <allan@archlinux.org>
14204
14205 [BZ #14303]
14206 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14207 (SUNOS_CPP): Likewise.
14208 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14209 not found.
14210 (open_input): Call CPP using execvp.
14211
93df14ee
JM
142122012-08-07 Joseph Myers <joseph@codesourcery.com>
14213
14214 * sysdeps/unix/sysv/linux/kernel-features.h
14215 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14216 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14217 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14218 (__ASSUME_WAITID_SYSCALL): Likewise.
14219 * sysdeps/unix/sysv/linux/dl-execstack.c
14220 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14221 code unconditional.
14222 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14223 conditional code.
14224 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14225 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14226 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14227 code.
14228 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14229 unconditional.
14230 [__ASSUME_WAITID_SYSCALL]: Likewise.
14231 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14232
d34689de
RM
142332012-08-07 Roland McGrath <roland@hack.frob.com>
14234
a281decc
RM
14235 * sysdeps/unix/closedir.c: Renamed to ...
14236 * sysdeps/posix/closedir.c: ... here.
14237 * sysdeps/unix/dirfd.c: Renamed to ...
14238 * sysdeps/posix/dirfd.c: ... here.
14239 * sysdeps/unix/dirstream.h: Renamed to ...
14240 * sysdeps/posix/dirstream.h: ... here.
14241 * sysdeps/unix/fdopendir.c: Renamed to ...
14242 * sysdeps/posix/fdopendir.c: ... here.
14243 * sysdeps/unix/opendir.c: Renamed to ...
14244 * sysdeps/posix/opendir.c: ... here.
14245 * sysdeps/unix/readdir.c: Renamed to ...
14246 * sysdeps/posix/readdir.c: ... here.
14247 * sysdeps/unix/readdir_r.c: Renamed to ...
14248 * sysdeps/posix/readdir_r.c: ... here.
14249 * sysdeps/unix/rewinddir.c: Renamed to ...
14250 * sysdeps/posix/rewinddir.c: ... here.
14251 * sysdeps/unix/seekdir.c: Renamed to ...
14252 * sysdeps/posix/seekdir.c: ... here.
14253 * sysdeps/unix/telldir.c: Renamed to ...
14254 * sysdeps/posix/telldir.c: ... here.
14255 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14256 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14257 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14258 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14259
22895b47
RM
14260 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14261 * bits/fcntl.h: ... here.
14262
707a53b6
RM
14263 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14264 not 0.
14265 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14266 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14267 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14268 (struct flock): Move l_start, l_len to the beginning.
14269 Use __pid_t for l_pid.
14270 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14271 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14272 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14273 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14274 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14275 [__USE_LARGEFILE64] (struct flock64): New type.
14276 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14277
f0bd3e25
RM
14278 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14279 * bits/dirent.h: ... here.
14280
d34689de
RM
14281 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14282 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14283
6dad2c06
JM
142842012-08-07 Joseph Myers <joseph@codesourcery.com>
14285
14286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14287 Change from 2.6.0 to 2.6.16.
14288 * sysdeps/unix/sysv/linux/configure: Regenerated.
14289 * sysdeps/unix/sysv/linux/kernel-features.h
14290 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14291 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14292 version.
14293 (__ASSUME_UTIMES): Likewise.
14294 (__ASSUME_CLONE_STOPPED): Remove.
14295 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14296 architectures, not kernel version.
14297 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14298 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14299 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14300 (__ASSUME_WAITID_SYSCALL): Likewise.
14301 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14302 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14303 * README: State 2.6.16 as minimum Linux kernel version. Do not
14304 refer to older versions.
14305
03af9520
RM
143062012-08-06 Roland McGrath <roland@hack.frob.com>
14307
8e49df1d
RM
14308 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14309 Define alphasort64 as an alias.
14310 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14311 Define versionsort64 as an alias.
14312 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14313 Define scandir64 as an alias.
14314 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14315 Define scandirat64 as an alias.
14316 * dirent/alphasort64.c (alphasort64):
14317 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14318 * dirent/versionsort64.c: Likewise.
14319 * dirent/scandir64.c: Likewise.
14320 * dirent/scandirat64.c: Likewise.
14321 * sysdeps/wordsize-64/alphasort.c: File removed.
14322 * sysdeps/wordsize-64/alphasort64.c: File removed.
14323 * sysdeps/wordsize-64/scandir.c: File removed.
14324 * sysdeps/wordsize-64/scandir64.c: File removed.
14325 * sysdeps/wordsize-64/scandirat.c: File removed.
14326 * sysdeps/wordsize-64/scandirat64.c: File removed.
14327 * sysdeps/wordsize-64/versionsort.c: File removed.
14328 * sysdeps/wordsize-64/versionsort64.c: File removed.
14329 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14330 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14331 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14332 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14333 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14334 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14335 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14336 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14337
14338 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14340 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14342 [defined __arch64__ || defined __sparcv9]
14343 (__INO_T_MATCHES_INO64_T): New macro.
14344 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14345 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14346 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14347 * sysdeps/unix/sysv/linux/bits/dirent.h
14348 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14349 (_DIRENT_MATCHES_DIRENT64): New macro.
14350
03af9520
RM
14351 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14352 Define lockf64 as an alias.
14353 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14354 Define fseeko64 as an alias.
14355 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14356 Define ftello64 as an alias.
14357 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14358 Define _IO_fgetpos64 and fgetpos64 as aliases.
14359 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14360 Define _IO_fsetpos64 and fsetpos64 as aliases.
14361 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14362 Conditionalize body on this.
14363 * libio/fseeko64.c: Likewise.
14364 * libio/ftello64.c: Likewise.
14365 * libio/iofgetpos64.c: Likewise.
14366 * libio/iofsetpos64.c: Likewise.
14367 * sysdeps/wordsize-64/lockf.c: File removed.
14368 * sysdeps/wordsize-64/lockf64.c: File removed.
14369 * sysdeps/wordsize-64/fseeko.c: File removed.
14370 * sysdeps/wordsize-64/fseeko64.c: File removed.
14371 * sysdeps/wordsize-64/ftello.c: File removed.
14372 * sysdeps/wordsize-64/ftello64.c: File removed.
14373 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14374 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14375 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14376 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14377 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14378 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14379 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14380 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14381 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14382 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14383 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14384 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14386 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14387
14388 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14389 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14390 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14391 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14392 [defined __arch64__ || defined __sparcv9]
14393 (__OFF_T_MATCHES_OFF64_T): New macro.
14394 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14395 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14397 (__OFF_T_MATCHES_OFF64_T): New macro.
14398
c5757acd
L
143992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14400
14401 * stdlib/secure-getenv.c (__secure_getenv): Replace
14402 GLIBC_2_16 with GLIBC_2_17.
14403
3a31811e
L
144042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14405
14406 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14407 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14408
faa2bccb
DM
144092012-08-03 David S. Miller <davem@davemloft.net>
14410
14411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14412
85fe1997
JM
144132012-08-03 Joseph Myers <joseph@codesourcery.com>
14414
14415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14416 Remove.
14417 (__ASSUME_CORRECT_SI_PID): Likewise.
14418 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14419 (__ASSUME_TMPFS_NAME): Likewise.
14420 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14421 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14422 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14423 (HAVE_AUX_SECURE): Make definition unconditional.
14424 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14425 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14426
4f75b7a0
RM
144272012-08-03 Roland McGrath <roland@hack.frob.com>
14428
14429 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14430 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14431 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14432 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14433 __eloop_threshold instead of SYMLOOP_MAX.
14434
14435 * sysdeps/generic/eloop-threshold.h: New file.
14436 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14437 of MAXSYMLINKS.
14438 * elf/chroot_canon.c (chroot_canon): Likewise.
14439
7aab07e4
JM
144402012-08-03 Joseph Myers <joseph@codesourcery.com>
14441
14442 [BZ #13717]
14443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14444 Change to 2.6.0 everywhere.
14445 * sysdeps/unix/sysv/linux/configure: Regenerated.
14446 * sysdeps/unix/sysv/linux/kernel-features.h
14447 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14448 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14449 kernel versions.
14450 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14451 (__ASSUME_FUTEX_REQUEUE): Remove.
14452 (__ASSUME_STATFS64): Define unconditionally.
14453 (__ASSUME_AT_SECURE): Likewise.
14454 (__ASSUME_CORRECT_SI_PID): Likewise.
14455 (__ASSUME_TGKILL): Define without depending on kernel version for
14456 i386.
14457 (__ASSUME_UTIMES): Likewise.
14458 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14459 kernel version.
14460 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14461 (__ASSUME_TMPFS_NAME): Likewise.
14462 * README: Update reference to Linux kernel versions.
14463
b67e9372
MP
144642012-08-02 Marek Polacek <polacek@redhat.com>
14465
1f529f7d 14466 [BZ# 14150]
b67e9372
MP
14467 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14468 libc_cv_asm_type_prefix with %.
14469 * configure: Regenerated.
d2441631
RM
14470 * include/libc-symbols.h: Remove comment about
14471 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14472 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14473 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14474 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14475 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14476 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14477 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14478 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14479 * elf/tst-unique2mod1.c: Likewise.
14480 * elf/tst-unique1mod2.c: Likewise.
14481 * elf/tst-unique1mod1.c: Likewise.
14482 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14483 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14484 Replace ASM_TYPE_DIRECTIVE with .type.
14485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14486 * sysdeps/i386/sysdep.h: Likewise.
14487 * sysdeps/x86_64/sysdep.h: Likewise.
14488 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14490 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14491 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14492 * sysdeps/powerpc/powerpc32/sysdep.h:
14493 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14494 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14495 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14496 * sysdeps/i386/fpu/e_powf.S: Likewise.
14497 * sysdeps/i386/fpu/e_expl.S: Likewise.
14498 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14499 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14500 * sysdeps/i386/fpu/e_pow.S: Likewise.
14501 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14502 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14503 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14504 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14505 * sysdeps/i386/fpu/e_log2.S: Likewise.
14506 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14507 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14508 * sysdeps/i386/fpu/e_powl.S: Likewise.
14509 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14510 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14511 * sysdeps/i386/fpu/e_logl.S: Likewise.
14512 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14513 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14514 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14515 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14516 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14517 * sysdeps/i386/fpu/e_log.S: Likewise.
14518 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14519 * sysdeps/i386/fpu/e_logf.S: Likewise.
14520 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14521 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14522 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14523 * sysdeps/i386/fpu/e_log10.S: Likewise.
14524 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14526 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14527 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14528 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14529 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14530 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14531 * sysdeps/i386/i686/strtok.S: Likewise.
14532 * sysdeps/i386/i386-mcount.S: Likewise.
14533 * sysdeps/i386/strtok.S: Likewise.
14534 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14535 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14536 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14537 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14538 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14539 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14540 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14541 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14542 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14543 * sysdeps/x86_64/_mcount.S: Likewise.
14544 * sysdeps/x86_64/strtok.S: Likewise.
14545 * sysdeps/sh/_mcount.S: Likewise.
14546
2747bf9a
RM
145472012-08-01 Roland McGrath <roland@hack.frob.com>
14548
14549 * libio/iofopen.c: Include <fcntl.h>.
14550 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14551 (_IO_fopen64, fopen64): Define as aliases.
14552 * libio/iofopen64.c: Include <fcntl.h>.
14553 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14554 Conditionalize body on this.
14555 * sysdeps/wordsize-64/iofopen.c: File removed.
14556 * sysdeps/wordsize-64/iofopen64.c: File removed.
14557
3fb791b8
MP
145582012-08-01 Marek Polacek <polacek@redhat.com>
14559
14560 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14561 Use dlfcn directly instead of a variable.
14562 (binfmt-subdir): Do not define.
14563 (dlfcn): Likewise.
14564
a9f1039f
JM
145652012-08-01 Joseph Myers <joseph@codesourcery.com>
14566
23bddc06
JM
14567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14568 Remove all definitions.
14569 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14570 <kernel-features.h>.
14571 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14572 (miss_F_GETOWN_EX): Remove all definitions.
14573 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14574 macro definition.
14575 [!__ASSUME_FCNTL64]: Remove conditional code.
14576 [__ASSUME_FCNTL64]: Make code unconditional.
14577 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14578 <kernel-features.h>.
14579 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14580 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14581 (lockf64) [__NR_fcntl64]: Make code unconditional.
14582 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14583
a9f1039f
JM
14584 * sysdeps/unix/sysv/linux/kernel-features.h
14585 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14586 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14587 Make code unconditional.
14588 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14589 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14591 [__NR_vfork]: Make code unconditional.
14592 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14593 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14595 [__NR_vfork]: Make code unconditional.
14596 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14597 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14598
09c0ee5f
RM
145992012-08-01 Roland McGrath <roland@hack.frob.com>
14600
48aec5b9
RM
14601 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14602 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14603
cd97c966
RM
14604 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14605 Define mkstemp64 as an alias.
3f55550c
RM
14606 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14607 Define mkstemps64 as an alias.
cd97c966
RM
14608 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14609 Define mkostemp64 as an alias.
b8625cfc
RM
14610 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14611 Define mkostemps64 as an alias.
cd97c966
RM
14612 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14613 Conditionalize body on this.
14614 * misc/mkostemp64.c: Likewise.
b8625cfc 14615 * misc/mkostemps64.c: Likewise.
3f55550c 14616 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14617 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14618 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14619 * sysdeps/wordsize-64/mkostemp.c: File removed.
14620 * sysdeps/wordsize-64/mkstemp.c: File removed.
14621 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14622 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14624 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14625
09c0ee5f
RM
14626 [BZ #14138]
14627 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14628 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14629 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14630 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14631
14632 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14633 compat_symbol macros from <shlib-compat.h> rather than the underlying
14634 default_symbol_version and symbol_version macros, so that DEFAULT
14635 lines in shlib-versions are respected.
14636 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14637
7e66ee51
FW
146382012-08-01 Florian Weimer <fweimer@redhat.com>
14639
14640 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14641 Declare with warn_unused_result.
14642 (setgid, setregid, setegid, setresgid): Likewise.
14643 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14644 Likewise.
14645 * WUR-REPORT: Remove set*id functions.
14646
d2a54255
PT
146472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14648
14649 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14650
7ecdb005
RM
146512012-07-31 Roland McGrath <roland@hack.frob.com>
14652
b4180a5e 14653 [BZ #10191]
789bd351
RM
14654 * include/sys/socket.h (__libc_accept, __libc_accept4):
14655 Add attribute_hidden.
14656 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14657
40ce302d
RM
14658 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14659 use of PTR_MANGLE.
14660 * inet/getnetgrent_r.c (setup): Likewise.
14661
7ecdb005
RM
14662 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14663
e2eabb2c
DM
146642012-07-31 David S. Miller <davem@davemloft.net>
14665
14666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14667
d0419dbf
JM
146682012-07-31 Joseph Myers <joseph@codesourcery.com>
14669
14670 [BZ #13629]
14671 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14672 value between 1.0 and 2.0 and smaller part has absolute value less
14673 than 1.0.
14674 * math/s_clog10.c (__clog10): Likewise.
14675 * math/s_clog10f.c (__clog10f): Likewise.
14676 * math/s_clog10l.c (__clog10l): Likewise.
14677 * math/s_clogf.c (__clogf): Likewise.
14678 * math/s_clogl.c (__clogl): Likewise.
14679 * math/libm-test.inc (clog_test): Add more tests.
14680 (clog10_test): Likewise.
14681 * sysdeps/i386/fpu/libm-test-ulps: Update.
14682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14683
2bc13872
FW
146842012-07-31 Florian Weimer <fweimer@redhat.com>
14685
14686 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14687 Exit with zero in case no suitable GID is found, and write a
14688 message to standard error.
14689
bea9b193
RM
146902012-07-30 Roland McGrath <roland@hack.frob.com>
14691
14692 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14693 rather than to 1.
14694 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14695 (MAXPATHLEN): Removed.
14696 (NOGROUP, NODEV): New macros.
14697 (setbit, clrbit, isset, isclr): New macros.
14698 (howmany, roundup, powerof2): New macros.
14699 (DEV_BSIZE): New macro.
14700
14701 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14702 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14703
14704 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14705 definition on [!__NO_LONG_DOUBLE_MATH].
14706
14707 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14708 PTR_MANGLE and PTR_DEMANGLE.
14709
14710 * socket/accept4.c (accept4): Rename to __libc_accept4.
14711 Define accept4 as a weak alias.
14712
14713 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14714 on [_DIRENT_HAVE_D_TYPE].
14715 * io/ftw.c (ftw_dir): Likewise.
14716
14717 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14718
14719 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14720
14721 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14722 Use the BSD numbers rather than the arbitrary ones we had.
14723 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14724 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14725 (SIGXCPU, SIGXFSZ): New macros.
14726 (_NSIG): Now 32.
14727
14728 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14729 initializer on [_LIBC_REENTRANT].
14730
14731 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14732 definitions inside [_POSIX_MAPPED_FILES].
14733
14734 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14735
14736 * dirent/opendir.c: Include <fcntl.h>.
14737
14738 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14739 (__libc_getspecific): Likewise.
14740 (__libc_key_create): Likewise.
14741
14742 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14743 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14744 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14745 (tmpfile64): Define as alias.
14746 * sysdeps/wordsize-64/tmpfile.c: File removed.
14747 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14748 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14749 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14750
14751 * stdio-common/vfscanf.c: Include <stdbool.h>.
14752 * nss/makedb.c: Likewise.
14753 * stdio-common/_i18n_number.h: Likewise.
14754 * argp/argp-help.c: Likewise.
14755 * posix/wordexp.c: Likewise.
14756 * sysdeps/posix/spawni.c: Likewise.
14757 * nss/nss_files/files-initgroups.c: Likewise.
14758 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14759 * nss/nss_files/files-initgroups.c: Likewise.
14760 * nss/nss_db/db-netgrp.c: Likewise.
14761 * nss/nss_db/db-initgroups.c: Likewise.
14762 * io/fchmodat.c: Include <sys/stat.h>.
14763
14764 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14765 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14766
14767 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14768 [HAVE_MMAP].
14769
14770 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14771 Add multiple inclusion protection.
14772
e5abc686
DM
147732012-07-27 David S. Miller <davem@davemloft.net>
14774
14775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14776
815e6fa3
GB
147772012-07-27 Gary Benson <gbenson@redhat.com>
14778
14779 [BZ #14298]
14780 * elf/rtld.c: Include <stap-probe.h>.
14781 (dl_main): Added static probes "init_start" and "init_complete".
14782 * elf/dl-load.c: Include <stap-probe.h>.
14783 (lose): Take new parameter "nsid".
14784 Added static probe "map_failed".
14785 (_dl_map_object_from_fd): Pass namespace id to lose.
14786 Added static probe "map_start".
14787 (open_verify): Pass namespace id to lose.
14788 * elf/dl-open.c: Include <stap-probe.h>.
14789 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14790 and "reloc_complete".
14791 * elf/dl-close.c: Include <stap-probe.h>.
14792 (_dl_close_worker): Added static probes "unmap_start" and
14793 "unmap_complete".
14794 * elf/rtld-debugger-interface.txt: New file documenting the above.
14795
9f98c16c
RM
147962012-07-26 Roland McGrath <roland@hack.frob.com>
14797
14798 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14799 rather than a string variable.
14800 * sunrpc/rpc_main.c (h_output): Likewise.
14801 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14802
f3c22df3
PT
148032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14804
14805 * inet/check_native.c: New file.
14806
3129cfc6
JM
148072012-07-26 Joseph Myers <joseph@codesourcery.com>
14808
da865e95
JM
14809 [BZ #13629]
14810 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14811 if larger part has absolute value 1.0.
14812 * math/s_clog10.c (__clog10): Likewise.
14813 * math/s_clog10f.c (__clog10f): Likewise.
14814 * math/s_clog10l.c (__clog10l): Likewise.
14815 * math/s_clogf.c (__clogf): Likewise.
14816 * math/s_clogl.c (__clogl): Likewise.
14817 * math/libm-test.inc (clog_test): Add more tests.
14818 (clog10_test): Likewise.
14819 * sysdeps/i386/fpu/libm-test-ulps: Update.
14820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14821
3129cfc6
JM
14822 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14823 (pltexit): Likewise.
14824 (La_regs): Likewise.
14825 (La_retval): Likewise.
14826 (int_retval): Likewise.
14827 Update #error for removed macros to refer only to definitions in
14828 tst-audit.h.
14829 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14830 macro.
14831 (pltexit): Likewise.
14832 (La_regs): Likewise.
14833 (La_retval): Likewise.
14834 (int_retval): Likewise.
14835 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14836 macro.
14837 (pltexit): Likewise.
14838 (La_regs): Likewise.
14839 (La_retval): Likewise.
14840 (int_retval): Likewise.
14841 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14842 macro.
14843 (pltexit): Likewise.
14844 (La_regs): Likewise.
14845 (La_retval): Likewise.
14846 (int_retval): Likewise.
14847 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14848 macro.
14849 (pltexit): Likewise.
14850 (La_regs): Likewise.
14851 (La_retval): Likewise.
14852 (int_retval): Likewise.
14853 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14854 macro.
14855 (pltexit): Likewise.
14856 (La_regs): Likewise.
14857 (La_retval): Likewise.
14858 (int_retval): Likewise.
14859 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14860 macro.
14861 (pltexit): Likewise.
14862 (La_regs): Likewise.
14863 (La_retval): Likewise.
14864 (int_retval): Likewise.
14865 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14866 macro definitions in tst-audit.h.
14867 * sysdeps/i386/tst-audit.h: New file.
14868 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14869 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14870 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14871 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14872 * sysdeps/sh/tst-audit.h: Likewise.
14873 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14874 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14875 * sysdeps/x86_64/tst-audit.h: Likewise.
14876
bfc07087
AJ
148772012-07-26 Andreas Jaeger <aj@suse.de>
14878
b1b2aaf8
AJ
14879 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14880 ptrace.
14881
14882 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14883 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14884 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14885 PTRACE_O_MASK.
14886 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14887 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14888 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14889
bfc07087
AJ
14890 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14891 value.
14892
14893 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14894 _sigsys.
14895 (si_call_addr, si_syscall, si_arch): Define new macro.
14896 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14897 _sigsys.
14898 (si_call_addr, si_syscall, si_arch): Define new marcro.
14899 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14900 _sigsys.
14901 (si_call_addr, si_syscall, si_arch): Define new macro.
14902 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14903 _sigsys.
14904 (si_call_addr, si_syscall, si_arch): Define new macro.
14905
89b4b02f
JM
149062012-07-25 Joseph Myers <joseph@codesourcery.com>
14907
14908 [BZ #13717]
14909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14910 Change to 2.4.21 where previously 2.4.1.
14911 * sysdeps/unix/sysv/linux/configure: Regenerated.
14912 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14913 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14914 Linux kernel version.
14915 (__ASSUME_STD_AUXV): Remove.
14916 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14917 kernel version.
14918 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14919 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14920 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14921 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14922 (__ASSUME_NETLINK_SUPPORT): Likewise.
14923 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14924 (__no_netlink_support): Remove conditional definition.
14925 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14926 Remove.
14927 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14928 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14929 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14930 (if_nameindex_ioctl): Remove.
14931 (if_nameindex_netlink): Do not handle __no_netlink_support.
14932 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14933 code.
14934 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14935 Remove conditional code.
14936 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14937 code.
14938 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14939 unconditional.
14940 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14941 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14942 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14943 Remove.
14944 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14945 [!__ASSUME_STD_AUXV]: Remove conditional code.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14947 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14948 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14950 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14951 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14952 code.
14953 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14955 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14956 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14957 conditional code.
14958 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14960 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14961 code.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14963 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14964 conditional code.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14966 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14967 code unconditional.
14968 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14969 conditional code.
14970 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14971 unconditional.
14972 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14973 conditional code.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14975 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14976 unconditional.
14977 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14978 conditional code.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14980 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14981 code unconditional.
14982 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14983 conditional code.
14984 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14985 unconditional.
14986 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14987 conditional code.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14989 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14990 code unconditional.
14991 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14992 conditional code.
14993 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14994 unconditional.
14995 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14996 conditional code.
14997
842a39cd
AS
149982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14999
15000 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15001 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15002 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15003 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15004 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15005 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15006 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15007 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15008 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15009 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15010 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15011 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15012 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15013 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15014 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15015 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15016 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15018 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15020 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15021 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15023
84b3fd84
FW
150242012-07-25 Florian Weimer <fweimer@redhat.com>
15025
15026 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15027 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15028 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15029 Introduce __libc_secure_getenv.
0c7936d5
FW
15030 * stdlib/Versions (2.17): Add secure_getenv
15031 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15032 * stdlib/secure-getenv.c: Rename __secure_getenv to
15033 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15034 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15035 * stdlib/tst-secure-getenv.c: New.
15036 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15037 * manual/startup.texi (Environment Access): Document
15038 secure_getenv.
84b3fd84
FW
15039 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15040 __libc_secure_getenv.
15041 * inet/ruserpass.c (ruserpass): Likewise.
15042 * malloc/mtrace.c (mtrace): Likewise.
15043 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15044 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15045 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15046 * sysdeps/posix/tempname.c: Likewise. Evaluate
15047 HAVE_SECURE_GETENV.
15048 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15049 __secure_getenv to __libc_secure_getenv.
84b3fd84 15050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15052 Likewise.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15054 Likewise.
15055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15062
56e49b71
JM
150632012-07-25 Joseph Myers <joseph@codesourcery.com>
15064
15065 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15066 (struct La_i86_retval): Likewise.
15067 (struct La_x86_64_regs): Likewise.
15068 (struct La_x86_64_retval): Likewise.
15069 (struct La_x32_regs): Likewise.
15070 (struct La_x32_retval): Likewise.
15071 (struct La_ppc32_regs): Likewise.
15072 (struct La_ppc32_retval): Likewise.
15073 (struct La_ppc64_regs): Likewise.
15074 (struct La_ppc64_retval): Likewise.
15075 (struct La_sh_regs): Likewise.
15076 (struct La_sh_retval): Likewise.
15077 (struct La_s390_32_regs): Likewise.
15078 (struct La_s390_32_retval): Likewise.
15079 (struct La_s390_64_regs): Likewise.
15080 (struct La_s390_64_retval): Likewise.
15081 (struct La_sparc32_regs): Likewise.
15082 (struct La_sparc32_retval): Likewise.
15083 (struct La_sparc64_regs): Likewise.
15084 (struct La_sparc64_retval): Likewise.
15085 (struct audit_ifaces): Remove architecture-specific pltenter and
15086 pltexit members.
15087 * sysdeps/i386/ldsodefs.h: New file.
15088 * sysdeps/powerpc/ldsodefs.h: Likewise.
15089 * sysdeps/s390/ldsodefs.h: Likewise.
15090 * sysdeps/sh/ldsodefs.h: Likewise.
15091 * sysdeps/sparc/ldsodefs.h: Likewise.
15092 * sysdeps/x86_64/ldsodefs.h: Likewise.
15093
354691b7
MP
150942012-07-25 Marek Polacek <polacek@redhat.com>
15095
15096 [BZ #6808]
15097 * math/libm-test.inc (yn_test): Add another test.
15098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15099 to ERANGE when the result is +-Inf.
15100 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15101 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15102 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15103 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15104
bf9e2071
JM
151052012-07-24 Joseph Myers <joseph@codesourcery.com>
15106
15107 * conform/data/time.h-data (NULL): Use macro-constant. Require
15108 equal to 0.
15109 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15110 clock_t.
15111 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15112
57633811
TS
151132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15114
15115 * configure.in <sysdeps resolving>: Correct printing
15116 Implies_before.
15117 * configure: Regenerate.
15118
c23c33b0
TS
151192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15120
15121 * math/w_ilogb.c: Include <limits.h>.
15122 * math/w_ilogbl.c: Likewise.
15123
b5982523
JM
151242012-07-20 Joseph Myers <joseph@codesourcery.com>
15125
15126 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15127 va_copy. Document allowing for unavailable va_copy only as
15128 pre-C99 compatibility.
15129 * manual/string.texi (Copying and Concatenation): Use va_copy
15130 instead of __va_copy in concat example.
15131
ac4ea442
PT
151322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15133
15134 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15135 (__sendto): Use create_address_port. Initialize APORT and deallocate
15136 it if not null.
15137
f98eafbd
PT
15138 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15139 with O_NOLINK passed to __file_name_lookup.
15140
898c7aab
PT
15141 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15142 with O_NOLINK passed to __file_name_lookup.
15143
0ced335a
PT
15144 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15145 negative N or less than NGIDS.
15146
b3404dbd
PT
15147 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15148 type to string_t. Set ERANGE as errno and return it if NAME is not big
15149 enough. Use memcpy instead of strncpy.
15150
0f48659e
JM
151512012-07-20 Joseph Myers <joseph@codesourcery.com>
15152
15153 * elf/Makefile (check-data): Remove.
15154 (localplt.data): New vpath directive.
15155 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15156 instead of $(check-data).
15157 * scripts/data/localplt-generic.data: Move to ...
15158 * sysdeps/generic/localplt.data: ... here.
15159 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15160 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15161 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15163 ... here.
15164 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15166 ... here.
15167 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15169 ... here.
15170 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15172 ... here.
15173 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15175 ... here.
15176 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15178 ... here.
15179
d37cbdaa
AZ
151802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15181
15182 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15183 PPC32 and PPC64 files.
15184 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15185 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15186
46f85fc2
AK
151872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15188
15189 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15190 __makecontext_ret to ...
15191 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15192 ... here and call exit if uc_link is NULL. New file.
15193 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15194 __makecontext_ret.S.
15195 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15196 __makecontext_ret to ...
15197 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15198 ... here and call exit if uc_link is NULL. New file.
15199 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15200 __makecontext_ret.S.
15201
08f43f9b
AK
152022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15203
15204 * elf/elf.h (R_390_IRELATIVE): New definition.
15205 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15206 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15207 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15208 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15209 (elf_machine_lazy_rel): Likewise.
15210 * sysdeps/s390/dl-irel.h: New file.
15211 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15212 * sysdeps/s390/s390-64/memset.S: New asm code.
15213 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15214 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15215 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15216 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15217 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15218 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15220 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15221 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15222 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15223 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15224 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15225 * sysdeps/s390/s390-32/memset.S: New asm code.
15226 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15227
3b05db33
MP
152282012-07-17 Marek Polacek <polacek@redhat.com>
15229
15230 [BZ #14349]
15231 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15232 * sysdeps/s390/s390-64/configure.in: Likewise.
15233 * sysdeps/sparc/configure.in: Likewise.
15234 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15235 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15236 * sysdeps/i386/configure.in: Likewise.
15237 * sysdeps/x86_64/configure.in: Likewise.
15238 * sysdeps/sh/configure.in: Likewise.
15239 * sysdeps/s390/s390-32/configure: Regenerated.
15240 * sysdeps/s390/s390-64/configure: Likewise.
15241 * sysdeps/x86_64/configure: Likewise.
15242 * sysdeps/sh/configure: Likewise.
15243 * sysdeps/powerpc/powerpc64/configure: Likewise.
15244 * sysdeps/powerpc/powerpc32/configure: Likewise.
15245 * sysdeps/sparc/configure: Likwise.
15246 * sysdeps/i386/configure: Likewise.
15247
a66877c6
MP
15248 * elf/dl-open.c: Comment fixes.
15249
cfc82fd8
JM
152502012-07-17 Joseph Myers <joseph@codesourcery.com>
15251
bd29910a
JM
15252 * Makefile [CXX] (check-data): Remove.
15253 [CXX] (c++-types.data): New vpath directive.
15254 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15255 vpath. Do not allow for C++ type data being missing.
15256 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15257 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15258 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15259 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15260 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15261 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15262 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15264 ... here.
15265 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15267 ... here.
15268 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15270 ... here.
15271 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15273 ... here.
15274 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15276 ... here.
15277 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15279 ... here.
15280 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15282 ... here.
15283 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15285
cfc82fd8
JM
15286 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15287 definitions to architecture-specific files.
15288 (TLS_IE): Likewise.
15289 (TLS_LD): Likewise.
15290 (TLS_GD): Likewise.
15291 * sysdeps/i386/tls-macros.h: New file.
15292 * sysdeps/powerpc/tls-macros.h: Likewise.
15293 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15294 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15295 * sysdeps/sh/tls-macros.h: Likewise.
15296 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15297 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15298 * sysdeps/x86_64/tls-macros.h: Likewise.
15299
f7db3170
TS
153002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15301
07cbfc23
TS
15302 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15303 zero value for regular exit case.
15304
f7db3170
TS
15305 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15306 (__start_context): Preserve zero value for regular exit case.
15307
dc97c227
TS
153082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15309 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15310
15311 * manual/setjmp.texi (setcontext): Clarify normal process
15312 termination when uc_link is the null pointer.
15313 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15314 exit call.
15315
d0cd7d02
AS
153162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15317
15318 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15319 preprocessor. Test for each exception mask separately.
15320
dd318934
AJ
153212012-07-16 Andreas Jaeger <aj@suse.de>
15322
15323 * po/ru.po: Update from translation team.
15324
8048311a
JM
153252012-07-15 Joseph Myers <joseph@codesourcery.com>
15326
15327 * conform/data/string.h-data (NULL): Use macro-constant. Require
15328 equal to 0.
15329 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15330 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15331 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15332 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15334
b637d46e
AJ
153352012-07-13 Andreas Jaeger <aj@suse.de>
15336
15337 * po/fr.po: Update from translation team.
15338
541428fe
MP
153392012-07-12 Marek Polacek <polacek@redhat.com>
15340
15341 [BZ #14173]
15342 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15343 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15344 loop condition.
15345
ec332e94
JM
153462012-07-12 Joseph Myers <joseph@codesourcery.com>
15347
15348 [BZ #13717]
15349 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15350 Change to 2.4.1 where previously 2.4.0.
15351 * sysdeps/unix/sysv/linux/configure: Regenerated.
15352 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15353 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15354 version.
15355 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15356 (__ASSUME_AT_CLKTCK): Remove.
15357 (__ASSUME_AT_PAGESIZE): Likewise.
15358 (__ASSUME_AT_XID): Likewise.
15359 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15360 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15361 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15362 unconditionally.
15363 (HAVE_AUX_PAGESIZE): Likewise.
15364 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15365 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15366 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15367
7b6e99be
JB
153682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15369
15370 [BZ #14307]
15371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15372 the temporary buffer used to invoke __gethostbyname2_r,
15373 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15374 host_data / struct gaih_addrtuple.
15375 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15376 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15377 header file nss/nsswitch.h.
15378 * nss/nsswitch.h (global scope): Add definition of implementation
15379 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15380 resolv/nss_dns/dns-host.c).
15381
608404eb
AJ
153822012-07-11 Andreas Jaeger <aj@suse.de>
15383
15384 * po/fr.po: Update from translation team.
15385
71220aca
AJ
15386 * po/sv.po: Update from translation team
15387 * po/fr.po: Another update from translation team.
15388
28cfe843
AZ
153892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15390
15391 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15392 for subnormals or multiply small sinh result by itself.
15393 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15395
6b90f981
DM
153962012-07-11 David S. Miller <davem@davemloft.net>
15397
15398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15399
c6825772
AS
154002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15401
15402 [BZ #14347]
15403 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15404 (INTERNAL_MARK): Shift it here.
15405
7b8e0d49
MP
154062012-07-10 Marek Polacek <polacek@redhat.com>
15407
15408 [BZ #14151]
15409 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15410 libc_cv_asm_global_directive with .globl.
15411 * configure: Regenerated.
15412 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15413 with .globl.
15414 * sysdeps/i386/configure: Regenerated.
15415 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15416 with .globl.
15417 * sysdeps/x86_64/configure: Regenerated.
15418 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15419 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15420 * elf/tst-unique2mod2.c: Likewise.
15421 * elf/tst-unique2mod1.c: Likewise.
15422 * elf/tst-unique1mod2.c: Likewise.
15423 * elf/tst-unique1mod1.c: Likewise.
15424 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15425 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15426 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15427 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15428 * sysdeps/mach/sysdep.h: Likewise.
15429 * sysdeps/i386/sysdep.h: Likewise.
15430 * sysdeps/i386/i386-mcount.S: Likewise.
15431 * sysdeps/x86_64/_mcount.S: Likewise.
15432 * sysdeps/x86_64/sysdep.h: Likewise.
15433 * sysdeps/sh/_mcount.S: Likewise.
15434 * sysdeps/sh/sysdep.h: Likewise.
15435 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15436 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15437 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15439 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15440 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15441 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15442 * locale/localeinfo.h: Likewise.
15443 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15444 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15445
6c55cda3
RM
154462012-07-09 Roland McGrath <roland@hack.frob.com>
15447
15448 [BZ #14336]
15449 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15450 system".
15451 * manual/message.texi (The Uniforum approach): Likewise.
15452 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15453 (glibc iconv Implementation): Likewise.
15454
638a572e
JM
154552012-07-09 Joseph Myers <joseph@codesourcery.com>
15456
15457 [BZ #14337]
15458 * math/s_clog.c (__clog): Avoid scaling a value down where that
15459 could result in underflow.
15460 * math/s_clog10.c (__clog10): Likewise.
15461 * math/s_clog10f.c (__clog10f): Likewise.
15462 * math/s_clog10l.c (__clog10l): Likewise.
15463 * math/s_clogf.c (__clogf): Likewise.
15464 * math/s_clogl.c (__clogl): Likewise.
15465 * math/libm-test.inc (clog_test): Add more tests.
15466 (clog10_test): Likewise.
15467 * sysdeps/i386/fpu/libm-test-ulps: Update.
15468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15469
261f4859
AS
154702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15471
0abaf3e4
AS
15472 [BZ #14283]
15473 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15474 by 7 not 8 to examine high bit of fractional part.
15475
261f4859
AS
15476 [BZ #14042]
15477 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15478 for call to __mcount_internal.
15479 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15480 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15481 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15482
f17ac40d
JM
154832012-07-06 Joseph Myers <joseph@codesourcery.com>
15484
9ad63c23
JM
15485 [BZ #14154]
15486 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15487 approximation for values within 0x1p-13f of an odd multiple of
15488 pi/4.
15489 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15490 exception. Add more tests.
15491 * sysdeps/i386/fpu/libm-test-ulps: Update.
15492
f17ac40d
JM
15493 [BZ #6778]
15494 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15495 inputs and return -1 for them. Do not check for +Inf in case not
15496 reachable for +Inf.
15497 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15498 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15499 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15500 and return -1 for them. Do not check for +Inf in case not
15501 reachable for +Inf.
15502 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15503 define.
15504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15505 and return -1 for them. Do not check for +Inf in case not
15506 reachable for +Inf.
15507 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15508 spurious underflow.
15509 * sysdeps/i386/fpu/libm-test-ulps: Update.
15510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15511
fb21f89b
MF
155122012-07-06 Mike Frysinger <vapier@gentoo.org>
15513
15514 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15515
cdfe2c5e
JM
155162012-07-05 Joseph Myers <joseph@codesourcery.com>
15517
15518 [BZ #14157]
15519 [BZ #14331]
15520 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15521 could result in spurious underflow. Scale down values above
15522 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15523 * math/s_csqrtf.c (__csqrtf): Likewise.
15524 * math/s_csqrtl.c (__csqrtl): Likewise.
15525 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15526 spurious underflow.
15527 * sysdeps/i386/fpu/libm-test-ulps: Update.
15528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15529
70d35b67
AS
155302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15531
704bc459
AS
15532 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15533 xopen-msg.sed.
15534 * catgets/xopen-msg.awk: New file.
15535 * catgets/xopen-msg.sed: Removed.
15536
70d35b67
AS
15537 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15538 po2text.sed.
15539 * intl/po2test.awk: New file.
15540 * intl/po2test.sed: Removed.
15541
ca61cf32
JM
155422012-07-04 Joseph Myers <joseph@codesourcery.com>
15543
15544 [BZ #14328]
15545 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15546 or multiply small sinh result by itself.
15547 * math/s_ctanf.c (__ctanf): Likewise.
15548 * math/s_ctanh.c (__ctanh): Likewise.
15549 * math/s_ctanhf.c (__ctanhf): Likewise.
15550 * math/s_ctanhl.c (__ctanhl): Likewise.
15551 * math/s_ctanl.c (__ctanl): Likewise.
15552 * math/libm-test.inc (ctan_test_tonearest): New function.
15553 (ctan_test_towardzero): Likewise.
15554 (ctan_test_downward): Likewise.
15555 (ctan_test_upward): Likewise.
15556 (ctanh_test_tonearest): Likewise.
15557 (ctanh_test_towardzero): Likewise.
15558 (ctanh_test_downward): Likewise.
15559 (ctanh_test_upward): Likewise.
15560 (main): Call these new functions.
15561 * sysdeps/i386/fpu/libm-test-ulps: Update.
15562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15563
ca48a46a
MF
155642012-07-03 Mike Frysinger <vapier@gentoo.org>
15565
15566 * .gitignore: Delete /ports entry.
15567
9d63d37d
AJ
155682012-07-03 Andreas Jaeger <aj@suse.de>
15569
15570 * po/bg.po: Update from translation team.
15571 * po/cs.po: Likewise.
15572 * po/de.po: Likewise.
15573 * po/hr.po: Likewise.
15574 * po/nl.pl: Likewise.
15575 * po/pl.po: Likewise.
15576 * po/vi.po: Likewise.
15577
370ca3d2
JM
155782012-07-03 Joseph Myers <joseph@codesourcery.com>
15579
95f5a9a8
JM
15580 * Makeconfig [!+link] (+link-before-libc): New variable.
15581 [!+link] (+link-after-libc): Likewise.
15582 [!+link] (+link-tests): Likewise.
15583 [!+link] (+link): Define in terms of $(+link-before-libc) and
15584 $(+link-after-libc).
15585 [!+link-static] (+link-static-before-libc): New variable.
15586 [!+link-static] (+link-static-after-libc): Likewise.
15587 [!+link-static] (+link-static-tests): Likewise.
15588 [!+link-static] (+link-static): Define in terms of
15589 $(+link-static-before-libc) and $(+link-static-after-libc).
15590 [build-shared] (link-libc-before-gnulib): New variable.
15591 [build-shared] (link-libc-tests): Likewise.
15592 [build-shared] (link-libc): Define in terms of
15593 $(link-libc-before-gnulib).
15594 [!build-shared] (link-libc-tests): New variable.
15595 (link-libc-static-tests): New variable.
15596 [!gnulib] (gnulib-arch): New variable.
15597 [!gnulib] (gnulib-tests): Likewise.
15598 [!gnulib] (static-gnulib-arch): Likewise.
15599 [!gnulib] (static-gnulib-tests): Likewise.
15600 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15601 Define with "=" instead of ":=".
15602 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15603 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15604 * Rules (binaries-all-notests): New variable.
15605 (binaries-all-tests): Likewise.
15606 (binaries-static-notests): Likewise.
15607 (binaries-static-tests): Likewise.
15608 (binaries-all): Define using $(binaries-all-notests) and
15609 $(binaries-all-tests).
15610 (binaries-static): Define using $(binaries-static-notests) and
15611 $(binaries-static-tests).
15612 (binaries-shared-tests): New variable.
15613 (binaries-shared-notests): Likewise.
15614 (binaries-shared): Remove variable.
15615 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15616 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15617 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15618 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15619 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15620 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15621 * elf/Makefile (sln-modules): New variable.
15622 (extra-objs): Add $(sln-modules:=.o).
15623 (ldconfig-modules): Add static-stubs.
15624 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15625 * elf/static-stubs.c: New file.
15626
7a845b2c
JM
15627 [BZ #14283]
15628 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15629 by 7 not 8 to examine high bit of fractional part. Use volatile
15630 variables when splitting into final array of floats if
15631 __FLT_EVAL_METHOD__ != 0.
15632 * math/libm-test.inc (cos_test): Add another test.
15633 (sin_test): Likewise.
15634 * sysdeps/i386/fpu/libm-test-ulps: Update.
15635
e2283f38
JM
15636 [BZ #14273]
15637 * math/libm-test.inc (cosh_test): Add more tests.
15638
370ca3d2
JM
15639 * version.h (RELEASE): Set to "development".
15640 (VERSION): Set to "2.16.90".
15641
ee9247c3
CD
156422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15643
15644 * NEWS: Update copyright. Remove last-updated date.
15645 Mention math library bug fixes and timezone data changes.
15646 * README: Mention GNU/Hurd, x32, and HPPA support status.
15647
4648c381
TS
156482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15649
15650 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15651
aac78a43
AJ
156522012-06-27 Andreas Jaeger <aj@suse.de>
15653
15654 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15655
ed3dbfad
AJ
156562012-06-25 Andreas Jaeger <aj@suse.de>
15657
15658 * sysdeps/s390/fpu/libm-test-ulps: Update.
15659
4d0ee855
AS
156602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15661 Thomas Schwinge <thomas@codesourcery.com>
15662
15663 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15664 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15666 fanotify_mark.
15667
af1bce34
TS
156682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15669
a9fa33ba
TS
15670 * sysdeps/mach/start.c: Remove file.
15671 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15672 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15673 * sysdeps/sh/init-first.c: Likewise.
15674
58f902b8
TS
15675 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15676 registers for frame unwinding purposes, add CFI directives.
15677 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15678 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15679 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15680 Likewise.
15681
1518f58b
TS
15682 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15683 __fortify_fail returning.
15684 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15685
db9b5059
TS
15686 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15687 sysdeps/sh/____longjmp_chk.S.
15688 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15689 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15690 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15691 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15692
967705fe
TS
15693 * sysdeps/sh/abort-instr.h: New file.
15694 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15695 process in case exit returns.
15696
a9def8c4
TS
15697 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15698 initialize the GOT register before use.
15699
2a649725
TS
15700 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15701 calculation of ARGC > 4.
15702
af1bce34
TS
15703 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15704 meaningful names to some local labels.
15705
d230f50a
KK
157062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15707 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15708
15709 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15710 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15711 (__arch_compare_and_exchange_val_16_acq): Likewise.
15712 (__arch_compare_and_exchange_val_32_acq): Likewise.
15713 (atomic_exchange_and_add): Fix gUSA sequence.
15714 (atomic_add): Likewise.
15715 (atomic_add_negative): Likewise.
15716 (atomic_add_zero): Likewise.
15717 (atomic_bit_test_set): Likewise.
15718
0479b305
AS
157192012-06-22 Andreas Schwab <schwab@redhat.com>
15720
15721 [BZ #13579]
15722 * include/link.h (struct link_map): Add l_free_initfini.
15723 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15724 l_initfini.
15725 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15726 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15727 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15728 set.
15729
0e3933b9
CD
157302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15731
15732 * configure.in: Use AC_LANG_SOURCE.
15733 * configure: Regenerate.
15734
4248b1b1
RM
157352012-06-22 Roland McGrath <roland@hack.frob.com>
15736
15737 * configure.in (libc_cv_localstatedir): New substituted variable.
15738 * configure: Regenerated.
15739 * config.make.in (localstatedir): New variable, substituted from
15740 libc_cv_localstatedir.
15741 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15742 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15743 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15744 * sysdeps/gnu/configure: Regenerated.
15745
006dd861
JL
157462012-06-21 Jeff Law <law@redhat.com>
15747
15748 [BZ #14277]
15749 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15750 free. Simplify list management for _LIBC case.
15751
79662d42
JM
157522012-06-21 Joseph Myers <joseph@codesourcery.com>
15753
b7abb4bf
JM
15754 [BZ #14273]
15755 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15756 Clear sign bit of 64-bit integer value before comparing against
15757 overflow value.
15758
79662d42
JM
15759 * sysdeps/mach/configure: Regenerated.
15760
1f150908
L
157612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15762
15763 [BZ #14278]
15764 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15765
28363bbf
JL
157662012-06-21 Jeff Law <law@redhat.com>
15767
15768 [BZ #13882]
15769 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15770 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15771 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15772 * elf/dl-open.c (dl_open_worker): Likewise.
15773
09615db4
CD
157742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15775
15776 * scripts/list-sources.sh: Scan PORTS for translations.
15777 * po/libc.pot: Regenerated.
15778
2174c6dd
AJ
157792012-06-21 Andreas Jaeger <aj@suse.de>
15780
15781 [BZ #12194]
15782 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15783 warning.
15784 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15785 * bits/byteswap-16.h (__bswap_16): Likewise.
15786 * bits/byteswap.h (__bswap_constant_16): Likewise.
15787
3ee947b1
L
157882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15789
15790 [BZ #14117]
a2f34833
L
15791 * sysdeps/i386/fpu_control.h: Removed.
15792 * sysdeps/x86_64/fpu_control.h: Moved to ...
15793 * sysdeps/x86/fpu_control.h: Here.
15794
3ee947b1
L
15795 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15796 (_FPU_SETCW): Likewise.
15797
ed1825f8
L
157982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15799
25f1282a
L
15800 [BZ #14117]
15801 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15802 * sysdeps/x86/fpu/bits/mathinline.h: This.
15803 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15804
ed1825f8
L
15805 [BZ #14050]
15806 [BZ #14117]
15807 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15808 functions if __x86_64__ is defined.
15809
36d54b74
CLT
158102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15811
15812 * string/endian.h: Add !__ASSEMBLER__ condition for including
15813 conversion interfaces.
15814
10285c21
JM
158152012-06-15 Joseph Myers <joseph@codesourcery.com>
15816
15817 [BZ #14241]
15818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15819 of ABS(x) in calculating zero to negative powers other than odd
15820 integers.
15821 * math/libm-test.inc (pow_test): Add more tests.
15822
06c5abbd
AJ
158232012-06-15 Andreas Jaeger <aj@suse.de>
15824
15825 * manual/contrib.texi (Contributors): Update entry of Liubov
15826 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15827 Machado Filho.
15828
a3aeac40
CH
158292012-06-15 Cyril Hrubis <metan@ucw.cz>
15830
15831 * string/string.h: Add __wur to GNU version of strerror_r.
15832
49bdf4c1
L
158332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15834
15835 [BZ #14229]
15836 * string/Makefile (tests): Add tst-strtok_r.
15837 * string/tst-strtok_r.c: New file.
15838 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15839 RAX_LP/RDX_LP on SAVE_PTR.
15840
834f9b8d
RM
158412012-06-14 Roland McGrath <roland@hack.frob.com>
15842
15843 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15844
75fa1921
JM
158452012-06-14 Joseph Myers <joseph@codesourcery.com>
15846
15847 * libm_test.inc (csqrt_test): Allow more spurious underflow
15848 exceptions.
15849 (j0_test): Likewise.
15850 (j1_test): Likewise.
15851 (y0_test): Likewise.
15852 (y1_test): Likewise.
15853
771766df
CD
158542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15855
15856 * po/Makefile (libc.pot): Use UTF-8 charset.
15857
ceb9e56b
PP
158582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15859
15860 [BZ #14210]
15861 Suppress sign-conversion warning from FD_SET.
15862 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15863 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15864 not unsigned long int.
15865 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15866
ddb28975
L
158672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15868
15869 [BZ #14050]
15870 [BZ #14117]
15871 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15872 __extern_always_inline instead of __extern_inline.
15873 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15874 (__signbit): Likewise.
15875 (__signbitl): Support C++ namespace.
15876 (lrintf): New inline function.
15877 (lrint): Likewise.
15878 (llrintf): Likewise.
15879 (llrint): Likewise.
15880 (fmaxf): Likewise.
15881 (fmax): Likewise.
15882 (fminf): Likewise.
15883 (fmin): Likewise.
15884 (rint): Likewise.
15885 (rintf): Likewise.
15886 (ceil): Likewise.
15887 (ceilf): Likewise.
15888 (floor): Likewise.
15889 (floorf): Likewise.
15890 (nearbyint): Likewise.
15891 (nearbyintf): Likewise.
15892
d7b4fb26
TS
158932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15894
15895 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15896 non-default versions.
15897
eb55f5c2
RM
158982012-06-11 Roland McGrath <roland@hack.frob.com>
15899
15900 [BZ #14218]
15901 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15902
366af02c
TS
159032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15904
99ff6e5c
TS
15905 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15906 (FE_UPWARD, FE_DOWNWARD): Don't define.
15907 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15908 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15909
366af02c
TS
15910 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15911 reading it.
15912 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15913 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15914
793ea851
KK
159152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15916
15917 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15919 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15920 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15921
a728a38f
L
159222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 [BZ #14117]
c08010c7
L
15925 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15926 * sysdeps/i386/fpu/Implies: New file.
15927 * sysdeps/x86_64/fpu/Implies: Likewise.
15928 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15929 * sysdeps/x86/fpu/bits/fenv.h: This.
15930
a728a38f
L
15931 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15932 __SSE_MATH__.
15933
6e230d11
SP
159342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15935
15936 [BZ #14134]
15937 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15938 character 0xffff that matches the last element of the
15939 conversion table.
15940
1b671feb
AZ
159412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15942
15943 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15944 fmodl commit.
15945
6043738b
AZ
159462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15947
15948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15949 values higher than 25.6283.
15950
34ae0b32
AZ
159512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15952
15953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15954 subnormal exponent extraction and add some __builtin_expect.
15955 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15956 Fix for subnormal mantissa calculation.
15957
1214ec8f
MF
159582012-06-04 Mike Frysinger <vapier@gentoo.org>
15959
15960 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15961 cpu2 is -1 and errno is not ENOSYS.
15962
f3d1f93c
L
159632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15964
15965 [BZ #14117]
0e4a3cd7
L
15966 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15967 * sysdeps/x86/bits/string.h: This.
15968 * sysdeps/x86_64/bits/string.h: Removed.
15969
6704c645
L
15970 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15971 if not compiling for x86-64, but compiling for >= i486.
15972
48495318
L
15973 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15974 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15975
14adcbfc
L
15976 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15977 New macro from Linux kernel 3.4.0.
15978 (FP_XSTATE_MAGIC2): Likewise.
15979 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15980 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15981 (struct _fpx_sw_bytes): New struct.
15982 (struct _xsave_hdr): Likewise.
15983 (struct _ymmh_state): Likewise.
15984 (struct _xstate): Likewise.
15985
68e408ab
L
15986 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15987 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15988 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15989 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15990 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15991 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15992
f3d1f93c
L
15993 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15994 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15995 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15996 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15997 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15998 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15999
d9dc34cd
TMQMF
160002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16001
16002 [BZ #13743]
16003 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16004 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16005 (sysdep_headers): Include sys/platform/ppc.h.
16006 * sysdeps/powerpc/test-gettimebase.c: Test for
16007 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16008 * manual/Makefile (appendices): Include platform.texi.
16009 * manual/contrib.texi (Contributors): Update @node pointers.
16010 * manual/maint.texi (Maintenance): Likewise.
16011 (Platform): New node.
16012 * manual/platform.texi: New file. Document the new features.
16013
4af3879c
SP
160142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16015 Jakub Jelinek <jakub@redhat.com>
16016
16017 [BZ #14188]
16018 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16019 where __builtin_expect is unavailable.
16020
2fd6ff13
DM
160212012-06-03 David S. Miller <davem@davemloft.net>
16022
16023 * stdlib/longlong.h: Updated from GCC.
16024
173f7220
AS
160252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16026
16027 [BZ #14042]
16028 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16029 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16030 __mcount_internal.
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16032 (GLIBC_2.16): Likewise.
16033
f34a1c6f
L
160342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16035
16036 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16037
88a4576f
JM
160382012-06-01 Joseph Myers <joseph@codesourcery.com>
16039
ea32bcdd
JM
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16041 (default-abi): New variable.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16043 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16044 variable.
16045 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16046 Likewise.
16047 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16048 Likewise.
16049 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16050 Likewise.
16051
88a4576f
JM
16052 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16053 definition. Document in comment.
16054
402fe938
DM
160552012-06-01 David S. Miller <davem@davemloft.net>
16056
16057 * stdlib/longlong.h: Updated from GCC.
16058
3553723f
L
160592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16060
16061 [BZ #14117]
3bd872c4
L
16062 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16063 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16064 sys/debugreg.h sys/io.h here.
16065 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16066 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16067 sys/io.h.
16068 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16069 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16070 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16071 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16072 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16073 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16074
3553723f
L
16075 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16076 Define only if __x86_64__ is defined.
16077
4842e4fe
JM
160782012-06-01 Joseph Myers <joseph@codesourcery.com>
16079
c5bfe3d5
JM
16080 [BZ #14048]
16081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16082 Use int64_t for variable i.
16083 * math/libm-test.inc (fmod_test): Add more tests.
16084
4842e4fe
JM
16085 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16086 z computation is not scheduled after fetestexcept.
16087 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16088 Use math_force_eval instead of asm to ensure calculation scheduled
16089 before exception test.
16090 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16091 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16092
efb73488
AJ
160932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16094
16095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16096 computation is not scheduled after fetestexcept.
16097
29bcce7c
L
160982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16099
16100 [BZ #14117]
16101 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16102 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16103
73a68f94
AZ
161042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16105
16106 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16107 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16108
67b6df78
L
161092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16110
edf2933a 16111 [BZ #14117]
ebc64a18
L
16112 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16113 <bits/wordsize.h>.
16114 (__WCHAR_MIN): Support __WORDSIZE == 64.
16115 (__WCHAR_MAX): Likewise.
16116
edf2933a
L
16117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16118 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16119
57c6cf40
L
16120 [BZ #14183]
16121 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16122 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16123
67b6df78 16124 [BZ #14117]
8eb6281e
L
16125 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16126 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16127
aac639f4
L
16128 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16129 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16130
67b6df78
L
16131 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16132 Defined to 1 if __x86_64__ isn't defined.
16133 (_STAT_VER_LINUX_OLD): New.
16134 (st_atime): Remove duplicate.
16135 (st_mtime): Likewise.
16136 (st_ctime): Likewise.
16137
1c2cfe81
DM
161382012-05-31 David S. Miller <davem@davemloft.net>
16139
16140 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16141 entries.
16142
5be8418c
AS
161432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16144
e7725326
AS
16145 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16146 gen-libm-test.pl.
16147
5be8418c
AS
16148 [BZ #14132]
16149 * elf/dl-reloc.c: Include <_itoa.h>.
16150 (_dl_reloc_bad_type): Remove use of INTUSE.
16151 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16152 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16153 * stdio-common/psiginfo.c (psiginfo): Likewise.
16154 * stdio-common/psignal.c (psignal): Likewise.
16155 * string/strsignal.c (strsignal): Likewise.
16156 * include/signal.h (_sys_siglist): Declare hidden proto.
16157 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16158 INTVARDEF with libc_hidden_data_def.
16159 * stdio-common/itoa-udigits.c: Likewise.
16160 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16161 (_itoa_lower_digits_internal): Remove declaration.
16162 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16163 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16164 (_sys_sigabbrev_internal): Remove aliases.
16165 (_sys_siglist): Define hidden alias.
16166
507352f1
MT
161672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16168
16169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16170 bits/sysctl.h.
16171
42bbb1c3
L
161722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16173
16174 [BZ #14117]
6bd784b6
L
16175 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16176 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16177
8bca20f0
L
16178 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16179 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16180 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16181 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16183 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16184
f9e890a9
L
16185 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16186 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16187 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16188
471101a1
L
16189 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16190 with __addr.
16191 (insw): Likewise.
16192 (insl): Likewise.
16193 (outsb): Likewise.
16194 (outsw): Likewise.
16195 (outsl): Likewise.
16196
6451c862
L
16197 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16198 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16199 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16200
a254b8c9
L
16201 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16202 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16203 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16204 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16205 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16206 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16207
b8dfdd92
L
16208 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16209 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16210
578cd270
L
16211 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16212 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16213
de662f5f
L
16214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16217
25653439
L
16218 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16219 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16220 to ...
16221 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16222
6bad24a0
L
16223 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16224 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16225 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16226
42bbb1c3
L
16227 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16228 for x86-64.
16229 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16230
2d10d547
JM
162312012-05-31 Joseph Myers <joseph@codesourcery.com>
16232
16233 * math/math.h (M_El): Use two more decimal places.
16234 (M_LOG2El): Likewise.
16235 (M_LOG10El): Likewise.
16236 (M_LN2l): Likewise.
16237 (M_LN10l): Likewise.
16238 (M_PIl): Likewise.
16239 (M_PI_2l): Likewise.
16240 (M_PI_4l): Likewise.
16241 (M_1_PIl): Likewise.
16242 (M_2_PIl): Likewise.
16243 (M_2_SQRTPIl): Likewise.
16244 (M_SQRT2l): Likewise.
16245 (M_SQRT1_2l): Likewise.
16246
f230c29b
DM
162472012-05-31 David S. Miller <davem@davemloft.net>
16248
16249 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16250 values between float registers.
16251 * sysdeps/sparc/sparc64/memset.S: Likewise.
16252 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16253
fed806c3
MF
162542012-05-31 Mike Frysinger <vapier@gentoo.org>
16255
16256 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16257 -D_FORTIFY_SOURCE=1.
16258 (CPPFLAGS-tst-longjmp_chk.c): Define.
16259 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16260 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16261 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16262 CFLAGS-tst-wchar-h.c.
16263
30917259
MP
162642012-05-31 Marek Polacek <polacek@redhat.com>
16265
16266 [BZ #14132]
16267 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16268 __endmntent_internal): Remove declaration.
16269 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16270 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16271 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16272
1c58d5dc
DM
162732012-05-30 David S. Miller <davem@davemloft.net>
16274
16275 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16276 (___Q_simulate_exceptions): Use real FP ops rather than writing
16277 into the %fsr.
16278 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16279 Likewise.
16280
7dc00e0d
L
162812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16282
16283 [BZ #14117]
0bd53985
L
16284 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16285 * sysdeps/x86/bits/xtitypes.h: This.
16286
3a257e66
L
16287 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16288 * sysdeps/x86/bits/wordsize.h: This.
16289
62f62904
L
16290 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16291 * sysdeps/x86/bits/huge_vall.h: This.
16292
404fe9d9
L
16293 * sysdeps/i386/bits/select.h: Removed.
16294 * sysdeps/x86_64/bits/select.h: Renamed to ...
16295 * sysdeps/x86/bits/select.h: This.
16296
d48d0446
L
16297 * sysdeps/i386/bits/setjmp.h: Removed.
16298 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16299 * sysdeps/x86/bits/setjmp.h: This.
16300
7dc00e0d
L
16301 * sysdeps/i386/bits/mathdef.h: Removed.
16302 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16303 * sysdeps/x86/bits/mathdef.h: This.
16304
03277f8f
AS
163052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16306
16307 [BZ #14132]
16308 * include/sys/socket.h (__connect_internal)
16309 (__libc_sa_len_internal): Remove declaration.
16310 (__connect, __libc_sa_len): Declare hidden_proto.
16311 (SA_LEN): Remove use of INTUSE.
16312 * socket/connect.c: Add libc_hidden_def.
16313 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16314 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16315 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16316 alias.
16317 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16318 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16319 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16320 of adding _internal alias.
16321
13764867
L
163222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16323
16324 [BZ #14117]
6bd97696
L
16325 * sysdeps/i386/bits/link.h: Removed.
16326 * sysdeps/i386/bits/linkmap.h: Likewise.
16327 * sysdeps/x86_64/bits/link.h: Renamed to ...
16328 * sysdeps/x86/bits/link.h: This.
16329 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16330 * sysdeps/x86/bits/linkmap.h: This.
16331
f726f0bb
L
16332 * sysdeps/i386/bits/endian.h: Removed.
16333 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16334 * sysdeps/x86/bits/endian.h: This.
16335
13764867
L
16336 * sysdeps/i386/bits/byteswap.h: Removed.
16337 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16338 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16339 * sysdeps/x86/bits/byteswap.h: This.
16340 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16341 * sysdeps/x86/bits/byteswap-16.h: This.
16342 * sysdeps/i386/Implies: Add x86.
16343 * sysdeps/x86_64/Implies: Likewise.
16344
ae251b0b
DM
163452012-05-30 David S. Miller <davem@davemloft.net>
16346
16347 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16348 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16349 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16350 (FP_TRAPPING_EXCEPTIONS): Define.
16351 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16352 (FP_TRAPPING_EXCEPTIONS): Define.
16353 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16354 subnormals only when inexact has been signalled or underflow
16355 exceptions are enabled.
16356 (_FP_PACK_CANONICAL): Likewise.
16357
d5c90867
L
163582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16359
16360 [BZ #14183]
16361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16362 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16363
63f1549e
RH
163642012-05-30 Richard Henderson <rth@twiddle.net>
16365
8d8f2279
RH
16366 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16367 with #ifndef NOT_IN_libc.
16368
63f1549e
RH
16369 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16370 marked to avoid plt entry.
16371
0ab0291b
L
163722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16373
16374 [BZ #14112]
16375 * Makeconfig (default-abi): New macro.
16376 (abi-includes): Likewise.
16377 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16378 $(abi-$(default-abi)-lib-soname) for soname if defined.
16379 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16380 abi-variants.
16381 * Makefile (installed-stubs): Likewise.
16382 * include/stubs-biarch.h: Removed.
16383 * scripts/lib-names.awk: Only handle one library at a time.
16384 * scripts/soversions.awk: Remove WORDSIZE support.
16385 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16386 entries.
16387 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16388 Removed.
16389 (syscall-list-default-condition): Likewise.
16390 (syscall-list-default-condition): Likewise.
16391 (syscall-list-includes): Likewise.
16392 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16393 syscall-list-* with abi-*. Handle undefined abi-variants.
16394 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16395 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16396 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16397 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16398 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16399 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16400 Removed.
16401 (syscall-list-32-options): Likewise.
16402 (syscall-list-32-condition): Likewise.
16403 (syscall-list-64-options): Likewise.
16404 (syscall-list-64-condition): Likewise.
16405 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16406 macro.
16407 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16408 Renamed to ...
16409 (abi-*): This.
16410 (abi-64-ld-soname): New macro.
16411 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16412 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16413 Renamed to ...
16414 (abi-*): This.
16415 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16416 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16417
4da0431d
JM
164182012-05-30 Joseph Myers <joseph@codesourcery.com>
16419
3a85279c
JM
16420 * sysdeps/unix/sysv/linux/kernel-features.h
16421 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16422 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16423 include <kernel-features.h>.
16424 [!__NR_ftruncate64]: Remove conditional code.
16425 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16426 [__NR_ftruncate64]: Make code unconditional.
16427 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16428 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16429 include <kernel-features.h>.
16430 [!__NR_ftruncate64]: Remove conditional code.
16431 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16432 [__NR_ftruncate64]: Make code unconditional.
16433 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16435 include <kernel-features.h>.
16436 [!__NR_ftruncate64]: Remove conditional code.
16437 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16438 [__NR_ftruncate64]: Make code unconditional.
16439 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16441 include <kernel-features.h>.
16442 [!__NR_ftruncate64]: Remove conditional code.
16443 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16444 [__NR_ftruncate64]: Make code unconditional.
16445 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16446
4da0431d
JM
16447 * configure.in (libc_cv_fpie): Weaken to a compile test using
16448 LIBC_TRY_CC_OPTION.
16449 * configure: Regenerated.
16450
11ef492c
AK
164512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16452
16453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16457 Refreshed.
16458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16464 Refreshed.
16465
d66ef399
DM
164662012-05-27 David S. Miller <davem@davemloft.net>
16467
16468 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16469 (___Q_zero): New.
16470 (__Q_simulate_exceptions): Return void. Change to simulate
16471 exceptions by writing into the %fsr.
16472 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16473 (__Qp_handle_exceptions): Likewise.
16474 (numbers): Delete.
16475 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16476 __Qp_handle_exceptions.
16477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16478 __Qp_handle_exceptions.
16479 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16480 as unused and give dummy FP_RND_NEAREST initializer.
16481 (FP_INHIBIT_RESULTS): Define.
16482 (___Q_simulate_exceptions): Update declaration.
16483 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16484 formatting.
16485 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16486 as unused and give dummy FP_RND_NEAREST initializer.
16487 (__Qp_handle_exceptions): Update declaration.
16488 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16489 formatting.
16490
04fb54b5
TS
164912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16492
16493 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16494 the temporary FPU control word.
16495 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16496 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16497 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16498 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16499 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16500 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16501 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16502 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16503 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16504 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16505 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16506
3f99608f
KK
165072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16508
16509 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16510 fields.
16511
65a4de4e
CLT
165122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16513
16514 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16515 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16516 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16517 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16518 Likewise.
16519 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16520 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16521 Likewise.
16522
15749d40
UD
165232012-05-27 Ulrich Drepper <drepper@gmail.com>
16524
16525 * po/h.po: Update from translation team.
16526
25dbcb27
AS
165272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16528
3d3f8e55
AS
16529 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16530
25dbcb27
AS
16531 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16532 handling of denormals.
16533 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16534 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16535 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16536 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16537 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16540 Likewise.
16541
7ad47a80 165422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16543
16544 [BZ #14152]
16545 * math/libm-test.inc (fma_test): Don't always expect underflow
16546 exception.
16547
9c6ea9fa
SP
165482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
16550 [BZ #12416]
16551 * elf/tst-execstack.c: Include stackinfo.h.
16552 (do_test): Adjust test case to ensure that pthread_getattr_np
16553 behaviour remains the same after marking stack executable.
16554
a8239222
JM
165552012-05-25 Joseph Myers <joseph@codesourcery.com>
16556
16557 * sysdeps/unix/sysv/linux/kernel-features.h
16558 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16559 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16560 kernel-features.h.
16561 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16562 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16563 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16564 kernel-features.h.
16565 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16566 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16567
918b5606
L
165682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16569
16570 * configure.in: Define the default includes to being none.
16571 * configure: Regenerated.
16572
3a097cc7
RM
165732012-05-25 Roland McGrath <roland@hack.frob.com>
16574
8422c9a5
RM
16575 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16576 * sysdeps/x86_64/setjmp.S: Likewise.
16577 * sysdeps/i386/bsd-setjmp.S: Likewise.
16578 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16579 * sysdeps/i386/setjmp.S: Likewise.
16580 * sysdeps/i386/__longjmp.S: Likewise.
16581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16582 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16583
3a097cc7
RM
16584 * include/stap-probe.h: New file.
16585 * configure.in: Handle --enable-systemtap.
16586 * configure: Regenerated.
16587 * config.h.in (USE_STAP_PROBE): New #undef.
16588 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16589 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16590 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16591
21708942
JM
165922012-05-25 Joseph Myers <joseph@codesourcery.com>
16593
16594 [BZ #13717]
16595 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16596 to 2.4.0 where earlier.
16597 * sysdeps/unix/sysv/linux/configure: Regenerated.
16598 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16599 <kernel-features.h>.
16600 [__ASSUME_32BITUIDS]: Make code unconditional.
16601 [!__ASSUME_32BITUIDS]: Remove conditional code.
16602 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16603 <kernel-features.h>.
16604 [__ASSUME_32BITUIDS]: Make code unconditional.
16605 [!__ASSUME_32BITUIDS]: Remove conditional code.
16606 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16607 [__ASSUME_32BITUIDS]: Make code unconditional.
16608 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16609 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16610 <kernel-features.h>.
16611 [__ASSUME_32BITUIDS]: Make code unconditional.
16612 [!__ASSUME_32BITUIDS]: Remove conditional code.
16613 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16614 <kernel-features.h>.
16615 [__ASSUME_32BITUIDS]: Make code unconditional.
16616 [!__ASSUME_32BITUIDS]: Remove conditional code.
16617 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16618 <kernel-features.h>.
16619 [__ASSUME_32BITUIDS]: Make code unconditional.
16620 [!__ASSUME_32BITUIDS]: Remove conditional code.
16621 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16622 <kernel-features.h>.
16623 [__ASSUME_32BITUIDS]: Make code unconditional.
16624 [!__ASSUME_32BITUIDS]: Remove conditional code.
16625 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16626 <kernel-features.h>.
16627 [__ASSUME_32BITUIDS]: Make code unconditional.
16628 [!__ASSUME_32BITUIDS]: Remove conditional code.
16629 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16630 <kernel-features.h>.
16631 [__ASSUME_32BITUIDS]: Make code unconditional.
16632 [!__ASSUME_32BITUIDS]: Remove conditional code.
16633 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16634 <kernel-features.h>.
16635 [__ASSUME_32BITUIDS]: Make code unconditional.
16636 [!__ASSUME_32BITUIDS]: Remove conditional code.
16637 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16638 <kernel-features.h>.
16639 [__ASSUME_32BITUIDS]: Make code unconditional.
16640 [!__ASSUME_32BITUIDS]: Remove conditional code.
16641 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16642 <kernel-features.h>.
16643 [__ASSUME_32BITUIDS]: Make code unconditional.
16644 [!__ASSUME_32BITUIDS]: Remove conditional code.
16645 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16646 <kernel-features.h>.
16647 [__ASSUME_32BITUIDS]: Make code unconditional.
16648 [!__ASSUME_32BITUIDS]: Remove conditional code.
16649 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16650 <kernel-features.h>.
16651 [__NR_setresgid] (__setresgid): Do not declare.
16652 [__ASSUME_32BITUIDS]: Make code unconditional.
16653 [!__ASSUME_32BITUIDS]: Remove conditional code.
16654 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16655 <kernel-features.h>.
16656 [__NR_setresuid] (__setresuid): Do not declare.
16657 [__ASSUME_32BITUIDS]: Make code unconditional.
16658 [!__ASSUME_32BITUIDS]: Remove conditional code.
16659 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16660 <kernel-features.h>.
16661 [__ASSUME_32BITUIDS]: Make code unconditional.
16662 [!__ASSUME_32BITUIDS]: Remove conditional code.
16663 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16664 <kernel-features.h>.
16665 [__ASSUME_32BITUIDS]: Make code unconditional.
16666 [!__ASSUME_32BITUIDS]: Remove conditional code.
16667 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16668 <kernel-features.h>.
16669 [__ASSUME_32BITUIDS]: Make code unconditional.
16670 [!__ASSUME_32BITUIDS]: Remove conditional code.
16671 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16672 <kernel-features.h>.
16673 [__ASSUME_32BITUIDS]: Make code unconditional.
16674 [!__ASSUME_32BITUIDS]: Remove conditional code.
16675 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16676 <kernel-features.h>.
16677 [__ASSUME_32BITUIDS]: Make code unconditional.
16678 [!__ASSUME_32BITUIDS]: Remove conditional code.
16679 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16680 <kernel-features.h>.
16681 [__ASSUME_32BITUIDS]: Make code unconditional.
16682 [!__ASSUME_32BITUIDS]: Remove conditional code.
16683 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16684 <kernel-features.h>.
16685 [__ASSUME_32BITUIDS]: Make code unconditional.
16686 [!__ASSUME_32BITUIDS]: Remove conditional code.
16687 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16688 <kernel-features.h>.
16689 [__ASSUME_32BITUIDS]: Make code unconditional.
16690 [!__ASSUME_32BITUIDS]: Remove conditional code.
16691 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16692 <kernel-features.h>.
16693 [__ASSUME_32BITUIDS]: Make code unconditional.
16694 [!__ASSUME_32BITUIDS]: Remove conditional code.
16695 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16696 <kernel-features.h>.
16697 [__ASSUME_32BITUIDS]: Make code unconditional.
16698 [!__ASSUME_32BITUIDS]: Remove conditional code.
16699 * sysdeps/unix/sysv/linux/kernel-features.h
16700 (__ASSUME_SETRESUID_SYSCALL): Remove.
16701 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16702 (__ASSUME_32BITUIDS): Likewise.
16703 (__ASSUME_LDT_WORKS): Likewise.
16704 (__ASSUME_O_DIRECTORY): Likewise.
16705 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16706 architecture but not kernel version.
16707 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16708 (__ASSUME_MMAP2_SYSCALL): Likewise.
16709 (__ASSUME_STAT64_SYSCALL): Likewise.
16710 (__ASSUME_IPC64): Likewise.
16711 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16712 <kernel-features.h>.
16713 [__ASSUME_32BITUIDS]: Make code unconditional.
16714 [!__ASSUME_32BITUIDS]: Remove conditional code.
16715 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16716 <kernel-features.h>.
16717 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16718 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16719 132096]: Remove conditional code.
16720 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16721 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16722 <kernel-features.h>.
16723 [__ASSUME_32BITUIDS]: Make code unconditional.
16724 [!__ASSUME_32BITUIDS]: Remove conditional code.
16725 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16726 <kernel-features.h>.
16727 [__ASSUME_32BITUIDS]: Make code unconditional.
16728 [!__ASSUME_32BITUIDS]: Remove conditional code.
16729 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16730 <kernel-features.h>.
16731 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16732 unconditional.
16733 (__setresgid): Do not declare.
16734 [__ASSUME_32BITUIDS]: Make code unconditional.
16735 [!__ASSUME_32BITUIDS]: Remove conditional code.
16736 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16737 <kernel-features.h>.
16738 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16739 unconditional.
16740 (__setresuid): Do not declare.
16741 [__ASSUME_32BITUIDS]: Make code unconditional.
16742 [!__ASSUME_32BITUIDS]: Remove conditional code.
16743 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16744 <kernel-features.h>.
16745 [__ASSUME_32BITUIDS]: Make code unconditional.
16746 [!__ASSUME_32BITUIDS]: Remove conditional code.
16747 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16748 <kernel-features.h>.
16749 [__ASSUME_32BITUIDS]: Make code unconditional.
16750 [!__ASSUME_32BITUIDS]: Remove conditional code.
16751
a386f1cc
RH
167522012-05-25 Richard Henderson <rth@twiddle.net>
16753
16754 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16755 dl_hwcap to ifunc resolver.
16756 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16757 elf_ifunc_invoke.
16758 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16759 dl_hwcap to ifunc resolver.
16760 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16761
b6550497
JM
167622012-05-24 Joseph Myers <joseph@codesourcery.com>
16763
16764 [BZ #14153]
16765 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16766 for |x| <= 2**-26, not 2**-57.
16767 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16768 exception.
16769
b0bc23a1
JL
167702012-05-24 Jeff Law <law@redhat.com>
16771
16772 * stdio-common/Makefile (tests): Add bug25.
16773 * stdio-common/bug25.c: New test.
16774
347c92e9
L
167752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16776
16777 [BZ #13576]
16778 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16779 multiple of MALLOC_ALIGNMENT in size.
16780 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16781
6bcc8b3f
JM
167822012-05-24 Joseph Myers <joseph@codesourcery.com>
16783
16784 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16785 Require >= 256.
16786 (FILENAME_MAX): Use macro-int-constant.
16787 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16788 (_IOFBF): Use macro-int-constant.
16789 (_IOLBF): Likewise.
16790 (_IONBF): Likewise.
16791 (SEEK_CUR): Likewise.
16792 (SEEK_END): Likewise.
16793 (SEEK_SET): Likewise.
16794 (TMP_MAX): Likewise.
16795 (EOF): Use macro-int-constant. Require < 0.
16796 (NULL): Use macro-constant. Require == 0.
16797 (stdin): Require type to be FILE *.
16798 (stdout): Likewise.
16799 (stderr): Likewise.
16800 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16801 macro-int-constant.
16802 (EXIT_SUCCESS): Likewise.
16803 (NULL): Use macro-constant. Require == 0.
16804 (RAND_MAX): Use macro-int-constant.
16805 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16806 [C99-based standards] (strtof): Require function.
16807 [C99-based standards] (strtold): Likewise.
16808 [C99-based standards] (strtoll): Likewise.
16809 [C99-based standards] (strtoull): Likewise.
16810 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16811 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16812 [ISO || ISO99 || ISO11] (math.h): Likewise.
16813 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16814 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16816
d18ea0c5
AS
168172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16818
16819 [BZ #14132]
56d25bb8
AS
16820 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16821 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16822 * intl/dgettext.c (DCGETTEXT): Likewise.
16823 * intl/gettext.c (DCGETTEXT): Likewise.
16824 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16825 * posix/regex_internal.h (gettext): Likewise.
16826 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16827 Remove declaration.
16828 * include/argz.h (__argz_count_internal)
16829 (__argz_stringify_internal): Remove declaration.
16830 (__argz_count, __argz_stringify): Declare hidden proto.
16831 * intl/dcgettext.c: Remove use of INTDEF.
16832 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16833 * string/argz-stringify.c: Likewise.
16834 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16835 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16836 Declare hidden proto.
d18ea0c5
AS
16837 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16838 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16839 Declare hidden proto.
16840 * include/stdio.h (__asprintf_internal): Don't declare.
16841 (__asprintf): Don't define as macro. Declare hidden proto.
16842 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16843 (__fsetlocking): Declare hidden proto.
16844 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16845 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16846 hidden proto.
16847 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16848 (_IO_setlinebuf): Remove use of INTUSE.
16849 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16850 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16851 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16852 Remove declaration.
16853 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16854 (_IO_do_flush): Remove use of INTUSE.
16855 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16856 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16857 (_IO_adjust_column, _IO_least_wmarker)
16858 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16859 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16860 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16861 (_IO_default_doallocate, _IO_wdefault_doallocate)
16862 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16863 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16864 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16865 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16866 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16867 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16868 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16869 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16870 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16871 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16872 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16873 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16874 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16875 proto.
16876 (_IO_flush_all_internal, _IO_adjust_column_internal)
16877 (_IO_default_uflow_internal, _IO_default_finish_internal)
16878 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16879 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16880 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16881 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16882 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16883 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16884 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16885 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16886 (_IO_file_close_internal, _IO_file_close_it_internal)
16887 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16888 (_IO_file_init_internal, _IO_file_attach_internal)
16889 (_IO_file_fopen_internal, _IO_file_read_internal)
16890 (_IO_file_sync_internal, _IO_file_seek_internal)
16891 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16892 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16893 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16894 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16895 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16896 (_IO_list_all_internal, _IO_link_in_internal)
16897 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16898 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16899 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16900 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16901 (_IO_do_write_internal, _IO_padn_internal)
16902 (_IO_getline_info_internal, _IO_getline_internal)
16903 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16904 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16905 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16906 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16907 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16908 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16909 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16910 with libc_hidden_ver, remove use of INTUSE.
16911 * libio/genops.c: Likewise.
16912 * libio/freopen.c: Likewise.
16913 * libio/freopen64.c: Likewise.
16914 * libio/iofclose.c: Likewise.
16915 * libio/iofdopen.c: Likewise.
16916 * libio/iofflush.c: Likewise.
16917 * libio/iofflush_u.c: Likewise.
16918 * libio/iofgets.c: Likewise.
16919 * libio/iofgets_u.c: Likewise.
16920 * libio/iofopen.c: Likewise.
16921 * libio/iofopncook.c: Likewise.
16922 * libio/iofread.c: Likewise.
16923 * libio/iofread_u.c: Likewise.
16924 * libio/ioftell.c: Likewise.
16925 * libio/iofwrite.c: Likewise.
16926 * libio/iogetline.c: Likewise.
16927 * libio/iogets.c: Likewise.
16928 * libio/iogetwline.c: Likewise.
16929 * libio/iopadn.c: Likewise.
16930 * libio/iopopen.c: Likewise.
16931 * libio/ioseekoff.c: Likewise.
16932 * libio/ioseekpos.c: Likewise.
16933 * libio/iosetbuffer.c: Likewise.
16934 * libio/iosetvbuf.c: Likewise.
16935 * libio/ioungetc.c: Likewise.
16936 * libio/ioungetwc.c: Likewise.
16937 * libio/iovdprintf.c: Likewise.
16938 * libio/iovsprintf.c: Likewise.
16939 * libio/iovsscanf.c: Likewise.
16940 * libio/memstream.c: Likewise.
16941 * libio/obprintf.c: Likewise.
16942 * libio/oldfileops.c: Likewise.
16943 * libio/oldiofclose.c: Likewise.
16944 * libio/oldiofdopen.c: Likewise.
16945 * libio/oldiofopen.c: Likewise.
16946 * libio/oldiopopen.c: Likewise.
16947 * libio/oldstdfiles.c: Likewise.
16948 * libio/putc.c: Likewise.
16949 * libio/setbuf.c: Likewise.
16950 * libio/setlinebuf.c: Likewise.
16951 * libio/stdfiles.c: Likewise.
16952 * libio/strops.c: Likewise.
16953 * libio/vasprintf.c: Likewise.
16954 * libio/vscanf.c: Likewise.
16955 * libio/vsnprintf.c: Likewise.
16956 * libio/vswprintf.c: Likewise.
16957 * libio/wfiledoalloc.c: Likewise.
16958 * libio/wfileops.c: Likewise.
16959 * libio/wgenops.c: Likewise.
16960 * libio/wmemstream.c: Likewise.
16961 * libio/wstrops.c: Likewise.
16962 * libio/__fpurge.c: Likewise.
16963 * libio/__fsetlocking.c: Likewise.
16964 * assert/assert.c: Likewise.
16965 * debug/fgets_chk.c: Likewise.
16966 * debug/fgets_u_chk.c: Likewise.
16967 * debug/fread_chk.c: Likewise.
16968 * debug/fread_u_chk.c: Likewise.
16969 * debug/gets_chk.c: Likewise.
16970 * debug/obprintf_chk.c: Likewise.
16971 * debug/vasprintf_chk.c: Likewise.
16972 * debug/vdprintf_chk.c: Likewise.
16973 * debug/vsnprintf_chk.c: Likewise.
16974 * debug/vsprintf_chk.c: Likewise.
16975 * malloc/mtrace.c: Likewise.
16976 * misc/error.c: Likewise.
16977 * misc/syslog.c: Likewise.
16978 * stdio-common/asprintf.c: Likewise.
16979 * stdio-common/fxprintf.c: Likewise.
16980 * stdio-common/getw.c: Likewise.
16981 * stdio-common/isoc99_fscanf.c: Likewise.
16982 * stdio-common/isoc99_scanf.c: Likewise.
16983 * stdio-common/isoc99_vfscanf.c: Likewise.
16984 * stdio-common/isoc99_vscanf.c: Likewise.
16985 * stdio-common/isoc99_vsscanf.c: Likewise.
16986 * stdio-common/printf-prs.c: Likewise.
16987 * stdio-common/printf_fp.c: Likewise.
16988 * stdio-common/printf_fphex.c: Likewise.
16989 * stdio-common/printf_size.c: Likewise.
16990 * stdio-common/putw.c: Likewise.
16991 * stdio-common/scanf.c: Likewise.
16992 * stdio-common/sprintf.c: Likewise.
16993 * stdio-common/tmpfile.c: Likewise.
16994 * stdio-common/vfprintf.c: Likewise.
16995 * stdio-common/vfscanf.c: Likewise.
16996 * stdlib/strfmon_l.c: Likewise.
16997 * sunrpc/openchild.c: Likewise.
16998 * sunrpc/xdr_stdio.c: Likewise.
16999 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17000 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17001
d6c33fda
RM
170022012-05-24 Roland McGrath <roland@hack.frob.com>
17003
c1487492
RM
17004 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17005
17006 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17007 in the third column, to generate for the shared library an IFUNC
17008 that uses _dl_vdso_vsym.
17009 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17010 * Makeconfig (object-suffixes-noshared): New variable.
17011
17012 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17013 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17014 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17015 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17016
d6c33fda
RM
17017 [BZ #14132]
17018 * include/sys/time.h (__gettimeofday): Remove macro.
17019 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17020 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17021 Remove INTDEF.
17022 (__gettimeofday): Add libc_hidden_def.
17023 (gettimeofday): Add libc_hidden_weak.
17024 * sysdeps/mach/gettimeofday.c: Likewise.
17025 * sysdeps/posix/gettimeofday.c: Likewise.
17026 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17027 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17029 (__gettimeofday_internal): Remove strong_alias.
17030 (__gettimeofday): Add libc_hidden_def.
17031 (gettimeofday): Add libc_hidden_weak.
17032 * sysdeps/unix/syscalls.list (gettimeofday):
17033 Remove __gettimeofday_internal alias.
17034
b5a2bbe6
L
170352012-05-24 Daniel Jacobowitz <drow@false.org>
17036 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 [BZ #12495]
17039 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17040 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17041 (largebin_index_32_big): New.
17042 (largebin_index): Use it for 16-byte alignment.
17043 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17044 correction with front_misalign.
17045
cfba4fda
L
170462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17047
7f907421
L
17048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17050 Likewise.
17051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17052 Likewise.
17053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17054 Likewise.
17055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17056 Likewise.
17057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17058 Likewise.
17059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17060 Likewise.
17061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17062 Likewise.
17063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17064 Likewise.
17065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17066 Likewise.
17067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17068 Likewise.
17069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17070 Likewise.
17071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17072 Likewise.
17073
cfba4fda
L
17074 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17075 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17076
80bad0cc
JM
170772012-05-24 Joseph Myers <joseph@codesourcery.com>
17078
7a25eb06
JM
17079 [BZ #10846]
17080 [BZ #14036]
17081 * math/libm-test.inc (exp_test): Add test from bug 14036.
17082 (pow_test): Add test from bug 10846.
17083
795405f9
JM
17084 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17085 and other flags.
17086 (special_function): Do not include flags in test name.
17087 (parse_args): Likewise.
17088 * sysdeps/i386/fpu/libm-test-ulps: Update.
17089 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17090 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17091 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17093
80bad0cc
JM
17094 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17095 exceptions.
17096 * math/libm-test.inc ("Philosophy"): Update comment about
17097 exception testing.
17098 (UNDERFLOW_EXCEPTION): New macro.
17099 (UNDERFLOW_EXCEPTION_OK): Likewise.
17100 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17101 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17102 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17103 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17104 (INVALID_EXCEPTION_OK): Update value.
17105 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17106 (OVERFLOW_EXCEPTION_OK): Likewise.
17107 (IGNORE_ZERO_INF_SIGN): Likewise.
17108 (test_exceptions): Handle underflow exceptions.
17109 (acos_test): Update for underflow exception expectations.
17110 (cexp_test): Likewise.
17111 (clog_test): Likewise.
17112 (clog10_test): Likewise.
17113 (csqrt_test): Likewise.
17114 (ctan_test): Likewise.
17115 (ctanh_test): Likewise.
17116 (exp_test): Likewise.
17117 (exp10_test): Likewise.
17118 (exp2_test): Likewise.
17119 (expm1_test): Likewise.
17120 (fma_test): Likewise.
17121 (j0_test): Likewise.
17122 (jn_test): Likewise.
17123 (nexttoward_test): Likewise.
17124 (pow_test): Likewise.
17125 (scalbn_test): Likewise.
17126 (scalbln_test): Likewise.
17127 (tan_test): Likewise.
17128 (y1_test): Likewise.
17129 * sysdeps/i386/fpu/libm-test-ulps: Update.
17130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17131
9e0e3d0b
DM
171322012-05-23 David S. Miller <davem@davemloft.net>
17133
17134 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17135 (__libc_sigaction): Remove unused local variables.
17136
ccd0a08f
L
171372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17138
17139 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17140
62bdf9a6
PE
171412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17142
f8591f80
PE
17143 mktime: avoid signed integer overflow
17144 * time/mktime.c (__mktime_internal): Do not mishandle the case
17145 where diff == INT_MIN.
17146
94c7d826
PE
17147 mktime: simplify computation of average
17148 * time/mktime.c (ranged_convert): Use new time_t_avg function
17149 instead of rolling our own (probably-slower) code.
17150
ce73d683
PE
17151 mktime: do not assume signed right shift propagates sign bit
17152 * time/mktime.c (isdst_differ): New static function.
17153 (__mktime_internal): No need to normalize tm_isdst now.
17154 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17155 tm_isdst values.
17156
72a22e59
PE
17157 mktime: merge another wrapv change from gnulib
17158 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17159 from some compilers.
17160
68605433
PE
17161 mktime: remove incorrect attempt at unusual arithmetics
17162 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17163 The code didn't really work on such machines anyway.
17164 (TYPE_MINIMUM): Assume two's complement.
17165 (twos_complement_arithmetic): Verify that long_int and time_t
17166 are two's complement (or unsigned, in the latter case).
17167
03cf7fe3
PE
17168 mktime: check signed shifts on long_int and time_t, too
17169 * time/mktime.c (SHR): Check that shifts work as desired
17170 on the types long_int and time_t too, as SHR is used on
17171 such types.
17172
f04dfbc2
PE
17173 mktime: do not assume 'long' is wide enough
17174 * time/mktime.c (verify): Move decl up.
17175 (long_int): New type.
17176 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17177 to remove assumption in the code that 'long' is wide enough to
17178 store year values. This assumption is not true on x32 and on
17179 some non-glibc platforms.
17180
62bdf9a6
PE
17181 mktime: merge wrapv change from gnulib
17182 * time/mktime.c (WRAPV): New macro.
17183 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17184 (guess_time_tm, __mktime_internal): Do not assume that signed
17185 integer overflow wraps around; modern compilers generate code
17186 where this assumption is no longer valid.
17187
5e292e4f
L
171882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17189
17190 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17191 Replace "jmp L(pseudo_end)" with "ret".
17192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17193 Likewise.
17194
8caf8c87
AJ
171952012-05-23 Andreas Jaeger <aj@suse.de>
17196
17197 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17198 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17199
1a09dc56
AJ
172002012-05-23 Andreas Jaeger <aj@suse.de>
17201 Maximilian Attems <max@stro.at>
17202
17203 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17204 New macros.
17205
1c87aba0
L
172062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17207
17208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17209 code so that pseudo_end is just ret and the stack pointer is
17210 correct also for static library in error case.
17211
40e45bd5
JM
172122012-05-23 Joseph Myers <joseph@codesourcery.com>
17213
c2670533
JM
17214 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17215 move to syscalls.list.
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17220
40e45bd5
JM
17221 * manual/install.texi (Running make install): Do not mention Linux
17222 kernel version for which pt_chown is not needed.
17223 (Linux): Do not mention problems with nscd with 2.0 kernels.
17224 * INSTALL: Regenerated.
17225
be08eda5
AJ
172262012-05-23 Andreas Jaeger <aj@suse.de>
17227
17228 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17229 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17230 macro.
17231 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17232 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17233 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17234 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17235 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17236 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17238 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17240 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17241 * sysdeps/unix/sysv/linux/bits/in.h
17242 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17243
a6a056bb
RM
172442012-05-22 Roland McGrath <roland@hack.frob.com>
17245
17246 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17247 (PREPARE_VERSION): Just use assert instead, it will be elided
17248 under [NDEBUG] anyway.
17249
c9009328
L
172502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17251
17252 * sysdeps/unix/sysv/linux/Makefile: Include
17253 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17254 (sysdep_routines): Remove sysctl.
c9009328
L
17255 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17256 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17257 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17258 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17259 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17260
73338355
AJ
172612012-05-22 Andreas Jaeger <aj@suse.de>
17262
17263 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17264 that pseudo_end is just ret and the stack pointer is correct also
17265 for static library in error case.
17266
d44638b0
PP
172672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17268
17269 [BZ #14122]
17270 * nss/nsswitch.c (defconfig_entries): New variable.
17271 (__nss_database_lookup): Don't leak defconfig entries.
17272 (nss_parse_service_list): Don't leak on error paths.
17273 (free_database_entries): New function.
17274 (free_defconfig): New function.
17275 (free_mem): Move common code to free_database_entries.
17276
31a39bd8
L
172772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17278
da0331a8
L
17279 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17280 Add arch_prctl.
17281 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17282
31a39bd8
L
17283 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17284 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17286 New macro.
17287 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17288 (INTERNAL_SYSCALL_TYPES): Likewise.
17289 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17290 (LOAD_REGS_TYPES_[1-6]): Likewise.
17291 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17292 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17293
45470df3
AZ
172942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17295
17296 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17297 copysignl for GLIBC_2_0.
17298 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17299 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17301 logbl for GLIBC_2_0.
17302 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17303 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17304
98a61bcb
L
173052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17306
a4f6e481
L
17307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17308 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17309
f63d5db6
L
17310 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17311 Use "neg %eax".
17312
98a61bcb
L
17313 * time/mktime.c: Update copyright years.
17314
95770f14
PE
173152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17316
6226efbd
PE
17317 mktime: merge comment-quoting-style change from gnulib
17318 * time/mktime.c: Quote 'like this' in comments.
17319 The GNU coding standards suggest that we no longer quote `like this',
17320 as "`" and "'" are typically rendered asymmetrically nowadays.
17321 The typical gnulib style is to quote 'like this' when quoting
17322 code, and "like this" when quoting English.
17323
b99e4f78
PE
17324 * time/mktime.c (compile-command): Add "-I.".
17325
643e01e6
PE
17326 mktime: merge mktime-internal.h change from gnulib
17327 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17328
2554247d
PE
17329 mktime: merge time_r change from gnulib
17330 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17331
826dd0ab
PE
17332 mktime: merge DEBUG change from gnulib
17333 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17334 case system <time.h> has a #define.
17335
bd83aabe
PE
17336 mktime: merge <sys/types.h> change from gnulib
17337 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17338 since <time.t> is now guaranteed to define time_t.
17339
95770f14
PE
17340 mktime: merge HAVE_CONFIG_H change from gnulib
17341 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17342
5e1a27a9
L
173432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17344
0e44a77e
L
17345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17346 Use "neg %eax".
17347
5e1a27a9
L
17348 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17349 __rlim_t cast.
17350 (struct rusage): Use anonymous union to pad each field to
17351 __syscall_slong_t.
17352
46259bec
DM
173532012-05-21 David S. Miller <davem@davemloft.net>
17354
17355 * Makefules (o-iterator): Remove .s cases.
17356 (compile-command.s): Delete.
17357 (COMPILE.s): Delete.
17358 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17359
59f0c22e
JM
173602012-05-21 Joseph Myers <joseph@codesourcery.com>
17361
17362 * configure.in (libc_cv_predef_stack_protector): Only consider
17363 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17364 * configure: Regenerated.
17365
20c07380
L
173662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17367
bbb3154b
L
17368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17369 New macro. Use R*LP on int and pointer.
17370 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17371 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17372 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17373 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17374
20c07380
L
17375 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17376 [__WORDSIZE_TIME64_COMPAT32] instead of
17377 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17378 (struct utmp): Likewise.
17379 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17380 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17381 Renamed to ...
17382 (__WORDSIZE_TIME64_COMPAT32): This.
17383 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17384 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17385 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17386 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17387 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17388 (__WORDSIZE_TIME64_COMPAT32): New macro.
17389
d8d1017e
AJ
173902012-05-21 Andreas Jaeger <aj@suse.de>
17391
17392 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17393 only if [SHARED]. Add prototype for __wcschr_ia32.
17394
6c7fb145
RM
173952012-05-21 Roland McGrath <roland@hack.frob.com>
17396
17397 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17398 of %rbp unmolested in the jmp_buf while mangling the low bits.
17399 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17400 unmolested high bits of %rbp while demangling the low bits.
17401 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17402
66274218
AJ
174032012-05-21 Andreas Jaeger <aj@suse.de>
17404
07c58f8f
AJ
17405 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17406 * sunrpc/svc_simple.c: Use it for registerrpc.
17407 * sunrpc/xcrypt.c: Use it for passwd2des.
17408
66274218
AJ
17409 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17410
61f65140
L
174112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17412
17413 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17414 Don't define if [__SYSCALL_WORDSIZE != 32].
17415 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17416 New macro.
17417
5fefb436
AJ
174182012-05-21 Bruno Haible <bruno@clisp.org>
17419 Andreas Jaeger <aj@suse.de>
17420
17421 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17422 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17423 inptr and inend for must_buffer_ch.
17424 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17425 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17426 * stdio-common/Makefile (tests): Remove bug15.
17427 (bug15-ENV): Remove macro.
17428 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17429 anymore.
17430
d8e272ab
AJ
174312012-05-19 Andreas Jaeger <aj@suse.de>
17432 Roland McGrath <roland@hack.frob.com>
17433
17434 * manual/contrib.texi: Completely rewritten. It contains now an
17435 alphabetical list of contributors and their contributions.
17436
4a56a162
RH
174372012-05-21 Richard Henderson <rth@twiddle.net>
17438
17439 * misc/getauxval.c (__getauxval): Use unsigned long int.
17440 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17441 (getauxval): Use unsigned long int.
17442
d024d23c
L
174432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17444
17445 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17446
cbc00a03
RM
174472012-05-21 Roland McGrath <roland@hack.frob.com>
17448
17449 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17450 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17451 __alignof__ (long double).
17452
478143fa
AZ
174532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17454
17455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17456
c7683a6d
RH
174572012-05-20 Richard Henderson <rth@twiddle.net>
17458
17459 * misc/getauxval.c: New file.
17460 * misc/sys/auxv.h: New file.
17461 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17462 (routines): Add getauxval.
17463 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17464 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17465 * elf/dl-sysdep.c (_dl_auxv): Remove.
17466 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17467 * elf/dl-support.c (_dl_auxv): New variable.
17468 (_dl_aux_init): Initialize it.
17469 * manual/startup.texi (Auxiliary Vector): New node.
17470 * sysdeps/generic/bits/hwcap.h: New file.
17471 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17472 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17473 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17474 * sysdeps/sparc/sysdep.h: ... here. Include it.
17475 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17478 Update.
c7683a6d
RH
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17487
a6f1845d
AZ
174882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17489
17490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17491
cbcbe830
DM
174922012-05-19 David S. Miller <davem@davemloft.net>
17493
17494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17495
e0b16cc2
JM
174962012-05-19 Joseph Myers <joseph@codesourcery.com>
17497
17498 [BZ #14123]
17499 * math/s_ccosh.c: Include <float.h>
17500 (__ccosh): Avoid internal overflow calculating sinh and cosh
17501 values before multiplying by sin and cos values.
17502 * math/s_ccoshf.c: Likewise.
17503 * math/s_ccoshl.c: Likewise.
17504 * math/s_csin.c: Likewise.
17505 * math/s_csinf.c: Likewise.
17506 * math/s_csinl.c: Likewise.
17507 * math/s_csinh.c: Likewise.
17508 * math/s_csinhf.c: Likewise.
17509 * math/s_csinhl.c: Likewise.
17510 * math/libm-test.inc (ccos_test): Add more tests.
17511 (ccosh_test): Likewise.
17512 (csin_test): Likewise.
17513 (csinh_test): Likewise.
17514 * sysdeps/i386/fpu/libm-test-ulps: Update.
17515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17516
6ad13e08
L
175172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17518
f66f0ce8
L
17519 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17520 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17521
6ad13e08
L
17522 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17523
b1d072a7
JM
175242012-05-19 Joseph Myers <joseph@codesourcery.com>
17525
17526 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17527 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17528 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17529 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17530 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17531 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17532 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17533 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17534 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17535 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17536 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17537 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17538 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17539 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17540 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17541 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17542 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17543 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17544 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17545 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17546 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17547 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17548 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17549 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17550 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17551 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17552 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17553 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17554 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17555 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17556 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17557
9eae47cb
AJ
175582012-05-18 Andreas Jaeger <aj@suse.de>
17559
17560 * csu/.gitignore: Delete.
17561
bb07f69f
L
175622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17563
17564 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17565 (timex): Use __syscall_slong_t.
17566
e6bdb741
AJ
175672012-05-18 Andreas Jaeger <aj@suse.de>
17568 Carlos O'Donell <carlos_odonell@mentor.com>
17569
17570 * manual/install.texi (Configuring and compiling): Update
17571 description about files modified in the source directory.
d6c33fda 17572 * INSTALL: Regenerated.
e6bdb741 17573
1b74487e
L
175742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17577 value. Use "or" to set return value to -1.
17578 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17579 negate return value.
17580
a88b64b9
TMQMF
175812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17582
17583 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17584 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17585 failure if the compiler has Graphite support disabled.
17586 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17587 Likewise.
17588 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17589 CFLAGS-memmove.c): Likewise.
17590 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17591 Likewise.
17592
3707636e
L
175932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17594
610b8622
L
17595 * sysdeps/x86_64/x32/_itoa.h: New file.
17596
7cd195df
L
17597 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17598 getdents system call only if kernel and user dirents have the
17599 same d_ino and d_off.
17600
94b07d20
L
17601 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17602 LLONG_MAX != LONG_MAX.
17603 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17604 (_fitoa_word): Likewise.
17605
18298070
L
17606 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17607 years.
17608 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17609 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17610 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17611
553c7ea4
L
17612 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17613 include <bits/wordsize.h>. Check __x86_64__ instead of
17614 __WORDSIZE.
17615 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17616 if __x86_64__ is defined. Use anonymous union on fpstate.
17617
3707636e
L
17618 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17619 anonymous union.
17620
b53ef01a
AS
176212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17622
37fb1dc0
AS
17623 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17624 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17625 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17626 Refer to _rtld_local_ro instead of _rtld_global_ro.
17627 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17628 Likewise.
17629 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17630 Likewise.
17631 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17632 Likewise.
17633 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17634 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17635 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17636
b53ef01a
AS
17637 * sysdeps/powerpc/powerpc32/dl-machine.c
17638 (__elf_machine_runtime_setup) [PROF]: Don't reference
17639 _dl_prof_resolve.
17640
7a185db2
AJ
176412012-05-18 Andreas Jaeger <aj@suse.de>
17642
17643 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17644 function only available for GCCs before 3.4 since GCC 3.4
17645 introduced a builtin.
17646 (lrint): Likewise.
17647 (llrintf): Likewise.
17648 (llrint): Likewise.
17649 (fmaxf): Likewise.
17650 (fmax): Likewise.
17651 (fminf): Likewise.
17652 (fmin): Likewise.
17653 (rint): Likewise.
17654 (rintf): Likewise.
17655 (nearbyint): Likewise.
17656 (nearbyintf): Likewise.
17657 (ceil): Likewise.
17658 (ceilf): Likewise.
17659 (floor): Likewise.
17660 (floorf): Likewise.
17661
3e5aef87
L
176622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17663
428bd707
L
17664 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17665 on both fields and cast pointer to __syscall_ulong_t.
17666
3e5aef87
L
17667 * bits/types.h (__fsword_t): New type.
17668 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17669 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17671 (__FSWORD_T_TYPE): Likewise.
17672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17673 (__FSWORD_T_TYPE): Likewise.
17674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17675 (__FSWORD_T_TYPE): Likewise.
17676 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17677 (__FSWORD_T_TYPE): Likewise.
17678 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17679 __SWORD_TYPE with __fsword_t.
17680 (statfs64): Likewise.
17681
1ba7c3dc
DM
176822012-05-17 David S. Miller <davem@davemloft.net>
17683
17684 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17685
59910343
AJ
176862012-05-17 Andreas Jaeger <aj@suse.de>
17687
17688 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17689 warning.
17690
2e4c1e9e
L
176912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17694
de7f5ce7
AJ
176952012-05-17 Andreas Jaeger <aj@suse.de>
17696
17697 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17698 when it is used.
17699
286abc3d
CM
177002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17701
17702 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17703
477cc68e
L
177042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17705
17706 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17707 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17708
1a0994f5
CD
177092012-05-17 Andreas Jaeger <aj@suse.de>
17710 Carlos O'Donell <carlos_odonell@mentor.com>
17711
17712 [BZ #14059]
17713 * sysdeps/x86_64/multiarch/init-arch.h
17714 (bit_YMM_Usable): Rename to...
17715 (bit_AVX_Usable): ... this.
17716 (bit_FMA4_Usable): New macro.
17717 (bit_XMM_state): New macro.
17718 (bit_YMM_state): New macro.
17719 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17720 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17721 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17722 (CPUID_OSXSAVE): New macro.
17723 (CPUID_AVX): New macro.
17724 (CPUID_FMA4): New macro.
17725 (index_YMM_Usable): Rename to...
17726 (index_AVX_Usable): ... this.
17727 (HAS_AVX): Use HAS_ARCH_FEATURE.
17728 (HAS_FMA4): Likewise.
17729 (HAS_YMM_USABLE): Remove.
17730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17731 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17732 are present.
17733 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17734 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17735 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17736 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17737 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17738
0af797de
CM
177392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17740
17741 * math/libm-test.c: Support platforms without multiple rounding modes.
17742 * math/bug-nextafter.c: Support platforms without FP exceptions.
17743 * math/bug-nexttoward.c: Likewise.
17744 * math/test-fenv.c: Likewise.
17745 * math/test-misc.c: Likewise.
17746 * stdlib/bug-getcontext.c: Likewise.
17747
e39745ff
AJ
177482012-05-17 Andreas Jaeger <aj@suse.de>
17749
17750 * manual/examples/search.c (critter_cmp): Change signature to
17751 avoid warnings.
17752 * manual/string.texi (Collation Functions): Likewise.
17753
48970aba
L
177542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17755
17756 * bits/types.h: Fold copyright years.
17757 * bits/typesizes.h: Likewise.
17758 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17762 * time/time.h: Likewise.
17763
bedee953
PP
177642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17765
17766 [BZ #208]
17767 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17768 in instead of returning them. Return void.
17769 (__libc_mallinfo): Accumulate over all arenas.
17770 (__malloc_stats): Adjust for change in int_mallinfo interface.
17771
61653dfb
RM
177722012-05-16 Roland McGrath <roland@hack.frob.com>
17773
30b99d79
RM
17774 [BZ #10375]
17775 * configure.in (NM): Add AC_CHECK_TOOL for it.
17776 (libc_extra_cflags): New substituted variable.
17777 Check for -fstack-protector being used implicitly.
17778 * configure: Regenerated.
17779 * config.make.in (config-extra-cflags): New variable,
17780 gets @libc_extra_cflags@.
17781 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17782
61653dfb
RM
17783 [BZ #10375]
17784 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17785 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17786 * configure: Regenerated.
17787 * config.make.in (CPPUNDEFS): New substituted variable.
17788 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17789 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17790 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17791
661768bb
L
177922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17793
17794 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17795 (mq_attr): Use __syscall_slong_t.
17796
d4261567
L
177972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17798
17799 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17800 Check __x86_64__ instead of __WORDSIZE.
17801 (_STAT_VER_LINUX): Likewise.
17802 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17803 __syscall_ulong_t and __syscall_slong_t.
17804 (stat64): Likewise.
17805
cf3ff365
L
178062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17807
17808 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17809
76cf3e4d
L
178102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17811
17812 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17813
a637753a
L
178142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17815
17816 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17817 __syscall_ulong_t.
17818
d5e05119
L
17819 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17820 include <bits/wordsize.h>. Check __x86_64__ instead of
17821 __WORDSIZE.
17822 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17823 defined.
17824 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17825
f62ee380
L
17826 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17827 include <bits/wordsize.h>. Check __x86_64__ instead of
17828 __WORDSIZE.
17829 (user_regs_struct): Use "__extension__ unsigned long long"
17830 instead of "unsigned long" if __x86_64__ is defined.
17831 (user): Likewise. Pad after pointer field if __ILP32__ is
17832 defined.
17833
4e124ced
JM
178342012-05-16 Joseph Myers <joseph@codesourcery.com>
17835
6a3951a0
JM
17836 * configure.in (makeinfo): Require version 4.5 or later. Allow
17837 versions 5 to 9.
17838 * configure: Regenerated.
17839 * manual/install.texi (texinfo): Increase version requirement to
17840 4.5 or later.
17841 * INSTALL: Regenerated.
17842
4e124ced
JM
17843 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17844
953ca31a
L
178452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17846
17847 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17848
617aca05
L
17849 * sysdeps/x86_64/x32/ffs.c: New file.
17850
5762f7ae
L
17851 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17852 __syscall_ulong_t.
17853 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17854 defined. Use __syscall_ulong_t.
17855 (shminfo): Use __syscall_ulong_t.
17856 (shm_info): Likewise.
17857
a26b6856
L
17858 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17859 __syscall_ulong_t.
17860
cb2b9ef7
L
17861 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17862 <bits/wordsize.h>.
17863 (msgqnum_t): Use __syscall_ulong_t.
17864 (msglen_t): Likewise.
17865 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17866 __syscall_ulong_t.
17867
34683bb0
L
17868 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17869 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17870
84a68786
L
17871 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17872
48baa5f1
L
17873 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17874 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17875
180be88b
L
17876 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17877 __syscall_slong_t.
17878
5e90c8ad
L
17879 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17880 include <bits/wordsize.h>. Check __x86_64__ instead of
17881 __WORDSIZE.
17882
23dfb58b
L
17883 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17884 "unsigned long long int" if __x86_64__ is defined.
17885 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17886
ce5d54b0
L
17887 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17888 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17889 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17890
13dc9eac
L
17891 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17892 <stdint.h>.
17893 (GET_PC): Cast to uintptr_t first.
17894 (GET_FRAME): Likewise.
17895 (GET_STACK): Likewise.
17896
a7895d15
L
17897 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17898 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17899 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17900 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17901 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17902 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17903 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17904 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17906 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17908 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17909 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17910 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17913 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17914 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17916 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17917 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17921 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17922 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17923 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17924 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17925 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17926
656416c9
AS
179272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17928
5bd66283
AS
17929 * Makerules (+depfiles): Also collect depfiles from .oS in
17930 $(extra-objs).
17931 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17932 .oS, $(libnldbl-routines)).
17933
656416c9
AS
17934 * Makerules (native-compile-mkdep-flags): Define.
17935 * sunrpc/Makefile (extra-objs): Add $(addprefix
17936 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17937 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17938 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17939 calling $(make-target-directory).
17940
a46f2169
L
179412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17942
17943 * bits/types.h (__snseconds_t): Removed.
17944 * time/time.h (struct timespec): Replace __snseconds_t with
17945 __syscall_slong_t.
17946 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17947 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17948 Likewise.
17949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17950 (__SNSECONDS_T_TYPE): Likewise.
17951 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17952 (__SNSECONDS_T_TYPE): Likewise.
17953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17954 (__SNSECONDS_T_TYPE): Likewise.
17955
6af6528b
L
179562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17957
17958 * sysdeps/mach/hurd/bits/typesizes.h
17959 (__SYSCALL_SLONG_TYPE): New macro.
17960 (__SYSCALL_ULONG_TYPE): Likewise.
17961
de986b56
L
179622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 * bits/types.h (__syscall_slong_t): New type.
17965 (__syscall_ulong_t): Likewise.
17966
17967 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17968 (__SYSCALL_ULONG_TYPE): Likewise.
17969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17970 (__SYSCALL_SLONG_TYPE): Likewise.
17971 (__SYSCALL_ULONG_TYPE): Likewise.
17972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17973 (__SYSCALL_SLONG_TYPE): Likewise.
17974 (__SYSCALL_ULONG_TYPE): Likewise.
17975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17976 (__SYSCALL_SLONG_TYPE): Likewise.
17977 (__SYSCALL_ULONG_TYPE): Likewise.
17978
85736dc7
L
179792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17980
17981 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17982 Add sigaltstack-offsets.sym.
17983 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17984 <sigaltstack-offsets.h>.
17985 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17986 longjmp_msg pointer.
17987 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17988 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17989 signal stack.
17990 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17991
cc03b296
JM
179922012-05-15 Joseph Myers <joseph@codesourcery.com>
17993
a9538892
JM
17994 * elf/stackguard-macros.h: Remove file.
17995 * sysdeps/generic/stackguard-macros.h: New file.
17996 * sysdeps/i386/stackguard-macros.h: Likewise.
17997 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17998 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17999 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18000 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18001 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18002 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18003 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18004 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18005 <elf/stackguard-macros.h>.
18006
cc03b296
JM
18007 [BZ #14109]
18008 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18009 __aligned__ in attribute.
18010 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18011 (gregset_t): Likewise.
18012
93171016
L
180132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18014
18015 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18016 * sysdeps/x86_64/64/Implies-after: Here. New file.
18017 * sysdeps/x86_64/x32/Implies-after: New file.
18018
d86813a0
L
180192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18020
18021 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18022 and access return value for _dl_profile_fixup. Use R10_LP to
18023 load frame size.
18024
2953ec75
L
180252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18026
18027 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18028
3b550e9e
L
180292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18030
18031 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18032 * sysdeps/x86_64/x32/sysdep.h: New file.
18033
eda41706
L
180342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18035
18036 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18037 * sysdeps/x86_64/setjmp.S: Likewise.
18038
9ea01d93
AZ
180392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18040
18041 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18042 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18043 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18044 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18045 remove unused global constant.
18046
02a91938
CM
180472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18048
18049 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18050 include of <not-cancel.h>.
18051
6540185f
RM
180522012-05-15 Roland McGrath <roland@hack.frob.com>
18053
18054 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18055
509072a0
AJ
180562012-05-15 Jeff Law <law@redhat.com>
18057 Andreas Jaeger <aj@suse.de>
18058
18059 [BZ #13594]
18060 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18061 out from...
18062 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18063 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18064 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18065 code changing __hst_map_handle.map.
18066
ba75122d
RM
180672012-05-15 Roland McGrath <roland@hack.frob.com>
18068
18069 * configure.in (sysnames): Look for Implies-before and Implies-after
18070 files.
18071 * configure: Regenerated.
18072
890d8bd8
L
180732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18074
18075 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18076 8-byte data alignment with LP_SIZE alignment.
18077
f6ee6623
L
180782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18079
18080 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18081 into R10_LP.
18082
ea2626f6
L
180832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18086
085f715e
L
180872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18088
18089 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18090 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18094
be8498fc
L
180952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18096
18097 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18098 (stackinfo_sub_sp): Likewise.
18099
70bc83b9
L
181002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18101
18102 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18103 RAX_LP.
18104
9bc0b730
L
181052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18106
18107 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18108 into R*_LP.
18109
6d2850e7
L
181102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18111
18112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18113 sizes into R*_LP.
18114
3cb84561
L
181152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18116
18117 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18118
54e2ed81
L
181192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18120
18121 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18122 into R11_LP and load __x86_64_shared_cache_size_half into
18123 R8_LP.
18124
8a17f349
L
181252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18126
18127 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18128 R8_LP.
18129
777b1eea
AZ
181302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18131
18132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18133 logb for POWER7.
18134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18135 logbf for POWER7.
18136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18137 logbl for POWER7.
18138 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18139 powerpc32/power7/fpu/s_logb.c via #include.
18140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18141 powerpc32/power7/fpu/s_logbf.c via #include.
18142 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18143 powerpc32/power7/fpu/s_logbl.c via #include.
18144
d20d4ac2
JM
181452012-05-15 Joseph Myers <joseph@codesourcery.com>
18146
18147 * README.libm: Remove file.
18148
6cdef1ab
L
181492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18150
18151 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18152 count for x32. Use R*_LP and omit operand-size suffix.
18153
0b254d8f
L
181542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18155
18156 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18157 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18158 * sysdeps/x86_64/x32/shlib-versions: New file.
18159
ceb809dc
RM
181602012-05-14 Roland McGrath <roland@hack.frob.com>
18161
18162 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18163 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18164 Use _dl_fatal_printf instead.
18165
37f1abd4
JM
181662012-05-14 Joseph Myers <joseph@codesourcery.com>
18167
18168 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18169 set if not set by the user. Do not allow for being unset.
18170 * sysdeps/unix/sysv/linux/configure: Regenerated.
18171
11de3a33
L
181722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18173
18174 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18175 the `q' suffix from lea and replace .quad with ASM_ADDR.
18176
e02f153a
L
181772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18178
18179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18180 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18181 instead of $17.
18182 (PTR_DEMANGLE): Likewise.
18183
520ae0fd
L
181842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18185
18186 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18187 (LP_OP): Likewise.
18188 (ASM_ADDR): Likewise.
18189 (RAX_LP): Likewise.
18190 (RBP_LP): Likewise.
18191 (RBX_LP): Likewise.
18192 (RCX_LP): Likewise.
18193 (RDI_LP): Likewise.
18194 (RSI_LP): Likewise.
18195 (RSP_LP): Likewise.
18196 (R8_LP): Likewise.
18197 (R9_LP): Likewise.
18198 (R10_LP): Likewise.
18199 (R10_LP): Likewise.
18200 (R11_LP): Likewise.
18201 (R12_LP): Likewise.
18202 (R13_LP): Likewise.
18203 (R14_LP): Likewise.
18204 (R15_LP): Likewise.
18205
b985be81
L
182062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18207
18208 * sysdeps/x86_64/x32/dl-machine.h: New file.
18209
6a4888ff
AJ
182102012-05-14 Andreas Jaeger <aj@suse.de>
18211
18212 * manual/Makefile (subdir): Remove export of subdir.
18213 (all): Remove target.
18214 (.PHONY): Remove all from list.
18215 (mkinstalldirs): Remove.
18216 (.PHONY): Remove installdirs from list.
18217 ($(inst_infodir)/libc.info): Use make-target-directory.
18218 (installdirs): Remove.
18219 (subdir_%): Remove.
18220 (glibc-targets): Remove.
18221 (lib): Remove.
18222 (stubs): Remove.
18223 ($(objpfx)stubs ../po/manual.pot): Remove.
18224 ($(objpfx)stamp%): Remove.
18225 (make-target-directory): Remove.
18226 (subdir_install): Remove.
18227 (routines): Remove.
18228 (aux): Remove.
18229 (sources): Remove.
18230 (objects): Remove.
18231 (headers): Remove.
18232
18233 [BZ #13750]
18234 * manual/.gitignore: Remove, it's not needed anymore.
18235 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18236 all files in it.
18237 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18238 directory.
18239 (texis): Renamed to $(objpfx)texis.
18240 (texis-path): New, contains path to generated files.
18241 (chapters.%): Use texis-path for complete path, add extra argument
18242 libc-texinfo.sh.
18243 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18244 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18245 (summary,texi, stamp-summary): Use complete path of
18246 files. Generate files in build dir.
18247 (dir-add.texi): Build in build dir.
18248 (libm-err.texi,stamp-libm-err): Likewise.
18249 (version.texi, stamp-version): Likewise.
18250 (.%c.texi): Likewise.
18251 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18252 (mostlyclean): Remove target.
18253 (realclean): Remove target.
18254 (generated): Add new variable with contents from mostlyclean and
18255 realclean, remove entries duplicated in common-mostlyclean, add
18256 stamp-libm-err and stamp-version.
18257 (generated-dirs): Add libc directory.
18258 ($(inst_infodir)/libc.info): Install files from build dir.
18259
18260 * manual/install.texi (Configuring and compiling): Adjust since
18261 the info files are not part of the tar ball anymore.
18262
7ac77294
AJ
182632012-05-14 Andreas Jaeger <aj@suse.de>
18264
18265 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18266 variable.
18267
ffb7875d
JM
182682012-05-14 Joseph Myers <joseph@codesourcery.com>
18269
18270 [BZ #13717]
18271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18272 to 2.2.0 where earlier.
18273 * sysdeps/unix/sysv/linux/configure: Regenerated.
18274 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18275 Remove conditional code.
18276 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18277 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18278 Remove conditional code.
18279 [!__NR_lchown]: Likewise.
18280 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18281 [__NR_lchown]: Likewise.
18282 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18283 comment referencing __ASSUME_LCHOWN_SYSCALL.
18284 * sysdeps/unix/sysv/linux/i386/sigaction.c
18285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18288 Remove conditional code.
18289 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18290 (__protocol_available): Remove #if 0 code.
18291 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18292 conditional code.
18293 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18294 * sysdeps/unix/sysv/linux/kernel-features.h
18295 (__ASSUME_GETCWD_SYSCALL): Don't define.
18296 (__ASSUME_REALTIME_SIGNALS): Likewise.
18297 (__ASSUME_PREAD_SYSCALL): Likewise.
18298 (__ASSUME_PWRITE_SYSCALL): Likewise.
18299 (__ASSUME_POLL_SYSCALL): Likewise.
18300 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18301 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18302 non-SPARC.
18303 (__ASSUME_SIOCGIFNAME): Don't define.
18304 (__ASSUME_MSG_NOSIGNAL): Likewise.
18305 (__ASSUME_SENDFILE): Define unconditionally.
18306 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18307 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18308 conditional code.
18309 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18310 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18311 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18312 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18313 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18314 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18315 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18317 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18320 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18323 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18324 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18326 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18329 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18330 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18332 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18335 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18338 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18340 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18341 Remove conditional code.
18342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18343 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18344 Remove conditional code.
18345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18346 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18347 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18348 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18349 Remove conditional code.
18350 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18351 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18352 Remove conditional code.
18353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18354 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18355 Remove conditional code.
18356 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18357 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18358 Remove conditional code.
18359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18360 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18361 Remove conditional code.
18362 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18363 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18364 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18366 * sysdeps/unix/sysv/linux/sigaction.c
18367 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18368 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18369 * sysdeps/unix/sysv/linux/sigpending.c
18370 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18371 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18372 * sysdeps/unix/sysv/linux/sigprocmask.c
18373 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18374 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18375 * sysdeps/unix/sysv/linux/sigsuspend.c
18376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18379 (__libc_missing_rt_sigs): Remove.
18380 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18381 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18382 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18383 Remove conditional code.
18384 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18385 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18386 return 1.
18387 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18388 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18389 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18390 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18391
1bfb7291
AJ
183922012-05-14 Andreas Jaeger <aj@suse.de>
18393
caae5a81
AJ
18394 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18395 it's not used in glibc.
18396 (__coshm1): Likewise.
18397 (__acosh1p): Likewise.
18398 (__sgn): Likewise.
18399
1bfb7291
AJ
18400 * manual/string.texi (Copying and Concatenation): Add missing
18401 variable in concat example.
18402 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18403
c044d724
L
184042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18405
144c5467 18406 [BZ #14103]
c044d724
L
18407 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18408 __builtin_clzl with __builtin_clzll.
18409
2523c62b
L
184102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18411
18412 [BZ #14104]
18413 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18414 libc_freeres_ptr.
18415
d7bb4c42
LD
184162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18417
18418 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18419 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18420 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18421 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18422
9dc4e1fb
MF
184232012-05-14 Mike Frysinger <vapier@gentoo.org>
18424
18425 * NEWS: Update ia64 info.
18426
c7df0112
AS
184272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18428
18429 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18430 used as bcopy.
18431
dc70356c
TS
184322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18433
18434 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18435 * sysdeps/unix/syscalls.list (dup3): Likewise.
18436 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18437 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18438
9fb1a21f
L
184392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18440
18441 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18442 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18443
4822a2a5
L
184442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18445
18446 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18447 thread pointer.
18448 (TLS_IE): Use mov/add instead of movq/addq to load thread
18449 pointer.
18450 (TLS_GD_PREFIX): New.
18451 (TLS_GD): Use it.
18452
842b81d6
DM
184532012-05-11 David S. Miller <davem@davemloft.net>
18454
18455 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18456 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18457 (_FPU_SETCW): Likewise.
18458
1cf463cd
L
184592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18460
18461 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18462 is 32-byte aligned.
18463
60cc4a18
AS
184642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18465
18466 [BZ #11837]
18467 * iconvdata/gb18030.c: Update tables.
18468 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18469 characters specially.
18470 (BODY for TO_LOOP): Add encoding of missing ranges.
18471
febb44a4
TS
184722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18473
18474 [BZ #13673]
18475 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18476 * sysdeps/mach/hurd/dup3.c: Likewise.
18477 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18478 * sysdeps/powerpc/memmove.c:: Likewise.
18479
0a10fb9e
L
184802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18481
18482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18483 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18484
df8a552f
L
184852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18486
18487 * elf/elf.h (R_X86_64_RELATIVE64): New.
18488 (R_X86_64_NUM): Updated.
18489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18490 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18491 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18492 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18493 tst-quad1pie tst-quad2pie
18494 (modules-names): Add tst-quadmod1 tst-quadmod2.
18495 ($(objpfx)tst-quad1): New dependency.
18496 ($(objpfx)tst-quad2): Likewise.
18497 ($(objpfx)tst-quad1pie): Likewise.
18498 ($(objpfx)tst-quad2pie): Likewise.
18499 * sysdeps/x86_64/tst-quad1.c: New file.
18500 * sysdeps/x86_64/tst-quad1pie.c: New file.
18501 * sysdeps/x86_64/tst-quad2.c: Likewise.
18502 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18503 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18504 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18505 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18506 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18507
f34d6f84
ST
185082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18509
f42d41d1
ST
18510 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18511 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18512 * streams/stropts.h (t_scalar_t): Define type.
18513
3c3571fc
ST
18514 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18515 (_PATH_PRESERVE): Set to "/var/lib".
18516 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18517
61f06bd3
ST
18518 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18519 instead of int.
18520
918d4d71
ST
18521 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18522 if __dir_mkfile succeeded.
18523
f34d6f84
ST
18524 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18525 checking for _hurd_dtablesize. Unlock it right after having
18526 finished _hurd_dtable allocation.
18527
10589b4a
TS
185282012-05-10 Thomas Schwinge <thomas@schwinge.name>
18529
674cdbc7
TS
18530 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18531 * sysdeps/mach/hurd/configure: Regenerated.
18532 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18533 special-casing to...
18534 * sysdeps/gnu/configure.in: ... this new file.
18535 * sysdeps/unix/sysv/linux/configure: Regenerated.
18536 * sysdeps/gnu/configure: New generated file.
18537
8e41b99f
TS
18538 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18539 for Linux: use nsec instead of usec, as well as:
18540 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18541 members of type struct timespec.
18542 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18543 New macros.
18544 (struct stat64): Likewise.
18545 (_STATBUF_ST_NSEC): New macro.
18546 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18547
10589b4a
TS
18548 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18549 __strtoul_internal rather than strtoul.
18550
63643c85
PT
185512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18552
18553 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18554 and reject them.
18555
3faebe6a
ST
185562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18557
18558 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18559 which preserves existing values.
18560 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18561
c6474b07
PT
185622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18563
18564 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18565 TIMEOUT values. Return EINVAL for NFDS values either negative or
18566 greater than FD_SETSIZE.
18567
1043890b
ST
185682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18569
18570 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18571 allocated, call __vm_protect to finish enabling the existing space, and
18572 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18573 allocate the remainder.
18574
37ed8b9b
PT
185752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18576
18577 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18578 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18579
db653660
ST
185802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18581
37ed8b9b
PT
18582 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18583 sysdeps/mach/hurd/readlink.c.
b29d4053 18584
db653660
ST
18585 * posix/tst-sysconf.c (posix_options): Only use
18586 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18587 _POSIX_SYNCHRONIZED_IO when they are defined
18588 * sysdeps/mach/hurd/bits/posix_opt.h:
18589 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18590 (_XOPEN_REALTIME): Undefine macro.
18591 (_XOPEN_REALTIME_THREADS): Undefine macro.
18592 (_XOPEN_SHM): Undefine macro.
18593 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18594 macro to -1.
18595 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18596 macro to -1.
18597 (_POSIX_ASYNC_IO): Undefine macro.
18598 (_POSIX_PRIORITIZED_IO): Undefine macro.
18599 (_POSIX_SPIN_LOCKS): Define macro to -1.
18600
ee16e894
ST
18601 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18602 SA_NODEFER, SA_RESETHAND.
18603 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18604 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18605 F_DUPFD_CLOEXEC.
18606
6103ae3b
TS
186072012-05-10 Thomas Schwinge <thomas@schwinge.name>
18608
18609 * elf/Makefile (pldd-modules): Define unconditionally.
18610
80b4e5f3
TS
186112012-05-10 Thomas Schwinge <thomas@schwinge.name>
18612
18613 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18614
edadcbd6
ST
186152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18616
18617 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18618 Return ENOENT when name is empty.
18619 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18620
80694780
TS
186212012-05-10 Thomas Schwinge <thomas@schwinge.name>
18622
1792c087
TS
18623 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18624
80694780
TS
18625 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18626
6b645f0d
ST
186272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18628
80694780
TS
18629 Fix mlock in all cases except non-readable pages.
18630 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18631 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18632
6b645f0d
ST
18633 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18634 (__mkdir): When path is `/', just fail with EEXIST.
18635 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18636
e468f8a3
TS
186372012-05-10 Thomas Schwinge <thomas@schwinge.name>
18638
18639 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18640 <sys/uio.h> (for writev).
18641 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18642 and <sys/param.h> (for MIN).
18643
a4186cff
PT
186442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18645
18646 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18647 REQUESTED_TIME. Properly set the remaining time and return EINTR
18648 if interrupted.
18649
510bbf14
TS
186502012-05-10 Thomas Schwinge <thomas@schwinge.name>
18651
18652 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18653 Depend on against $(link-rpcuserlibs).
18654
5d5722e8
ST
186552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18656
a4186cff
PT
18657 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18658 (__libc_stack_end): Do not use attribute_relro.
18659 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18660 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18661 to libthread-provided value.
a4186cff
PT
18662 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18663 attribute_relro.
5d5722e8 18664
37233df9
TS
186652012-05-10 Thomas Schwinge <thomas@schwinge.name>
18666
be971a2b
TS
18667 [BZ #3748]
18668 * bits/libc-lock.h (__libc_once_get): New macro.
18669 * sysdeps/mach/bits/libc-lock.h: Likewise.
18670 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18672 instead of using implementation details.
18673
37233df9
TS
18674 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18675 * libio/freopen.c: Likewise.
18676 * libio/freopen64.c: Likewise.
18677 * misc/syslog.c: Likewise.
18678 * nscd/connections.c: Likewise.
18679 * nscd/netgroupcache.c: Likewise.
18680 * sysdeps/posix/getcwd.c: Likewise.
18681
38de94a5
RM
186822012-05-10 Roland McGrath <roland@hack.frob.com>
18683
18684 * math/w_ilogbf.c: Add #include <limits.h>.
18685
67530489
ST
186862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18687
a4186cff 18688 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18689 path instead of returning without unlocking.
18690
67530489
ST
18691 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18692 immediate-write ioctls.
18693 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18694
5aa3a74a
TS
186952012-05-10 Thomas Schwinge <thomas@schwinge.name>
18696
18bad2ae
TS
18697 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18698 __builtin_frame_address instead of making assumptions about the
18699 location of the return address relative to DATA. Force early load of
18700 the return address.
18701 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18702 __builtin_frame_address.
18703
5aa3a74a
TS
18704 dup3 for GNU Hurd.
18705 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18706 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18707 implement dup3 and do some further code clean-ups.
18708 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18709 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18710
ecd0de9a
ST
187112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18712
cd9fa985
ST
18713 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18714
a4186cff
PT
18715 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18716 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18717 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18718 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18719 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18720 d->port.lock.
802ca5a5 18721
a4186cff
PT
18722 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18723 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18724 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18725
bcf55240
TS
187262012-05-10 Thomas Schwinge <thomas@schwinge.name>
18727
6960eb42
TS
18728 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18729 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18730 definitions.
18731
eb43375f
TS
18732 accept4 for GNU Hurd.
18733 * include/sys/socket.h (__libc_accept4): New prototype.
18734 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18735 to implement __libc_accept4.
18736 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18737 __libc_accept4.
18738 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18739
bcf55240
TS
18740 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18741 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18742 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18743 signal-defines.sym.
18744
6178c55b
ST
187452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18746
a4186cff 18747 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18748
6f080c2f
TS
187492012-05-10 Thomas Schwinge <thomas@schwinge.name>
18750
18751 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18752 assertion on O_CLOEXEC flag.
18753 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18754 * hurd/intern-fd.c: Likewise.
18755 * hurd/port2fd.c: Likewise.
18756
bcfe3a54
ST
187572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18758
18759 [BZ #3906]
18760 * bits/in.h (IPV6_PKTINFO): Define new macro.
18761 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18762
89c9aa49
AZ
187632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18764
18765 [BZ #13954]
18766 [BZ #13955]
18767 [BZ #13956]
18768 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18770 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18771 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18773 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18774 * math/libm-test.inc (logb_test) : Additional logb tests.
18775
021db4be
AJ
187762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18777 Andreas Jaeger <aj@suse.de>
18778
18779 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18780 * configure: Regenerated.
18781 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18782 * config.make.in (link-obsolete-rpc): New substituted variable.
18783 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18784 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18785 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18786 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18787 so that libc.a contains the symbols.
18788 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18789 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18790 * sunrpc/auth_none.c: Likewise.
18791 * sunrpc/auth_unix.c: Likewise.
18792 * sunrpc/authdes_prot.c: Likewise.
18793 * sunrpc/authuxprot.c: Likewise.
18794 * sunrpc/clnt_gen.c: Likewise.
18795 * sunrpc/clnt_perr.c: Likewise.
18796 * sunrpc/clnt_raw.c: Likewise.
18797 * sunrpc/clnt_simp.c: Likewise.
18798 * sunrpc/clnt_tcp.c: Likewise.
18799 * sunrpc/clnt_udp.c: Likewise.
18800 * sunrpc/clnt_unix.c: Likewise.
18801 * sunrpc/des_crypt.c: Likewise.
18802 * sunrpc/des_soft.c: Likewise.
18803 * sunrpc/get_myaddr.c: Likewise.
18804 * sunrpc/key_call.c: Likewise.
18805 * sunrpc/key_prot.c: Likewise.
18806 * sunrpc/netname.c: Likewise.
18807 * sunrpc/pm_getmaps.c: Likewise.
18808 * sunrpc/pm_getport.c: Likewise.
18809 * sunrpc/pmap_clnt.c: Likewise.
18810 * sunrpc/pmap_prot.c: Likewise.
18811 * sunrpc/pmap_prot2.c: Likewise.
18812 * sunrpc/pmap_rmt.c: Likewise.
18813 * sunrpc/publickey.c: Likewise.
18814 * sunrpc/rpc_cmsg.c: Likewise.
18815 * sunrpc/rpc_common.c: Likewise.
18816 * sunrpc/rpc_dtable.c: Likewise.
18817 * sunrpc/rpc_prot.c: Likewise.
18818 * sunrpc/rpc_thread.c: Likewise.
18819 * sunrpc/rtime.c: Likewise.
18820 * sunrpc/svc.c: Likewise.
18821 * sunrpc/svc_auth.c: Likewise.
18822 * sunrpc/svc_raw.c: Likewise.
18823 * sunrpc/svc_run.c: Likewise.
18824 * sunrpc/svc_tcp.c: Likewise.
18825 * sunrpc/svc_udp.c: Likewise.
18826 * sunrpc/svc_unix.c: Likewise.
18827 * sunrpc/svcauth_des.c: Likewise.
18828 * sunrpc/xcrypt.c: Likewise.
18829 * sunrpc/xdr.c: Likewise.
18830 * sunrpc/xdr_array.c: Likewise.
18831 * sunrpc/xdr_float.c: Likewise.
18832 * sunrpc/xdr_intXX_t.c: Likewise.
18833 * sunrpc/xdr_mem.c: Likewise.
18834 * sunrpc/xdr_rec.c: Likewise.
18835 * sunrpc/xdr_ref.c: Likewise.
18836 * sunrpc/xdr_sizeof.c: Likewise.
18837 * sunrpc/xdr_stdio.c: Likewise.
18838
b5c086a2
RM
188392012-05-10 Roland McGrath <roland@hack.frob.com>
18840
18841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18842 change. Update copyright years.
18843
6d74dd09
JM
188442012-05-10 Joseph Myers <joseph@codesourcery.com>
18845
18846 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18847
28e72501
MK
188482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18849 Joseph Myers <joseph@codesourcery.com>
18850 Paul Pluzhnikov <ppluzhnikov@google.com>
18851
18852 [BZ #14012]
18853 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18854 requiring rpcgen.
18855 [cross-compiling] (extra-libs): Likewise.
18856 [cross-compiling] (extra-libs-others): Likewise.
18857 [cross-compiling] (librpcsvc-routines): Likewise.
18858 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18859 [cross-compiling] (omit-deps): Likewise.
18860 (sunrpc-CPPFLAGS): New variable.
18861 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18862 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18863 (cross-rpcgen-objs): New variable.
18864 (extra-objs): Append $(cross-rpcgen-objs).
18865 ($(cross-rpcgen-objs)): New rule.
18866 ($(objpfx)cross-rpcgen): Likewise.
18867 (rpcgen-cmd): Define to use $(built-program-file). Expand
18868 comment.
18869 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18870 ($(objpfx)x%.stmp): Likewise.
18871 * sunrpc/proto.h [IS_IN_build] (_): Define.
18872 [IS_IN_build] (_libc_intl_domainname): Likewise.
18873
c8c59454
L
188742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18875
18876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18877 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18878 and R_X86_64_TPOFF64.
18879
6f27cd16
JM
188802012-05-10 Joseph Myers <joseph@codesourcery.com>
18881
18882 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18883 sysdeps/unix/sysv/syscalls.list.
18884 (stime): Likewise.
18885 (utime): Likewise.
18886 * sysdeps/unix/sysv/syscalls.list: Remove file.
18887
02467e1c
PE
188882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18889
18890 [BZ #3440]
18891 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18892 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18893 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18894 (__LC_IDENTIFICATION): Make these macros useful in #if
18895 expressions, as required by C99.
18896
da392631
AS
188972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18898
18899 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18900 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18901 after this.
18902
8115f29b
L
189032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18904
18905 * stdlib/longlong.h: Updated from GCC.
18906
bdd74070
AJ
189072012-05-09 Andreas Jaeger <aj@suse.de>
18908
edfe0dbe
AJ
18909 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18910 default is first entry.
18911 (run_mode): Set type.
18912 (main): Remove informal message about syslog.
18913 (options): Fix typo.
18914
bcfe3a54
ST
18915 [BZ #14053]
18916 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18917 to asm.
bcfe3a54
ST
18918 (lrint): Likewise.
18919 (llrintf): Likewise.
18920 (llrint): Likewise.
18921 (rint): Likewise.
18922 (rintf): Likewise.
18923 (nearbyint): Likewise.
18924 (nearbyintf): Likewise.
bdd74070 18925
91d8d69e
AJ
189262012-05-09 Andreas Jaeger <aj@suse.de>
18927 Pedro Alves <palves@redhat.com>
18928
18929 * nscd/nscd.c (run_mode): Use enum.
18930 (main): Cleanup coding style issue.
18931
bb90b80b
AJ
189322012-05-09 Alexandre Oliva <aoliva@redhat.com>
18933 Andreas Jaeger <aj@suse.de>
18934
bcfe3a54
ST
18935 * nscd/nscd.c (go_background): Replaced with...
18936 (run_mode): ... this.
bb90b80b 18937 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18938 (options): Add -F --foreground.
18939 (main): Implement it.
18940 (parse_opt): Parse it.
bb90b80b 18941
1a4b75a1
AJ
189422012-05-09 Andreas Jaeger <aj@suse.de>
18943
18944 [BZ #14083]
18945 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18946 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18947 -Wconversion warning.
18948 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18949 Likewise.
18950
b1cc2472
JM
189512012-05-09 Joseph Myers <joseph@codesourcery.com>
18952
18953 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18954 == 0.
18955 (LC_ALL): Use macro-int-constant.
18956 (LC_COLLATE): Likewise.
18957 (LC_CTYPE): Likewise.
18958 (LC_MESSAGES): Likewise.
18959 (LC_MONETARY): Likewise.
18960 (LC_NUMERIC): Likewise.
18961 (LC_TIME): Likewise.
18962 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18963 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18964 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18965 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18966 Specify type.
18967 [C99-based standards] (float_t): Expect type.
18968 [C99-based standards] (double_t): Expect type.
18969 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18970 type.
18971 [C99-based standards] (HUGE_VALL): Likewise.
18972 [C99-based standards] (INFINITY): Likewise.
18973 [C99-based standards] (NAN): Likewise.
18974 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18975 [C99-based standards] (FP_NAN): Likewise.
18976 [C99-based standards] (FP_NORMAL): Likewise.
18977 [C99-based standards] (FP_SUBNORMAL): Likewise.
18978 [C99-based standards] (FP_ZERO): Likewise.
18979 [C99-based standards] (FP_FAST_FMA): Use
18980 optional-macro-int-constant. Specify type. Require == 1.
18981 [C99-based standards] (FP_FAST_FMAF): Likewise.
18982 [C99-based standards] (FP_FAST_FMAL): Likewise.
18983 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18984 [C99-based standards] (FP_ILOGBNAN): Likewise.
18985 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18986 Specify type.
18987 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18988 [C99-based standards] (math_errhandling): Specify type.
18989 [ISO99 || ISO11] (signgam): Do not allow.
18990 [non-C99-based standards] (copysignf): Do not allow.
18991 [non-C99-based standards] (exp2f): Likewise.
18992 [non-C99-based standards] (log2f): Likewise.
18993 [non-C99-based standards] (modff): Allow.
18994 [non-C99-based standards] (erff): Do not allow.
18995 [non-C99-based standards] (erfcf): Likewise.
18996 [non-C99-based standards] (gammaf): Likewise.
18997 [non-C99-based standards] (hypotf): Likewise.
18998 [non-C99-based standards] (j0f): Likewise.
18999 [non-C99-based standards] (j1f): Likewise.
19000 [non-C99-based standards] (jnf): Likewise.
19001 [non-C99-based standards] (lgammaf): Likewise.
19002 [non-C99-based standards] (tgammaf): Likewise.
19003 [non-C99-based standards] (y0f): Likewise.
19004 [non-C99-based standards] (y1f): Likewise.
19005 [non-C99-based standards] (ynf): Likewise.
19006 [non-C99-based standards] (isnanf): Likewise.
19007 [non-C99-based standards] (acoshf): Likewise.
19008 [non-C99-based standards] (asinhf): Likewise.
19009 [non-C99-based standards] (atanhf): Likewise.
19010 [non-C99-based standards] (cbrtf): Likewise.
19011 [non-C99-based standards] (expm1f): Likewise.
19012 [non-C99-based standards] (ilogbf): Likewise.
19013 [non-C99-based standards] (log1pf): Likewise.
19014 [non-C99-based standards] (logbf): Likewise.
19015 [non-C99-based standards] (nextafterf): Likewise.
19016 [non-C99-based standards] (remainderf): Likewise.
19017 [non-C99-based standards] (rintf): Likewise.
19018 [non-C99-based standards] (scalbf): Likewise.
19019 [non-C99-based standards] (copysignl): Likewise.
19020 [non-C99-based standards] (exp2l): Likewise.
19021 [non-C99-based standards] (log2l): Likewise.
19022 [non-C99-based standards] (modfl): Allow.
19023 [non-C99-based standards] (erfl): Do not allow.
19024 [non-C99-based standards] (erfcl): Likewise.
19025 [non-C99-based standards] (gammal): Likewise.
19026 [non-C99-based standards] (hypotl): Likewise.
19027 [non-C99-based standards] (j0l): Likewise.
19028 [non-C99-based standards] (j1l): Likewise.
19029 [non-C99-based standards] (jnl): Likewise.
19030 [non-C99-based standards] (lgammal): Likewise.
19031 [non-C99-based standards] (tgammal): Likewise.
19032 [non-C99-based standards] (y0l): Likewise.
19033 [non-C99-based standards] (y1l): Likewise.
19034 [non-C99-based standards] (ynl): Likewise.
19035 [non-C99-based standards] (isnanl): Likewise.
19036 [non-C99-based standards] (acoshl): Likewise.
19037 [non-C99-based standards] (asinhl): Likewise.
19038 [non-C99-based standards] (atanhl): Likewise.
19039 [non-C99-based standards] (cbrtl): Likewise.
19040 [non-C99-based standards] (expm1l): Likewise.
19041 [non-C99-based standards] (ilogbl): Likewise.
19042 [non-C99-based standards] (log1pl): Likewise.
19043 [non-C99-based standards] (logbl): Likewise.
19044 [non-C99-based standards] (nextafterl): Likewise.
19045 [non-C99-based standards] (remainderl): Likewise.
19046 [non-C99-based standards] (rintl): Likewise.
19047 [non-C99-based standards] (scalbl): Likewise.
19048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19049 [non-C99-based standards] (FP_*): Do not allow.
19050 [C99-based standards] (FP_*): Change to
19051 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19052 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19053 allow.
19054 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19055 (SIG_ERR): Likewise.
19056 [X/Open-based standards] (SIG_HOLD): Likewise.
19057 (SIG_IGN): Likewise.
19058 (SIGABRT): Use macro-int-constant. Specify type. Require
19059 positive value.
19060 (SIGFPE): Likewise.
19061 (SIGILL): Likewise.
19062 (SIGINT): Likewise.
19063 (SIGSEGV): Likewise.
19064 (SIGTER): Likewise.
19065 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19066 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19067 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19068 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19069 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19070 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19071 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19072 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19073 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19074 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19075 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19076 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19077 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19078 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19079 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19080 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19081 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19082 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19083 [X/Open-based standards] (SIGTRAP): Likewise.
19084 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19085 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19086 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19087 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19088 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19089 allow.
19090
b9f1922d
IW
190912012-05-08 Ian Wienand <ianw@vmware.com>
19092
19093 [BZ #14080]
19094 * time/tzset.c (__tzset_parse_tz): Update default rules for
19095 daylight time changes in the Energy Policy Act of 2005.
19096
1db86e88
AJ
190972012-05-09 Andreas Jaeger <aj@suse.de>
19098
19099 [BZ #13983]
19100 * elf/ldconfig.c (parse_conf): Change string to make clear that
19101 ldconfig only issued a warning if ld.so.conf does not exist.
19102
dee4a4e3
DM
191032012-05-08 David S. Miller <davem@davemloft.net>
19104
ee0db190
DM
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19106 movxtod instead of popping the value on the stack.
19107
dee4a4e3
DM
19108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19109
6a43ec98
CD
191102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19111
19112 * config.h.in: Add HAVE_ARM_PCS_VFP.
19113
05c2c961
RMG
191142012-05-08 Roland Mc Grath <roland@hack.frob.com>
19115
bcfe3a54
ST
19116 [BZ #13979]
19117 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19118 checking but the checks are disabled for any reason.
05c2c961 19119
4b30f61a
L
191202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19121
19122 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19123 and ELF64_R_TYPE with ELFW(R_TYPE).
19124
eee2bc67
JM
191252012-05-08 Joseph Myers <joseph@codesourcery.com>
19126
7ea5391a
JM
19127 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19128 (ulimit): Likewise.
19129
eee2bc67
JM
19130 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19131 (settimeofday): Likewise.
19132
abb66a67
MF
191332012-05-08 Mike Frysinger <vapier@gentoo.org>
19134
19135 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19136 a struct th_u2 inside the union, and move tu_block/tu_code into
19137 a new th_u3 union of tu_block/tu_code inside of that. Move
19138 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19139 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19140 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19141 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19142 (th_stuff): Change to th_u1.tu_stuff.
19143 (th_data): Define.
19144 (th_msg): Change to th_u1.th_u2.tu_data.
19145
7f18b530
DM
191462012-05-07 David S. Miller <davem@davemloft.net>
19147
05760585
DM
19148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19149
7f18b530
DM
19150 [BZ #14074]
19151 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19152 (SETUP_PIC_REG): Use it.
19153 (SETUP_PIC_REG_LEAF): Use it.
19154
495fd99f
JM
191552012-05-07 Joseph Myers <joseph@codesourcery.com>
19156
19157 [BZ #13885]
19158 [BZ #13923]
19159 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19160 USE_AS_EXPM1L.
19161 (EXPL_FINITE): Likewise.
19162 (FLDLOG): Likewise.
19163 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19164 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19165 e_expl.S.
19166 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19167 USE_AS_EXPM1L.
19168 (EXPL_FINITE): Likewise.
19169 (FLDLOG): Likewise.
19170 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19171 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19172 e_expl.S.
19173 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19174 test of -max_value argument for long double.
19175 * sysdeps/i386/fpu/libm-test-ulps: Update.
19176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19177
6693d694
DM
191782012-05-06 David S. Miller <davem@davemloft.net>
19179
19180 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19181 quad soft-float symbols whose references which are compiler
19182 generated.
19183 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19184
6c23e11c
JM
191852012-05-06 Joseph Myers <joseph@codesourcery.com>
19186
d8b82cad
JM
19187 [BZ #13884]
19188 [BZ #13914]
19189 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19190 USE_AS_EXP10L.
19191 (EXPL_FINITE): Likewise.
19192 (FLDLOG): Likewise.
19193 (c0): Likewise.
19194 (c1): Likewise.
19195 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19196 Adjust comments for base varying.
19197 (__expl_finite): Change alias to EXPL_FINITE.
19198 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19199 e_expl.S.
19200 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19201 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19203 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19204 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19205 USE_AS_EXP10L.
19206 (EXPL_FINITE): Likewise.
19207 (FLDLOG): Likewise.
19208 (c0): Likewise.
19209 (c1): Likewise.
19210 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19211 Adjust comments for base varying.
19212 (__expl_finite): Change alias to EXPL_FINITE.
19213 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19214 tests for bugs.
19215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19216
6c23e11c
JM
19217 [BZ #14064]
19218 * math/libm-test.inc (check_float_internal): Correct ulp
19219 calculation for subnormal expected results.
19220
29ba805c
AJ
192212012-05-06 Andreas Jaeger <aj@suse.de>
19222
19223 * Makeconfig (+math-flags): New, set to -frounding-math.
19224 (+cflags): Add +math-flags so that all of glibc gets compiled with
19225 it.
19226
19227 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19228
7b17aeda
JM
192292012-05-05 Joseph Myers <joseph@codesourcery.com>
19230
5779f134
JM
19231 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19232 Disable one test.
19233
41498f4d
JM
19234 [BZ #13787]
19235 [BZ #13922]
19236 [BZ #14036]
19237 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19238 (__ieee754_expl): Allow for and saturate large arguments.
19239 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19240 (u_threshold): Likewise.
19241 (__exp): Call __ieee754_exp before checking for overflow and
19242 underflow.
19243 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19244 (u_threshold): Likewise.
19245 (__expf): Call __ieee754_expf before checking for overflow and
19246 underflow.
19247 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19248 (u_threshold): Likewise.
19249 (__expl): Call __ieee754_expl before checking for overflow and
19250 underflow.
19251 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19252 (__ieee754_expl): Allow for and saturate large arguments.
19253 * math/libm-test.inc (exp_test): Add another test. Do not allow
19254 missing overflow exception on overflow.
19255 (expm1_test): Do not allow missing overflow exception on overflow.
19256
6698b8bf
JM
19257 * sysdeps/i386/fpu/e_expl.c: Move to ...
19258 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19259 rather than using inline asm.
19260 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19261 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19262 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19263
7b17aeda
JM
19264 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19265 (nice): Likewise.
19266 (poll): Likewise.
19267 (signal): Likewise.
19268 (time): Likewise.
19269 (times): Likewise.
19270
f7c85819
JM
192712012-05-04 Joseph Myers <joseph@codesourcery.com>
19272
19273 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19274 sysdeps/unix/common/syscalls.list.
19275 (fchmod): Likewise.
19276 (fchown): Likewise.
19277 (ftruncate): Likewise.
19278 (getrusage): Likewise.
19279 (gettimeofday): Likewise.
19280 (setpgid): Likewise.
19281 (setregid): Likewise.
19282 (setreuid): Likewise.
19283 (sigaction): Likewise.
19284 (truncate): Likewise.
19285 (vhangup): Likewise.
19286 * sysdeps/unix/common/syscalls.list: Remove file.
19287 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19288 * sysdeps/unix/sysv/linux/Implies: Likewise.
19289
336270d0
L
192902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19291
19292 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19294 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19295 Moved to ...
19296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19297 Here.
19298 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19299 to ...
19300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19301 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19302 to ...
19303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19304 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19305 to ...
19306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19307 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19308 to ...
19309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19310 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19311 to ...
19312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19313 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19314 to ...
19315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19316 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19317 to ...
19318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19319 Here.
19320 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19321 to ...
19322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19323 Here.
19324 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19325 to ...
19326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19327 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19328 Moved to ...
19329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19330 Here.
19331 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19332 to ...
19333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19334
d128e450
JM
193352012-05-04 Joseph Myers <joseph@codesourcery.com>
19336
fa8ee516
JM
19337 * sysdeps/unix/common/bits/dirent.h: Remove file.
19338 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19339
d128e450
JM
19340 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19341 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19342 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19343 * sysdeps/unix/bsd/isatty.c: Likewise.
19344 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19345 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19346 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19347
ff8faaf0 193482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19349
62881be4 19350 [BZ #13563]
31dc8730
AZ
19351 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19352 long double comparison inaccuracies.
19353 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19355
6fef930c
AS
193562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19357
19358 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19359 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19360
8f203e6c
JM
193612012-05-04 Joseph Myers <joseph@codesourcery.com>
19362
19363 [BZ #14049]
19364 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19365 nonzero digits before rounding a hex value.
19366 * stdlib/tst-strtod.c (tests): Add another test.
19367
5197d9c2
AK
193682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19369
19370 * sysdeps/s390/fpu/libm-test-ulps: Update.
19371
f0c1dedf
AJ
193722012-05-03 Andreas Jaeger <aj@suse.de>
19373
19374 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19375 does not get optimized out.
19376 (malloc_opt_barrier): New.
19377
a65ef2ae 193782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19379 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19380
2b942cb7 19381 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19382 intermediate file deletion.
2b942cb7 19383 (generated): Add .symlist files.
a65ef2ae 19384
54b71e02
JM
193852012-05-03 Joseph Myers <joseph@codesourcery.com>
19386
19387 [BZ #13775]
19388 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19389 Redirect under this condition.
19390 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19391 [__USE_GNU] (__dprintf_chk): Not under this condition.
19392 [__USE_GNU] (__vdprintf_chk): Likewise.
19393 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19394 under this condition.
19395 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19396 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19397 [__USE_XOPEN2K8] (vdprintf): Likewise.
19398 [__USE_GNU] (__dprintf_chk): Not under this condition.
19399 [__USE_GNU] (__vdprintf_chk): Likewise.
19400 [__USE_GNU] (dprintf): Likewise.
19401 [__USE_GNU] (vdprintf): Likewise.
19402
d3dfcc41
RM
194032012-05-03 Roland McGrath <roland@hack.frob.com>
19404
19405 * elf/Makefile (common-generated): Set this instead of generated for
19406 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19407 $(all-built-dso)-derived lists.
19408
7ac30cc5
AJ
194092012-05-03 Andreas Jaeger <aj@suse.de>
19410
0c51e550
AJ
19411 * sysdeps/i386/fpu/libm-test-ulps: Update.
19412
7ac30cc5
AJ
19413 * FAQ: Removed.
19414 * FAQ.in: Likewise.
19415 * scripts/gen-FAQ.pl: Likewise.
19416 * manual/install.texi (Installation): Point to online location of
19417 FAQ.
19418 * Makefile (files-for-dist): Remove FAQ.
19419 (FAQ): Remove.
19420
d4c2917f
AM
194212012-05-02 Allan McRae <allan@archlinux.org>
19422
19423 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19424 (LDFLAGS-reldepmod5.so): Likewise.
19425 (LDFLAGS-reldep6mod1.so): Likewise.
19426 (LDFLAGS-reldep6mod4.so): Likewise.
19427 (LDFLAGS-reldep8mod3.so): Likewise.
19428 (LDFLAGS-unload4mod1.so): Likewise.
19429 (LDFLAGS-unload4mod2.so): Likewise.
19430 (LDFLAGS-tst-initorder): Likewise.
19431 (LDFLAGS-tst-initordera2.so): Likewise.
19432 (LDFLAGS-tst-initordera3.so): Likewise.
19433 (LDFLAGS-tst-initordera4.so): Likewise.
19434 (LDFLAGS-tst-initorderb2.so): Likewise.
19435 (LDFLAGS-noload): Likewise.
19436 (LDFLAGS-next): Likewise.
19437 (LDFLAGS-order2mod1.so): Likewise.
19438 (LDFLAGS-order2mod2.so): Likewise.
19439 (LDFLAGS-tst-initorder2): Likewise.
19440 (LDFLAGS-tst-initorder2a.so): Likewise.
19441 (LDFLAGS-tst-initorder2b.so): Likewise.
19442 (LDFLAGS-tst-initorder2c.so): Likewise.
19443 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19444
d77f993f
DM
194452012-05-02 David S. Miller <davem@davemloft.net>
19446
19447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19448
171a70b4
PP
194492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19450
19451 [BZ #14055]
19452 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19453
0be196ad
AJ
194542012-05-02 Andreas Jaeger <aj@suse.de>
19455
19456 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19457 since we manipulate rounding mode.
19458 (CPPFLAGS-test-idouble.c): Likewise.
19459 (CPPFLAGS-test-ifloat.c): Likewise.
19460 (CFLAGS-test-ldouble.c): Likewise.
19461 (CFLAGS-test-double.c): Likewise.
19462 (CFLAGS-test-float.c): Likewise.
19463 (CFLAGS-test-misc.c): Likewise.
19464 (CFLAGS-test-test-fenv.c): Likewise.
19465
4f9d04aa
AZ
194662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19467
2b942cb7
RM
19468 [BZ #2550]
19469 [BZ #2570]
19470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19471 comparisons to determine direction to adjust input.
4f9d04aa 19472
82a79e7d
RM
194732012-05-01 Roland McGrath <roland@hack.frob.com>
19474
f5a01ca9
RM
19475 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19476 output to the target.
19477
90fe4186
RM
19478 * scripts/localplt.awk: New file.
19479 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19480 (check-localplt-CFLAGS): Variable removed.
19481 ($(all-built-dso:=.jmprel)): New static pattern rule.
19482 (generated): Add those targets.
19483 (localplt-built-dso): New variable.
19484 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19485
19486 * elf/check-localplt.c: File removed.
19487
82397ed6
RM
19488 * scripts/check-execstack.awk: New file.
19489 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19490 (check-execstack-CFLAGS): Variable removed.
19491 ($(objpfx)check-execstack.h): Target removed.
19492 ($(objpfx)execstack-default): New target.
19493 (generated): Add that instead of check-execstack.h.
19494 ($(all-built-dso:=.phdr)): New static pattern rule.
19495 (generated): Add those targets.
19496 * elf/check-execstack.c: File removed.
19497
82a79e7d
RM
19498 * scripts/check-textrel.awk: New file.
19499 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19500 (check-textrel-CFLAGS): Variable removed.
19501 (all-built-dso): Use := to define.o
19502 ($(all-built-dso:=.dyn)): New static pattern rule.
19503 (generated): Add those targets.
19504 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19505 * config.make.in (READELF): New substituted variable.
19506 * elf/check-textrel.c: File removed.
19507
62fde54f 195082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19509
615605c9
JM
19510 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19511 allow.
19512 * conform/data/ctype.h-data [C99-based standards] (isblank):
19513 Expect function.
19514 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19515 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19517 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19518 Specify type. Require positive value.
19519 (EILSEQ): Likewise.
19520 (ERANGE): Likewise.
19521 [ISO || POSIX] (EILSEQ): Do not expect.
19522 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19523 Specify type. Require positive value.
19524 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19551 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19552 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19555 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19556 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19557 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19558 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19559 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19561 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19564 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19571 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19572 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19573 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19577 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19578 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19579 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19598 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19599 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19600 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19601 Require >= 2.
19602 (FLT_ROUNDS): Expect as macro, not constant.
19603 (FLT_MANT_DIG): Use macro-int-constant.
19604 (DBL_MANT_DIG): Likewise.
19605 (LDBL_MANT_DIG): Likewise.
19606 (FLT_DIG): Likewise.
19607 (DBL_DIG): Likewise.
19608 (LDBL_DIG): Likewise.
19609 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19610 (DBL_MIN_EXP): Likewise.
19611 (LDBL_MIN_EXP): Likewise.
19612 (FLT_MAX_EXP): Use macro-int-constant.
19613 (DBL_MAX_EXP): Likewise.
19614 (LDBL_MAX_EXP): Likewise.
19615 (FLT_MAX_10_EXP): Likewise.
19616 (DBL_MAX_10_EXP): Likewise.
19617 (LDBL_MAX_10_EXP): Likewise.
19618 (FLT_MAX): Use macro-constant.
19619 (DBL_MAX): Likewise.
19620 (LDBL_MAX): Likewise.
19621 (FLT_EPSILON): Use macro-constant. Give upper bound.
19622 (DBL_EPSILON): Likewise.
19623 (LDBL_EPSILON): Likewise.
19624 (FLT_MIN): Likewise.
19625 (DBL_MIN): Likewise.
19626 (LDBL_MIN): Likewise.
19627 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19628 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19629 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19630 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19631 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19632 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19633 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19634 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19635 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19636 [ISO11] (FLT_TRUE_MIN): Likewise.
19637 [ISO11] (LDBL_TRUE_MIN): Likewise.
19638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19639 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19640 (SCHAR_MIN): Use macro-int-constant. Specify type.
19641 (SCHAR_MAX): Likewise.
19642 (UCHAR_MAX): Likewise.
19643 (CHAR_MIN): Likewise.
19644 (CHAR_MAX): Likewise.
19645 (MB_LEN_MAX): Use macro-int-constant.
19646 (SHRT_MIN): Use macro-int-constant. Specify type.
19647 (SHRT_MAX): Likewise.
19648 (USHRT_MAX): Likewise.
19649 (INT_MAX): Likewise.
19650 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19651 bound negative.
19652 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19653 bound with "U".
19654 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19655 bound with "L".
19656 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19657 bound negative. Suffix upper bound with "L".
19658 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19659 bound with "UL".
19660 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19661 Specify type.
19662 [C99-based standards] (LLONG_MAX): Likewise.
19663 [C99-based standards] (ULLONG_MAX): Likewise.
19664 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19665 == 0.
19666 [ISO11] (max_align_t): Require type.
19667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19668
c9140a62
JM
19669 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19670 from $CFLAGS, without defining away __attribute__ calls.
19671 (checknamespace): Use $CFLAGS_namespace.
19672
9af0bf29
JM
19673 * conform/conformtest.pl (@keywords): Only include C99 keywords
19674 for standards based on C99 or C11.
19675
343222a2
JM
19676 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19677 Disable tests.
19678 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19679 UNIX98]: Likewise.
19680
661f8cf0
JM
19681 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19682 usability of symbols in #if.
19683
ee74b9cb
JM
19684 * conform/conformtest.pl: If macro or constant types start
19685 "promoted:", expect the symbol to be of the following type
19686 promoted by the integer promotions.
62fde54f 19687
aafc49b3
JM
19688 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19689 in one place. Also handle "macro-constant".
19690
fefdf574
JM
19691 * conform/conformtest.pl: Only accept expected macro values with
19692 "==". Parse all "macro" lines in one place.
19693 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19694
f2d922fe
JM
19695 * conform/conformtest.pl: Handle braced types on "constant" lines
19696 instead of handling "typed-constant".
19697 * conform/data/signal.h-data: Use "constant" instead of
19698 "typed-constant".
19699
d22956c9
JM
19700 * conform/conformtest.pl: Handle "optional-" at start of lines in
19701 one place rather than duplicating several cases. Handle each
19702 format of "macro" line with initial "optional-".
19703
028e2e38
JM
19704 * conform/conformtest.pl: Only accept expected constant or
19705 optional-constant values with "==". Parse all "constant" lines in
19706 one place. Parse all "optional-constant" lines in one place.
19707 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19708 * conform/data/fmtmsg.h-data: Likewise.
19709 * conform/data/netinet/in.h-data: Likewise.
19710 * conform/data/tar.h-data: Likewise.
19711 * conform/data/limits.h-data: Use "==" form on "constant" and
19712 "optional-constant" lines.
19713
1b8f2850
JM
19714 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19715 Use -std=c99 for XOPEN2K.
19716 (@knownproblems): Remove.
19717 (newtoken): Don't check %isknown.
19718
a05a144b
JM
19719 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19720 Do not expect macro.
19721 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19733 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19734 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19751 [XPG3] (acosh): Likewise.
19752 [XPG3] (asinh): Likewise.
19753 [XPG3] (atanh): Likewise.
19754 [XPG3] (cbrt): Likewise.
19755 [XPG3] (expm1): Likewise.
19756 [XPG3] (ilogb): Likewise.
19757 [XPG3] (log1p): Likewise.
19758 [XPG3] (logb): Likewise.
19759 [XPG3] (nextafter): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19762 [XPG3] (remainder): Likewise.
19763 [XPG3] (rint): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19771 [UNIX98 || XOPEN2K] (scalb): Expect.
19772 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19773 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19886 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19898 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19899 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19902 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19907 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19908 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19909
73c5ebe3
JM
19910 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19911 _XOPEN_SOURCE_EXTENDED for XPG4.
19912
39c33b6c
JM
19913 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19914
62fde54f
JM
19915 * Makeconfig (localtime): Remove variable.
19916 (inst_localtime-file): Likewise.
19917
0741d64c
AS
199182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19919
19920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19921 Update.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19923 Update.
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19925 Update.
19926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19927 Update.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19929 Update.
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19931 Update.
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19933 Update.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19935 Update.
19936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19937 Update.
19938
7cb029ee
JM
199392012-05-01 Joseph Myers <joseph@codesourcery.com>
19940
19941 [BZ #2550]
19942 [BZ #2570]
19943 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19944 comparisons to determine direction to adjust input.
19945 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19946 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19947 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19948 Likewise.
19949 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19950 Likewise.
19951 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19952 Likewise.
19953 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19954 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19955 Likewise.
19956 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19957 Likewise.
19958 * math/libm-test.inc (nexttoward_test): Add more tests.
19959
412bd966
AS
199602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19961
19962 [BZ #14040]
19963 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19964 in version GLIBC_2.1, not GLIBC_2.0.
19965 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19966 Likewise.
19967
9568c0c2
JM
199682012-04-30 Joseph Myers <joseph@codesourcery.com>
19969
adfbc8ac
JM
19970 [BZ #13942]
19971 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19972 (1 - x) * (1 + x).
19973 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19974 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19975 * math/libm-test.inc (acos_test): Add more tests.
19976 (asin_test): Likewise.
19977 * sysdeps/i386/fpu/libm-test-ulps: Update.
19978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19979
5ba3cc69
JM
19980 [BZ #14034]
19981 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19982 of square root.
19983 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19984 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19985 * math/libm-test.inc (acos_test_tonearest): New function.
19986 (acos_test_towardzero): Likewise.
19987 (acos_test_downward): Likewise.
19988 (acos_test_upward): Likewise.
19989 (asin_test_tonearest): Likewise.
19990 (asin_test_towardzero): Likewise.
19991 (asin_test_downward): Likewise.
19992 (asin_test_upward): Likewise.
19993 (main): Call the new functions.
19994 * sysdeps/i386/fpu/libm-test-ulps: Update.
19995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19996
9568c0c2
JM
19997 [BZ #13884]
19998 [BZ #13924]
19999 * math/e_exp10.c: Include <float.h>.
20000 (__ieee754_exp10): Handle underflow here rather than multiplying
20001 large negative argument by M_LN10.
20002 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20003 of __ieee754_expf.
20004 * math/e_exp10l.c: Include <float.h>.
20005 (__ieee754_exp10l): Handle underflow here rather than multiplying
20006 large negative argument by M_LN10l.
20007 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20008 spurious overflow exception on underflow.
20009
5ac3ea17
MP
200102012-04-29 Marek Polacek <polacek@redhat.com>
20011
20012 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20013 (__fortify_function): New macro.
20014 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20015 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20016 __extern_always_inline.
20017 * libio/bits/stdio2.h: Likewise.
20018 * libio/bits/stdio.h: Likewise.
20019 * string/string.h: Likewise.
20020 * string/bits/string3.h: Likewise.
20021 * include/stdio.h: Likewise.
20022 * stdlib/bits/stdlib.h: Likewise.
20023 * stdlib/stdlib.h: Likewise.
20024 * rt/bits/mqueue2.h: Likewise.
20025 * rt/mqueue.h: Likewise.
20026 * posix/bits/unistd.h: Likewise.
20027 * posix/unistd.h: Likewise.
20028 * io/bits/poll2.h: Likewise.
20029 * io/bits/fcntl2.h: Likewise.
20030 * io/fcntl.h: Likewise.
20031 * io/sys/poll.h: Likewise.
20032 * misc/bits/syslog.h: Likewise.
20033 * misc/bits/syslog-ldbl.h: Likewise.
20034 * misc/sys/syslog.h: Likewise.
20035 * socket/bits/socket2.h: Likewise.
20036 * socket/sys/socket.h: Likewise.
20037 * debug/tst-chk1.c: Likewise.
20038 * wcsmbs/bits/wchar2.h: Likewise.
20039 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20040 * wcsmbs/wchar.h: Likewise.
20041
ecf0ebfb
AJ
200422012-04-29 Andreas Jaeger <aj@suse.de>
20043
20044 * Makerules (tests): Remove enable-check-abi protection.
20045 (check-abi-warn): Remove.
20046 (check-abi-%): Remove check-abi-warn usage.
20047
20048 * configure.in: Remove check-abi configure option.
20049 * configure: Regenerated.
20050 * config.make.in (enable-check-abi): Remove.
20051
6d5c57fa
AS
200522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20053
24c5d07e 20054 [BZ #14033]
ded5180a
AS
20055 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20056 double functions to double *_finite functions.
20057
7e0d315d
AS
20058 [BZ #13941]
20059 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20060 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20061 LDBL_MIN_EXP.
20062 * stdio-common/Makefile (tests): Add tst-sprintf3.
20063 * stdio-common/tst-sprintf3.c: New file.
20064
6d5c57fa
AS
20065 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20066 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20067
0749ff8b
JM
200682012-04-28 Joseph Myers <joseph@codesourcery.com>
20069
20070 * conform/conformtest.pl: Remove duplicate typed-constant
20071 handling.
20072
8dbd5d7b
DM
200732012-04-28 David S. Miller <davem@davemloft.net>
20074
20075 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20076 (check-abi-%): Remove AWK script prerequisite and explicit
20077 abilist directory.
20078 (check-abi): Rewrite to just diff the symlist with the abilist.
20079 (config-tls, config-abi-config): Delete, no longer used.
20080 (update-abi-%): Remove AWK script and explicit abilist directory.
20081 (update-abi): Rewrite to simply compare and conditionally copy the
20082 symlist and the sysdep abilist file. Remove update-abi-config
20083 checks.
20084 * abilist/ld.abilist: Remove.
20085 * abilist/libBrokenLocale.abilist: Remove.
20086 * abilist/libanl.abilist: Remove.
20087 * abilist/libcrypt.abilist: Remove.
20088 * abilist/libdl.abilist: Remove.
20089 * abilist/librt.abilist: Remove.
20090 * abilist/libthread_db.abilist: Remove.
20091 * abilist/libutil.abilist: Remove.
20092 * scripts/extract-abilist.awk: Remove.
20093 * scripts/merge-abilist.awk: Remove.
20094 * sysdeps/generic/libcidn.abilist: New file.
20095 * sysdeps/generic/libnss_compat.abilist: New file.
20096 * sysdeps/generic/libnss_db.abilist: New file.
20097 * sysdeps/generic/libnss_dns.abilist: New file.
20098 * sysdeps/generic/libnss_files.abilist: New file.
20099 * sysdeps/generic/libnss_hesiod.abilist: New file.
20100 * sysdeps/generic/libnss_nis.abilist: New file.
20101 * sysdeps/generic/libnss_nisplus.abilist: New file.
20102 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20103 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20104 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20105 file.
20106 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20107 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20108 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20109 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20110 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20111 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20112 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20113 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20114 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20115 file.
20116 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20117 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20118 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20119 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20120 file.
20121 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20122 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20123 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20124 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20125 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20126 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20127 file.
20128 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20129 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20130 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20131 file.
20132 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20134 New file.
20135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20136 New file.
20137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20138 New file.
20139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20140 New file.
20141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20142 New file.
20143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20144 New file.
20145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20146 New file.
20147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20148 New file.
20149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20150 New file.
20151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20152 New file.
20153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20154 New file.
20155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20156 New file.
20157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20158 New file.
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20160 file.
20161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20162 New file.
20163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20164 New file.
20165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20166 file.
20167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20168 New file.
20169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20170 New file.
20171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20172 file.
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20174 New file.
20175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20176 New file.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20178 New file.
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20180 New file.
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20182 New file.
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20184 New file.
20185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20187 file.
20188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20189 New file.
20190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20191 file.
20192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20193 file.
20194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20195 file.
20196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20197 file.
20198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20199 file.
20200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20201 New file.
20202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20203 file.
20204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20205 file.
20206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20207 New file.
20208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20209 file.
20210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20212 file.
20213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20214 New file.
20215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20216 file.
20217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20218 file.
20219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20220 file.
20221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20222 file.
20223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20224 file.
20225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20226 New file.
20227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20228 file.
20229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20230 file.
20231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20232 New file.
20233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20234 file.
20235 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20236 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20237 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20238 file.
20239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20240 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20241 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20242 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20243 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20244 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20245 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20246 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20247 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20248 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20251 file.
20252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20253 New file.
20254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20255 file.
20256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20257 file.
20258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20259 file.
20260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20261 file.
20262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20263 file.
20264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20265 New file.
20266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20267 New file.
20268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20269 file.
20270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20271 New file.
20272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20273 file.
20274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20276 file.
20277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20278 New file.
20279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20280 file.
20281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20282 file.
20283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20284 file.
20285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20286 file.
20287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20288 file.
20289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20290 New file.
20291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20292 New file.
20293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20294 file.
20295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20296 New file.
20297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20298 file.
20299
41d73a1b
JM
203002012-04-28 Joseph Myers <joseph@codesourcery.com>
20301
20302 * conform/conformtest.pl: Fix typo in handling typed-constant from
20303 allow-header.
20304
28aeeda4
JM
203052012-04-27 Joseph Myers <joseph@codesourcery.com>
20306
adae8f5e
JM
20307 * README: Cut down references to pre-2.6 Linux kernels and
20308 Linuxthreads. Update lists of configurations in libc and ports
20309 and sort alphabetically. Say "or newer" with Linux kernel version
20310 requirements.
20311
28aeeda4
JM
20312 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20313
a462cb63
RA
203142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20315
20316 [BZ #887]
20317 * math/libm-test.inc (logb_test_downward): New test to expose
20318 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20319 rounding mode.
20320
6ad3493e
JM
203212012-04-27 Joseph Myers <joseph@codesourcery.com>
20322
20323 [BZ #14027]
20324 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20325 to be done.
20326 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20327 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20328
2ce4f015
JM
203292012-04-26 Joseph Myers <joseph@codesourcery.com>
20330
5aeb141a
JM
20331 * sysdeps/unix/i386/brk.S: Remove file.
20332 * sysdeps/unix/i386/dl-brk.S: Likewise.
20333 * sysdeps/unix/i386/pipe.S: Likewise.
20334 * sysdeps/unix/i386/sigreturn.S: Likewise.
20335 * sysdeps/unix/i386/syscall.S: Likewise.
20336 * sysdeps/unix/i386/vfork.S: Likewise.
20337 * sysdeps/unix/i386/wait.S: Likewise.
20338
7143acae
JM
20339 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20340 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20341
2ce4f015
JM
20342 * configure.in (arm*-none*): Do not allow without
20343 --enable-hacker-mode.
20344 (netbsd*): Remove case setting base_os.
20345 (386bsd*): Likewise.
20346 (freebsd*): Likewise.
20347 (bsdi*): Likewise.
20348 (osf*): Likewise.
20349 (sunos*): Likewise.
20350 (ultrix*): Likewise.
20351 (newsos*): Likewise.
20352 (dynix*): Likewise.
20353 (*bsd*): Likewise.
20354 (sysv*): Likewise.
20355 (isc*): Likewise.
20356 (esix*): Likewise.
20357 (sco*): Likewise.
20358 (minix*): Likewise.
20359 (irix4*): Likewise.
20360 (irix6*): Likewise.
20361 (solaris[2-9]*): Likewise.
20362 (none): Likewise.
20363 * configure: Regenerated.
20364
0ac229c8
AZ
203652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20366
20367 [BZ #11521]
20368 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20369 overflow or cancellation in calculating denominator.
20370 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20372 down expression to avoid unexpected rounding in newer GCCs.
20373 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20374
33f244f4
DM
203752012-04-26 David S. Miller <davem@davemloft.net>
20376
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20378 long-double compat symbols.
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20392
cfa1f3e8
DM
203932012-04-25 David S. Miller <davem@davemloft.net>
20394
20395 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20396 HWCAP_* values only after the memory barriers have been defined.
20397 (atomic_full_barrier): Define.
20398 (atomic_read_barrier): Define.
20399 (atomic_write_barrier): Define.
20400
6e236b92
SP
204012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20402
20403 * shlib-versions: Add libgcc_s version information.
20404 * sysdeps/generic/libgcc_s.h: Remove.
20405 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20406 libgcc_s.h.
20407 * sysdeps/gnu/unwind-resume.c: Likewise.
20408 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20409
aab39a09
DM
204102012-04-25 David S. Miller <davem@davemloft.net>
20411
20412 * sysdeps/unix/sparc/brk.S: Delete.
20413 * sysdeps/unix/sparc/dl-brk.S: Delete.
20414 * sysdeps/unix/sparc/pipe.S: Delete.
20415 * sysdeps/unix/sparc/sysdep.S: Delete.
20416 * sysdeps/unix/sparc/sysdep.h: Delete.
20417 * sysdeps/unix/sparc/vfork.S: Delete.
20418 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20419 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20420 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20421 ret_ERRVAL, r0, r1, MOVE): Define.
20422 (JUMPTARGET): Remove.
20423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20424 sysdeps/unix/sparc/sysdep.h
20425 (ENTRY, END): Remove.
20426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20427
a3cc4f48
JM
204282012-04-25 Joseph Myers <joseph@codesourcery.com>
20429
2ed8cda2
JM
20430 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20431 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20432 -DIS_IN_build.
20433
35d76d59
JM
20434 * timezone/README: Update upstream location and email address for
20435 tzcode and tzdata.
20436 * timezone/zdump.c: Update from tzcode 2012b.
20437 * timezone/zic.c: Likewise.
20438
a3cc4f48
JM
20439 * configure.in (libc_cv_as_needed): Remove test.
20440 * configure: Regenerated.
20441 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20442 conditional definition.
20443 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20444 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20445 * config.make.in (have-as-needed): Remove variable.
20446
ceab42c3
SP
204472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20448 Paul Pluzhnikov <ppluzhnikov@google.com>
20449
20450 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20451 strings correctly.
20452
3ce2865f
CLT
204532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20454
20455 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20456 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20457 * sysdeps/sh/strlen.S: Likewise.
20458
f37e0d68
JM
204592012-04-24 Joseph Myers <joseph@codesourcery.com>
20460
ae186e9a
JM
20461 * sysdeps/unix/fork.S: Remove file.
20462 * sysdeps/unix/i386/fork.S: Likewise.
20463 * sysdeps/unix/sparc/fork.S: Likewise.
20464
b96914af
JM
20465 * sysdeps/unix/system.c: Remove file.
20466 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20467
f37e0d68
JM
20468 * sysdeps/unix/getegid.S: Remove file.
20469 * sysdeps/unix/geteuid.S: Likewise.
20470
87ef29ca
RM
204712012-04-24 Roland McGrath <roland@hack.frob.com>
20472
83bcd236
RM
20473 * scripts/check-localplt.awk: New file.
20474 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20475 of diff.
20476 * scripts/data/localplt-generic.data: Add a comment.
20477
87ef29ca
RM
20478 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20479 NODE when __dir_mkfile failed.
20480 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20481 Reported by Ludovic Courtès <ludo@gnu.org>.
20482
e5a6e567
AJ
204832012-04-24 Andreas Jaeger <aj@suse.de>
20484
20485 * Makerules (common-clean): Also remove gen-as-const-headers
20486 files.
20487
c1820385
JM
204882012-04-24 Joseph Myers <joseph@codesourcery.com>
20489
20490 * Makerules (native-compile): Do not change working directory for
20491 build. Use $(OUTPUT_OPTION) in command.
20492 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20493
94e02fc4
AZ
204942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20495
20496 [BZ #13886]
20497 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20498 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20499 * math/libm-test.inc (floor_test): Add more tests.
20500 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20501
3a533ca3
JM
205022012-04-24 Joseph Myers <joseph@codesourcery.com>
20503
940ab4b3
JM
20504 * sysdeps/unix/getdents.c: Remove file.
20505 * sysdeps/unix/sysv/getdents.c: Likewise.
20506 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20507
90e037bd
JM
20508 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20509 sysdeps/unix/mman/syscalls.list.
20510 (mmap): Likewise.
20511 (mprotect): Likewise.
20512 (msync): Likewise.
20513 (munmap): Likewise.
20514 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20515 * sysdeps/unix/mman/syscalls.list: Remove.
20516 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20517
3a533ca3
JM
20518 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20519 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20520 * configure: Regenerated.
20521 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20522 $(libgcc_s_suffix).
20523 * config.make.in (libgcc_s_suffix): Remove variable.
20524
1ad743de
JM
205252012-04-23 Joseph Myers <joseph@codesourcery.com>
20526
4ad451e2
JM
20527 * sysdeps/unix/sysv/gethostname.c: Move to ...
20528 * sysdeps/posix/gethostname.c: ... here.
20529
5e37ce39
JM
20530 * sysdeps/unix/execve.S: Remove file.
20531
1ad743de
JM
20532 * sysdeps/unix/_exit.S: Remove file.
20533
4e681b5b
AJ
205342012-04-23 Andreas Jaeger <aj@suse.de>
20535
20536 [BZ #13739]
20537 * manual/Makefile: Remove make dist support, there's no
20538 need for a stand-alone documentation tar ball.
20539 (TEXI2DVI): Define always, it's not in Makeconfig.
20540 (dist): Removed.
20541 (tar-it): Removed.
20542 (edition): Removed.
20543 (glibc-doc-$(edition).tar): Removed
20544 (%.Z): Removed.
20545 (%.gz): Removed.
20546 (%.uu): Removed.
20547 (ETAGS): Remove, it's in Makeconfig.
20548 (move-if-change): Remove, it's in Makeconfig.
20549
38686a03 205502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20551
20552 [BZ #13970]
20553 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20554 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20555 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20556 (strtod_l, strtof_l, strtold_l): Remove __wur.
20557 It is not necessarily an error to ignore strtol's return value.
20558 One can reliably look at the stored endptr to decide whether
20559 the number had valid syntax.
20560
7c0616fa
AJ
205612012-04-21 Andreas Jaeger <aj@suse.de>
20562
803cb6b7 20563 [BZ #13739]
7c0616fa
AJ
20564 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20565
b0fe253f
JM
205662012-04-21 Joseph Myers <joseph@codesourcery.com>
20567
20568 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20569 * sysdeps/unix/sysv/Versions: Remove file.
20570
8280f22d
MT
205712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20572
20573 [BZ #13927]
20574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20575
75ce411f 205762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20577
20578 [BZ #7064]
20579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20580 version from __vm86.
20581
097d59fa
JM
205822012-04-20 Joseph Myers <joseph@codesourcery.com>
20583
a90f3bcb
JM
20584 * sysdeps/unix/common/lxstat.c: Remove file.
20585 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20586
edc7ea78
JM
20587 * sysdeps/unix/sysv/Makefile: Remove file.
20588
cb78c221
JM
20589 * sysdeps/unix/sysv/direct.h: Remove file.
20590
efa6a45f
JM
20591 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20592 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20593 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20594 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20595 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20596 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20597 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20598
9c9f2d0c
JM
20599 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20600
4541c83b
JM
20601 * sysdeps/unix/xmknod.c: Remove file.
20602 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20603
f5d153a0
JM
20604 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20605
aa746595
JM
20606 * sysdeps/unix/sysv/i386/time.S: Remove file.
20607
cce5905e
JM
20608 * sysdeps/unix/fxstat.c: Remove file.
20609 * sysdeps/unix/xstat.c: Likewise.
20610 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20611
37fa3841
JM
20612 * sysdeps/unix/sysv/sigaction.c: Remove file.
20613
ff1962a3
JM
20614 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20615 (sysdep_headers): Remove variable.
20616 [termio.h not in sysdep_headers] (generated): Likewise.
20617 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20618 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20619 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20620 * sysdeps/unix/sysv/tcflow.c: Likewise.
20621 * sysdeps/unix/sysv/tcflush.c: Likewise.
20622 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20623 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20624 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20625 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20626 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20627
e7740d31
JM
20628 * sysdeps/unix/siglist.c: Remove file.
20629
ee06f18b
JM
20630 * sysdeps/unix/getppid.S: Remove file.
20631
097d59fa
JM
20632 * sysdeps/unix/mkdir.c: Remove file.
20633 * sysdeps/unix/rmdir.c: Likewise.
20634
ff3d51ec
AS
206352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20636
20637 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20638 ERR_MAX value.
20639 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20640 errlist-compat value.
20641
50f81fd7
DM
206422012-04-18 David S. Miller <davem@davemloft.net>
20643
20644 * sysdeps/generic/memcopy.h (reg_char): Delete.
20645 * debug/strcat_chk.c: Use char, not reg_char.
20646 * debug/strcpy_chk.c: Likewise.
20647 * debug/strncat_chk.c: Likewise.
20648 * debug/strncpy_chk.c: Likewise.
20649 * string/memchr.c: Likewise.
20650 * string/memrchr.c: Likewise.
20651 * string/rawmemchr.c: Likewise.
20652 * string/strcat.c: Likewise.
20653 * string/strchr.c: Likewise.
20654 * string/strchrnul.c: Likewise.
20655 * string/strcmp.c: Likewise.
20656 * string/strcpy.c: Likewise.
20657 * string/strncat.c: Likewise.
20658 * string/strncmp.c: Likewise.
20659 * string/strncpy.c: Likewise.
20660
8ff41c46
WS
206612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20662
20663 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20664 __builtin_memcopy is called when src and dest ranges are known to not
20665 overlap.
20666
6b652f46
WS
206672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20668
20669 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20670 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20671 fwd_align_merge macro call.
20672 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20673 bwd_align_merge macro call.
20674 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20675
b282631e
WS
206762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20677
20678 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20679 bwd_align_merge macros.
20680 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20681 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20682 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20683
95aa737c
DM
206842012-04-18 David S. Miller <davem@davemloft.net>
20685
20686 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20687
7a99a614
AJ
206882012-04-18 Andreas Jaeger <aj@suse.de>
20689
20690 [BZ# 6794]
20691 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20692 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20693 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20694
20695 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20696 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20697 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20698
20699 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20700 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20701 Adjust for changed ldbl-128 files.
20702
20703 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20704 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20705 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20706
e5270c23
DM
207072012-04-17 David S. Miller <davem@davemloft.net>
20708
20709 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20710
fb5e92c9
AS
207112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20712
20713 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20714 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20715 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20716 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20717 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20718 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20719
76da7265
AZ
207202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20721
20722 [BZ #6794]
20723 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20724 * math/libm-test.inc: Add ilogb errno and exception tests.
20725 * math/w_ilogb.c: New file: ilogb wrapper.
20726 * math/w_ilogbf.c: New file: ilogbf wrapper.
20727 * math/w_ilogbl.c: New file: ilogbl wrapper.
20728 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20729 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20730 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20731 exception being thrown with 0.0 as argument.
20732 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20733 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20734 exception being thrown with 0.0 as argument.
20735 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20736 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20737 exception being thrown with 0.0 as argument.
20738 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20739 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20740 exception being thrown with 0.0 as argument.
20741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20742 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20743 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20744 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20745 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20746 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20747 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20748 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20749 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20750
0396e69d
PB
207512012-04-17 Petr Baudis <pasky@ucw.cz>
20752
20753 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20754 with altivec.
20755
750b5926
MP
207562012-04-16 Marek Polacek <polacek@redhat.com>
20757
20758 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20759
751728a1
MP
207602012-04-16 Marek Polacek <polacek@redhat.com>
20761
20762 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20763 operands of fdivp instruction.
20764
34a27407
L
207652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20766
20767 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20768 * elf/tst-auditmod3b.c: Likewise.
20769 * elf/tst-auditmod4b.c: Likewise.
20770 * elf/tst-auditmod5b.c: Likewise.
20771 * elf/tst-auditmod6b.c: Likewise.
20772 * elf/tst-auditmod6c.c: Likewise.
20773 * elf/tst-auditmod7b.c: Likewise.
20774 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20775 * sysdeps/x86_64/preconfigure.in: Likewise.
20776 * sysdeps/x86_64/preconfigure: Regenerated.
20777
7e73e17d
L
207782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20779
20780 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20781 __ILP32__.
20782
c7a6ab72
AB
207832012-04-13 Antoine Balestrat <merkil33@gmail.com>
20784
20785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20786 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20787
a9e8e0e0
CL
207882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20789
20790 [BZ #13973]
20791 * locale/iso-639.def: Fix gl language name. Spotted by
20792 Yaron Shahrabani.
20793
ec98af7d
RM
207942012-04-12 Roland McGrath <roland@hack.frob.com>
20795
20796 [BZ #2074]
20797 * libio/libio.h (__io_write_fn): Update comment.
20798
247c3ede
PB
207992012-04-12 Petr Baudis <pasky@ucw.cz>
20800
20801 [BZ #2074]
20802 * stdio.texi (Hook Functions): The user provided writer function
20803 is not allowed to return -1.
20804
55939d6d
DM
208052012-04-11 David S. Miller <davem@davemloft.net>
20806
20807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20808
90020f5a
MF
208092012-04-11 Mike Frysinger <vapier@gentoo.org>
20810
20811 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20812 Add a leading slash to rtkaio.
20813
288f9098
JM
208142012-04-11 Jim Meyering <meyering@redhat.com>
20815
90020f5a
MF
20816 [BZ #11959]
20817 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20818 It is not necessarily an error to ignore fwrite's return
20819 value. One can reliably use ferror to test for errors after
20820 the fact.
288f9098 20821
4be2b570
L
208222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20823
20824 * bits/types.h (__snseconds_t): New type.
20825 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20826
20827 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20829 (__SNSECONDS_T_TYPE): Likewise.
20830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20831 (__SNSECONDS_T_TYPE): Likewise.
20832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20833 (__SNSECONDS_T_TYPE): Likewise.
20834
288f9098 208352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20836
20837 [BZ #2636]
20838 * manual/time.texi (Processor Time): Return type of times is
20839 elapsed real time since an arbitrary point in the past.
20840 (CPU Time): Move CLK_TCK from here...
20841 (Processor Time): ...to here. Correct description.
20842 * manual/conf.texi (Constants for Sysconf): Correct description of
20843 _SC_CLK_TCK.
20844
d7dd4413
DM
208452012-04-10 David S. Miller <davem@davemloft.net>
20846
20847 [BZ #13967]
20848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20849 where the is a gap between DT_REL(A) and DT_JMPREL.
20850
b46068fc
L
208512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20852
20853 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20854 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20855 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20856
73d65cc3
SP
208572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20858
20859 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20860 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20861 (dl_main): Handle --inhibit-cache.
20862 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20863 _dl_inhibit_cache.
20864 * elf/dl-load.c (_dl_map_object): Use it.
20865 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20866
bcc8d661
JM
208672012-04-09 Joseph Myers <joseph@codesourcery.com>
20868
8f9a2fae
JM
20869 [BZ #13872]
20870 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20871 (__ieee754_powl): Saturate large exponents rather than testing for
20872 overflow of y*log2(x).
20873 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20874 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20875 exceptions.
20876
bcc8d661
JM
20877 [BZ #11521]
20878 * math/s_ctan.c: Include <float.h>.
20879 (__ctan): Avoid internal overflow or cancellation in calculating
20880 denominator.
20881 * math/s_ctanf.c: Likewise.
20882 * math/s_ctanl.c: Likewise.
20883 * math/s_ctanh.c: Likewise.
20884 * math/s_ctanhf.c: Likewise.
20885 * math/s_ctanhl.c: Likewise.
20886 * math/libm-test.inc (ctan_test): Add more tests.
20887 (ctanh_test): Likewise.
20888 * sysdeps/i386/fpu/libm-test-ulps: Update.
20889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20890
823fbbb4
AJ
208912012-04-09 Andreas Jaeger <aj@suse.de>
20892
03879793
AJ
20893 [BZ #6894]
20894 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20895 is an optional BSD extension.
20896
823fbbb4
AJ
20897 [BZ #10254]
20898 * manual/stdio.texi (Opening Streams): Document additional fopen
20899 parameters.
20900
8de131cb
RM
209012012-04-09 Roland McGrath <roland@hack.frob.com>
20902
20903 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20904 %eax without telling the compiler.
20905
c0ed9d7d
CD
209062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20907
20908 [BZ # 13963]
20909 * manual/install.texi: Use sourceware.org.
20910
c483f6b4
JM
209112012-04-09 Joseph Myers <joseph@codesourcery.com>
20912
d7dd9453
JM
20913 [BZ #13873]
20914 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20915 (__ieee754_pow): Generate overflow and underflow using huge*huge
20916 and tiny*tiny rather than just returning constant infinity or zero
20917 for large exponents.
20918 * math/libm-test.inc (pow_test): Require overflow exceptions for
20919 applicable cases of large exponents.
20920
c483f6b4
JM
20921 [BZ #706]
20922 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20923 (__ieee754_pow): Use iterative multiplication algorithm only for
20924 integer exponents with absolute value below 1024. Check for odd
20925 integer exponents when using algorithm for real exponents.
20926 * math/libm-test.inc (pow_test): Add more tests.
20927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20928
d2de7579
JM
209292012-04-08 Joseph Myers <joseph@codesourcery.com>
20930
20931 [BZ #13705]
20932 * math/libm-test.inc (exp_test): Do not allow overflow exception
20933 on underflow test.
20934
f77f1232
AJ
209352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20936
20937 [BZ #13705]
20938 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20939 instead of __kernel_standard_f.
20940
3884932b
MF
209412012-04-08 Mike Frysinger <vapier@gentoo.org>
20942
20943 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20944 * sysdeps/x86_64/memset_chk.S: Likewise.
20945
54472e9c
AJ
209462012-04-08 Andreas Jaeger <aj@suse.de>
20947
6ab0fbfc
AJ
20948 [BZ #10153]
20949 * manual/startup.texi (Environment Access): Describe return value
20950 for putenv and setenv.
20951
61efba8c
AJ
20952 [BZ #6895]
20953 * manual/filesys.texi (Directory Entries): Add description for
20954 DT_LNK.
20955
95c3f29a
AJ
20956 [BZ #6890]
20957 * manual/filesys.texi (Directory Entries): Clarify that it's file
20958 system not operating system in the description of DT_UNKNOWN.
20959
54472e9c
AJ
20960 [BZ #6578]
20961 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20962
624254b1
SC
209632012-04-08 Stephen Compall <s11@member.fsf.org>
20964
20965 [BZ #6649]
20966 * manual/llio.texi (Opening and Closing Files): Add cross
20967 reference to explain mode argument.
20968
1e4920e0
MF
209692012-04-07 Mike Frysinger <vapier@gentoo.org>
20970
20971 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20972 * sysdeps/x86_64/memset_chk.S: Likewise.
20973
5ed848f3
DM
209742012-04-07 David S. Miller <davem@davemloft.net>
20975
20976 * elf/elf.h (R_SPARC_WDISP10): Define.
20977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20978 R_SPARC_SIZE32.
20979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20980 R_SPARC_SIZE64 and R_SPARC_H34.
20981
96154cd8
CD
209822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20983
20984 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20985 conditions and remove no longer applicable assertion.
20986
9904dc47
L
209872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20988
20989 * bits/byteswap.h: Include <features.h>.
20990 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20991 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20992
f8887d0a
L
209932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20994
20995 * bits/byteswap.h (__bswap_16): Removed.
20996 Include <bits/byteswap-16.h> to get __bswap_16.
20997 * sysdeps/i386/bits/byteswap.h: Likewise.
20998 * sysdeps/s390/bits/byteswap.h: Likewise.
20999 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21000 * bits/byteswap-16.h: New file.
21001 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21002 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21003 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21004 * string/Makefile (headers): Add bits/byteswap-16.h.
21005
62470f60
PP
210062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21007
21008 [BZ #13895]
21009 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21010 extra indirection.
21011 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21012 * nss/tst-nss-static.c: New.
21013
4dad7bab
RM
210142012-04-06 Robert Millan <rmh@gnu.org>
21015
21016 [BZ #6486]
21017 * manual/llio.texi (File Position Primitive): lseek
21018 refers to WHENCE when it really means OFFSET.
21019
e9142a17
AJ
210202012-04-06 Andreas Jaeger <aj@suse.de>
21021
2c040eff
AJ
21022 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21023 strncmp declarations.
21024
e9142a17
AJ
21025 * abilist/libc.abilist: Add __poll and __ppoll.
21026
ff9f1c5f
DM
210272012-04-05 David S. Miller <davem@davemloft.net>
21028
dcd2ae90
DM
21029 * scripts/check-local-headers.sh: Accept a host triplet in the
21030 path matched by the exclude regexp.
21031
993eb054
DM
21032 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21033 definition.
21034 * sysdeps/powerpc/powerpc32/dl-machine.h
21035 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21036 * sysdeps/s390/s390-32/dl-machine.h
21037 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21038 * sysdeps/sparc/sparc32/dl-machine.h
21039 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21040 * sysdeps/sparc/sparc64/dl-machine.h
21041 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21042
ff9f1c5f
DM
21043 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21044 lazy binding.
48e2e132 21045 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21046 undefined symbol errors.
21047
48e2e132 21048 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21049 DT_NEEDED entries.
21050
e80d6f94
MM
210512012-04-05 Michael Matz <matz@suse.de>
21052
21053 [BZ #13592]
21054 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21055
349fa79f
AJ
210562012-04-05 Andreas Jaeger <aj@suse.de>
21057
21058 [BZ #13908]
21059 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21060 comment.
21061
f402708f
KK
210622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21063
21064 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21065 which ROUND is no valid rounding mode.
21066
2ecccfc9
KK
210672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21068
21069 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21070 read again.
21071 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21072
8a53f50f
KK
210732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21074
21075 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21076 an exception using FPU order intentionally.
21077
210782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21079
21080 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21081 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21082 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21083 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21084
d653abb7
SJ
210852012-04-05 Simon Josefsson <simon@josefsson.org>
21086
21087 [BZ #12340]
21088 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21089 EINVAL when BUFLEN is too smal.
21090
c3b1bf7d
TS
210912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21092
21093 [BZ #13553]
21094 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21095 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21096
b1aa60f3
AJ
210972012-04-03 Andreas Jaeger <aj@suse.de>
21098
c3b1bf7d 21099 [BZ #13938]
67f60a26
AJ
21100 * manual/setjmp.texi (System V contexts): Fix sentence.
21101
b1aa60f3
AJ
21102 [BZ #13926]
21103 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21104 New macro for this case.
21105 [!__GNUC__] (__bswap_64): New inline function for this case.
21106 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21107 * bits/byteswap.h: Likewise.
21108 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21109 ull, guard with __GLIBC_HAVE_LONG_LONG.
21110
21111 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21112 __GLIBC_HAVE_LONG_LONG.
21113
21114 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21115 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21116
39c59c35
TMQMF
211172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21118
21119 [BZ #13691]
21120 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21121 inptr and inend, rather than using last_ch.
21122
135ffda8
DM
211232012-04-02 David S. Miller <davem@davemloft.net>
21124
21125 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21126 * stdio-common/printf-parse.h (read_int): Change return type to
21127 'int', return -1 on INT_MAX overflow.
21128 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21129 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21130 overflows INT_MAX. Check for overflow of in-format-string precision
21131 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21132 SIZE_MAX not INT_MAX for integer overflow test.
21133 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21134 skip the construct in the format string but do not record anything.
21135 * stdio-common/bug22.c: Adjust to test both width/prevision
21136 INT_MAX overflow as well as total length INT_MAX overflow. Check
21137 explicitly for proper errno values.
21138
228c019e
TS
211392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21140
302cadd3
TS
21141 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21142 CHAR_MAX.
21143 * string/test-strcmp.c [! WIDE]: Likewise.
21144 * time/tst-mktime2.c: Likewise for INT_MAX.
21145 * string/test-string.h: #include <sys/param.h> for MIN.
21146
228c019e
TS
21147 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21148 * sysdeps/i386/init-first.c (init): Likewise.
21149 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21150 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21151 * sysdeps/sh/init-first.c (init): Likewise.
21152
cfa633f5
UD
211532012-04-01 Ulrich Drepper <drepper@gmail.com>
21154
21155 * po/ru.po: Update from translation team.
d1635ef8 21156 * po/vi.po: Likewise.
cfa633f5 21157
6cd0a5ea
SP
211582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21159
21160 * resolv/nss_dns/dns-host.c: Merge copyright years.
21161
4b43400f
LD
211622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21163
21164 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21165 Optimize memcpy with prefetch if
21166 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21167 src, dst pointers have unequal 16 byte alignments.
21168
48c41d04
SP
211692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21170
21171 [BZ #13928]
21172 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21173 from a CNAME entry and return the minimum ttl for the query.
21174 (gaih_getanswer_slice): Likewise.
21175
b8dc394d
JL
211762012-03-30 Jeff Law <law@redhat.com>
21177
21178 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21179 due to long keys.
21180 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21181 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21182
2f5a5ed0
JL
21183 * resolv/nss_dns/dns-host.c: Update copyright year.
21184
1d39e359
UD
211852012-03-30 Ulrich Drepper <drepper@gmail.com>
21186
c030f70c 21187 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21188 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21189
1d39e359
UD
21190 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21191 comments for sendmmsg.
21192
211932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21194
21195 [BZ #13691]
21196 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21197 with only 1 character between 0x0041 and 0x01b0.
21198 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21199 * wcsmbs/tst-mbsnrtowcs.c: New file.
21200
20fde227
DM
212012012-03-29 David S. Miller <davem@davemloft.net>
21202
21203 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21204 small copies by hand.
21205
984a4237
JL
212062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21207
21208 [BZ #13761]
21209 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21210 _nss_compat_initgroups_dyn): Fall back to malloc/free
21211 for large group memberships.
21212
18c9d62b
DM
212132012-03-28 David S. Miller <davem@davemloft.net>
21214
88d85d4f
DM
21215 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21216 that branches into memcpy.
21217 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21218 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21220 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21222 bits.
21223 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21224 implementation too.
21225 * sysdeps/sparc/mempcpy.S: New file.
21226
e5aa83e1
DM
21227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21228 the IFUNC routine in the libc case.
21229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21230
88570753
DM
21231 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21232 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21233 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21234 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21235 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21236 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21237 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21238 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21239
249d7567
DM
21240 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21241 loop to 256 bytes instead of 64 bytes and fix test signedness.
21242
18c9d62b
DM
21243 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21244 * sysdeps/sparc/sparc32/Makefile: rather than here...
21245 * sysdeps/sparc/sparc64/Makefile: and here.
21246
05f3d1f6
UD
212472012-03-28 Ulrich Drepper <drepper@gmail.com>
21248
21249 * malloc/mallocbug.c: Avoid warnings about unused variables.
21250
86ae07a8
JL
212512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21252
21253 [BZ #13760]
21254 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21255 in the right place. Discard and retry query if response is
21256 larger than input buffer size.
21257
41bf21a1
JM
212582012-03-28 Joseph Myers <joseph@codesourcery.com>
21259
d6270972
JM
21260 [BZ #369]
21261 [BZ #2678]
21262 [BZ #3866]
21263 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21264 x for large integer exponent.
21265 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21266 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21267 sign of result as needed afterwards.
21268 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21269 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21270 result for underflowing pow the same as for overflow.
21271 (__kernel_standard_l): Handle powl overflow and underflow here
21272 rather than calling __kernel_standard.
21273 * math/libm-test.inc (pow_test): Add more tests.
21274
414fca03 21275 [BZ #3868]
41bf21a1
JM
21276 [BZ #13879]
21277 [BZ #13910]
21278 [BZ #13911]
21279 [BZ #13912]
21280 [BZ #13913]
21281 [BZ #13915]
21282 [BZ #13916]
21283 [BZ #13917]
21284 [BZ #13918]
21285 [BZ #13919]
21286 [BZ #13920]
21287 [BZ #13921]
21288 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21289 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21290 (__kernel_standard_l): New function.
21291 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21292 __kernel_standard.
21293 * math/w_acosl.c (__acosl): Likewise.
21294 * math/w_asinl.c (__asinl): Likewise.
21295 * math/w_atan2l.c (__atan2l): Likewise.
21296 * math/w_atanhl.c (__atanhl): Likewise.
21297 * math/w_coshl.c (__coshl): Likewise.
21298 * math/w_exp10l.c (__exp10l): Likewise.
21299 * math/w_exp2l.c (__exp2l): Likewise.
21300 * math/w_fmodl.c (__fmodl): Likewise.
21301 * math/w_hypotl.c (__hypotl): Likewise.
21302 * math/w_j0l.c (__j0l, __y0l): Likewise.
21303 * math/w_j1l.c (__j1l, __y1l): Likewise.
21304 * math/w_jnl.c (__jnl, __ynl): Likewise.
21305 * math/w_lgammal.c (__lgammal): Likewise.
21306 * math/w_log10l.c (__log10l): Likewise.
21307 * math/w_log2l.c (__log2l): Likewise.
21308 * math/w_logl.c (__logl): Likewise.
21309 * math/w_powl.c (__powl): Likewise.
21310 * math/w_remainderl.c (__remainderl): Likewise.
21311 * math/w_scalbl.c (sysv_scalbl): Likewise.
21312 * math/w_sinhl.c (__sinhl): Likewise.
21313 * math/w_sqrtl.c (__sqrtl): Likewise.
21314 * math/w_tgammal.c (__tgammal): Likewise.
21315 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21316 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21317 * math/libm-test.inc (acos_test): Add more tests.
21318 (acosh_test): Likewise.
21319 (asin_test): Likewise.
21320 (atanh_test): Likewise.
21321 (exp_test): Likewise.
21322 (exp10_test): Likewise.
21323 (exp2_test): Likewise.
21324 (expm1_test): Likewise.
21325 (lgamma_test): Likewise.
21326 (log_test): Likewise.
21327 (log10_test): Likewise.
21328 (log1p_test): Likewise.
21329 (log2_test): Likewise.
21330 (pow_test): Do not allow some spurious overflow exceptions.
21331 (sqrt_test): Add more tests.
21332 (tgamma_test): Likewise.
21333 (y0_test): Likewise.
21334 (y1_test): Likewise.
21335 (yn_test): Likewise.
21336
dd62fda6
AB
213372012-03-27 Anton Blanchard <anton@samba.org>
21338
21339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21340 MAP_HUGETLB.
21341 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21343 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21344
1e3cdfda
AJ
213452012-03-27 David S. Miller <davem@davemloft.net>
21346
b855ab85
DM
21347 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21348
1e3cdfda
AJ
21349 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21350 have-as-vis3 check.
21351
213522012-03-27 Andreas Jaeger <aj@suse.de>
21353
21354 * sysdeps/x86_64/elf/configure.in: Moved to ...
21355 * sysdeps/x86_64/configure.in: ... here.
21356 * sysdeps/x86_64/elf/start.S: Moved to ...
21357 * sysdeps/x86_64/start.S: ... here.
21358 * sysdeps/x86_64/elf/configure: Delete.
21359
21360 * sysdeps/x86_64/configure.in: Merge contents from
21361 sysdeps/i386/configure.in (without i686 check).
21362
21363 * sysdeps/i386/elf/Versions: Merge into ...
21364 * sysdeps/i386/Versions: ... this.
21365 * sysdeps/i386/elf/Versions: Delete file.
21366 * sysdeps/i386/elf/start.S: Moved to ...
21367 * sysdeps/i386/start.S: ...here.
21368 * sysdeps/i386/elf/configure.in: Merge into...
21369 * sysdeps/i386/configure.in: ...here.
21370 * sysdeps/i386/elf/configure.in: Delete file.
21371 * sysdeps/i386/elf/configure: Delete file.
21372
21373 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21374 * debug/backtracesyms.c: ... here.
21375 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21376 * debug/backtracesymsfd.c: ... here.
21377 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21378 * sysdeps/generic/ifunc-sel.h: ... here.
21379
21380 * sysdeps/unix/i386/start.c: Delete file.
21381 * sysdeps/unix/sparc/start.c: Delete file.
21382 * sysdeps/unix/start.c: Delete file.
21383
21384 * sysdeps/sh/elf/configure.in: Moved to ...
21385 * sysdeps/sh/configure.in: ... here.
21386 * sysdeps/sh/elf/start.S: Moved to ...
21387 * sysdeps/sh/start.S: ... here.
21388 * sysdeps/sh/elf/configure: Delete file.
21389
21390 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21391 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21392 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21393 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21394 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21395 * sysdeps/powerpc/powerpc64/start.S: here.
21396 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21397 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21398 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21399 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21400 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21401
21402 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21403 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21404 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21405 * sysdeps/powerpc/powerpc32/start.S: ... here.
21406 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21407 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21408 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21409
21410 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21411 * sysdeps/powerpc/ifunc-sel.h: ... here.
21412 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21413 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21414
21415 * sysdeps/sparc/elf/configure.in: Moved to ...
21416 * sysdeps/sparc/configure.in: ... here.
21417 * sysdeps/sparc/elf/configure: Delete file.
21418 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21419 * sysdeps/sparc/sparc32/start.S: ... here.
21420 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21421 * sysdeps/sparc/sparc64/start.S: ... here.
21422 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21423 * sysdeps/sparc/sparc32/Makefile: ... this.
21424 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21425 * sysdeps/sparc/sparc64/Makefile: ... this.
21426
21427 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21428 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21429 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21430 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21431 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21432 * sysdeps/s390/s390-32/setjmp.S: ... here.
21433 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21434 * sysdeps/s390/s390-32/configure.in: ... here.
21435 * sysdeps/s390/s390-32/elf/configure: Delete file.
21436 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21437 * sysdeps/s390/s390-32/start.S: ... here.
21438
21439 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21440 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21441 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21442 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21443 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21444 * sysdeps/s390/s390-64/setjmp.S: ... here.
21445 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21446 * sysdeps/s390/s390-64/configure.in: ... here
21447 * sysdeps/s390/s390-64/elf/configure: Delete file.
21448 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21449 * sysdeps/s390/s390-64/start.S: ... here.
21450 * sysdeps/s390/s390-64/elf/configure: Delete.
21451
21452 * configure.in: Remove support for elf directories in sysdeps.
21453
21454 * configure: Regenerated.
21455 * sysdeps/i386/configure: Regenerated.
21456 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21457 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21458 * sysdeps/s390/s390-32/configure: Regenerated.
21459 * sysdeps/s390/s390-64/configure: Regenerated.
21460 * sysdeps/sh/configure: Regenerated.
21461 * sysdeps/sparc/configure: Regenerated.
21462 * sysdeps/x86_64/configure: Regenerated.
21463
a3f61311
AS
214642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21465
c876e002
AS
21466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21467
a3f61311
AS
21468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21469 denormal result into account.
21470
ac4c54f0
RM
214712012-03-25 Roland McGrath <roland@hack.frob.com>
21472
21473 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21474 Reported by Allan McRae <allan@archlinux.org>.
21475
6a9b9c02
JL
214762012-03-23 Jeff Law <law@redhat.com>
21477
21478 * nss/getnssent.c (__nss_getent): Fix typo.
21479
4c42a0c1
DM
214802012-03-23 David S. Miller <davem@davemloft.net>
21481
21482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21483
1532c7ac
L
214842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21485
21486 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21487 to pad to uint64_t for each field.
21488 (dl_tls_index): Replace unsigned long with uint64_t.
21489
3ff42526
PP
214902012-03-23 Daniel Jacobowitz <dmj@google.com>
21491 Paul Pluzhnikov <ppluzhnikov@google.com>
21492
21493 [BZ #6528]
21494 * grp/Makefile (otherlibs): Don't set it.
21495 * inet/Makefile (otherlibs): Likewise.
21496 * login/Makefile (otherlibs): Likewise.
21497 * nscd/Makefile (otherlibs): Likewise.
21498 * posix/Makefile (otherlibs): Likewise.
21499 * pwd/Makefile (otherlibs): Likewise.
21500 * rt/Makefile (otherlibs): Likewise.
21501 * sunrpc/Makefile (otherlibs): Likewise.
21502 * nss/Makefile (otherlibs): Likewise.
21503 Add libnss_files to routines and static-only-routines.
21504 ($(objpfx)getent): Remove rule.
21505 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21506 static-only-routines.
21507
7c69cd14
JM
215082012-03-22 Joseph Myers <joseph@codesourcery.com>
21509
21510 [BZ #13892]
21511 * math/s_cexp.c: Include <float.h>.
21512 (__cexp): Handle exp result overflowing not necessarily
21513 overflowing both real and imaginary parts of result.
21514 * math/s_cexpf.c: Likewise.
21515 * math/s_cexpl.c: Likewise.
21516 * math/libm-test.inc (cexp_test): Add more tests.
21517 * sysdeps/i386/fpu/libm-test-ulps: Update.
21518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21519
81b035fe
L
215202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21521
21522 * include/link.h (ELFW): New macro.
21523 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21524 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21525
1da7940c
L
215262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21527
21528 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21529 with uint64_t.
21530
b749dbb9
L
215312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21532
21533 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21534 declaration.
21535 (struct La_x32_retval): Likewise.
21536
2ff87f3f
L
215372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21538
21539 * sysdeps/x86_64/preconfigure.in: New file.
21540 * sysdeps/x86_64/preconfigure: New generated file.
21541
c0df8e69
JM
215422012-03-22 Joseph Myers <joseph@codesourcery.com>
21543
48e44791
JM
21544 [BZ #13824]
21545 * math/e_exp2l.c: Include <float.h>.
21546 (__ieee754_exp2l): Handle overflow and underflow cases
21547 separately. Only pass fractional part of argument to
21548 __ieee754_expl.
21549 * math/libm-test.inc (exp2_test): Add more tests.
21550
c0df8e69
JM
21551 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21552 negating x to take absolute value.
21553 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21554 Likewise.
21555 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21556 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21557 Likewise.
21558 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21559 computing low part if x was negated.
21560 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21561
c8e43ba7
L
215622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21565 la_x32_gnu_pltexit.
21566 (pltexit): Cast int_retval to ptrdiff_t.
21567 * elf/tst-auditmod3b.c: Likewise.
21568 * elf/tst-auditmod4b.c: Likewise.
21569 * elf/tst-auditmod5b.c: Likewise.
21570 * elf/tst-auditmod6b.c: Likewise.
21571 * elf/tst-auditmod6c.c: Likewise.
21572 * elf/tst-auditmod7b.c: Likewise.
21573
21574 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21575 and x32_gnu_pltexit.
21576
21577 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21578 __ELF_NATIVE_CLASS.
21579 (La_x32_regs): New macro.
21580 (La_x32_retval): Likewise.
21581 (la_x32_gnu_pltenter): New function prototype.
21582 (la_x32_gnu_pltexit): Likewise.
21583
7998fa78
AS
215842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21585
dcb33988
AS
21586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21587 exponent.
21588
233fc563
AS
21589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21590
7998fa78
AS
21591 * configure.in (libc_cv_cc_nofma): Check for option to disable
21592 generation of FMA instructions.
21593 * configure: Regenerate.
21594 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21595 * sysdeps/ieee754/dbl-64/Makefile: New file.
21596 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21597 Remove brandred-fma4.
21598 (CFLAGS-brandred-fma4.c): Remove.
21599 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21600 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21601 define.
21602 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21603 define.
21604
8e95c99a
L
216052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21606
21607 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21608 LLONG_MAX != LONG_MAX.
21609 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21610 (_fitoa_word): Likewise.
21611 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21612 LLONG_MAX != LONG_MAX.
21613 * stdio-common/_itowa.h: Include <_itoa.h>.
21614 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21615 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21616 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21617 only if not defined.
21618 (_ITOA_WORD_TYPE): Likewise.
21619 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21620 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21621
6f4db457
DM
216222012-03-21 David S. Miller <davem@davemloft.net>
21623
21624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21625
7785fe5a
L
216262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21627
21628 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21629 of x86_64 when setting libc_cv_slibdir, libdir and
21630 libc_cv_localedir.
21631 * sysdeps/unix/sysv/linux/configure: Regenerated.
21632
4535cd55
JM
216332012-03-21 Joseph Myers <joseph@codesourcery.com>
21634
21635 * manual/lang.texi (Old Varargs): Remove section.
21636 (How Variadic): Update menu.
21637 (va_start): Do not mention varargs.h.
21638
17228132
TS
216392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21640 Joseph Myers <joseph@codesourcery.com>
21641
21642 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21643 link test.
21644 * configure: Regenerated.
21645
8149f976
TS
216462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21647
05f3d1f6
UD
21648 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21649 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21650 conformtest.pl
8149f976 21651
1a4ac776
JM
216522012-03-21 Joseph Myers <joseph@codesourcery.com>
21653
be22ce65
JM
21654 * NOTES: Remove.
21655 * Makefile (files-for-dist): Remove NOTES.
21656 (NOTES): Remove rule.
21657 * README: Don't refer to NOTES.
21658 * manual/creature.texi: Don't include macros.texi.
21659 * manual/intro.texi (creature.texi): Remove comment referring to
21660 NOTES.
21661
40b601fb
JM
21662 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21663 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21664 * configure: Regenerated.
21665 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21666 LIBC_TRY_CC_OPTION.
21667 (libc_cv_as_i686): Likewise.
21668 (libc_cv_cc_avx): Likewise.
21669 (libc_cv_cc_sse2avx): Likewise.
21670 (libc_cv_cc_fma4): Likewise.
21671 (libc_cv_cc_novzeroupper): Likewise.
21672 * sysdeps/i386/configure: Regenerated.
21673
1a4ac776
JM
21674 [BZ #13883]
21675 * sysdeps/i386/fpu/s_cexp.S: Remove.
21676 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21677 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21678 * math/libm-test.inc (cexp_test): Add more tests.
21679 * sysdeps/i386/fpu/libm-test-ulps: Update.
21680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21681
a458e7fe
AM
216822012-03-21 Allan McRae <allan@archlinux.org>
21683
21684 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21685
0cb7efc5
JM
216862012-03-21 Joseph Myers <joseph@codesourcery.com>
21687
21688 [BZ #13871]
21689 * math/w_exp2.c: Do not include <float.h>.
21690 (o_threshold, u_threshold): Remove.
21691 (__exp2): Calculate result before checking finiteness and calling
21692 __kernel_standard.
21693 * math/w_exp2f.c: Likewise.
21694 * math/w_exp2l.c: Likewise.
21695 * math/libm-test.inc (exp2_test): Require overflow exception for
21696 1e6 input.
2460d3aa
JM
21697
21698 [BZ #3866]
21699 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21700 range of signed 64-bit integers before using fistpll. Remove
21701 checks for whether integers fit in mantissa bits.
21702 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21703 the range of signed 32-bit integers before using fistpl. Remove
21704 checks for whether integers fit in mantissa bits.
21705 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21706 (__ieee754_powl): Test for y outside the range of signed 64-bit
21707 integers before using fistpll. Reduce 64-bit values to 63-bit
21708 ones as needed.
21709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21710 divide-by-zero is raised for zero to large negative powers.
21711 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21712 (__ieee754_powl): Test for y outside the range of signed 64-bit
21713 integers before using fistpll. Reduce 64-bit values to 63-bit
21714 ones as needed.
21715 * math/libm-test.inc (pow_test): Add more tests.
21716
eb96ffb0
L
217172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21718
21719 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21720 <stdio-common/_itoa.h>.
21721 * debug/segfault.c: Likewise.
21722 * elf/dl-cache.c: Likewise.
21723 * elf/dl-minimal.c: Likewise.
21724 * elf/dl-misc.c: Likewise.
21725 * elf/dl-sysdep.c: Likewise.
21726 * elf/dl-version.c: Likewise.
21727 * elf/rtld.c: Likewise.
21728 * hurd/hurdsock.c: Likewise.
21729 * hurd/lookup-retry.c: Likewise.
21730 * malloc/malloc.c: Likewise.
21731 * malloc/mtrace.c: Likewise.
21732 * nscd/nscd_getgr_r.c: Likewise.
21733 * nscd/nscd_getpw_r.c: Likewise.
21734 * nscd/nscd_getserv_r.c: Likewise.
21735 * posix/getopt_init.c: Likewise.
21736 * posix/wordexp.c: Likewise.
21737 * stdio-common/_itoa.c: Likewise.
21738 * stdio-common/printf_fphex.c: Likewise.
21739 * stdio-common/vfprintf.c: Likewise.
21740 * string/_strerror.c: Likewise.
21741 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21742 * sysdeps/i386/i686/hp-timing.h: Likewise.
21743 * sysdeps/mach/_strerror.c: Likewise.
21744 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21745 * sysdeps/mach/hurd/sethostid.c: Likewise.
21746 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21747 * sysdeps/mach/xpg-strerror.c: Likewise.
21748 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21749 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21750 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21751 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21752 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21753 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21754 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21755 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21756 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21757 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21758 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21759 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21760 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21761 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21762 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21763 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21764 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21765 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21766 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21767 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21768 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21769
21770 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21771
21772 * stdio-common/_itoa.h: Moved to ...
21773 * sysdeps/generic/_itoa.h: Here.
21774
21775 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21776
21777 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21778 instead of "_itoa.h" and "_itowa.h".
21779 * stdio-common/vfprintf.: Likewise.
21780
d1af992d
L
217812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21782
21783 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21784 <bits/wordsize.h>.
21785 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21786 (__signbit): Likwise.
21787 (llrintf): Likwise.
21788 (llrint): Likwise.
21789
114883e0
L
217902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21791
21792 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21793 __WORDSIZE != 64.
21794
c135cc1b
JM
217952012-03-20 Joseph Myers <joseph@codesourcery.com>
21796
21797 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21798 OVERFLOW_EXCEPTION_OK.
21799 * math/libm-test.inc ("Philosophy"): Update comment about
21800 exception testing.
21801 (OVERFLOW_EXCEPTION): Define.
21802 (OVERFLOW_EXCEPTION_OK): Likewise.
21803 (INVALID_EXCEPTION_OK): Renumber.
21804 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21805 (IGNORE_ZERO_INF_SIGN): Likewise.
21806 (test_exceptions): Handle FE_OVERFLOW.
21807 (exp10_test): Expect overflow exceptions.
21808 (exp2_test): Likewise.
21809 (expm1_test): Likewise.
21810 (nextafter_test): Likewise.
21811 (pow_test): Likewise.
21812 (scalbn_test): Likewise.
21813 (scalbln_test): Likewise.
21814
95443d88
L
218152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21816
21817 * sysdeps/x86_64/bits/atomic.h
21818 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21819 64bit integer.
21820 (atomic_exchange_acq): Likewise.
21821 (__arch_exchange_and_add_body): Likewise.
21822 (__arch_add_body): Likewise.
21823 (atomic_add_negative): Likewise.
21824 (atomic_add_zero): Likewise.
21825
490df6c4
L
218262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21827
c2722551 21828 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21829 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21830
5e52b189
L
218312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21832
21833 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21834 Check __x86_64__ instead of __WORDSIZE.
21835
a9879d4c
L
218362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21837
21838 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21839
5df98260
DM
218402012-03-19 David S. Miller <davem@davemloft.net>
21841
e1497744
DM
21842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21843
5df98260
DM
21844 * sysdeps/sparc/fpu/fenv_private.h: New file.
21845 * sysdeps/sparc/fpu/math_private.h: Use it.
21846 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21847 Remove.
21848 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21849 (libc_feholdexcept_setroundl): Remove.
21850 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21851 Remove.
21852 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21853 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21854
b4c35121
L
218552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21856
21857 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21858 int64_t instead of long int.
21859 (INSERT_WORDS64): Likwise.
21860
56965fd7
L
218612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21862
21863 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21864 _Unwind_GetCFA return to _Unwind_Ptr first.
21865
83d1aec8
JM
218662012-03-19 Joseph Myers <joseph@codesourcery.com>
21867
1897ad44
JM
21868 [BZ #13629]
21869 * math/s_clog.c: Include <float.h>.
21870 (__clog): Scale large or subnormal inputs.
21871 * math/s_clogf.c: Likewise.
21872 * math/s_clogl.c: Likewise.
21873 * math/s_clog10.c: Include <float.h>.
21874 (M_LOG10_2): Define.
21875 (__clog10): Scale large or subnormal inputs.
21876 * math/s_clog10f.c: Likewise.
21877 * math/s_clog10l.c: Likewise.
21878 * math/libm-test.inc (clog_test): Add more tests.
21879 (clog10_test): Likewise.
21880 * sysdeps/i386/fpu/libm-test-ulps: Update.
21881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21882
7726d6a9
JM
21883 [BZ #11451]
21884 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21885 x and y.
21886 * math/libm-test.inc (atan2_test): Add another test.
21887
83d1aec8
JM
21888 * Makerules (common-objdir-compile): Remove.
21889 * sysdeps/unix/Makefile (config-generated): Do not add
21890 $(unix-generated) to variable.
21891 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21892 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21893 Remove rule.
21894 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21895 Likewise.
21896 [generic bits/local_lim.h] (before-compile): Do not append to
21897 variable.
21898 [generic bits/local_lim.h] (common-generated): Likewise.
21899 [generic sys/param.h] (before-compile): Do not append to variable.
21900 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21901 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21902 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21903 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21904 include.
21905 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21906 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21907 [generic sys/param.h] ($(addprefix
21908 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21909 [generic sys/param.h] (common-generated): Do not append to
21910 variable.
21911 [generic sys/param.h] (sysdep_headers): Likewise.
21912 [generic bits/errno.h] (before-compile): Do not append to
21913 variable.
21914 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21915 rule.
21916 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21917 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21918 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21919 [generic bits/errno.h] (common-generated): Do not append to
21920 variable.
21921 [generic bits/ioctls.h] (before-compile): Do not append to
21922 variable.
21923 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21924 rule.
21925 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21926 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21927 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21928 rule.
21929 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21930 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21931 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21932 [generic bits/ioctls.h] (common-generated): Do not append to
21933 variable.
21934 [generic sys/syscall.h] (syscall.h): Remove variable.
21935 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21936 rule.
21937 [generic sys/syscall.h] (before-compile): Do not append to
21938 variable.
21939 [generic sys/syscall.h] (common-generated): Likewise.
21940 * sysdeps/unix/errnos-tmpl.c: Remove file.
21941 * sysdeps/unix/errnos.awk: Likewise.
21942 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21943 * sysdeps/unix/ioctls.awk: Likewise.
21944 * sysdeps/unix/mk-local_lim.c: Likewise.
21945 * sysdeps/unix/snarf-ioctls: Likewise.
21946
4851a949
RH
219472012-03-19 Richard Henderson <rth@twiddle.net>
21948
bd37f2ee
RH
21949 * sysdeps/i386/fpu/fenv_private.h: New file.
21950 * sysdeps/i386/fpu/math_private.h: Use it.
21951 (math_opt_barrier, math_force_eval): Remove.
21952 (libc_feholdexcept_setround_53bit): Remove.
21953 (libc_feupdateenv_53bit): Remove.
21954 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21955 (math_opt_barrier, math_force_eval): Remove.
21956 (libc_feholdexcept): Remove.
21957 (libc_feholdexcept_setround): Remove.
21958 (libc_fetestexcept, libc_fesetenv): Remove.
21959 (libc_feupdateenv_test): Remove.
21960 (libc_feupdateenv, libc_feholdsetround): Remove.
21961 (libc_feresetround): Remove.
21962
d0adc922
RH
21963 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21964 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21965
0fe0f1f8
RH
21966 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21967 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21968 (libc_feupdateenv_testl): New.
21969 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21970 (libc_feupdateenv_testf): New.
21971 (libc_feupdateenv): Use libc_feupdateenv_test.
21972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21973 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21974
eb92c487
RH
21975 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21976 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21977 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21978 (libc_feresetround_noex): New.
21979 (libc_feresetround_noexf): New.
21980 (libc_feresetround_noexl): New.
21981 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21982 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21983 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21984 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21985 SET_RESTORE_ROUND.
21986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21988 (__cos): Likewise.
21989 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21990 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21991 SET_RESTORE_ROUND_NOEX.
21992 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21993 SET_RESTORE_ROUND_NOEXF.
21994 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21995 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21996 (libc_feholdsetroundf): New.
21997 (libc_feresetround, libc_feresetroundf): New.
21998
7d2e8012
RH
21999 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22000 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22001 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22002
b4dabbb4
RH
22003 * sysdeps/generic/math_private.h: Include <fenv.h>.
22004 (default_libc_feholdexcept): New.
22005 (default_libc_feholdexcept_setround): New.
22006 (default_libc_fesetenv, default_libc_feupdateenv): New.
22007 (libc_feholdexcept): Only define if undefined.
22008 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22009 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22010 (libc_feholdexcept_setroundl): Likewise.
22011 (libc_feholdexcept_setround_53bit): Likewise.
22012 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22013 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22014 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22015 (libc_feupdateenv_53bit): Likewise.
22016 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22017 (libc_feholdexcept): Convert from macro to inline function.
22018 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22019 (libc_fesetenv, libc_feupdateenv): Likewise.
22020
4851a949
RH
22021 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22022 not previously defined.
22023 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22024 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22025 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22026 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22027 * sysdeps/ieee754/flt-32/math_private.h: New file.
22028 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22029 math_private.h below SET_FLOAT_WORD.
22030 (__isnan, __isinf_ns, __finite): Remove.
22031 (__isnanf, __isinf_nsf, __finitef): Remove.
22032
e79d442e
AS
220332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22034
22035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22036
90b80344
DM
220372012-03-17 David S. Miller <davem@davemloft.net>
22038
22039 [BZ #6471]
22040 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22041 for 2.16.
22042
edc21804
DM
220432012-03-16 David S. Miller <davem@davemloft.net>
22044
77e927af
DM
22045 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22046 warnings.
22047
374976dd
DM
22048 [BZ #6471]
22049 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22050 properly.
22051 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22052 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22053 sysdep_routines when subdir is sysvipc.
22054 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22055 __getshmlba helper.
22056
edc21804
DM
22057 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22058
473c3ef3
L
220592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22060
22061 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22062 [__LP64__].
22063
eb0f39b6
L
220642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22065
22066 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22067 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22068 (__lround): Renamed to ...
22069 (__llround): This. Replace long int with long long int.
22070 Define lround functions as aliases of llround functions.
22071 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22072
6b6cd74b
L
220732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22074
22075 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22076 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22077 adresses to uintptr_t. Replace "long int" and "unsigned long
22078 int" with "greg_t" on va_arg.
22079
f1a77b01
L
220802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22081
22082 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22083 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22084
22085 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22086 Move e_machine check before EI_CLASS check. Handle x32
22087 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22088 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22089 SKIP_EM_IA_64 and include
22090 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22091
22092 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22093 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22094 (add_system_dir): New macro.
22095
22096 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22097 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22098
11b90b9f
JM
220992012-03-16 Joseph Myers <joseph@codesourcery.com>
22100
c36e1d23
JM
22101 [BZ #2551]
22102 [BZ #2552]
22103 [BZ #2553]
22104 [BZ #2554]
22105 [BZ #2562]
22106 [BZ #2563]
22107 [BZ #2565]
22108 [BZ #2566]
22109 [BZ #2576]
22110 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22111 (y0): Likewise.
22112 * math/w_j0f.c (j0f): Likewise.
22113 (y0f): Likewise.
22114 * math/w_j0l.c (__j0l): Likewise.
22115 (__y0l): Likewise.
22116 * math/w_j1.c (j1): Likewise.
22117 (y1): Likewise.
22118 * math/w_j1f.c (j1f): Likewise.
22119 (y1f): Likewise.
22120 * math/w_j1l.c (__j1l): Likewise.
22121 (__y1l): Likewise.
22122 * math/w_jn.c (jn): Likewise.
22123 (yn): Likewise.
22124 * math/w_jnf.c (jnf): Likewise.
22125 (ynf): Likewise.
22126 * math/w_jnl.c (__jnl): Likewise.
22127 (__ynl): Likewise.
22128 * math/libm-test.inc (j0_test): Add more tests.
22129 (j1_test): Likewise.
22130 (jn_test): Likewise. Add trailing semicolon to existing test.
22131 (y0_test): Likewise.
22132 (y1_test): Likewise.
22133 * sysdeps/i386/fpu/libm-test-ulps: Update.
22134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22135
11b90b9f
JM
22136 [BZ #13851]
22137 [BZ #13854]
22138 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22139 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22140 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22141 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22142 (__tanl): Set errno for infinite argument.
22143 * sysdeps/i386/fpu/mptan.c: Remove.
22144 * sysdeps/i386/fpu/s_tan.S: Likewise.
22145 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22146 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22147 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22148 * math/libm-test.inc (tan_test): Add more tests and enable more
22149 tests for double and long double.
22150 * sysdeps/i386/fpu/libm-test-ulps: Update.
22151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22152
6a1bd2a1
JK
221532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22154
22155 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22156 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22157
10a803e0
RM
221582012-03-16 Roland McGrath <roland@hack.frob.com>
22159
22160 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22161 * configure.in: Use it for both main tree and add-ons.
22162 * configure: Regenerated.
22163
f196c7f7
L
221642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22165
22166 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22167
8848d99d
JM
221682012-03-16 Joseph Myers <joseph@codesourcery.com>
22169
96cbe7f4
JM
22170 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22171 in comment.
22172
8848d99d
JM
22173 [BZ #13851]
22174 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22175 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22179 infinite argument.
22180 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22182 != 0 for prec == 2.
22183 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22184 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22185 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22186 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22187 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22188 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22189 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22190 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22191 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22192 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22193 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22194 * math/libm-test.inc (cos_test): Add more tests and enable more
22195 tests for long double.
22196 (sin_test): Likewise.
22197 (sincos_test): Likewise.
22198 * sysdeps/i386/fpu/libm-test-ulps: Update.
22199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22200
dd7f4703
DM
222012012-03-16 David S. Miller <davem@davemloft.net>
22202
22203 * sysdeps/sparc/fpu/math_private.h: New file.
22204
006f1daa
DM
222052012-03-15 David S. Miller <davem@davemloft.net>
22206
c0c83bc8
DM
22207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22208 file.
e6a62e18 22209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22211 file.
e6a62e18
DM
22212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22218 sysdep routines.
22219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22220
88cb87d9
DM
22221 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22222 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22223
006f1daa 22224 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22226 sparc-ifunc.h
006f1daa 22227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22229 Likewise.
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22231 Likewise.
006f1daa
DM
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22236 Likewise.
006f1daa
DM
22237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22242 Likewise.
22243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22244 Likewise.
006f1daa
DM
22245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22251 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22269
11e0098e
AS
222702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22271
22272 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22273 scaling.
22274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22275
e85b09d0
AJ
222762012-03-15 Andreas Jaeger <aj@suse.de>
22277
22278 [BZ #13852]
22279 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22280 ieee754/flt-32 implementation for sin, cos and sincos.
22281 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22282 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22283 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22284 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22285 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22286 ieee754/flt-32 implementation for tan.
22287
22288 * math/libm-test.inc (cos_test): Enable some large input tests for
22289 float as well
22290 (sin_test): Likewise.
22291 (sincos_test): Likewise.
22292 (tan_test): Add tests for large input.
22293
22294 * sysdeps/i386/fpu/libm-test-ulps: Update.
22295
81c64153
AJ
222962012-03-15 Andreas Jaeger <aj@suse.de>
22297
22298 [BZ #13658]
22299 * math/libm-test.inc (cos_test): Add more test cases.
22300 (sin_test): Likewise.
22301 (sincos_test): Likewise.
22302
7bbfa5c6
AJ
223032012-03-15 Andreas Jaeger <aj@suse.de>
22304
22305 [BZ #13837]
22306 * math/libm-test.inc (cos_test): Add a test case for large input
22307 value.
22308 (sin_test): Likewise.
22309 (sincos_test): Likewise.
22310
223112012-03-15 Andreas Jaeger <aj@suse.de>,
22312 Joseph Myers <joseph@codesourcery.com>
22313
22314 [BZ #13658]
0671f479 22315 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22316 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22317 * sysdeps/i386/fpu/branred.c: Likewise.
22318 * sysdeps/i386/fpu/dosincos.c: Likewise.
22319 * sysdeps/i386/fpu/mpa.c: Likewise.
22320 * sysdeps/i386/fpu/s_cos.S: Likewise.
22321 * sysdeps/i386/fpu/s_sin.S: Likewise.
22322 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22323 * sysdeps/i386/fpu/sincos32.c: Likewise.
22324
22325 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22326 Define.
22327 (libc_feupdateenv_53bit): Define.
22328 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22329 Define.
22330 (libc_feupdateenv_53bit): Define.
22331
22332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22333 53 bit (without extend i386 double precision).
22334
22335 * math/libm-test.inc (sincos_test): Add tests for large input.
22336 (sin): Likewise.
22337 (cos): Likewise.
22338
22339 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22340
9cad04ea
AS
223412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22342
22343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22344
f7062b9a
DM
223452012-03-15 David S. Miller <davem@davemloft.net>
22346
22347 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22348 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22349 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22350 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22363 file.
f7062b9a 22364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22366 file.
f7062b9a 22367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22369 file.
f7062b9a 22370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22372 file.
f7062b9a
DM
22373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22375 fmin/fmax sysdep routines.
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22377
7bd951ff
DM
223782012-03-14 David S. Miller <davem@davemloft.net>
22379
559398ab
DM
22380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22409 routines.
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22411 file.
559398ab 22412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22414 file.
559398ab 22415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22417 file.
559398ab 22418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22420 file.
559398ab 22421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22423 file.
559398ab 22424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22426 file.
22427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22428 file.
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22430 file.
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22432 file.
22433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22434 New file.
22435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22436 file.
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22438 file.
559398ab 22439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22441 file.
559398ab 22442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22444 file.
559398ab 22445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22447 file.
559398ab 22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22450 VIS3 routines.
559398ab
DM
22451
22452 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22453 New file.
22454
5a1c1e32
DM
22455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22456
eae47a36
DM
22457 * sysdeps/sparc/configure.in: New file.
22458 * sysdeps/sparc/configure: Generate.
22459 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22460 * configure: Regenerate.
22461 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22462 * config.make.in (have-as-vis3): New.
22463 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22464 available use -Av9d instead of -Av9a.
22465 * sysdeps/sparc/sparc64/Makefile: Likewise.
22466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22468 New file.
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22470 file.
22471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22472 New file.
22473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22474 file.
eae47a36
DM
22475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22480
c0c83bc8
DM
22481 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22482 fzeros/fnegs to load 0x80000000 into a float register instead of
22483 using the stack.
7bd951ff
DM
22484 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22485
bd951ccb
JM
224862012-03-14 Joseph Myers <joseph@codesourcery.com>
22487
22488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22489 bits/syscall.h.
22490 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22491 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22492 ($(inst_includedir)/bits/syscall.h): Remove rule.
22493 ($(objpfx)bits/syscall.d): Include instead of
22494 $(objpfx)syscall-list.d.
22495 (generated): Change syscall-list.h and syscall-list.d to
22496 bits/syscall.h and bits/syscall.d.
22497
bb4e6db2
RM
224982012-03-14 Roland McGrath <roland@hack.frob.com>
22499
22500 [BZ #13846]
22501 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22502
aa4a2ae1
JM
225032012-03-14 Joseph Myers <joseph@codesourcery.com>
22504
e456826d
JM
22505 [BZ #13841]
22506 * math/s_csqrt.c: Include <float.h>.
22507 (__csqrt): Scale large or subnormal inputs.
22508 * math/s_csqrtf.c: Likewise.
22509 * math/s_csqrtl.c: Likewise.
22510 * math/libm-test.inc (csqrt_test): Add more tests.
22511 * sysdeps/i386/fpu/libm-test-ulps: Update.
22512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22513
aa4a2ae1
JM
22514 [BZ #13840]
22515 * math/libm-test.inc (hypot_test): Add more tests.
22516
7c10fd35
DM
225172012-03-13 David S. Miller <davem@davemloft.net>
22518
22519 [BZ #13840]
22520 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22521 double-precision for the calculation instead of scaling.
22522
f453b98b
JM
225232012-03-13 Joseph Myers <joseph@codesourcery.com>
22524
22525 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22526 manipulate bits before adding and subtracting TWO52[sx].
22527 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22528 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22529 Likewise.
22530 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22531
09a3453f
DM
225322012-03-13 David S. Miller <davem@davemloft.net>
22533
8e59da90
DM
22534 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22535 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22537 rtld-global-offsets.h
22538 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22539
2a8ab7f2
DM
22540 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22541 large parameters.
22542
10f62770
DM
22543 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22544
5f0bdb18
DM
22545 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22546 'err' in the ifdef scope in which it is actually used.
22547
09a3453f
DM
22548 * nss/nss_db/db-init.c: Include string.h
22549
b4b2eb5e
DM
225502012-03-12 David S. Miller <davem@davemloft.net>
22551
98bb2f1c
DM
22552 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22553 masking out of the most significant byte of random value used.
22554 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22555 Fix coding style in previous change.
22556
b4b2eb5e
DM
22557 * sysdeps/unix/sysv/linux/kernel-features.h
22558 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22559 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22560 expression.
22561 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22562 later.
22563
6e226b09
DM
225642012-03-11 David S. Miller <davem@davemloft.net>
22565
a1bcbd40
DM
22566 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22567 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22568 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22569 for 'resultvar' otherwise things get truncated on 64-bit.
22570
cb9d6174
DM
22571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22572 Fix masking out of the most significant byte of random value used.
22573
6e226b09
DM
22574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22575
058c132d
AS
225762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22577
22578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22579
2d2cd515
DM
225802012-03-09 David S. Miller <davem@davemloft.net>
22581
22582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22583 variables with appropriate CPP guards.
22584 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22585 frame pointer, not the stack pointer. Correct layout comments. Fix test
22586 on resulting framesize and the management of the outregs buffer for pltexit.
22587 Preserve floating point return values across _dl_call_pltexit call.
22588 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22589 framesize and the management of the outregs buffer for pltexit.
22590 Preserve floating point return values across _dl_call_pltexit
22591 call.
22592 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22593 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22594 (print_exit): Fix format string for return register value.
22595
9a07f9d0
JM
225962012-03-10 Joseph Myers <joseph@codesourcery.com>
22597
22598 * sunrpc/Makefile (others): Add rpcgen.
22599 ($(objpfx)rpcgen): Remove special build rule and dependency on
22600 libc.
22601 * sunrpc/rpcgen.c: New file.
22602
547b5e30
PE
226032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22604
c524201a
PE
22605 [BZ #13673]
22606 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22607 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22608 * sysdeps/i386/crti.S: Likewise.
22609 * sysdeps/i386/crtn.S: Likewise.
22610 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22611 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22612 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22613 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22614 * sysdeps/sh/crti.S: Likewise.
22615 * sysdeps/sh/crtn.S: Likewise.
22616 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22617
7b6235f2
PE
22618 [BZ #13673]
22619 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22620 with URL.
22621 * locale/programs/locfile-kw.gperf: Likewise.
22622 * locale/programs/charmap-kw.h: Regenerated.
22623 * locale/programs/locfile-kw.h: Likewise.
22624
547b5e30
PE
22625 [BZ #13673]
22626 * intl/plural.y: Replace FSF snail mail address with URL.
22627 * intl/plural.c: Regenerated.
22628
5f0a5dae
RH
226292012-03-09 Richard Henderson <rth@twiddle.net>
22630
22631 * include/math_private.h: Remove file.
22632 * math/math_private.h: Move file ...
22633 * sysdeps/generic/math_private.h: ... here.
22634
b8c03620
RH
22635 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22636 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22637 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22638
4e234f5d 22639 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22640 and <math_private.h>.
22641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22671 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22676 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22729 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22732 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22745 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22746 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22747 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22748 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22749 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22751 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22752 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22753 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22755 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22756 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22757 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22758 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22759 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22760 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22762 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22764 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22765 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22766 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22767 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22768 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22769 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22770 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22771 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22772 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22773 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22774 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22775 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22776 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22777 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22778 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22779 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22780 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22781 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22782 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22783 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22784 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22785 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22786 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22787 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22788 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22789 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22790 * sysdeps/ieee754/k_standard.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22859 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22906 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22910 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22911 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22913 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22918 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22921 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22923 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22927 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22929 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22930 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22932 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22933 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22939 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22940 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22941 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22948 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22949 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22950 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22951 * sysdeps/ieee754/s_lib_version.c: Likewise.
22952 * sysdeps/ieee754/s_matherr.c: Likewise.
22953 * sysdeps/ieee754/s_signgam.c: Likewise.
22954 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22955 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22956 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22957 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22958 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22959 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22960 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22961 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22962 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22963 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22964 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22965 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22966 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22967 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22968 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22969 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22970 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22971 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22972 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22975
1991fa03
JM
229762012-03-09 Joseph Myers <joseph@codesourcery.com>
22977
22978 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22979 * sunrpc/rpc_main.c: Likewise.
22980 * sunrpc/rpc_svcout.c: Likewise.
22981
60d6f5a6
DM
229822012-03-09 David S. Miller <davem@davemloft.net>
22983
22984 * include/math_private.h: New file.
22985
4962050e
JM
229862012-03-09 Joseph Myers <joseph@codesourcery.com>
22987
02a6f887
JM
22988 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22989 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22990 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22991 from <bits/socket_type.h>.
22992 (enum __socket_type): Don't define here.
22993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22995 bits/socket_type.h.
22996
c6e013c1
JM
22997 [BZ #13566]
22998 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22999 checking __USE_GNU.
23000
4962050e
JM
23001 * Makerules ($(inst_includedir)/%.h): New rule.
23002 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23003 (install-others): Remove variable setting.
23004 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23005
38842f45
RH
230062012-03-08 Richard Henderson <rth@twiddle.net>
23007
67bb6da6
RH
23008 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23009 from macro to inline function; merge with the
23010 !__LIBC_INTERNAL_MATH_INLINES version.
23011 (__ieee754_sqrtf): Likewise.
23012
15194b4b
RH
23013 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23014 to inline function.
23015 (__rintf, __floor, __floorf): Likewise.
23016
64e21ede
RH
23017 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23018 macro to inline function.
23019 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23020
38842f45
RH
23021 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23022 not <math/math_private.h>.
23023
c64bf5fe
DM
230242012-03-08 David S. Miller <davem@davemloft.net>
23025
23026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23027 copyright year.
23028 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23029
82d86f28
TS
230302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23031
23032 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23033 normalization.
23034 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23035 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23036
aea5d727
UD
230372012-03-08 Ulrich Drepper <drepper@gmail.com>
23038
23039 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23040 be defined individually, they must be defined as a block. Define
23041 S for printing a string instead of hidint the different by using a
23042 macro for adding the 'l'.
23043 * stdio-common/tst-fphex-wide.c: Adjust.
23044
70bca0a3
MP
230452012-03-07 Marek Polacek <polacek@redhat.com>
23046
23047 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23048
65b81130
MP
230492012-03-08 Marek Polacek <polacek@redhat.com>
23050
23051 [BZ #13806]
23052 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23053 * stdio-common/tst-fphex.c: Define a few macros to make the
23054 test reusable. Use them.
23055 * stdio-common/tst-fphex-wide.c: New file.
23056
07037eeb
JM
230572012-03-08 Joseph Myers <joseph@codesourcery.com>
23058
a7a93d50
JM
23059 [BZ #6911]
23060 * manual/macros.texi (gnusystems): New macro.
23061 (nongnusystems): Likewise.
23062 (gnulinuxhurdsystems): Likewise.
23063 (gnuhurdsystems): Likewise..
23064 (gnulinuxsystems): Likewise.
23065 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23066 variants of the GNU system, not "GNU system".
23067 * manual/conf.texi: Likewise.
23068 * manual/errno.texi: Likewise. Update example of errno macro
23069 expansion.
23070 * manual/filesys.texi: Likewise.
23071 (getumask): Document as specific to GNU/Hurd.
23072 * manual/install.texi: Likewise. Reword some references to
23073 GNU/Linux.
23074 * manual/intro.texi: Likewise.
23075 * manual/io.texi: Likewise.
23076 (File Name Portability): Detail which constraints are inapplicable
23077 to all GNU systems and which are only inapplicable to GNU/Hurd.
23078 * manual/job.texi: Likewise.
23079 * manual/llio.texi: Likewise.
23080 (O_NOCTTY): Document as present on GNU/Linux.
23081 * manual/maint.texi: Likewise.
23082 * manual/memory.texi: Likewise.
23083 * manual/pattern.texi: Likewise.
23084 * manual/pipe.texi: Likewise.
23085 * manual/process.texi: Likewise.
23086 * manual/resource.texi: Likewise.
23087 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23088 child on GNU/Hurd.
23089 * manual/setjmp.texi: Likewise.
23090 * manual/signal.texi: Likewise.
23091 * manual/startup.texi: Likewise.
23092 * manual/stdio.texi: Likewise.
23093 * manual/terminal.texi: Likewise.
23094 (ONLCR): Document as POSIX.
23095 (OXTABS): Document availability on GNU/Linux as XTABS.
23096 (ONOEOT): Document availability separately from other bits.
23097 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23098 * manual/time.texi: Likewise.
23099 * manual/users.texi: Likewise.
23100 * INSTALL: Regenerated.
23101 * sysdeps/gnu/errlist.c: Regenerated.
23102
07037eeb
JM
23103 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23104 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23105 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23106 puts.
23107 * configure: Regenerated.
23108
d1d3431a
JM
231092012-03-07 Joseph Myers <joseph@codesourcery.com>
23110
af6a1e37
JM
23111 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23112 default includes instead of AC_HEADER_CHECK.
23113 * sysdeps/i386/configure: Regenerated.
23114
d1d3431a
JM
23115 [BZ #10716]
23116 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23117 * math/s_cacoshf.c (__cacoshf): Likewise.
23118 * math/s_cacoshl.c (__cacoshl): Likewise.
23119 * math/s_casinh.c (__casinh): Set signs of result from argument.
23120 * math/s_casinhf.c (__casinhf): Likewise.
23121 * math/s_casinhl.c (__casinhl): Likewise.
23122 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23123 (casinh_test): Add more tests.
23124 * sysdeps/i386/fpu/libm-test-ulps: Update.
23125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23126
482ff4da
UD
231272012-03-07 Ulrich Drepper <drepper@gmail.com>
23128
872fda05
UD
23129 * po/zh_TW.po: Update from translation team.
23130
a4300c7a
UD
23131 * login/Makefile (distribute): Remove variable.
23132 * catgets/Makefile: Likewise.
23133 * mach/Makefile: Likewise.
23134 * malloc/Makefile: Likewise.
23135 * misc/Makefile: Likewise.
23136 * iconv/Makefile: Likewise.
23137 * nscd/Makefile: Likewise.
23138 * hurd/Makefile: Likewise.
23139 * manual/Makefile: Likewise.
23140 * locale/Makefile: Likewise.
23141 * intl/Makefile: Likewise.
23142 * conform/Makefile: Likewise.
23143 * nss/Makefile: Likewise.
23144 * time/Makefile: Likewise.
23145 * soft-fp/Makefile: Likewise.
23146 * dirent/Makefile: Likewise.
23147 * gmon/Makefile: Likewise.
23148 * po/Makefile: Likewise.
23149 * rt/Makefile: Likewise.
23150 * socket/Makefile: Likewise.
23151 * math/Makefile: Likewise.
23152 * signal/Makefile: Likewise.
23153 * debug/Makefile: Likewise.
23154 * elf/Makefile: Likewise.
23155 * timezone/Makefile: Likewise.
23156 * stdlib/Makefile: Likewise.
23157 * iconvdata/Makefile: Likewise.
23158 * sunrpc/Makefile: Likewise.
23159 * io/Makefile: Likewise.
23160 * argp/Makefile: Likewise.
23161 * inet/Makefile: Likewise.
23162 * hesiod/Makefile: Likewise.
23163 * grp/Makefile: Likewise.
23164 * csu/Makefile: Likewise.
23165 * wctype/Makefile: Likewise.
23166 * crypt/Makefile: Likewise.
23167 * libio/Makefile: Likewise.
23168 * string/Makefile: Likewise.
23169 * nis/Makefile: Likewise.
23170 * resolv/Makefile: Likewise.
23171 * stdio-common/Makefile: Likewise.
23172 * wcsmbs/Makefile: Likewise.
23173 * dlfcn/Makefile: Likewise.
23174 * posix/Makefile: Likewise.
23175
3b7c4e74 23176 [BZ #6959]
482ff4da
UD
23177 * timezone/Makefile: Don't install timezone files, just the programs
23178 and scripts.
23179
f72ed77d
UD
231802012-03-06 Ulrich Drepper <drepper@gmail.com>
23181
a000466f
UD
23182 * nss/databases.def: Add missing gshadow entry.
23183
f72ed77d
UD
23184 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23185
a53b7a4e
MP
231862012-03-06 Marek Polacek <polacek@redhat.com>
23187
23188 [BZ #13726]
23189 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23190 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23191 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23192 * stdio-common/tst-long-dbl-fphex.c: New file.
23193
e9258400
DM
231942012-03-06 David S. Miller <davem@davemloft.net>
23195
23196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23197 (set_obp_int): New function.
23198 (get_obp_int): New function.
23199 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23201 Avoid unused variable warnings on 'val' and use builtin_expect.
23202 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23203 __builtin_expect.
e9258400
DM
23204 (INLINE_CLONE_SYSCALL): Likewise.
23205
3bd2c723
DM
232062012-03-05 David S. Miller <davem@davemloft.net>
23207
23208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23209
bbb78d03
AS
232102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23211
884c5db4
AS
23212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23213
bbb78d03
AS
23214 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23215 only for |x| >= 40.
23216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23217
1c9f702a 232182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23219
23220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23221 Replace gettimeofday with __vdso_gettimeofday.
23222
7be16f82
RM
23223 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23224 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23225 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23226
23227 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23228 time with __vdso_time.
23229
ed58a00f
JM
232302012-03-05 Joseph Myers <joseph@codesourcery.com>
23231
23232 * manual/lang.texi (size_t): Note types to which size_t may be
23233 equivalent with the GNU C Library, but do not describe when
23234 differences between them are significant.
23235
30ee4ced
AJ
232362012-03-05 Andreas Jaeger <aj@suse.de>
23237
23238 * sysdeps/i386/fpu/libm-test-ulps: Update.
23239
b7cd39e8
JM
232402012-03-05 Joseph Myers <joseph@codesourcery.com>
23241
23242 [BZ #3976]
23243 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23244 (__ieee754_pow): Save and restore rounding mode and use
23245 round-to-nearest for main computations.
23246 * math/libm-test.inc (pow_test_tonearest): New function.
23247 (pow_test_towardzero): Likewise.
23248 (pow_test_downward): Likewise.
23249 (pow_test_upward): Likewise.
23250 (main): Call the new functions.
23251 * sysdeps/i386/fpu/libm-test-ulps: Update.
23252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23253
23254 [BZ #3976]
23255 * math/libm-test.inc (cosh_test_tonearest): New function.
23256 (cosh_test_towardzero): Likewise.
23257 (cosh_test_downward): Likewise.
23258 (cosh_test_upward): Likewise.
23259 (sinh_test_tonearest): Likewise.
23260 (sinh_test_towardzero): Likewise.
23261 (sinh_test_downward): Likewise.
23262 (sinh_test_upward): Likewise.
23263 (main): Call the new functions.
23264 * sysdeps/i386/fpu/libm-test-ulps: Update.
23265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23266
6c6a98c9
TV
232672012-03-05 Tom de Vries <tom@codesourcery.com>
23268
23269 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23270 default stack guard is set in last bytes.
23271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23272
21bb2d2e 232732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23274
21bb2d2e 23275 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23276
21bb2d2e
AJ
23277 [BZ #13656]
23278 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23279 possibly allocate from heap instead of stack.
23280 * stdio-common/bug-vfprintf-nargs.c: New file.
23281 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23282
c6922934
AS
232832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23284
23285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23286
bc957d53
MP
232872012-03-03 Marek Polacek <polacek@redhat.com>
23288
23289 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23290 * math/math_private.h: Likewise.
23291 * stdlib/tst-strtod.c: Likewise.
23292 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23293 * sysdeps/x86_64/bits/atomic.h: Likewise.
23294
6358490d
DM
232952012-03-02 David S. Miller <davem@davemloft.net>
23296
23297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23301 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23302 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23303 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23304 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23305
01ae168d
RM
233062012-03-02 Roland McGrath <roland@hack.frob.com>
23307
d9a17c07
RM
23308 [BZ #13792]
23309 * manual/examples/README: New file, says the example source files
23310 can be used under GPL>=2.
23311 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23312 line containing just "*/".
23313 * manual/examples/add.c: Add copyright header (GPL>=2).
23314 * manual/examples/argp-ex1.c: Likewise.
23315 * manual/examples/argp-ex2.c: Likewise.
23316 * manual/examples/argp-ex3.c: Likewise.
23317 * manual/examples/argp-ex4.c: Likewise.
23318 * manual/examples/atexit.c: Likewise.
23319 * manual/examples/db.c: Likewise.
23320 * manual/examples/dir.c: Likewise.
23321 * manual/examples/dir2.c: Likewise.
23322 * manual/examples/execinfo.c: Likewise.
23323 * manual/examples/filecli.c: Likewise.
23324 * manual/examples/filesrv.c: Likewise.
23325 * manual/examples/fmtmsgexpl.c: Likewise.
23326 * manual/examples/genpass.c: Likewise.
23327 * manual/examples/inetcli.c: Likewise.
23328 * manual/examples/inetsrv.c: Likewise.
23329 * manual/examples/isockad.c: Likewise.
23330 * manual/examples/longopt.c: Likewise.
23331 * manual/examples/memopen.c: Likewise.
23332 * manual/examples/memstrm.c: Likewise.
23333 * manual/examples/mkfsock.c: Likewise.
23334 * manual/examples/mkisock.c: Likewise.
23335 * manual/examples/mygetpass.c: Likewise.
23336 * manual/examples/pipe.c: Likewise.
23337 * manual/examples/popen.c: Likewise.
23338 * manual/examples/rprintf.c: Likewise.
23339 * manual/examples/search.c: Likewise.
23340 * manual/examples/select.c: Likewise.
23341 * manual/examples/setjmp.c: Likewise.
23342 * manual/examples/sigh1.c: Likewise.
23343 * manual/examples/sigusr.c: Likewise.
23344 * manual/examples/stpcpy.c: Likewise.
23345 * manual/examples/strdupa.c: Likewise.
23346 * manual/examples/strftim.c: Likewise.
23347 * manual/examples/strncat.c: Likewise.
23348 * manual/examples/subopt.c: Likewise.
23349 * manual/examples/swapcontext.c: Likewise.
23350 * manual/examples/termios.c: Likewise.
23351 * manual/examples/testopt.c: Likewise.
23352 * manual/examples/testpass.c: Likewise.
23353 * manual/examples/timeval_subtract.c: Likewise.
23354
01ae168d
RM
23355 [BZ #13792]
23356 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23357 function to ...
23358 * manual/timeval_subtract.c.texi: ... here, new file.
23359
49efa33d
DM
233602012-03-02 David S. Miller <davem@davemloft.net>
23361
23362 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23363
28afd92d
JM
233642012-03-02 Joseph Myers <joseph@codesourcery.com>
23365
804360ed
JM
23366 [BZ #3976]
23367 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23368 (__sin): Save and restore rounding mode and use round-to-nearest
23369 for all computations.
23370 (__cos): Save and restore rounding mode and use round-to-nearest
23371 for all computations.
23372 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23373 <fenv.h>.
23374 (tan): Save and restore rounding mode and use round-to-nearest for
23375 all computations.
23376 * math/libm-test.inc (cos_test_tonearest): New function.
23377 (cos_test_towardzero): Likewise.
23378 (cos_test_downward): Likewise.
23379 (cos_test_upward): Likewise.
23380 (sin_test_tonearest): Likewise.
23381 (sin_test_towardzero): Likewise.
23382 (sin_test_downward): Likewise.
23383 (sin_test_upward): Likewise.
23384 (tan_test_tonearest): Likewise.
23385 (tan_test_towardzero): Likewise.
23386 (tan_test_downward): Likewise.
23387 (tan_test_upward): Likewise.
23388 (main): Call the new functions.
23389 * sysdeps/i386/fpu/libm-test-ulps: Update.
23390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23391
a6d06d7b
JM
23392 [BZ #10135]
23393 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23394 small n, then large n, before computing and testing k+n.
23395 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23397 Likewise.
23398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23399 Likewise.
23400 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23401 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23404 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23405 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23406 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23407 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23408 * math/libm-test.inc (scalbn_test): Add more tests.
23409 (scalbln_test): Likewise.
23410
07e12bb3
JM
23411 * manual/filesys.texi (mode_t): Describe constraints on size and
23412 signedness, not exact equivalence to a particular type.
23413 (ino_t): Likewise.
23414 (ino64_t): Likewise.
23415 (dev_t): Likewise.
23416 (nlink_t): Likewise.
23417 (blkcnt_t): Likewise.
23418 (blkcnt64_t): Likewise.
23419 * manual/llio.texi (off_t): Likewise.
23420
28afd92d
JM
23421 [BZ #3976]
23422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23423 (__ieee754_exp): Save and restore rounding mode and use
23424 round-to-nearest for all computations.
23425 * math/libm-test.inc (exp_test_tonearest): New function.
23426 (exp_test_towardzero): Likewise.
23427 (exp_test_downward): Likewise.
23428 (exp_test_upward): Likewise.
23429 (main): Call the new functions.
23430 * sysdeps/i386/fpu/libm-test-ulps: Update.
23431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23432
b1eeb65d
CD
234332012-03-01 Chris Demetriou <cgd@google.com>
23434
23435 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23436 have predictable order.
23437
53362a4b
DM
234382012-03-01 David S. Miller <davem@davemloft.net>
23439
3c969083
DM
23440 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23441
759707de
DM
23442 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23443 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23444 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23445 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23446
dfdb8ff2
DM
23447 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23448 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23449 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23451 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23452 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23453 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23454 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23455 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23456
ead89f96
DM
23457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23458
7f66bd07
DM
23459 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23460 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23461 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23462
53362a4b
DM
23463 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23464 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23465 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23466 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23467 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23470 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23471 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23472 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23473 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23476 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23477 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23478 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23479 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23480 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23481 * sysdeps/sparc/elf/configure: Regenerated.
23482
7b1902cb
JM
234832012-03-01 Joseph Myers <joseph@codesourcery.com>
23484
bec039bc
JM
23485 * configure.in (AS, LD): Require binutils 2.20 or later.
23486 * configure: Regenerated.
23487 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23488 as required minimum version.
23489 * INSTALL: Regenerated.
23490
7b1902cb
JM
23491 [BZ #2541]
23492 [BZ #4108]
23493 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23494 before squaring exponent.
23495 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23496 bottom long double and 27 bits of top long double before squaring
23497 exponent.
23498 * math/libm-test.inc (erfc_test): Add more tests.
23499 * sysdeps/i386/fpu/libm-test-ulps: Update.
23500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23502
f775c276
KT
235032012-03-01 Kai Tietz <ktietz@redhat.com>
23504
23505 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23506 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23507 containing bit-fields.
23508 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23509 * soft-fp/single.h (_FP_UNION_S): Likewise.
23510 * soft-fp/double.h (_FP_UNION_D): Likewise.
23511
5b8a4d4a
JM
235122012-02-29 Joseph Myers <joseph@codesourcery.com>
23513
0bab47b6
JM
23514 [BZ #13786]
23515 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23516 not include ../strcmp.S.
23517 [USE_AS_STRNCASECMP_L]: Likewise.
23518 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23519 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23520 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23521 (__strncasecmp_l_ia32): Define as alias to
23522 __strncasecmp_l_nonascii.
23523
0fcad3e2
JM
23524 [BZ #5794]
23525 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23526 * sysdeps/i386/fpu/libm-test-ulps: Update.
23527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23528
5b8a4d4a
JM
23529 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23531
8fdceb2e
JL
235322012-02-29 Jeff Law <law@redhat.com>
23533
23534 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23535 out of bounds read.
23536
1f393a11
MP
235372012-02-29 Marek Polacek <polacek@redhat.com>
23538
23539 [BZ #13706]
23540 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23541 * elf/Makefile: Add rules to run tst-unused-dep.out.
23542
8847f037
DM
235432012-02-28 David S. Miller <davem@davemloft.net>
23544
23545 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23546 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23547 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23549 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23550 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23551
169d7f11
JM
235522012-02-29 Joseph Myers <joseph@codesourcery.com>
23553
23554 * math/libm-test.inc (llround_test): Move one test from
23555 lround_test. Use TEST_f_L in moved test.
23556 (lround_test): Move misplaced test to llround_test. Add testcase
23557 from bug 2561.
23558
39adf059
UD
235592012-02-28 Ulrich Drepper <drepper@gmail.com>
23560
23561 * sysdeps/x86_64/fpu/e_expf.S: New file.
23562 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23563
71b5d1c5
SB
235642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23565
23566 [BZ #13637]
23567 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23568 of remain_len that may cause incomplete multi-byte character and
23569 false match.
23570 * posix/bug-regex33.c: New file.
23571 * posix/Makefile (tests): Add bug-regex33.
23572
1f77f049
JM
235732012-02-28 Joseph Myers <joseph@codesourcery.com>
23574
23575 * manual/macros.texi: New file.
23576 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23577 * manual/libc.texinfo: Include macros.texi.
23578 * manual/creatute.texi: Likewise.
23579 * manual/install.texi: Likewise.
23580 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23581 @glibcadj{} in references to the GNU C Library.
23582 * manual/charset.texi: Likewise.
23583 * manual/conf.texi: Likewise.
23584 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23585 when not using those macros.
23586 * manual/creature.texi: Likewise.
23587 * manual/crypt.texi: Likewise.
23588 * manual/errno.texi: Likewise.
23589 * manual/filesys.texi: Likewise.
23590 * manual/header.texi: Likewise.
23591 * manual/install.texi: Likewise.
23592 * manual/intro.texi: Likewise.
23593 * manual/io.texi: Likewise.
23594 * manual/job.texi: Likewise.
23595 * manual/lang.texi: Likewise.
23596 * manual/libc.texiinfo: Likewise.
23597 * manual/llio.texi: Likewise.
23598 * manual/locale.texi: Likewise.
23599 * manual/maint.texi: Likewise.
23600 * manual/math.texi: Likewise.
23601 * manual/memory.texi: Likewise.
23602 * manual/message.texi: Likewise.
23603 * manual/nss.texi: Likewise.
23604 * manual/pattern.texi: Likewise.
23605 * manual/process.texi: Likewise.
23606 * manual/resource.texi: Likewise.
23607 * manual/search.texi: Likewise.
23608 * manual/setjmp.texi: Likewise.
23609 * manual/signal.texi: Likewise.
23610 * manual/socket.texi: Likewise.
23611 * manual/startup.texi: Likewise.
23612 * manual/stdio.texi: Likewise.
23613 * manual/string.texi: Likewise.
23614 * manual/sysinfo.texi: Likewise.
23615 * manual/syslog.texi: Likewise.
23616 * manual/terminal.texi: Likewise.
23617 * manual/time.texi: Likewise.
23618 * manual/users.texi: Likewise.
23619 * INSTALL: Regenerated.
23620 * NOTES: Regenerated.
d40c5d54 23621 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23622
450bf206
AS
236232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23624
23625 * include/dirent.h: Include <dirstream.h> before
23626 <dirent/dirent.h>.
23627
741a235b
DM
236282012-02-28 David S. Miller <davem@davemloft.net>
23629
23630 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23631 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23632 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23634
d6b5aa58
DM
236352012-02-27 David S. Miller <davem@davemloft.net>
23636
1aff59a3
DM
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23639 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23640 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23641
d6b5aa58
DM
23642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23643 frame pointer instead of stack pointer relative arg slot.
23644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23645 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23646 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23647
433f48bf
CD
236482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23649
23650 [BZ #3992]
23651 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23652
d674b76d
DM
236532012-02-27 David S. Miller <davem@davemloft.net>
23654
23655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23659 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23660 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23661 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23662 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23663
0e7727f7
JM
236642012-02-27 Joseph Myers <joseph@codesourcery.com>
23665
23666 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23667 later. Allow versions 5-9.
43be4ca2 23668 * configure: Regenerated.
0e7727f7
JM
23669 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23670 required minimum version and 4.6 as recommended version. Do not
23671 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23672 * INSTALL: Regenerated.
0e7727f7 23673
a78bc654
DM
236742012-02-27 David S. Miller <davem@davemloft.net>
23675
428d5830
DM
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23680 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23681 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23682 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23684
a78bc654
DM
23685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23686 manipulate bits before adding and subtracting TWO112[sx].
23687 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23688
4579f81c
RM
236892012-02-27 Roland McGrath <roland@hack.frob.com>
23690
36c8acb4
RM
23691 [BZ #13775]
23692 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23693 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23694 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23695 being in POSIX, because they are in 1003.1-2008.
23696
84ad622b
RM
23697 * rt/tst-aio.c: Include <fcntl.h>.
23698 * rt/tst-aio7.c: Likewise.
23699 * rt/tst-aio64.c: Likewise.
23700
4579f81c
RM
23701 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23702
abd923db
JM
237032012-02-27 Joseph Myers <joseph@codesourcery.com>
23704
23705 * manual/install.texi (--with-headers): Describe headers as
23706 interface headers, not private headers.
23707 (Specific advice for GNU/Linux systems): Describe use of headers
23708 from "make headers_install", not private headers from older
23709 kernels.
43be4ca2 23710 * INSTALL: Regenerated.
abd923db
JM
23711 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23712 Change to 2.6.19.
23713 * sysdeps/unix/sysv/linux/configure: Regenerated.
23714
6664049b
JM
23715 * manual/llio.texi (fclean): Remove documentation.
23716
bb8b6697
JM
23717 * manual/Makefile (libc-texi-generated): New variable. Include
23718 version.texi.
23719 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23720 $(libc-texi-generated), not duplicated list of files.
23721 (version.texi, stamp-version): New rules.
23722 (realclean): Remove $(libc-texi-generated), not individual files
23723 from that list. Do not remove dir-add.texinfo.
23724 * manual/libc.texinfo: Comment out uses of edition numbers and
23725 references to printed manual. Remove last-updated dates.
23726 (EDITION): Comment out.
23727 (ISBN): Likewise.
23728 (VERSION, UPDATED): Remove.
23729 (version.texi): Include.
23730
12e5c3b9
AS
237312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23732
23733 * sysdeps/posix/spawni.c: Include <signal.h>.
23734 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23735 * sysdeps/pthread/aio_fsync.c: Likewise.
23736
4efeffc1 237372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23738
ba63ba08
UD
23739 * conform/Makefile (tests): Run only when not cross-compiling and
23740 when fast-check is not defined.
23741
d94a4670
UD
23742 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23743 * conform/data/limits.h-data: Fixes for POSIX2008.
23744 * conform/run-conformtest.sh: Run all tests.
23745 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23746 headers.
23747 * include/bits/dlfcn.h: Likewise.
23748 * include/langinfo.h: Likewise.
23749 * include/monetary.h: Likewise.
23750 * include/sys/poll.h: Likewise.
23751
23752 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23753 for __USE_GNU.
23754 * posix/spawn.h: Define __need_sigset_t.
23755 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23756 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23757 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23758 to get sigevent_t only.
23759 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23760 only for __USE_GNU.
23761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23762 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23763 process_vm_writev only for __USE_GNU.
23764 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23765
23766 * conform/Makefile: For now ignore errors from run-conformtest.
23767 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23768 POSIX to avoid namespace pollution. Don't prepend headers.
23769 * conform/data/aio.h-data: Fixes for POSIX testing.
23770 * conform/data/fcntl.h-data: Likewise.
23771 * conform/data/glob.h-data: Likewise.
23772 * conform/data/grp.h-data: Likewise.
23773 * conform/data/pthread.h-data: Likewise.
23774 * conform/data/pwd.h-data: Likewise.
23775 * conform/data/signal.h-data: Likewise.
23776 * conform/data/spawn.h-data: Likewise.
23777 * conform/data/stdio.h-data: Likewise.
23778 * conform/data/stdlib.h-data: Likewise.
23779 * conform/data/stropts.h-data: Likewise.
23780 * conform/data/sys/mman.h-data: Likewise.
23781 * conform/data/sys/stat.h-data: Likewise.
23782 * conform/data/sys/types.h-data: Likewise.
23783 * conform/data/sys/wait.h-data: Likewise.
23784 * conform/data/time.h-data: Likewise.
23785 * conform/data/unistd.h-data: Likewise.
23786 * conform/data/utime.h-data: Likewise.
23787
23788 * io/sys/stat.h: fchmod was always in POSIX.
23789 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23790 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23791 * rt/aio.h: Define __need_timespec before including <time.h>.
23792 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23793 struct. Add forward declaration of pthread_attr_t and use it in
23794 sigevent.
23795 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23797 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23798 always remove CLK_TCK definition.
23799
c20105c3
AS
238002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23801
23802 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23803
7a270350
UD
238042012-02-25 Ulrich Drepper <drepper@gmail.com>
23805
31341567
UD
23806 * conform/run-conformtest.sh: New file.
23807 * conform/Makefile: Run run-conformtest for tests.
23808 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23809 support.
23810
23811 * conform/data/uchar.h-data: New file.
23812 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23813 * conform/data/arpa/inet.h-data: Likewise.
23814 * conform/data/assert.h-data: Likewise.
23815 * conform/data/complex.h-data: Likewise.
23816 * conform/data/cpio.h-data: Likewise.
23817 * conform/data/ctype.h-data: Likewise.
23818 * conform/data/dirent.h-data: Likewise.
23819 * conform/data/dlfcn.h-data: Likewise.
23820 * conform/data/errno.h-data: Likewise.
23821 * conform/data/fcntl.h-data: Likewise.
23822 * conform/data/float.h-data: Likewise.
23823 * conform/data/fmtmsg.h-data: Likewise.
23824 * conform/data/fnmatch.h-data: Likewise.
23825 * conform/data/ftw.h-data: Likewise.
23826 * conform/data/glob.h-data: Likewise.
23827 * conform/data/grp.h-data: Likewise.
23828 * conform/data/iconv.h-data: Likewise.
23829 * conform/data/inttypes.h-data: Likewise.
23830 * conform/data/langinfo.h-data: Likewise.
23831 * conform/data/libgen.h-data: Likewise.
23832 * conform/data/limits.h-data: Likewise.
23833 * conform/data/locale.h-data: Likewise.
23834 * conform/data/math.h-data: Likewise.
23835 * conform/data/monetary.h-data: Likewise.
23836 * conform/data/mqueue.h-data: Likewise.
23837 * conform/data/ndbm.h-data: Likewise.
23838 * conform/data/net/if.h-data: Likewise.
23839 * conform/data/netdb.h-data: Likewise.
23840 * conform/data/netinet/in.h-data: Likewise.
23841 * conform/data/nl_types.h-data: Likewise.
23842 * conform/data/poll.h-data: Likewise.
23843 * conform/data/pthread.h-data: Likewise.
23844 * conform/data/pwd.h-data: Likewise.
23845 * conform/data/regex.h-data: Likewise.
23846 * conform/data/sched.h-data: Likewise.
23847 * conform/data/search.h-data: Likewise.
23848 * conform/data/semaphore.h-data: Likewise.
23849 * conform/data/setjmp.h-data: Likewise.
23850 * conform/data/signal.h-data: Likewise.
23851 * conform/data/spawn.h-data: Likewise.
23852 * conform/data/stdarg.h-data: Likewise.
23853 * conform/data/stdio.h-data: Likewise.
23854 * conform/data/stdlib.h-data: Likewise.
23855 * conform/data/string.h-data: Likewise.
23856 * conform/data/strings.h-data: Likewise.
23857 * conform/data/stropts.h-data: Likewise.
23858 * conform/data/sys/ipc.h-data: Likewise.
23859 * conform/data/sys/mman.h-data: Likewise.
23860 * conform/data/sys/msg.h-data: Likewise.
23861 * conform/data/sys/resource.h-data: Likewise.
23862 * conform/data/sys/select.h-data: Likewise.
23863 * conform/data/sys/sem.h-data: Likewise.
23864 * conform/data/sys/shm.h-data: Likewise.
23865 * conform/data/sys/socket.h-data: Likewise.
23866 * conform/data/sys/stat.h-data: Likewise.
23867 * conform/data/sys/statvfs.h-data: Likewise.
23868 * conform/data/sys/time.h-data: Likewise.
23869 * conform/data/sys/timeb.h-data: Likewise.
23870 * conform/data/sys/times.h-data: Likewise.
23871 * conform/data/sys/types.h-data: Likewise.
23872 * conform/data/sys/uio.h-data: Likewise.
23873 * conform/data/sys/un.h-data: Likewise.
23874 * conform/data/sys/utsname.h-data: Likewise.
23875 * conform/data/sys/wait.h-data: Likewise.
23876 * conform/data/syslog.h-data: Likewise.
23877 * conform/data/tar.h-data: Likewise.
23878 * conform/data/termios.h-data: Likewise.
23879 * conform/data/utime.h-data: Likewise.
23880 * conform/data/utmpx.h-data: Likewise.
23881 * conform/data/varargs.h-data: Likewise.
23882 * conform/data/wchar.h-data: Likewise.
23883 * conform/data/wctype.h-data: Likewise.
23884 * conform/data/wordexp.h-data: Likewise.
23885
23886 * include/stropts.h: New file.
23887 * include/uchar.h: New file.
23888 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23889 * include/assert.h: Likewise.
23890 * include/ctype.h: Likewise.
23891 * include/dirent.h: Likewise.
23892 * include/dlfcn.h: Likewise.
23893 * include/fcntl.h: Likewise.
23894 * include/fnmatch.h: Likewise.
23895 * include/glob.h: Likewise.
23896 * include/grp.h: Likewise.
23897 * include/libio.h: Likewise.
23898 * include/locale.h: Likewise.
23899 * include/math.h: Likewise.
23900 * include/net/if.h: Likewise.
23901 * include/netdb.h: Likewise.
23902 * include/netinet/in.h: Likewise.
23903 * include/pthread.h: Likewise.
23904 * include/pwd.h: Likewise.
23905 * include/regex.h: Likewise.
23906 * include/sched.h: Likewise.
23907 * include/search.h: Likewise.
23908 * include/setjmp.h: Likewise.
23909 * include/signal.h: Likewise.
23910 * include/stdio.h: Likewise.
23911 * include/stdlib.h: Likewise.
23912 * include/string.h: Likewise.
23913 * include/sys/cdefs.h: Likewise.
23914 * include/sys/mman.h: Likewise.
23915 * include/sys/msg.h: Likewise.
23916 * include/sys/resource.h: Likewise.
23917 * include/sys/select.h: Likewise.
23918 * include/sys/socket.h: Likewise.
23919 * include/sys/stat.h: Likewise.
23920 * include/sys/statvfs.h: Likewise.
23921 * include/sys/time.h: Likewise.
23922 * include/sys/times.h: Likewise.
23923 * include/sys/uio.h: Likewise.
23924 * include/sys/utsname.h: Likewise.
23925 * include/sys/wait.h: Likewise.
23926 * include/termios.h: Likewise.
23927 * include/time.h: Likewise.
23928 * include/ulimit.h: Likewise.
23929 * include/unistd.h: Likewise.
23930 * include/utime.h: Likewise.
23931 * include/wchar.h: Likewise.
23932 * include/wctype.h: Likewise.
23933 * include/wordexp.h: Likewise.
23934
23935 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23936
7a270350
UD
23937 * time/time.h: TIME_UTC must be a macro.
23938 Make timespec_get available for ISO C11 only as well.
23939
7724defc
UD
239402012-02-24 Ulrich Drepper <drepper@gmail.com>
23941
23942 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23943 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23944
6b1d1d46
JM
239452012-02-24 Joseph Myers <joseph@codesourcery.com>
23946
23947 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23948
0f8bbd69
JM
239492012-02-24 Joseph Myers <joseph@codesourcery.com>
23950
23951 * manual/texinfo.tex: Update to version 2012-01-19.16.
23952
66ab80bc
JM
239532012-02-24 Joseph Myers <joseph@codesourcery.com>
23954
23955 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23956
74981cc5
RM
239572012-02-24 Roland McGrath <roland@hack.frob.com>
23958
ee968201
RM
23959 [BZ #13738]
23960 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23961 * manual/fdl-1.3.texi: New file.
23962 * manual/fdl-1.1.texi: File removed.
23963
74981cc5
RM
23964 [BZ #13738]
23965 * manual/libc.texinfo (FDL_VERSION): New @set.
23966 Use it for mention of FDL in cover text.
23967 (Documentation License): Use it in @include file name.
23968
7bb764bc
JM
239692012-02-22 Joseph Myers <joseph@codesourcery.com>
23970 Roland McGrath <roland@hack.frob.com>
23971
23972 [BZ #5461]
23973 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23974 not LONG_LONG_MAX and LONG_LONG_MIN.
23975 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23976 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23977 name.
23978 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23979
6cbeae47
JM
239802012-02-22 Joseph Myers <joseph@codesourcery.com>
23981
23982 [BZ #2547]
23983 [BZ #11365]
23984 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23985 manipulate bits before adding and subtracting TWO23[sx].
23986 * math/libm-test.inc (nearbyint_test): Add more tests.
23987
fe45ce09
JM
239882012-02-22 Joseph Myers <joseph@codesourcery.com>
23989
23990 [BZ #2548]
23991 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23992 bits before adding and subtracting TWO23[sx].
23993 * math/libm-test.inc (rint_test): Add more tests.
23994 (rint_test_tonearest): Likewise.
23995 (rint_test_towardzero): Likewise.
23996 (rint_test_downward): Likewise.
23997 (rint_test_upward: Likewise.
23998
ff3b3d82
JM
239992012-02-22 Joseph Myers <joseph@codesourcery.com>
24000
24001 [BZ #10110]
24002 * include/stdc-predef.h: New file. Extracted from features.h.
24003 * include/features.h: Include stdc-predef.h.
24004 * Makefile (headers): Add stdc-predef.h.
24005 * CONFORMANCE (Compiler limitations): Update.
24006
ef0aab35
JM
240072012-02-22 Joseph Myers <joseph@codesourcery.com>
24008
24009 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24010
58639409
DM
240112012-02-21 David S. Miller <davem@davemloft.net>
24012
24013 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24014 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24015
c0e70b25
DM
240162012-02-20 David S. Miller <davem@davemloft.net>
24017
24018 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24019 using a normal save/restore sequence, rather than allocating a
24020 dummy stack frame just to store a frame pointer and restore.
24021 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24022
fb06851d
JM
240232012-02-21 Joseph Myers <joseph@codesourcery.com>
24024
24025 * manual/install.texi: Fix stray word in line-wrapped comment.
24026
7a8b71c3
DM
240272012-02-20 David S. Miller <davem@davemloft.net>
24028
d510c123
DM
24029 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24030 both binutils and gcc support GOTDATA.
24031
0722d7c2
DM
24032 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24033 "rd %pc" in the PIC register setup sequences.
24034
3d2b3019
DM
24035 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24036 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24037 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24038 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24039 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24041 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24042 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24044 (SYSCALL_ERROR_HANDLER): Likewise.
24045 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24046 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24048 (SYSCALL_ERROR_HANDLER): Likewise.
24049
c80098a9
DM
24050 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24051 (HAVE_GCC_GOTDATA): New.
24052 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24053 relocation support in both binutils and gcc.
24054 * sysdeps/sparc/elf/configure: Regenerate.
24055
3a2545a0
DM
24056 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24057 * sysdeps/sparc/sparc32/elf/configure: Delete.
24058 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24059 * sysdeps/sparc/sparc64/elf/configure: Delete.
24060 * sysdeps/sparc/elf/configure.in: New file.
24061 * sysdeps/sparc/elf/configure: Generate.
24062
7a8b71c3
DM
24063 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24064 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24065 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24066 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24067 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24068
f1e86fca
JM
240692012-02-21 Joseph Myers <joseph@codesourcery.com>
24070
24071 * manual/install.texi: Do not mention specific glibc version
24072 numbers.
24073 * manual/libc.texinfo (VERSION, UPDATED): Update.
24074 (@copying): Use @copyright{} and range of years.
24075
0e7dfaef
JM
240762012-02-21 Joseph Myers <joseph@codesourcery.com>
24077
24078 [BZ #13695]
24079 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24080 [crti.S not in sysdirs] (generated): Do not append.
24081 [crti.S not in sysdirs] (omit-deps): Likewise.
24082 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24083 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24084 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24085 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24086 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24087 Likewise.
24088 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24089 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24090 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24091 * csu/defs.awk: Remove file.
24092 * sysdeps/generic/initfini.c: Likewise.
24093 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24094 variable.
24095 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24096 Likewise.
24097
599af3ca
JM
240982012-02-20 Joseph Myers <joseph@codesourcery.com>
24099
24100 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24101 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24102 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24104 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24105 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24106 <bits/epoll.h>.
24107 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24108 (__EPOLL_PACKED): Define to empty if not defined by
24109 <bits/epoll.h>.
24110 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24112 bits/epoll.h.
24113
0e499750
JM
241142012-02-20 Joseph Myers <joseph@codesourcery.com>
24115
24116 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24117 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24118 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24119 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24120 <bits/timerfd.h>.
24121 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24123 bits/timerfd.h.
24124
5ad91f6e
JM
241252012-02-20 Joseph Myers <joseph@codesourcery.com>
24126
24127 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24128 in C locale.
24129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24130 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24131 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24133
06b99b02
AJ
241342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24135
24136 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24137 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24138
7638c0fd
AS
241392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24140
24141 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24142 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24143 defined.
24144 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24145 Likewise.
24146 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24147 entry for 2.16.
24148
92221550
AJ
241492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24150
24151 * math/w_acos.c: Use non-signaling floating-point comparisons.
24152 * math/w_acosf.c: Likewise.
24153 * math/w_acosh.c: Likewise.
24154 * math/w_acoshf.c: Likewise.
24155 * math/w_acoshl.c: Likewise.
24156 * math/w_acosl.c: Likewise.
24157 * math/w_asin.c: Likewise.
24158 * math/w_asinf.c: Likewise.
24159 * math/w_asinl.c: Likewise.
24160 * math/w_atanh.c: Likewise.
24161 * math/w_atanhf.c: Likewise.
24162 * math/w_atanhl.c: Likewise.
24163 * math/w_exp2.c: Likewise.
24164 * math/w_exp2f.c: Likewise.
24165 * math/w_exp2l.c: Likewise.
24166 * math/w_j0.c: Likewise.
24167 * math/w_j0f.c: Likewise.
24168 * math/w_j0l.c: Likewise.
24169 * math/w_j1.c: Likewise.
24170 * math/w_j1f.c: Likewise.
24171 * math/w_j1l.c: Likewise.
24172 * math/w_jn.c: Likewise.
24173 * math/w_jnf.c: Likewise.
24174 * math/w_log.c: Likewise.
24175 * math/w_log10.c: Likewise.
24176 * math/w_log10f.c: Likewise.
24177 * math/w_log10l.c: Likewise.
24178 * math/w_log2.c: Likewise.
24179 * math/w_log2f.c: Likewise.
24180 * math/w_log2l.c: Likewise.
24181 * math/w_logf.c: Likewise.
24182 * math/w_logl.c: Likewise.
24183 * math/w_sqrt.c: Likewise.
24184 * math/w_sqrtf.c: Likewise.
24185 * math/w_sqrtl.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24189 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24190 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24191
ebaf36eb
JM
241922012-02-19 Joseph Myers <joseph@codesourcery.com>
24193
24194 [BZ #9739]
24195 * manual/string.texi (strnlen): Use correct parameter name in
24196 equivalent expression.
24197
71c254a6
JM
241982012-02-19 Joseph Myers <joseph@codesourcery.com>
24199
24200 [BZ #11174]
24201 * manual/users.texi (seteuid): Consistently use neweuid for
24202 argument name.
24203
16d2c631
JM
242042012-02-19 Joseph Myers <joseph@codesourcery.com>
24205
24206 [BZ #13704]
24207 * manual/nss.texi (Services in the NSS configuration): Correct
24208 list of services in example configuration file.
24209
cd837b09
NB
242102012-02-19 Nick Bowler <nbowler@draconx.ca>
24211
24212 [BZ #11322]
24213 * manual/arith.texi: Remove statements about negative zero
24214 behaving identically to zero.
24215
02c4bbad
JM
242162012-02-18 Joseph Myers <joseph@codesourcery.com>
24217
24218 [BZ #5993]
24219 * manual/install.texi: Do not document upgrading from libc5.
24220
366842e7
JM
242212012-02-18 Joseph Myers <joseph@codesourcery.com>
24222
24223 [BZ #4596]
24224 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24225
dd54084d
DM
242262012-02-18 David S. Miller <davem@davemloft.net>
24227
24228 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24229 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24230 %o7 across the call.
24231 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24232 instead.
24233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24234 SETUP_PIC_REG_LEAF.
24235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24236 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24237 * sysdeps/sparc/crtn.S: Likewise.
24238
2bcc53a3
UD
242392012-02-17 Ulrich Drepper <drepper@gmail.com>
24240
24241 * aout/Makefile: Remove.
24242
09c093b5
RK
242432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24244
24245 [BZ #13058]
24246 * manual/examples/argp-ex1.c (main): Format definition in GNU
24247 style.
24248 * manual/examples/argp-ex2.c (main): Likewise.
24249 * manual/examples/argp-ex3.c (main): Likewise.
24250 * manual/examples/argp-ex4.c (main): Likewise.
24251 * manual/examples/longopt.c (main): Use new-style prototype
24252 definition.
24253 * manual/examples/strncat.c (main): Specify return type and use
24254 (void) for arguments.
24255 * manual/examples/subopt.c (main): Use char **argv argument.
24256
2ee633a2
JM
242572012-02-17 Joseph Myers <joseph@codesourcery.com>
24258
24259 [BZ #5077]
24260 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24261 rounding modes.
24262
0520adde
FB
242632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24264
24265 [BZ #6907]
24266 * manual/string.texi (strchr): Change when strchrnul is
24267 recommended.
24268
3f4081cd
DGM
242692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24270
24271 [BZ #174]
24272 * manual/locale.texi (setlocale): Document LOCPATH.
24273
d1b10e78
JM
242742012-02-17 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #10210]
24277 * manual/process.texi (execle): Move @dots{} before last argument.
24278
79c6869c
PB
242792012-02-17 Paul Bolle <pebolle@tiscali.nl>
24280
24281 [BZ #12047]
24282 * manual/charset.texi (Generic Charset Conversion): Fix typo
24283 (LC_TYPE -> LC_CTYPE).
24284
cc6e48bc
NB
242852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24286
24287 [BZ #5805]
24288 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24289 (scalbnf): Likewise.
24290 (scalbnl): Likewise.
24291 (scalbln): Likewise.
24292 (scalblnf): Likewise.
24293 (scalblnl): Likewise.
24294 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24295 (vwarnx): Likewise.
24296 (verr): Likewise.
24297 (verrx): Likewise.
24298 * manual/filesys.texi (telldir): Use braces around return type.
24299 * manual/llio.texi (mmap): Add space after comma.
24300 (mmap64): Likewise.
24301 * manual/math.texi (jn): Use @var{} on parameter names.
24302 (jnf): Likewise.
24303 (jnl): Likewise.
24304 (yn): Likewise.
24305 (ynf): Likewise.
24306 (ynl): Likewise.
24307 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24308 line.
24309 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24310 "...".
24311 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24312 (sched_get_priority_max): Likewise.
24313 * manual/signal.texi (sigvec): Add space after comma.
24314 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24315 names.
24316 (if_indextoname): Likewise.
24317 (if_freenameindex): Likewise.
24318 (sendto): Use ',' instead of '.' in prototype.
24319 * manual/startup.texi (syscall): Use @dots{} instead of literal
24320 "...".
24321 * manual/stdio.texi (__fpending): Separate initial words of
24322 paragraph from @deftypefun line.
24323 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24324 "...".
24325 (vsyslog): Use @var{} on parameter names.
24326 * manual/terminal.texi (stty): Use @var{} on parameter names.
24327 * manual/users.texi (getutmp): Use @var{} on parameter names.
24328 (getutmpx): Likewise.
24329
5b23062f
JM
243302012-02-17 Joseph Myers <joseph@codesourcery.com>
24331
24332 [BZ #6884]
24333 * manual/stdio.texi (fopen): Fix typos in description of
24334 ",ccs=STRING".
24335
8dee4833
AJ
243362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24337
24338 [BZ #4026]
24339 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24340 get clock_id definition.
24341
9078ce93
TS
243422012-02-17 Thomas Schwinge <thomas@schwinge.name>
24343
24344 [BZ #4822]
24345 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24346 (madvise): Cast every argument to void on its own.
24347
3835c55f
JM
243482012-02-17 Joseph Myers <joseph@codesourcery.com>
24349
24350 [BZ #9902]
24351 * manual/startup.texi (Exit Status): Fix typo.
24352
35c47e37
JM
243532012-02-17 Joseph Myers <joseph@codesourcery.com>
24354
24355 [BZ #10140]
24356 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24357 * manual/examples/argp-ex2.c: Likewise.
24358 * manual/examples/argp-ex3.c: Likewise.
24359
e3b69ca7
RH
243602012-02-16 Richard Henderson <rth@redhat.com>
24361
24362 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24363 * sysdeps/s390/s390-32/initfini.c: Remove.
24364 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24365 * sysdeps/s390/s390-64/initfini.c: Remove.
24366
df83af67
KK
243672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24368
24369 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24370 compiler output for sysdeps/generic/initfini.c.
24371 * sysdeps/sh/elf/initfini.c: Remove file.
24372
f63f3380
DM
243732012-02-16 David S. Miller <davem@davemloft.net>
24374
fb59b3a4
DM
24375 [BZ #11494]
24376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24377
f63f3380
DM
24378 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24379 * sysdeps/sparc/crti.S: New file.
24380 * sysdeps/sparc/crtn.S: New file.
24381 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24382 * sysdeps/sparc/sparc64/Makefile: Likewise.
24383
df6a4a4a
MF
243842012-02-15 Mike Frysinger <vapier@gentoo.org>
24385
6dd8f3dc 24386 [BZ #3335]
df6a4a4a
MF
24387 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24388
1cac7236
RM
243892012-02-15 Roland McGrath <roland@hack.frob.com>
24390
d2c736f8
RM
24391 [BZ #4822]
24392 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24393
1cac7236
RM
24394 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24395 (write, read, close): Likewise.
24396 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24397
8e475601
JM
243982012-02-15 Joseph Myers <joseph@codesourcery.com>
24399
24400 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24401 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24402 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24403 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24404 <bits/signalfd.h>.
24405 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24407 bits/signalfd.h.
24408
ed656b40
MP
244092012-02-14 Marek Polacek <polacek@redhat.com>
24410
24411 * sysdeps/x86_64/crti.S: New file.
24412 * sysdeps/x86_64/crtn.S: New file.
24413 * sysdeps/x86_64/elf/initfini.c: Remove file.
24414
2a979d3a
JM
244152012-02-13 Joseph Myers <joseph@codesourcery.com>
24416
24417 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24418 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24419 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24420 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24421 <bits/inotify.h>.
24422 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24424 bits/inotify.h.
24425
2a418ac3
JM
244262012-02-13 Joseph Myers <joseph@codesourcery.com>
24427
24428 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24429 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24430 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24431 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24432 <bits/eventfd.h>.
24433 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24435 bits/eventfd.h.
24436
fb779be7
TS
244372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24438
e19e83c5
RM
24439 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24440 __feraiseexcept instead of feraiseexcept.
7c35ffed 24441
fb779be7
TS
24442 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24443 nanosleep invocations.
24444 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24445 strings, and add error checking for a nanosleep invocations.
24446
59ba27a6
PE
244472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24448
24449 Replace FSF snail mail address with URLs, as per GNU coding standards.
24450 Most of the snail mail addresses were wrong anyway, and omitting
24451 them makes the source code easier to maintain. Almost all of the
24452 changes are to license notices and to locale LC_IDENTIFICATION
24453 addresses, except for this one:
24454 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24455 not its snail mail address.
24456
57b957eb
RH
244572012-02-09 Richard Henderson <rth@twiddle.net>
24458
af850b1c
RH
24459 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24460 of kernel-features.h.
24461
57b957eb
RH
24462 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24463
6b73181a
MP
244642012-02-08 Marek Polacek <polacek@redhat.com>
24465
24466 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24467 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24468 * sysdeps/gnu/_G_config.h: Likewise.
24469 * sysdeps/generic/_G_config.h: Likewise.
24470
26ecc33a
AS
244712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24472
6c6dbc63
AS
24473 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24474 tests.
24475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24476
e216c012
AS
24477 * sysdeps/powerpc/powerpc32/crti.S: New file.
24478 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24479 * sysdeps/powerpc/powerpc64/crti.S: New file.
24480 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24481
26ecc33a
AS
24482 * Makeconfig (have-initfini): Don't set.
24483 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24484 * configure.in (nopic_initfini): Don't substitute.
24485 * config.h.in (HAVE_INITFINI): Don't #undef.
24486 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24487 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24488
3add8e13
JM
244892012-02-08 Joseph Myers <joseph@codesourcery.com>
24490
24491 Support crti.S and crtn.S provided directly by architectures.
24492 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24493 [crti.S in sysdirs] (omit-deps): Likewise.
24494 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24495 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24496 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24497 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24498 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24499 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24500 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24501 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24502 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24503 compiler output for sysdeps/generic/initfini.c.
24504 * sysdeps/i386/elf/Makefile: Remove file.
24505 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24506
a22f12b4
MP
245072012-02-07 Marek Polacek <polacek@redhat.com>
24508
24509 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24510 * sysdeps/gnu/_G_config.h: Likewise.
24511 * sysdeps/mach/hurd/_G_config.h: Likewise.
24512
148cf100
MP
245132012-02-07 Marek Polacek <polacek@redhat.com>
24514
24515 * math/Makefile (tests): Add tst-CMPLX2.
24516 * math/tst-CMPLX2.c: New file.
24517
cfdc0dd7
AS
245182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24519
84ba42c4
AS
24520 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24521
cfdc0dd7
AS
24522 * math/libm-test.inc (jn_test): Add missing L suffix.
24523
622c86f4
MP
245242012-02-06 Marek Polacek <polacek@redhat.com>
24525
24526 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24527 * sysdeps/i386/fpu/e_powf.S: Likewise.
24528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24529 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24530 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24531 * sysdeps/i386/fpu/e_pow.S: Likewise.
24532 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24533 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24534 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24535 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24536 * sysdeps/i386/fpu/e_log2.S: Likewise.
24537 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24538 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24539 * sysdeps/i386/fpu/e_powl.S: Likewise.
24540 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24541 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24542 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24543 * sysdeps/i386/fpu/e_logl.S: Likewise.
24544 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24545 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24546 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24547 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24548 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24549 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24550 * sysdeps/i386/fpu/e_log.S: Likewise.
24551 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24553 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24554 * sysdeps/i386/fpu/e_logf.S: Likewise.
24555 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24557 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24558 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24559 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24560 * sysdeps/i386/fpu/e_log10.S: Likewise.
24561 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24563 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24564 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24565 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24566 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24567 * sysdeps/i386/asm-syntax.h: Likewise.
24568 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24569 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24570 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24571 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24572 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24573 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24574 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24575 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24576 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24577 * sysdeps/powerpc/sysdep.h: Likewise.
24578 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24579 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24580
d4a54ac6
JM
245812012-02-06 Joseph Myers <joseph@codesourcery.com>
24582
24583 [BZ #411]
24584 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24585
314054ea
JM
245862012-02-06 Joseph Myers <joseph@codesourcery.com>
24587
24588 * sysdeps/i386/sysdep.h: Include <features.h>.
24589 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24590 version.
24591
d8e0ca50
JM
245922012-02-05 Joseph Myers <joseph@codesourcery.com>
24593
24594 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24595 Define.
24596 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24597 LOAD_PIC_REG_STR.
24598
b1da7dd9
JM
245992012-02-03 Joseph Myers <joseph@codesourcery.com>
24600
24601 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24602 (SETUP_PIC_REG): Use GET_PC_THUNK.
24603 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24604 macro.
24605
9a1d9254
JM
246062012-02-03 Joseph Myers <joseph@codesourcery.com>
24607
24608 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24609 for non-PIC compilation.
24610 (SETUP_PIC_REG): Add .p2align directive.
24611 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24612 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24613 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24614 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24615 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24616 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24617 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24619 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24620 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24621 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24622 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24623 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24624 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24625 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24626 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24627 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24628 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24629 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24630 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24633 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24634 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24635 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24637 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24639 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24640 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24641 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24642 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24643 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24644 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24645 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24646 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24647 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24648 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24649 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24650 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24651 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24652
65dc3b75
JM
246532012-02-03 Joseph Myers <joseph@codesourcery.com>
24654
24655 * math/tst-CMPLX.c: Include <stdio.h>.
24656
d55bf177
JM
246572012-01-31 Joseph Myers <joseph@codesourcery.com>
24658
24659 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24660 float.
24661 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24662 * sysdeps/sparc/bits/mathdef.h: Likewise.
24663
69db4f8f
MP
246642012-01-31 Marek Polacek <polacek@redhat.com>
24665
24666 * libio/libio.h: Don't define _PARAMS.
24667 * locale/programs/config.h: Don't define PARAMS.
24668 * stdlib/strtol_l.c: Likewise.
24669 (__strtol_l): Remove PARAMS from the prototype.
24670
41b81892
UD
246712012-01-31 Ulrich Drepper <drepper@gmail.com>
24672
3b49edc0
UD
24673 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24674 names. Just use the correct names. Remove unnecessary wrapper
24675 functions.
24676 * malloc/arena.c: Likewise.
24677 * malloc/hooks.c: Likewise.
24678
41b81892
UD
24679 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24680 ARENA_TEST says not to. Simplify test for creation of a new arena.
24681 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24682
27a25b6e
UD
246832012-01-30 Ulrich Drepper <drepper@gmail.com>
24684
24685 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24686 into tail calls.
24687 (update_get_addr): New function.
24688 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24689 GET_ADDR_MODULE parameter.
24690
c8a89e7d
JM
246912012-01-30 Joseph Myers <joseph@codesourcery.com>
24692
24693 * crypt/cert.c: Remove __STDC__ conditionals.
24694 * crypt/crypt-entry.c: Likewise.
24695 * crypt/crypt_util.c: Likewise.
24696 * libio/filedoalloc.c: Likewise.
24697 * libio/fileops.c: Likewise.
24698 * libio/genops.c: Likewise.
24699 * libio/iofclose.c: Likewise.
24700 * libio/iofdopen.c: Likewise.
24701 * libio/iofopen.c: Likewise.
24702 * libio/iofopen64.c: Likewise.
24703 * libio/iogetdelim.c: Likewise.
24704 * libio/iopopen.c: Likewise.
24705 * libio/obprintf.c: Likewise.
24706 * libio/oldfileops.c: Likewise.
24707 * libio/oldiofclose.c: Likewise.
24708 * libio/oldiofdopen.c: Likewise.
24709 * libio/oldiofopen.c: Likewise.
24710 * libio/oldiopopen.c: Likewise.
24711 * libio/wfiledoalloc.c: Likewise.
24712 * libio/wgenops.c: Likewise.
24713 * locale/programs/xmalloc.c: Likewise.
24714 * misc/syslog.c: Likewise.
24715 * stdio-common/xbug.c: Likewise.
24716 * string/memchr.c: Likewise.
24717 * string/memcmp.c: Likewise.
24718 * string/memrchr.c: Likewise.
24719 * string/rawmemchr.c: Likewise.
24720 * sysdeps/posix/getcwd.c: Likewise.
24721 * time/strftime_l.c: Likewise.
24722
3b100462
JM
247232012-01-30 Joseph Myers <joseph@codesourcery.com>
24724
24725 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24726 * config.make.in (config-cflags-sse2avx): Define.
24727 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24728 Fix typo.
24729
607998af
CM
247302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24731
24732 * scripts/config.guess: Update from upstream config git repository.
24733 * scripts/config.sub: Likewise.
24734
3601428f
CM
247352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24736
3ac8b282
CM
24737 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24738 (EM_NUM): Update.
24739 (R_TILEPRO_*, R_TILEGX_*): New macros.
24740
e034841e
CM
24741 * scripts/firstversions.awk: Fix bug in version range handling.
24742
540d7568
CM
24743 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24744
3601428f
CM
24745 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24746
463de862
CM
24747 * include/sys/epoll.h: New file.
24748 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24749 libc_hidden_def.
24750
73139a76
UD
247512012-01-28 Ulrich Drepper <drepper@gmail.com>
24752
96bc5b45
UD
24753 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24754 Avoid unnecessary __WORDSIZE == 64 test.
24755 (fmaxf): Use VEX format if possible.
24756 (fmax): Likewise.
24757 (fminf): Likewise.
24758 (fmin): Likewise.
24759
56f6f6a2
UD
24760 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24761 * math/math_private.h: Remove libc_fegetround* and
24762 libc_fesetround*.
24763 * sysdeps/i386/configure.in: Check for -msse2avx.
24764 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24765 also if SSE2AVX is defined.
24766 Remove libc_fegetround* and libc_fesetround*.
24767 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24768 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24770 of HAS_YMM_USABLE.
24771 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24772 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24773 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24774 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24775 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24776
73139a76
UD
24777 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24778
d73f93a4
AZ
247792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24780
24781 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24782 size is not set.
24783 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24784
6ee65ed6
UD
247852012-01-27 Ulrich Drepper <drepper@gmail.com>
24786
24787 [BZ #13618]
24788 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24789 relocation.
24790 * Makeconfig (libm): Define.
24791 * elf/Makefile: Add rules to build and run tst-relsort1.
24792 * elf/tst-relsort1.c: New file.
24793 * elf/tst-relsort1mod1.c: New file.
24794 * elf/tst-relsort1mod2.c: New file.
24795
8db21882
JM
247962012-01-27 Joseph Myers <joseph@codesourcery.com>
24797
24798 * math/s_ldexp.c: Remove __STDC__ conditionals.
24799 * math/s_ldexpf.c: Likewise.
24800 * math/s_ldexpl.c: Likewise.
24801 * math/s_nextafter.c: Likewise.
24802 * math/s_nexttowardf.c: Likewise.
24803 * math/s_significand.c: Likewise.
24804 * math/s_significandf.c: Likewise.
24805 * math/s_significandl.c: Likewise.
24806 * math/w_jnl.c: Likewise.
24807 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24808 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24809 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24810 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24811 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24813 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24814 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24816 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24817 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24819 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24820 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24821 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24822 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24826 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24827 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24828 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24829 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24830 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24831 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24832 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24833 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24834 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24835 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24836 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24837 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24838 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24839 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24840 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24841 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24842 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24843 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24844 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24845 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24846 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24847 * sysdeps/ieee754/k_standard.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24876 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24877 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24878 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24880 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24882 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24884 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24903 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24904 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24907 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24908 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24909 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24910 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24911 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24912 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24914 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24915 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24920 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24921 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24922 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24923 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24925 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24926 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24927 * sysdeps/ieee754/s_matherr.c: Likewise.
24928 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24929 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24932
965a54a4
JM
249332012-01-26 Joseph Myers <joseph@codesourcery.com>
24934
24935 * crypt/md5.h: Remove __STDC__ conditionals.
24936 * libio/libioP.h: Likewise.
24937 * locale/programs/config.h: Likewise.
24938 * sysdeps/generic/sysdep.h: Likewise.
24939 * sysdeps/i386/asm-syntax.h: Likewise.
24940 * sysdeps/s390/asm-syntax.h: Likewise.
24941 * sysdeps/unix/sysdep.h: Likewise.
24942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24944
7071ad79
JM
249452012-01-26 Joseph Myers <joseph@codesourcery.com>
24946
24947 * libio/libio.h: Remove __STDC__ conditionals.
24948 * malloc/obstack.h: Likewise.
24949 * math/complex.h: Likewise.
24950 * math/math.h: Likewise.
24951 * sysdeps/generic/_G_config.h: Likewise.
24952 * sysdeps/gnu/_G_config.h: Likewise.
24953 * sysdeps/mach/hurd/_G_config.h: Likewise.
24954 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24955 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24956 * sysdeps/sparc/bits/mathdef.h: Likewise.
24957
afc5ed09
UD
249582012-01-26 Ulrich Drepper <drepper@gmail.com>
24959
24960 [BZ #13583]
24961 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24962 Clean up HAS_* macros.
afc5ed09 24963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24964 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24965 possible.
24966 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24967 HAS_AVX.
24968 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24969 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24970 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24971 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24972 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24973
bdb6de1d
JM
249742012-01-25 Joseph Myers <joseph@codesourcery.com>
24975
24976 * elf/tst-unique3.cc (gets): Remove declaration.
24977 * elf/tst-unique3lib.cc (gets): Likewise.
24978 * elf/tst-unique3lib2.cc (gets): Likewise.
24979 * elf/tst-unique4.cc (gets): Likewise.
24980
b15549e6
UD
249812012-01-24 Ulrich Drepper <drepper@gmail.com>
24982
24983 * include/stdio.h: Add C++ protection. Add gets declarations and
24984 definitions.
24985 * debug/tst-chk1.c: Don't declare gets here.
24986 * stdio-common/tst-gets.c: Likewise.
24987
a037381f
JM
249882012-01-24 Joseph Myers <joseph@codesourcery.com>
24989
24990 * posix/glob: Remove directory.
24991
f1d4aa75
JM
249922012-01-24 Joseph Myers <joseph@codesourcery.com>
24993
24994 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24995
81c0c964
PT
249962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24997
24998 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24999 of the non-standard EPFNOSUPPORT.
25000
0ea698ae
ST
250012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25002
25003 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25004 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25005 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25006
d220b117
UD
250072012-01-21 Ulrich Drepper <drepper@gmail.com>
25008
25009 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25010
3e1aa84e
UD
250112012-01-20 Ulrich Drepper <drepper@gmail.com>
25012
25013 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25014 transient errors.
25015 * nscd/grpcache.c (cache_addgr): Likewise.
25016 * nscd/hstcache.c (cache_addhst): Likewise.
25017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25018 * nscd/pwdcache.c (cache_addpw): Likewise.
25019 * nscd/servicescache.c (cache_addserv): Likewise.
25020
400aa020
UD
250212012-01-16 Ulrich Drepper <drepper@gmail.com>
25022
d77e7869
UD
25023 * malloc/malloc.c: Various cleanups.
25024 * malloc/hooks.c: Likewise.
25025
400aa020
UD
25026 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25027 * stdlib/bug-fmtmsg1.c: New file.
25028
25029 * stdlib/fmtmsg.c (init): Add missing unlock.
25030 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25031
e0a309cf
MP
250322012-01-12 Marek Polacek <polacek@redhat.com>
25033
25034 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25035 and _GNU_SOURCE.
25036
929d11c7
WS
250372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25038
25039 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25040 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25041 macro to ensure uniqueness of label name.
25042 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25043 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25044
41d0e869
UD
250452012-01-11 Ulrich Drepper <drepper@gmail.com>
25046
0cc5ed3b
UD
25047 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25048
41d0e869
UD
25049 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25050 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25051 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25053
a47a831a
UD
250542012-01-10 Ulrich Drepper <drepper@gmail.com>
25055
daa891c0
UD
25056 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25057
25058 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25059 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25060 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25061
e58ef0f2
UD
25062 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25063
a47a831a 25064 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25065 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25066 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25068
25069 * math/bits/math-finite.h: Add ldexp support.
25070
a0bfc9c7
MP
250712012-01-10 Marek Polacek <polacek@redhat.com>
25072
25073 * locale/programs/localedef.h (show_archive_content): Add noreturn
25074 attribute.
25075
d6e97a1d
UD
250762012-01-09 Ulrich Drepper <drepper@gmail.com>
25077
25078 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25079
d5835c26
UD
250802012-01-08 Ulrich Drepper <drepper@gmail.com>
25081
e5f484c6
UD
25082 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25083
d5835c26
UD
25084 * io/Makefile (headers): Add bits/poll2.h.
25085
d1f741e9
WS
250862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25087
25088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25089 typo #include statement.
25090
ec09c1c4
UD
250912012-01-08 Ulrich Drepper <drepper@gmail.com>
25092
25093 * include/sys/cdefs.h: Define __attribute_alloc_size.
25094 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25095 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25096 * elf/pldd.c: Likewise.
25097 * iconv/iconv_charmap.c: Likewise.
25098 * iconv/iconvconfig.c: Likewise.
25099 * iconv/strtab.c: Likewise.
25100 * locale/programs/locale.c: Likewise.
25101 * locale/programs/localedef.h: Likewise.
25102 * locale/programs/simple-hash.c: Likewise.
25103 * nscd/nscd.h: Likewise.
25104 * nss/makedb.c: Likewise.
25105 * sysdeps/generic/ldconfig.h: Likewise.
25106 * locale/programs/localedef.c: Remove xmalloc prototype.
25107 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25108
20b38e03
PP
251092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25110
25111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25112 appropriate.
25113
a0da5fe1
UD
251142012-01-08 Ulrich Drepper <drepper@gmail.com>
25115
1d5a644a 25116 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25117 * math/tst-CMPLX.c: New file.
1d5a644a 25118
8784a6db
UD
25119 * math/complex.h (CMPLXL): Fix typo.
25120
d9a216c0
UD
25121 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25122 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25123 GLIBC_2.16.
25124 * debug/tst-chk1.c: Add poll and ppoll tests.
25125 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25126 * include/sys/poll.h: Add hidden proto for ppoll.
25127 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25128 * sysdeps/mach/hurd/ppoll.c: Likewise.
25129 * io/ppoll.c: Likewise.
25130 * debug/poll_chk.c: New file.
25131 * debug/ppoll_chk.c: New file.
25132 * include/bits/poll2.h: New file.
25133 * io/bits/poll2.h: New file.
25134
ac097f5c
UD
25135 [BZ #1350]
25136 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25137
2119dcfa
UD
25138 * configure.in: static is always set to yes. Remove.
25139 * config.make.in: Don't set build-static.
25140 * Makeconfig: Remove use of build-static.
25141 * dlfcn/Makefile: Likewise.
25142 * elf/Makefile: Likewise.
25143 * math/Makefile: Likewise.
25144 * misc/Makefile: Likewise.
25145 * nptl/Makefile: Likewise.
25146 * sysdeps/mach/hurd/Makefile: Likewise.
25147
121766a9
UD
25148 * configure.in: PWD_P is not used anymore.
25149 * config.make.in: Remove PWD_P entry.
25150
51a1d39c 25151 * configure.in: Remove last remnants of RANLIB.
8720d066 25152 No need to check for signed size_t anymore.
215f4bdc
UD
25153 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25154 and IA-64.
3857022a 25155 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25156 * aclocal.m4: Likewise.
25157
d3ed7225
UD
25158 * wcsmbs/mbrtoc16.c: Implement using towc function.
25159 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25160 * wcsmbs/wcsmbsload.c: Likewise.
25161 * iconv/gconv_simple.c: Likewise.
25162 * iconv/gconv_int.h: Likewise.
25163 * iconv/gconv_builtin.h: Likewise.
25164 * iconv/iconv_prog.c: Remove CHAR16 handling.
25165
25166 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25167
25168 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25169
a0da5fe1
UD
25170 * configure.in: Remove --with-elf and --enable-bounded options.
25171 Dont set base_machine for ia64. More non-ELF conditions removed.
25172 Remove testing and setting of leading underscore information.
25173 * config.make.in (build-bounded): Set to no.
25174 * config.h.in: Remove NO_UNDERSCORES entry.
25175 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25176 them.
25177 * csu/start.c: Remove !NO_UNDERSCORE code.
25178 * locale/localeinfo.h: Likewise.
25179 * sysdeps/generic/machine-gmon.h: Likewise.
25180 * sysdeps/generic/sysdep.h: Likewise.
25181 * sysdeps/i386/sysdep.h: Likewise.
25182 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25183 * sysdeps/mach/sysdep.h: Likewise.
25184 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25185 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25186 * sysdeps/sh/sysdep.h: Likewise.
25187 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25188 * sysdeps/unix/i386/sysdep.S: Likewise.
25189 * sysdeps/unix/sparc/start.c: Likewise.
25190 * sysdeps/unix/sparc/sysdep.S: Likewise.
25191 * sysdeps/unix/sparc/sysdep.h: Likewise.
25192 * sysdeps/unix/start.c: Likewise.
25193 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25194 * sysdeps/x86_64/sysdep.h: Likewise.
25195
df78418a
UD
251962012-01-07 Ulrich Drepper <drepper@gmail.com>
25197
a784e502
UD
25198 [BZ #13553]
25199 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25200 for non-gcc.
25201 * argp/argp-fmtstream.h: Use const instead __const.
25202 * argp/argp.h: Likewise.
25203 * assert/assert.h: Likewise.
25204 * bits/fenv.h: Likewise.
25205 * bits/sched.h: Likewise.
25206 * bits/sigset.h: Likewise.
25207 * bits/sigthread.h: Likewise.
25208 * catgets/nl_types.h: Likewise.
25209 * conform/data/pthread.h-data: Likewise.
25210 * crypt/crypt-private.h: Likewise.
25211 * crypt/crypt.h: Likewise.
25212 * crypt/crypt_util.c: Likewise.
25213 * ctype/ctype.h: Likewise.
25214 * debug/execinfo.h: Likewise.
25215 * debug/mbsnrtowcs_chk.c: Likewise.
25216 * debug/mbsrtowcs_chk.c: Likewise.
25217 * debug/wcsnrtombs_chk.c: Likewise.
25218 * debug/wcsrtombs_chk.c: Likewise.
25219 * debug/wcstombs_chk.c: Likewise.
25220 * dirent/dirent.h: Likewise.
25221 * dlfcn/dlfcn.h: Likewise.
25222 * elf/neededtest4.c: Likewise.
25223 * grp/grp.h: Likewise.
25224 * gshadow/gshadow.h: Likewise.
25225 * iconv/gconv.h: Likewise.
25226 * iconv/gconv_int.h: Likewise.
25227 * iconv/gconv_simple.c: Likewise.
25228 * iconv/iconv.h: Likewise.
25229 * iconv/loop.c: Likewise.
25230 * iconv/skeleton.c: Likewise.
25231 * include/aio.h: Likewise.
25232 * include/aliases.h: Likewise.
25233 * include/argz.h: Likewise.
25234 * include/arpa/inet.h: Likewise.
25235 * include/assert.h: Likewise.
25236 * include/dirent.h: Likewise.
25237 * include/dlfcn.h: Likewise.
25238 * include/execinfo.h: Likewise.
25239 * include/fcntl.h: Likewise.
25240 * include/fenv.h: Likewise.
25241 * include/glob.h: Likewise.
25242 * include/grp.h: Likewise.
25243 * include/libintl.h: Likewise.
25244 * include/mntent.h: Likewise.
25245 * include/netdb.h: Likewise.
25246 * include/pwd.h: Likewise.
25247 * include/rpc/netdb.h: Likewise.
25248 * include/sched.h: Likewise.
25249 * include/search.h: Likewise.
25250 * include/shadow.h: Likewise.
25251 * include/signal.h: Likewise.
25252 * include/stdio.h: Likewise.
25253 * include/stdlib.h: Likewise.
25254 * include/string.h: Likewise.
25255 * include/sys/socket.h: Likewise.
25256 * include/sys/stat.h: Likewise.
25257 * include/sys/statfs.h: Likewise.
25258 * include/sys/statvfs.h: Likewise.
25259 * include/sys/syslog.h: Likewise.
25260 * include/sys/time.h: Likewise.
25261 * include/sys/uio.h: Likewise.
25262 * include/time.h: Likewise.
25263 * include/unistd.h: Likewise.
25264 * include/utmp.h: Likewise.
25265 * include/wchar.h: Likewise.
25266 * include/wctype.h: Likewise.
25267 * inet/aliases.h: Likewise.
25268 * inet/arpa/inet.h: Likewise.
25269 * inet/netinet/ether.h: Likewise.
25270 * inet/netinet/in.h: Likewise.
25271 * intl/libintl.h: Likewise.
25272 * io/bits/fcntl2.h: Likewise.
25273 * io/fcntl.h: Likewise.
25274 * io/ftw.h: Likewise.
25275 * io/sys/poll.h: Likewise.
25276 * io/sys/stat.h: Likewise.
25277 * io/sys/statfs.h: Likewise.
25278 * io/sys/statvfs.h: Likewise.
25279 * io/utime.h: Likewise.
25280 * libio/bits/stdio.h: Likewise.
25281 * libio/bits/stdio2.h: Likewise.
25282 * libio/libio.h: Likewise.
25283 * libio/libioP.h: Likewise.
25284 * libio/stdio.h: Likewise.
25285 * locale/lc-ctype.c: Likewise.
25286 * locale/locale.h: Likewise.
25287 * login/utmp.h: Likewise.
25288 * malloc/arena.c: Likewise.
25289 * malloc/malloc.c: Likewise.
25290 * malloc/malloc.h: Likewise.
25291 * malloc/mcheck.c: Likewise.
25292 * malloc/mtrace.c: Likewise.
25293 * math/bits/mathcalls.h: Likewise.
25294 * math/fenv.h: Likewise.
25295 * math/math_private.h: Likewise.
25296 * misc/bits/error.h: Likewise.
25297 * misc/bits/syslog.h: Likewise.
25298 * misc/err.h: Likewise.
25299 * misc/error.h: Likewise.
25300 * misc/fstab.h: Likewise.
25301 * misc/mntent.h: Likewise.
25302 * misc/regexp.h: Likewise.
25303 * misc/search.h: Likewise.
25304 * misc/sgtty.h: Likewise.
25305 * misc/sys/mman.h: Likewise.
25306 * misc/sys/syslog.h: Likewise.
25307 * misc/sys/uio.h: Likewise.
25308 * misc/sys/xattr.h: Likewise.
25309 * misc/ttyent.h: Likewise.
25310 * nis/rpcsvc/ypclnt.h: Likewise.
25311 * nss/nss.h: Likewise.
25312 * posix/bits/unistd.h: Likewise.
25313 * posix/fnmatch.h: Likewise.
25314 * posix/glob.h: Likewise.
25315 * posix/sched.h: Likewise.
25316 * posix/spawn.h: Likewise.
25317 * posix/sys/wait.h: Likewise.
25318 * posix/unistd.h: Likewise.
25319 * posix/wordexp.h: Likewise.
25320 * pwd/pwd.h: Likewise.
25321 * resolv/netdb.h: Likewise.
25322 * resource/sys/resource.h: Likewise.
25323 * rt/aio.h: Likewise.
25324 * rt/bits/mqueue2.h: Likewise.
25325 * rt/mqueue.h: Likewise.
25326 * shadow/shadow.h: Likewise.
25327 * signal/signal.h: Likewise.
25328 * socket/send.c: Likewise.
25329 * socket/sendto.c: Likewise.
25330 * socket/sys/socket.h: Likewise.
25331 * stdio-common/printf.h: Likewise.
25332 * stdlib/bits/stdlib.h: Likewise.
25333 * stdlib/fmtmsg.h: Likewise.
25334 * stdlib/monetary.h: Likewise.
25335 * stdlib/stdlib.h: Likewise.
25336 * stdlib/ucontext.h: Likewise.
25337 * streams/stropts.h: Likewise.
25338 * string/argz.h: Likewise.
25339 * string/bits/string2.h: Likewise.
25340 * string/string.h: Likewise.
25341 * string/strings.h: Likewise.
25342 * sunrpc/rpc/auth.h: Likewise.
25343 * sunrpc/rpc/auth_des.h: Likewise.
25344 * sunrpc/rpc/clnt.h: Likewise.
25345 * sunrpc/rpc/netdb.h: Likewise.
25346 * sunrpc/rpc/pmap_clnt.h: Likewise.
25347 * sunrpc/rpc/xdr.h: Likewise.
25348 * sysdeps/generic/inttypes.h: Likewise.
25349 * sysdeps/generic/net/if.h: Likewise.
25350 * sysdeps/generic/sys/swap.h: Likewise.
25351 * sysdeps/gnu/net/if.h: Likewise.
25352 * sysdeps/gnu/utmpx.h: Likewise.
25353 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25354 * sysdeps/i386/i486/bits/string.h: Likewise.
25355 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25356 * sysdeps/s390/bits/string.h: Likewise.
25357 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25358 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25359 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25360 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25361 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25362 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25363 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25364 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25365 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25366 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25367 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25368 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25369 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25370 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25371 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25372 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25373 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25375 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25376 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25377 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25378 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25379 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25380 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25381 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25382 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25383 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25385 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25386 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25387 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25388 * sysvipc/sys/ipc.h: Likewise.
25389 * sysvipc/sys/msg.h: Likewise.
25390 * sysvipc/sys/sem.h: Likewise.
25391 * sysvipc/sys/shm.h: Likewise.
25392 * termios/termios.h: Likewise.
25393 * time/sys/time.h: Likewise.
25394 * time/time.h: Likewise.
25395 * wcsmbs/bits/wchar2.h: Likewise.
25396 * wcsmbs/uchar.h: Likewise.
25397 * wcsmbs/wchar.h: Likewise.
25398 * wctype/wctype.h: Likewise.
25399
0269750c
UD
25400 [BZ #13551]
25401 * Makeconfig: Remove all but ELF support including AIX support.
25402 * Makerules: Likewise.
25403 * config.h.in: Likewise.
25404 * config.make.in: Likewise.
25405 * configure: Likewise.
25406 * configure.in: Likewise.
25407 * csu/Makefile: Likewise.
25408 * csu/version.c: Likewise.
25409 * debug/Makefile: Likewise.
25410 * dlfcn/Makefile: Likewise.
25411 * elf/Makefile: Likewise.
25412 * extra-lib.mk: Likewise.
25413 * iconv/Makefile: Likewise.
25414 * include/libc-symbols.h: Likewise.
25415 * include/shlib-compat.h: Likewise.
25416 * resolv/Makefile: Likewise.
25417 * resolv/res_libc.c: Likewise.
25418 * rt/Makefile: Likewise.
25419 * sysdeps/i386/asm-syntax.h: Likewise.
25420 * sysdeps/i386/sysdep.h: Likewise.
25421 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25422 * sysdeps/mach/sysdep.h: Likewise.
25423 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25424 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25425 * sysdeps/s390/asm-syntax.h: Likewise.
25426 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25427 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25428 * sysdeps/sh/sysdep.h: Likewise.
25429 * sysdeps/unix/sparc/sysdep.h: Likewise.
25430 * sysdeps/wordsize-32/divdi3.c: Likewise.
25431 * sysdeps/x86_64/sysdep.h: Likewise.
25432
00bbd29b
UD
25433 * argp/Versions: Remove _argp_unlock_xxx.
25434
25435 [BZ #13559]
25436 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25437 * abilist/libBrokenLocale.abilist: Likewise.
25438 * abilist/libanl.abilist: Likewise.
25439 * abilist/libc.abilist: Likewise.
25440 * abilist/libcrypt.abilist: Likewise.
25441 * abilist/libdl.abilist: Likewise.
25442 * abilist/libm.abilist: Likewise.
25443 * abilist/libnsl.abilist: Likewise.
25444 * abilist/libpthread.abilist: Likewise.
25445 * abilist/libresolv.abilist: Likewise.
25446 * abilist/librt.abilist: Likewise.
25447 * abilist/libthread_db.abilist: Likewise.
25448 * abilist/libutil.abilist: Likewise.
25449 * abilist/libnss_db.abilist: New file.
25450
25451 * scripts/abilist.awk: Add support for indirect functions.
25452
a2693a0e
UD
25453 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25454
3f05895f
UD
25455 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25456
ecb6fb48
UD
25457 * shlib-versions: Remove entries for ports architectures.
25458
664f8cb9
UD
25459 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25460 files in ports.
25461 * elf/stackguard-macros.h: Remove support for IA-64.
25462 * elf/tst-auditmod1.c: Likewise.
25463 * sysdeps/generic/ldsodefs.h: Likewise.
25464
7ae81d88
UD
25465 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25466 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25467 configure files.
25468
bdeba135
UD
25469 [BZ #13552]
25470 * configure.in: Remove --enable-omitfp support.
25471 * FAQ.in: Adjust.
25472 * config.make.in: Likewise.
25473 * Makeconfig: Likewise.
25474 * manual/install.texi: Likewise.
25475
d75a0a62
UD
25476 In case anyone cares, the IA-64 architecture could move to ports.
25477 * sysdeps/ia64/*: Removed.
25478 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25479 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25480
dcc9756b
UD
25481 [BZ #13555]
25482 * configure.in: Remove entries for unsupported architectures.
25483
d3761ebc 25484 [BZ #13533]
9954432e
UD
25485 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25486 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25487 routines.
25488 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25489 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25490 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25491 fall back to using wcrtomb.
25492 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25493 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25494 renaming.
25495 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25496 * wcsmbs/tst-c16c32-1.c: New file.
25497
25498 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25499 local variable.
25500
c3a87236
UD
25501 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25502
28926a1b
UD
25503 * elf/tst-unique3.cc: Add explicit declaration of gets.
25504 * elf/tst-unique3lib.cc: Likewise.
25505 * elf/tst-unique3lib2.cc: Likewise.
25506 * elf/tst-unique4.cc: Likewise.
25507
df78418a
UD
25508 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25509
8ecd6b2a
JM
255102012-01-06 Joseph Myers <joseph@codesourcery.com>
25511
25512 [BZ #13566]
25513 * assert/assert.h (static_assert): Don't define for C++.
25514 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25515 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25516
9f115170
UD
255172012-01-03 Ulrich Drepper <drepper@gmail.com>
25518
5e0d0300
UD
25519 * iconv/loop.c (single loop): Fix assertion in storing of
25520 remaining bytes.
25521
9f115170
UD
25522 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25523
81fb02b0
UD
255242012-01-01 Ulrich Drepper <drepper@gmail.com>
25525
25526 * posix/getconf.c: Update copyright year.
25527 * nss/getent.c: Likewise.
a316c1f6 25528 * nss/makedb.c: Likewise.
81fb02b0
UD
25529 * iconv/iconvconfig.c: Likewise.
25530 * iconv/iconv_prog.c: Likewise.
25531 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25532 * elf/pldd.c: Likewise.
25533 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25534 * catgets/gencat.c: Likewise.
25535 * csu/version.c: Likewise.
25536 * elf/ldd.bash.in: Likewise.
25537 * elf/sprof.c (print_version): Likewise.
25538 * locale/programs/locale.c: Likewise.
25539 * locale/programs/localedef.c: Likewise.
a316c1f6 25540 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25541 * nscd/nscd.c (print_version): Likewise.
25542 * debug/xtrace.sh: Likewise.
25543 * malloc/memusage.sh: Likewise.
25544 * malloc/mtrace.pl: Likewise.
25545 * debug/catchsegv.sh: Likewise.
25546
2ba92745
JJ
255472011-12-30 Jakub Jelinek <jakub@redhat.com>
25548
25549 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25550 pure attribute.
25551
dadebdae
UD
255522011-12-24 Ulrich Drepper <drepper@gmail.com>
25553
d3761ebc 25554 [BZ #13533]
db6af3eb
UD
25555 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25556 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25557 transformations.
25558 * iconv/gconv_int.h: Likewise.
25559 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25560 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25561 from libc for GLIBC_2.16.
25562 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25563 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25564 * wcsmbs/uchar.h: Really define mbstate_t.
25565 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25566 * wcsmbs/c16rtomb.c: New file.
25567 * wcsmbs/mbrtoc16.c: New file.
25568 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25569 for C/POSIX locale.
25570 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25571 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25572
dadebdae
UD
25573 * wcsmbs/wchar.h: Add missing __restrict.
25574
67371b56
UD
255752011-12-23 Ulrich Drepper <drepper@gmail.com>
25576
74033a25
UD
25577 [BZ #13532]
25578 * time/Makefile (routines): Add timespec_get.
25579 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25580 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25581 timespec for ISO C11.
25582 * time/timespec_get.c: New file.
25583 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25584 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25585
380d7e87
UD
25586 [BZ #13531]
25587 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25588 * stdlib/stdlib.h: Declare aligned_alloc.
25589 * Versions.def: Add GLIBC_2.16 for libc.
25590 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25591
4e9e7a35
UD
25592 [BZ 13527]
25593 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25594 ISO C11.
25595
380d7e87 25596 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25597 code.
25598
03a71829
UD
25599 [BZ #13528]
25600 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25601
839e283e
UD
25602 [BZ #13529]
25603 * assert/assert.h (static_assert): Define.
25604
ce5294e2 25605 * version.h: Update for 2.16 development version.
90fa7312 25606
8d44e150 25607 [BZ #13526]
d7809905
UD
25608 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25609 _ISOC11_SOURCE.
25610
c0da14cd
UD
25611 * version.h (RELEASE): Bump for 2.15 release.
25612 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25613
530a3249
MP
25614 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25615 Patch by Marek Polacek <mpolacek@redhat.com>.
25616
67371b56
UD
25617 * bits/byteswap.h: Protect long long constants with __extension__.
25618 * sysdeps/i386/bits/byteswap.h: Likewise.
25619 * sysdeps/ia64/bits/byteswap.h: Likewise.
25620 * sysdeps/s390/bits/byteswap.h: Likewise.
25621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25622
15db4de1
LD
256232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25624
25625 [BZ #13540]
bbe315ea
LD
25626 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25627 destination buffer.
15db4de1
LD
25628 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25629
2b2596b1
MP
256302011-12-23 Marek Polacek <polacek@redhat.com>
25631
25632 * elf/dl-addr.c (determine_info): Add inline keyword.
25633 * elf/tst-auditmod4b.c (check_avx): Likewise.
25634 * elf/tst-auditmod6b.c (check_avx): Likewise.
25635 * elf/tst-auditmod6c.c (check_avx): Likewise.
25636 * elf/tst-auditmod7b.c (check_avx): Likewise.
25637
70c6c246
UD
256382011-12-23 Ulrich Drepper <drepper@gmail.com>
25639
25640 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25641 !__SSE_MATH__.
25642
c044cf14
LD
256432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25644
15db4de1 25645 [BZ #13540]
c044cf14
LD
25646 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25647 processing for last bytes.
25648
6b13d9d9
BH
256492011-08-06 Bruno Haible <bruno@clisp.org>
25650
d455f537
BH
25651 [BZ #13061]
25652 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25653 U+0385, not to U+1FEE.
25654
6b13d9d9
BH
25655 [BZ #13062]
25656 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25657 entry for U+00A5 U+0301.
25658
db910efd
UD
256592011-12-22 Ulrich Drepper <drepper@gmail.com>
25660
27deeafc
UD
25661 [BZ #13166]
25662 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25663 buffer for the output is too small.
25664
aed9d171
UD
25665 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25666 optimization.
25667
db910efd
UD
25668 [BZ #13185]
25669 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25670 SSE flags if possible.
25671
2bd779ae
LD
256722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25673
e7f9dac3 25674 [BZ #13540]
2bd779ae
LD
25675 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25676 processing for last bytes.
25677
154bfc16
JM
256782011-12-22 Joseph Myers <joseph@codesourcery.com>
25679
25680 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25681 (syscall-list-default-options, syscall-list-default-condition)
25682 (syscall-list-includes): Define.
25683 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25684 list of ABIs and options and #if conditions for each ABI. Do not
25685 handle common syscalls between ABIs specially.
25686 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25687 Remove.
25688 (syscall-list-variants, syscall-list-32bit-options)
25689 (syscall-list-32bit-condition, syscall-list-64bit-options)
25690 (syscall-list-64bit-condition): Define.
25691 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25692 (syscall-list-variants, syscall-list-32bit-options)
25693 (syscall-list-32bit-condition, syscall-list-64bit-options)
25694 (syscall-list-64bit-condition): Define.
25695 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25696 Remove.
25697 (syscall-list-variants, syscall-list-32bit-options)
25698 (syscall-list-32bit-condition, syscall-list-64bit-options)
25699 (syscall-list-64bit-condition): Define.
25700 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25701 Remove.
25702 (syscall-list-variants, syscall-list-32bit-options)
25703 (syscall-list-32bit-condition, syscall-list-64bit-options)
25704 (syscall-list-64bit-condition): Define.
25705
21eaf3a5
UD
257062011-12-22 Ulrich Drepper <drepper@gmail.com>
25707
16c6f992
UD
25708 * locale/iso-639.def: Add brx entry.
25709
41043168
UD
25710 [BZ #13328]
25711 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25712 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25713
21eaf3a5
UD
25714 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25715 __feraiseexcept_renamed.
25716
e3a851a2
UD
257172011-12-21 Ulrich Drepper <drepper@gmail.com>
25718
4920765e
UD
25719 [BZ #13538]
25720 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25721 EPOLLET with unsigned values.
25722 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25723 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25724
e3a851a2
UD
25725 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25726 to large cancellation.
25727 * math/s_cacoshf.c: Likewise.
25728 * math/s_cacoshl.c: Likewise.
25729
b27e24b8
RK
257302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25731
25732 [BZ #13305]
aebefeee 25733 [BZ #12786]
b27e24b8
RK
25734 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25735 * math/s_cacoshf.c: Likewise.
25736 * math/s_cacoshl.c: Likewise.
25737
ee190f67
UD
257382011-12-21 Ulrich Drepper <drepper@gmail.com>
25739
25740 [BZ #13439]
25741 * iconv/gconv.h: Define __GCONV_SWAP.
25742 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25743 * iconvdata/utf-16.c: Likewise.
25744 * iconvdata/utf-32.c: Likewise.
25745
707f25df
AS
257462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25747
25748 [BZ #13524]
25749 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25750 numerator after shifting it by one limb.
25751
d2daaa1e
RÁE
257522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25753
25754 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25755 under [__USE_EXTERN_INLINES].
25756
a4647e72
UD
257572011-12-17 Ulrich Drepper <drepper@gmail.com>
25758
25759 [BZ #13446]
25760 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25761
f0b264f1
AZ
257622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25763
25764 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25765 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25766 optimized code.
25767 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25768 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25769 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25770 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25771 for strncasecmp/strncasecmp_l compilation.
25772 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25773 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25774
8ef4f244
MP
257752011-12-08 Marek Polacek <mpolacek@redhat.com>
25776
25777 [BZ #13484]
25778 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25779 of __asm__.
25780
97ac2654
UD
257812011-12-17 Ulrich Drepper <drepper@gmail.com>
25782
25783 [BZ #13506]
25784 * time/tzfile.c (__tzfile_read): Check values from file header.
25785
91d2a845
WS
257862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25787
25788 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25789 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25790 * powerpc/powerpc32/dl-start.S: Likewise.
25791 * powerpc/powerpc32/elf/start.S: Likewise.
25792 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25793 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25794 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25795 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25796 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25797 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25798 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25799 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25800 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25801 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25802 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25803 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25804 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25805 * powerpc/powerpc32/memset.S: Likewise.
25806 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25807 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25808 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25809 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25810 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25811 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25812 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25813 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25814 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25815 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25816 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25817 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25818 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25819
a1267ba1
AZ
258202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25821
25822 * math/libm-test.inc: Added more nearbyint tests.
25823 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25824 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25825 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25827
ad8ac1bd
RL
258282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25829
25830 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25831 FD_CLOEXEC.
25832
1d3e4b61
UD
258332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25834
25835 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25836 Add wcscpy-ssse3 wcscpy-c.
25837 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25838 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25839 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25840 * sysdeps/x86_64/wcschr.S: New file.
25841 * sysdeps/x86_64/wcsrchr.S: New file.
25842 * string/test-strcmp.c: Remove checking of wcscmp function for
25843 wrong alignments.
25844 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25845 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25846 wcsrchr-sse2 wcsrchr-c.
25847 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25848 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25849 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25850 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25851 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25852 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25853 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25854 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25855 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25856 * wcsmbc/wcschr.c (WCSCHR): New macro.
25857
5b330a2d
UD
258582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25859
25860 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25861 * wcsmbs/test-wcsrchr.c: New file.
25862 * string/test-strrchr.c: Add wcsrchr support.
25863 (WIDE): New macro.
25864 * wcsmbs/test-wcscpy.c: New file.
25865 * string/test-strcpy.c: Add wcscpy support.
25866 (WIDE): New macro.
26428b7c 25867
f039c043
UD
258682011-12-10 Ulrich Drepper <drepper@gmail.com>
25869
25870 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25871 the inner loop.
25872
850fb039
AS
258732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25874
25875 [BZ #13472]
25876 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25877
4efbd5cb
UD
258782011-12-04 Ulrich Drepper <drepper@gmail.com>
25879
52ff5dd0 25880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25881 Minor optimizations.
52ff5dd0 25882
4efbd5cb
UD
25883 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25884 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25885 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25886
8a426e12
UD
258872011-12-03 Ulrich Drepper <drepper@gmail.com>
25888
aff2453d
UD
25889 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25890 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25891 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25892 for gcc to avoid warnings.
25893 * inet/Makefile (tests): Add tst-checks.
25894 * inet/tst-checks.c: New file.
25895
25896 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25897 warning.
25898
25899 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25900 __wmemcmp_sse2.
25901
25902 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25903 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25904
8a426e12
UD
25905 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25906
9bea3473
UD
259072011-12-02 Ulrich Drepper <drepper@gmail.com>
25908
3a965496
UD
25909 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25910 problem.
25911
9bea3473
UD
25912 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25913
f101631b
UD
259142011-11-29 Joseph Myers <joseph@codesourcery.com>
25915
25916 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25917 conditional on GCC version.
25918 (__arch_compare_and_exchange_val_8_acq)
25919 (__arch_compare_and_exchange_val_16_acq)
25920 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25921 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25922 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25923
a98275aa
UD
259242011-12-02 Joseph Myers <joseph@codesourcery.com>
25925
25926 * sysdeps/sh/backtrace.c: New file.
25927
d4cc29a2
AS
259282011-12-02 Andreas Schwab <schwab@redhat.com>
25929
25930 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25931 parenthesis.
25932
6257af2d
AS
259332011-12-01 Andreas Schwab <schwab@redhat.com>
25934
25935 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25936 falling back to utime.
25937
b5f44c1a
AS
259382011-11-30 Andreas Schwab <schwab@redhat.com>
25939
25940 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25941 expectations for float.
25942
f3a6cc0a
AS
259432011-11-29 Andreas Schwab <schwab@redhat.com>
25944
25945 * locale/weight.h (findidx): Add parameter len.
25946 * locale/weightwc.h (findidx): Likewise.
25947 * posix/fnmatch_loop.c (FCT): Adjust caller.
25948 * posix/regcomp.c (build_equiv_class): Likewise.
25949 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25950 * posix/regexec.c (check_node_accept_bytes): Likewise.
25951 * string/strcoll_l.c (STRCOLL): Likewise.
25952 * string/strxfrm_l.c (STRXFRM): Likewise.
25953
9d65ea3a
UD
259542011-11-17 Ulrich Drepper <drepper@gmail.com>
25955
25956 * Makefile.in: Remove CVSOPT handling.
25957 * configure.in: Remove use of AC_REVISION.
25958 * iconvdata/Makefile (distribute): No need to filter out CVS.
25959 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25960 handling.
25961
5583a086
AS
259622011-11-16 Andreas Schwab <schwab@redhat.com>
25963
25964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25965 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25966 [USE_AS_STRNCASECMP_L]: Likewise.
25967 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25968 NO_TLS_DIRECT_SEG_REFS.
25969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25970 Fix argument offsets for non-PIC.
25971 [USE_AS_STRNCASECMP_L]: Likewise.
25972 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25973 NO_TLS_DIRECT_SEG_REFS.
25974
d62a8200
UD
259752011-11-15 Ulrich Drepper <drepper@gmail.com>
25976
9d65ea3a 25977 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25978 O_CLOEXEC.
25979 * locale/loadlocale.c (_nl_load_locale): Likewise.
25980
09f93bd3
AS
259812011-11-15 Andreas Schwab <schwab@redhat.com>
25982
446514f9
AS
25983 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25984 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25985 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25986 (SYSCALL_GETTIME): Set errno on error.
25987
09f93bd3
AS
25988 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25989 count references to noai6ai_cached.
25990
312be3f9
UD
259912011-11-15 Ulrich Drepper <drepper@gmail.com>
25992
25993 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25994
25995 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25996 FD_CLOEXEC for /proc/self/maps.
25997
25998 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25999 FD_CLOEXEC for /proc/meminfo.
26000
26001 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26002 gai.conf.
26003
26004 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26005 FD_CLOEXEC for given file.
26006
26007 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26008
26009 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26010 FD_CLOEXEC for /etc/hosts.
26011 (_gethtent): Likewise.
26012
26013 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26014
26015 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26016 cancellation and set FD_CLOEXEC for /etc/netgroup.
26017
26018 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26019 reading /etc/publickey.
26020
26021 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26022 allow cancellation when reading /etc/group.
26023
26024 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26025 cancellation.
26026 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26027
26028 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26029 when using data file.
26030
26031 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26032
26033 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26034 (write_nis_obj): Use "c" and "e" in fopen.
26035
26036 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26037
26038 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26039
26040 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26041
26042 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26043
26044 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26045 locale.alias.
26046
26047 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26048
26049 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26050
26051 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26052
26053 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26054 file parsing and set FD_CLOEXEC.
26055
82af0fa8
UD
260562011-11-14 Ulrich Drepper <drepper@gmail.com>
26057
26058 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26059
a5fb313c
AS
260602011-11-14 Andreas Schwab <schwab@redhat.com>
26061
26062 * malloc/arena.c (arena_get2): Don't call reused_arena when
26063 _int_new_arena failed.
26064
6abf3465
UD
260652011-11-14 Ulrich Drepper <drepper@gmail.com>
26066
26067 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26068 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26069 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26070 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26071 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26072 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26073 to compile strcasecmp and strncasecmp.
26074 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26075 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26076
26077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26078
76e3966e
UD
260792011-11-13 Ulrich Drepper <drepper@gmail.com>
26080
26081 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26082 locale-defines.sym to gen-as-const-headers.
26083 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26084 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26086 to compile strcasecmp and strncasecmp.
26087 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26088 strcasecmp_l and strncasecmp_l.
26089 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26090 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26091 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26092 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26093 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26094 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26095 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26096 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26097 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26098 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26099 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26100
ab26144e
UD
261012011-11-12 Ulrich Drepper <drepper@gmail.com>
26102
7edb22ef
UD
26103 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26104 result of SYSDEP_GETTIME_CPU to retval.
26105 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26106 parameter list to macro. Remove trailing semicolon. Adjust users.
26107
9694fc44
UD
26108 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26109 variable.
26110
8ad89ef8
UD
26111 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26112 mantissa words.
26113 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26114
0c822ef9
UD
26115 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26116 from unused variable.
26117
874e0564
UD
26118 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26119 DWARF definitions.
26120 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26121 for assembling.
26122
3a2edc79
UD
26123 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26124 over namespaces.
26125
f3c2577f
UD
26126 * sunrpc/rpc_prot.c (rejected): Fix case value.
26127
294ce126
UD
26128 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26129 unsigned long long int to avoid warnings in shift.
26130
5e2b63c6
UD
26131 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26132 of use of trans.
26133 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26134 variable tmp.
26135
e7f4b08e
UD
26136 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26137 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26138 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26139
ab26144e
UD
26140 * nis/nis_table.c (nis_list): Use variable of correct type for
26141 result of __follow_path call.
26142
8a6d5255
AZ
261432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26144
26145 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26146 of math functions ceil, trunc, floor, round, and sqrt, when
26147 avaliable on the platform.
26148 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26149 name clash.
26150 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26151 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26152 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26153
aaddc98c
MP
261542011-10-30 Marek Polacek <mpolacek@redhat.com>
26155
26156 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26157 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26158
95b7042b
RM
261592011-11-11 Roland McGrath <roland@hack.frob.com>
26160
26161 * include/unistd.h: Fix __readlink return type.
26162 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26163
57769839
UD
261642011-11-11 Ulrich Drepper <drepper@gmail.com>
26165
26166 * stdlib/ucontext.h: Undo last change for makecontext.
26167
edc5984d
AS
261682011-11-11 Andreas Schwab <schwab@redhat.com>
26169
98591e58
AS
26170 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26171
edc5984d
AS
26172 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26173 * setjmp/setjmp.h: Mark functions as non-leaf.
26174 * setjmp/bits/setjmp2.h: Likewise.
26175 * stdlib/ucontext.h: Likewise.
26176
77cdc054
AS
261772011-11-10 Andreas Schwab <schwab@redhat.com>
26178
26179 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26180 (reused_arena): Don't check arena limit.
26181 (arena_get2): Atomically check arena limit.
26182
fe72eebd
UD
261832011-11-08 Ulrich Drepper <drepper@gmail.com>
26184
5f078c32
UD
26185 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26186 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26187
fe72eebd
UD
26188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26189 instructions.
26190
ae1bc2fa
AS
261912011-11-07 Andreas Schwab <schwab@redhat.com>
26192
7583a88d
AS
26193 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26194 handler when locking.
26195
ae1bc2fa
AS
26196 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26197 Fix size of allocated buffer.
26198
10fb0bfa
AS
261992011-11-04 Andreas Schwab <schwab@redhat.com>
26200
998832a4
AS
26201 [BZ #10103]
26202 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26203 declarations for long double functions.
26204 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26205
10fb0bfa
AS
26206 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26207
3d7ba52b
AS
262082011-11-03 Andreas Schwab <schwab@redhat.com>
26209
a9ae54a1
AS
26210 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26211 installed.
26212
3d7ba52b
AS
26213 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26214 is disabled.
26215
bc8db248
ST
262162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26217
26218 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26219
45b96dd6
AS
262202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26221
647776f6
AS
26222 * include/alloca.h (stackinfo_alloca_round): Define.
26223 (extend_alloca): Use it.
26224 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26225 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26226 here.
26227
d91a8b93
AS
26228 * scripts/check-local-headers.sh: Ignore libaudit.h.
26229
45b96dd6
AS
26230 * nscd/Makefile (extra-objs): Make recursively expanded.
26231
432d41ce
UD
262322011-11-01 Ulrich Drepper <drepper@gmail.com>
26233
34372fc6
UD
26234 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26236
fadb59f8
UD
26237 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26238 * posix/tst-rfc3484-2.c: Likewise.
26239 * posix/tst-rfc3484-3.c: Likewise.
26240
78239589
UD
26241 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26242 process_vm_writev.
26243 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26244 process_vm_writev.
26245 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26246 process_vm_writev from libc using GLIBC_2.15 version.
26247
432d41ce
UD
26248 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26249
02f9c6cf
PP
262502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26251
26252 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26253 stack usage.
26254
3a2c0242
UD
262552011-10-31 Ulrich Drepper <drepper@gmail.com>
26256
f4ec4833
UD
26257 [BZ #13367]
26258 * nss/getent.c (initgroups_keys): Show error message in case no group
26259 names are given.
26260
3a2c0242
UD
26261 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26262 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26263 __bump_nl_timestamp.
26264 * nscd/connections (nscd_init): When host database is served open
26265 netlink socket and request notification about configuration changes.
26266 (main_loop_poll): Track netlink file descriptor and bump timestamp
26267 in case data becomes available.
26268 (main_loop_epoll): Likewise.
26269 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26270 (database_pers_head): Add extra_data fileds.
26271 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26272 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26273 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26274 Adjust caller.
26275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26276 in6ai data, call __free_in6ai.
26277 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26278 Add -DHAVE_NETLINK.
26279 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26280 interface information. Reuse previous data if netlink timestamp
26281 is not changed.
26282 (__bump_nl_timestamp): New function.
26283 (__free_in6ai): New function.
26284
636064eb
UD
262852011-10-30 Ulrich Drepper <drepper@gmail.com>
26286
26287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26288 close_not_cancel_no_status here.
26289 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26290
9beb2334
UD
262912011-10-29 Ulrich Drepper <drepper@gmail.com>
26292
6ef76f3b
UD
26293 [BZ #13276]
26294 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26295 return value.
26296
0ffc4f3e 26297 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26298 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26299 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26300
cb95113e
UD
263012011-07-03 Andreas Jaeger <aj@suse.de>
26302
26303 [BZ #10709]
26304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26305 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26306 * math/libm-test.inc (sin_test): Add test case.
26307
a1b560ff
UD
263082011-10-29 Ulrich Drepper <drepper@gmail.com>
26309
c9aaface
UD
26310 [BZ #13337]
26311 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26312 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26313
d272e7f1
UD
26314 * elf/chroot_canon.c (chroot_canon): Cleanups.
26315
1bc33071
UD
26316 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26317
1760874d
TJ
26318 [BZ #13335]
26319 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26320 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26321
51d91b18
UD
26322 * string/test-strchr.c: Make usable for strchrnul testing.
26323 * string/test-strchrnul.c: New file.
26324 * string/Makefile (strop-tests): Add strchrnul.
26325
a1b560ff 26326 * po/it.po: Update from translation team.
b611fb81 26327 * po/es.po: Likewise.
a1b560ff 26328
a5b81e1f
UD
263292011-10-28 Ulrich Drepper <drepper@gmail.com>
26330
fd52bc6d
UD
26331 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26332 the three constants needed as parameters. Drop the others.
26333 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26334 __m128i_strloadu_tolower.
52e4b9eb
UD
26335 Create and initialize variable zero and use it in all the places
26336 where _mm_setzero_si128 was used.
fd52bc6d 26337
a5b81e1f
UD
26338 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26339 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26340 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26342 anymore.
26343 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26344 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26345 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26346 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26347 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26348 __mpranred, __mptan.
26349 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26350 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26351 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26352 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26353 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26354 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26355 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26356 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26357 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26358
b4343346
AS
263592011-10-28 Andreas Schwab <schwab@redhat.com>
26360
0c92d8a8
AS
26361 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26362 redefine if SHARED.
26363 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26364
b4343346
AS
26365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26366 wide char related routines to wcsmbs subdir.
26367
3871f58f
AS
263682011-10-27 Andreas Schwab <schwab@redhat.com>
26369
26370 [BZ #13344]
26371 * misc/sys/cdefs.h (__THROWNL): Define.
26372 * posix/unistd.h: Use __THREADNL instead of __THREAD
26373 for memory synchronization functions.
26374
94d44d9f
RM
263752011-10-26 Roland McGrath <roland@hack.frob.com>
26376
21b64b15 26377 [BZ #13349]
94d44d9f
RM
26378 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26379 doesn't exist.
26380 * manual/stdio.texi (Obstack Streams): Node removed.
26381
f6ce9294
AS
263822011-10-26 Andreas Schwab <schwab@redhat.com>
26383
80479147
AS
26384 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26385 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26386 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26387
f6ce9294
AS
26388 * math/math_private.h (math_force_eval): Allow non-addressable
26389 arguments.
26390 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26391
618280a1
UD
263922011-10-25 Ulrich Drepper <drepper@gmail.com>
26393
e0016b11
UD
26394 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26395 file is not needed.
26396
26397 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26398 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26399 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26400 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26401 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26403 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26404 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26405 Add AVX variants.
26406 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26407 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26408 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26409 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26410 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26411 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26412 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26413 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26414 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26415 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26416 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26417 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26419 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26420 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26421 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26422 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26423 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26424 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26425
26426 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26427 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26428
618280a1
UD
26429 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26430 place. Use VEX encoding when compiling for AVX.
26431
37822576
AS
264322011-10-25 Andreas Schwab <schwab@redhat.com>
26433
1f1e1947
AS
26434 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26435 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26436
37822576
AS
26437 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26438
31ea014d
UD
264392011-10-25 Ulrich Drepper <drepper@gmail.com>
26440
d7826aa1 26441 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26442 useless if() expression.
d7826aa1
UD
26443 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26453 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26454 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26455 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26456 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26457 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26458 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26459 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26461 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26462
31ea014d
UD
26463 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26464
16437fec
AS
264652011-10-25 Andreas Schwab <schwab@redhat.com>
26466
26467 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26468 condition.
26469 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26470
31d3cc00
UD
264712011-10-25 Ulrich Drepper <drepper@gmail.com>
26472
26473 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26474 .text section. Avoid duplicate constants.
26475 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26483 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26485 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26487 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26488 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26490 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26492 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26495 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26496 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26497 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26498 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26499 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26500 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26501 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26502 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26503 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26504 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26505 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26506 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26507 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26508 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26509 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26510 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26511 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26513 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26514 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26516 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26517 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26518 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26519 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26520
58985aa9
UD
265212011-10-24 Ulrich Drepper <drepper@gmail.com>
26522
202c9deb
UD
26523 * sysdeps/x86_64/dla.h: Move to ...
26524 * sysdeps/x86_64/fpu/dla.h: ...here.
26525 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26526 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26527
af968f62
UD
26528 * config.make.in: Add have-mfma4 entry.
26529 * configure.in: Substitute libc_cv_cc_fma4.
26530 * math/Makefile (dbl-only-routines): Add sincostab.
26531 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26532 Use __sincostab not sincos.
26533 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26534 name is a macro.
26535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26539 using __copysign.
26540 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26541 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26542 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26543 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26544 and __inv.
26545 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26546 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26547 __copysign.
26548 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26549 define aliases when function name is a macro.
26550 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26551 sysdeps/ieee754/dbl-64/sincos.tbl.
26552 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26553 fma4-enabled routines.
26554 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26555 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26556 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26557 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26558 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26559 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26560 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26561 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26562 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26563 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26564 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26565 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26566 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26567 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26568 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26569 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26570 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26571 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26572 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26574 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26575 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26576 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26578 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26579 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26580 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26581 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26582 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26583 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26584
58985aa9
UD
26585 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26586 rename.
26587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26591 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26595
a201fbcf
AS
265962011-10-24 Andreas Schwab <schwab@redhat.com>
26597
26598 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26599
fc2ee42a
LD
266002011-10-23 Ulrich Drepper <drepper@gmail.com>
26601
bb3129bd
UD
26602 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26603
0275fff8
UD
26604 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26605 prediction.
26606 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26607
2fa2ae85
UD
26608 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26609 Remove unused variable magic_bits.
26610 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26611
fc2ee42a
LD
26612 * string/strnlen.c: Define and use STRNLEN macro.
26613 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26614 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26616 * wcsmbs/wcslen.c: Define and use WCSLEN.
26617 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26618 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26619 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26620 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26621 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26622 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26623 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26624
ce7dd29f
LD
266252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26626
26627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26628 strnlen-sse2-no-bsf.
26629 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26631 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26632 Add strnlen support.
26633 (USE_AS_STRNLEN): New macro.
26634 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26635 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26636 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26637 * sysdeps/x86_64/wcslen.S: New file.
26638
979c70a3
MZ
266392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26640
26641 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26642 XMM-moves are used for copying on small sizes.
26643
2d09f82f
LD
266442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26645
26646 * wcsmbs/Makefile (strop-tests): Add wcschr.
26647 * wcsmbs/test-wcschr.c: New file.
26648 * string/test-strchr.c: Update.
26649 Add wcschr support.
26650 (WIDE): New macro.
26651
619fccca
LD
266522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26653
2d09f82f 26654 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26655 * wcsmbs/test-wcslen.c: New file.
26656 * string/test-strlen.c: Update.
26657 Add wcslen support.
26658 (WIDE): New macro.
26659
09f699ea
UD
266602011-10-23 Ulrich Drepper <drepper@gmail.com>
26661
26662 * po/it.po: Update from translation team.
26663
95584d3b
LD
266642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26665
26666 * sysdeps/x86_64/wcscmp.S: Update.
26667 Fix wrong comparison semantics.
26668 wcscmp shall use signed comparison not unsigned.
26669 Don't use substraction to avoid overflow bug.
26670 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26671 * wcsmbc/wcscmp.c: Likewise.
26672 * string/test-strcmp.c: Likewise.
26673 Add new tests to check cases with negative values.
26674
c8b3296b
UD
266752011-10-23 Ulrich Drepper <drepper@gmail.com>
26676
26677 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26678 * sysdeps/x86_64/dla.h: ...here. New file.
26679 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26688
246ad57a
AS
266892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26690
26691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26692 __ynl_finite aliases.
26693
a1a87169
UD
266942011-10-22 Ulrich Drepper <drepper@gmail.com>
26695
0d355eb7
UD
26696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26697
a1a87169
UD
26698 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26699 define DLA_FMA.
26700 [DLA_FMA] (EMULV): Use DLA_FMA.
26701 [DLA_FMA] (MUL12): Use EMULV.
26702 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26703 that are not needed.
26704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26711
ee2aafe0
AS
267122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26713
26714 * math/s_nan.c: Undef __nan.
26715 * math/s_nanf.c: Undef __nanf.
26716 * math/s_nanl.c: Undef __nanl.
26717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26718 "math_private.h".
26719
bc62c2fb
UD
267202011-10-22 Ulrich Drepper <drepper@gmail.com>
26721
77425c63
UD
26722 * math/s_catan.c: Add branch predictions.
26723 * math/s_catanf.c: Likewise.
26724 * math/s_catanh.c: Likewise.
26725 * math/s_catanhf.c: Likewise.
26726 * math/s_catanhl.c: Likewise.
26727 * math/s_catanl.c: Likewise.
26728 * math/s_cexp.c: Likewise.
26729 * math/s_cexpf.c: Likewise.
26730 * math/s_cexpl.c: Likewise.
26731 * math/s_clog.c: Likewise.
26732 * math/s_clog10.c: Likewise.
26733 * math/s_clog10f.c: Likewise.
26734 * math/s_clog10l.c: Likewise.
26735 * math/s_clogf.c: Likewise.
26736 * math/s_clogl.c: Likewise.
26737 * math/s_csqrt.c: Likewise.
26738 * math/s_csqrtf.c: Likewise.
26739 * math/s_csqrtl.c: Likewise.
26740 * math/s_ctanf.c: Likewise.
26741 * math/s_ctanh.c: Likewise.
26742 * math/s_ctanhf.c: Likewise.
26743 * math/s_ctanhl.c: Likewise.
26744 * math/s_ctanl.c: Likewise.
26745
bc62c2fb
UD
26746 * math/math_private.h: Define __nan, __nanf, __nanl.
26747 * math/s_cacosh.c: Include <math_private.h>.
26748 * math/s_cacoshl.c: Likewise.
26749 * math/s_casinh.c: Likewise.
26750 * math/s_casinhf.c: Likewise.
26751 * math/s_casinhl.c: Likewise.
26752 * math/s_ccos.c: Rely entire on ccosh.
26753 * math/s_ccosf.c: Rely entire on ccoshf.
26754 * math/s_ccosl.c: Rely entirely on ccoshl.
26755 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26756 Remove tests for FE_INVALID.
26757 * math/s_ccoshf.c: Likewise.
26758 * math/s_ccoshl.c: Likewise.
26759 * math/s_csin.c: Likewise.
26760 * math/s_csinf.c: Likewise.
26761 * math/s_csinh.c Likewise.
26762 * math/s_csinhf.c: Likewise.
26763 * math/s_csinhl.c: Likewise.
26764 * math/s_csinl.c: Likewise.
26765 * math/s_ctan.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26767 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26769
8ec250a4
UD
267702011-10-21 Ulrich Drepper <drepper@gmail.com>
26771
c196fed8
UD
26772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26773 compilation problems.
26774
8ec250a4
UD
26775 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26776 __builtin_expect.
26777
8d4f46c6
UD
267782011-10-20 Ulrich Drepper <drepper@gmail.com>
26779
ed72b654
UD
26780 * sysdeps/i386/configure.in: Test for -mfma4 option.
26781 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26782 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26783 COMMON_CPUID_INDEX_80000001.
26784 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26785 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26786 use it if FMA3 is not supported.
26787 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26788
8d4f46c6
UD
26789 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26790 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26791
d45c60c2
AS
267922011-10-20 Andreas Schwab <schwab@redhat.com>
26793
26794 [BZ #12892]
26795 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26796 it would create a cycle with a link time dependency.
26797
d9a4d2ab
UD
267982011-10-19 Ulrich Drepper <drepper@gmail.com>
26799
855d1560
UD
26800 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26801 instruction.
26802 * string/Makefile (strop-tests): Add rawmemchr.
26803 * string/test-rawmemchr.c: New file.
26804
d9a4d2ab
UD
26805 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26806 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26807 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26808 when compiling str{,n}casecmp and when AVX is available. Hook up
26809 new optimized code in initializers.
26810
8f3b1ffe
AS
268112011-10-19 Andreas Schwab <schwab@redhat.com>
26812
26813 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26814 __feraiseexcept instead of feraiseexcept.
26815
d38f1dba
UD
268162011-10-18 Ulrich Drepper <drepper@gmail.com>
26817
d9a8d0ab
UD
26818 * math/math_private.h: Define defaults for libc_fetestexcept and
26819 libc_feupdateenv.
26820 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26821 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26822 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26823 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26824 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26825 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26826 libc_fetestexcept and libc_feupdateenv.
26827
4855e3dd
UD
26828 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26829 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26830 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26831 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26832 libc_feholdexcept_setround.
26833
581d30e3
UD
26834 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26835 Add s_nearbyint-c and s_nearbyintf-c.
26836 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26837 nearbyintf inlines.
26838 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26839 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26840 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26841 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26842
d38f1dba
UD
26843 * math/math_private.h: Define defaults for libc_fegetround,
26844 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26845 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26846 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26848 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26849 standard functions.
26850 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26851 Remove comments and hacks for old compiler versions.
26852 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26853 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26854 libc_feholdexceptl.
26855
caa6c9d8
AS
268562011-10-18 Andreas Schwab <schwab@redhat.com>
26857
26858 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26859 (__feraiseexcept_renamed): Add __NTH.
26860 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26861 namespace violations.
26862
97c066e6
UD
268632011-10-17 Ulrich Drepper <drepper@gmail.com>
26864
99ce7b04
UD
26865 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26866
1004d182
UD
26867 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26868
228a984d
UD
26869 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26870 recently added interfaces.
26871 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26872
c8553a6a
UD
26873 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26874 about macro parameter expansion.
26875
ed22dcf6
UD
26876 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26877 __NO_MATH_INLINES is defined. Cleanups.
26878
26879 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26880 and __floorf is target has SSE4.1.
26881 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26882 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26883 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26884 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26885
b171c137
UD
26886 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26887 name.
26888 (floorf): Likewise.
26889
97c066e6
UD
26890 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26891
629f62ef
AS
268922011-10-17 Andreas Schwab <schwab@redhat.com>
26893
49a43d80
AS
26894 * misc/sys/cdefs.h: Fix last change.
26895
629f62ef
AS
26896 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26897 database lookup.
26898
e453f6cd
UD
268992011-10-16 Ulrich Drepper <drepper@gmail.com>
26900
aa78043a
UD
26901 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26902
ad0f5cad
UD
26903 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26905 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26906 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26908 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26911 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26912 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26913 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26914 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26915 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26916 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26917 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26918 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26919 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26920 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26921 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26922 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26923 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26924 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26925
26926 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26927 ceil, ceilf, floor, floorf.
26928
26929 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26930 Perform IRELATIVE relocations last.
26931
e453f6cd
UD
26932 * elf/do-rel.h: Add another parameter nrelative, replacing the
26933 local variable with the same name. Change name of the function
26934 to end in Rel or Rela (uppercase).
26935 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26936 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26937 elf_dynamic_do_##reloc function.
26938
fd5bdc09
UD
269392011-10-15 Ulrich Drepper <drepper@gmail.com>
26940
79b195b5
UD
26941 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26942 is sufficient, at least on modern CPUs.
26943
d4a28569
UD
26944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26945
b61099b5
UD
26946 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26947 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26948
bcf01e6d
UD
26949 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26950 __expl_finite.
26951 * math/bits/math-finite.h: Add entries for exp.
26952 * math/e_expl.c: Add __*_finite alias.
26953 * sysdeps/i386/fpu/e_exp.S: Likewise.
26954 * sysdeps/i386/fpu/e_expf.S: Likewise.
26955 * sysdeps/i386/fpu/e_expl.c: Likewise.
26956 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26957 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26960 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26961 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26962 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26963
ba1a0d59
UD
26964 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26965 is sufficient, at least on modern CPUs.
26966
fd5bdc09
UD
26967 * ctype/ctype-info.c (__ctype_init): Define.
26968 * include/ctype.h (__ctype_init): Declare.
26969 (__ctype_b_loc): The variable is always initialized.
26970 (__ctype_toupper_loc): Likewise.
26971 (__ctype_tolower_loc): Likewise.
26972 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26973 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26974
7872cfb0
AS
269752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26976
b468825a
AS
26977 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26978
7872cfb0
AS
26979 * configure.in: Also look in $cxxmachine/include for C++ system
26980 headers.
26981
be13f7bf
LD
269822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26983
26984 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26985 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26986 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26987 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26988 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26989 (USE_AS_WMEMCMP): New macro.
26990 Fixing indents.
26991 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26992 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26993 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26994 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26996 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26997 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26998 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26999 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27000 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27001 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27002 (USE_AS_WMEMCMP): New macro.
27003 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27004 * sysdeps/string/test-memcmp.c: Update.
27005 Fix simple_wmemcmp.
27006 Add new tests.
27007 * wcsmbs/wmemcmp.c: Update.
27008 (WMEMCMP): New macro.
27009 Fix overflow bug.
27010
556a2007
AJ
270112011-10-12 Andreas Jaeger <aj@suse.de>
27012
27013 [BZ #13268]
27014 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27015
538faaa7
UD
270162011-10-15 Ulrich Drepper <drepper@gmail.com>
27017
ab6737ff
UD
27018 * libio/iofwide.c (do_length): Avoid warning.
27019
538faaa7
UD
27020 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27021
396a21b1
UD
270222011-10-14 Ulrich Drepper <drepper@gmail.com>
27023
cdf2901f
UD
27024 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27025
38ad40ce
UD
27026 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27027 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27028 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27029 * sysdeps/i386/i686/fpu/e_log.S: New file.
27030 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27031 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27032
396a21b1
UD
27033 * ctype/ctype.h: Add support for inlined isXXX functions when
27034 compiling C++ code.
27035
6b1f68c9
AS
270362011-10-14 Andreas Schwab <schwab@redhat.com>
27037
349290c0
AS
27038 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27039
6b1f68c9
AS
27040 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27041
f2282d42
RM
270422011-10-13 Roland McGrath <roland@hack.frob.com>
27043
27044 [BZ #13291]
27045 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27046
5298ffa8
AS
270472011-10-13 Andreas Schwab <schwab@redhat.com>
27048
714fad23
AS
27049 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27050 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27051 feraiseexcept.
27052
81dcc7fb
AS
27053 * sysdeps/x86_64/memrchr.S: Check for zero size.
27054
5298ffa8
AS
27055 * string/stratcliff.c: Add memrchr tests.
27056
951fbcec
LD
270572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27058
27059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27060 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27061 rawmemchr-sse2 rawmemchr-sse2-bsf.
27062 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27063 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27064 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27065 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27066 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27067 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27068 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27069 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27070 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27071 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27072 * string/memrchr.c (MEMRCHR): New macro.
27073
0ac5ae23
UD
270742011-10-12 Ulrich Drepper <drepper@gmail.com>
27075
27076 Add integration with gcc's -ffinite-math-only and optimize wrapper
27077 functions in libm.
27078 * Versions.def: Define GLIBC_2.15 version for libm.
27079 * math/Makefile (headers): Add bits/math-finite.h.
27080 * math/bits/math-finite.h: New file.
27081 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27082 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27083 * math/e_acoshl.c: Add __*_finite alias.
27084 * math/e_acosl.c: Likewise.
27085 * math/e_asinl.c: Likewise.
27086 * math/e_atan2l.c: Likewise.
27087 * math/e_atanhl.c: Likewise.
27088 * math/e_coshl.c: Likewise.
27089 * math/e_exp10.c: Likewise.
27090 * math/e_exp10f.c: Likewise.
27091 * math/e_exp10l.c: Likewise.
27092 * math/e_exp2l.c: Likewise.
27093 * math/e_fmodl.c: Likewise.
27094 * math/e_gammal_r.c: Likewise.
27095 * math/e_hypotl.c: Likewise.
27096 * math/e_j0l.c: Likewise.
27097 * math/e_j1l.c: Likewise.
27098 * math/e_jnl.c: Likewise.
27099 * math/e_lgammal_r.c: Likewise.
27100 * math/e_log10l.c: Likewise.
27101 * math/e_log2l.c: Likewise.
27102 * math/e_logl.c: Likewise.
27103 * math/e_powl.c: Likewise.
27104 * math/e_sinhl.c: Likewise.
27105 * math/e_sqrtl.c: Likewise.
27106 * math/e_scalb.c: Completely rewritten and optimized.
27107 * math/e_scalbf.c: Likewise.
27108 * math/e_scalbl.c: Likewise.
27109 * math/w_acos.c: Likewise.
27110 * math/w_acosf.c: Likewise.
27111 * math/w_acosl.c: Likewise.
27112 * math/w_acosh.c: Likewise.
27113 * math/w_acoshf.c: Likewise.
27114 * math/w_acoshl.c: Likewise.
27115 * math/w_asin.c: Likewise.
27116 * math/w_asinf.c: Likewise.
27117 * math/w_asinl.c: Likewise.
27118 * math/w_atan2.c: Likewise.
27119 * math/w_atan2f.c: Likewise.
27120 * math/w_atan2l.c: Likewise.
27121 * math/w_atanh.c: Likewise.
27122 * math/w_atanhf.c: Likewise.
27123 * math/w_atanhl.c: Likewise.
27124 * math/w_exp10.c: Likewise.
27125 * math/w_exp10f.c: Likewise.
27126 * math/w_exp10l.c: Likewise.
27127 * math/w_fmod.c: Likewise.
27128 * math/w_fmodf.c: Likewise.
27129 * math/w_fmodl.c: Likewise.
27130 * math/w_j0.c: Likewise.
27131 * math/w_j0f.c: Likewise.
27132 * math/w_j0l.c: Likewise.
27133 * math/w_j1.c: Likewise.
27134 * math/w_j1f.c: Likewise.
27135 * math/w_j1l.c: Likewise.
27136 * math/w_jn.c: Likewise.
27137 * math/w_jnf.c: Likewise.
27138 * math/w_log.c: Likewise.
27139 * math/w_logf.c: Likewise.
27140 * math/w_logl.c: Likewise.
27141 * math/w_log10.c: Likewise.
27142 * math/w_log10f.c: Likewise.
27143 * math/w_log10l.c: Likewise.
27144 * math/w_log2.c: Likewise.
27145 * math/w_log2f.c: Likewise.
27146 * math/w_log2l.c: Likewise.
27147 * math/w_pow.c: Likewise.
27148 * math/w_powf.c: Likewise.
27149 * math/w_powl.c: Likewise.
27150 * math/w_remainder.c: Likewise.
27151 * math/w_remainderf.c: Likewise.
27152 * math/w_remainderl.c: Likewise.
27153 * math/w_scalb.c: Likewise.
27154 * math/w_scalbf.c: Likewise.
27155 * math/w_scalbl.c: Likewise.
27156 * math/w_sqrt.c: Likewise.
27157 * math/w_sqrtf.c: Likewise.
27158 * math/w_sqrtl.c: Likewise.
27159 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27160 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27161 used.
27162 * math/math_private.h: Declare __kernel_standard_f.
27163 * math/w_cosh.c: Remove cruft and optimize a bit.
27164 * math/w_coshf.c: Likewise.
27165 * math/w_coshl.c: Likewise.
27166 * math/w_exp2.c: Likewise.
27167 * math/w_exp2f.c: Likewise.
27168 * math/w_exp2l.c: Likewise.
27169 * math/w_hypot.c: Likewise.
27170 * math/w_hypotf.c: Likewise.
27171 * math/w_hypotl.c: Likewise.
27172 * math/w_lgamma.c: Likewise.
27173 * math/w_lgamma_r.c: Likewise.
27174 * math/w_lgammaf.c: Likewise.
27175 * math/w_lgammaf_r.c: Likewise.
27176 * math/w_lgammal.c: Likewise.
27177 * math/w_lgammal_r.c: Likewise.
27178 * math/w_sinh.c: Likewise.
27179 * math/w_sinhf.c: Likewise.
27180 * math/w_sinhl.c: Likewise.
27181 * math/w_tgamma.c: Likewise.
27182 * math/w_tgammaf.c: Likewise.
27183 * math/w_tgammal.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27185 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27186 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27187 Minor optimizations. Pretty printing. Remove cruft.
27188 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27189 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27190 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27191 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27192 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27193 * sysdeps/i386/fpu/e_asin.S: Likewise.
27194 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27195 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27196 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27197 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27198 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27200 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27201 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27202 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27203 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27204 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27205 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27206 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27207 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27208 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27209 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27210 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27211 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27212 * sysdeps/i386/fpu/e_log.S: Likewise.
27213 * sysdeps/i386/fpu/e_log10.S: Likewise.
27214 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27215 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27216 * sysdeps/i386/fpu/e_log2.S: Likewise.
27217 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27218 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27219 * sysdeps/i386/fpu/e_logf.S: Likewise.
27220 * sysdeps/i386/fpu/e_logl.S: Likewise.
27221 * sysdeps/i386/fpu/e_pow.S: Likewise.
27222 * sysdeps/i386/fpu/e_powf.S: Likewise.
27223 * sysdeps/i386/fpu/e_powl.S: Likewise.
27224 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27225 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27226 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27227 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27230 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27231 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27232 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27233 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27254 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27255 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27256 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27257 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27258 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27259 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27260 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27261 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27262 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27263 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27264 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27265 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27266 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27267 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27268 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27269 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27270 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27271 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27272 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27273 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27274 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27289 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27290 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27291 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27293 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27297 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27298 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27299 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27301 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27303 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27304 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27305 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27312 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27313 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27314 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27317 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27318 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27321 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27322 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27323 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27324 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27326 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27327 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27328 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27329 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27330 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27331 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27332 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27333 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27334 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27335 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27336 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27337 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27338 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27339 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27340 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27341 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27342 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27343 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27344 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27345 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27346 (__isnanf): Likewise.
27347 (__isinf_ns): Likewise.
27348 (__isinf_nsf): Likewise.
27349 (__finite): Likewise.
27350 (__finitef): Likewise.
27351 (__ieee754_sqrt): Define as macro.
27352 (__ieee754_sqrtf): Define as macro.
27353 (__ieee754_sqrtl): Define as macro.
27354 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27355 inlined copy.
27356 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27357 __FINITE_MATH_ONLY__ consistent.
27358 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27359
12cc2fcd
AS
273602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27361
a843a204
AS
27362 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27363 of rawmemchr.
27364
12cc2fcd
AS
27365 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27366
c853acd5
UD
273672011-10-09 Ulrich Drepper <drepper@gmail.com>
27368
27369 * po/ja.po: Update from translation team.
27370
c658d255
RM
273712011-10-08 Roland McGrath <roland@hack.frob.com>
27372
110946e4
RM
27373 * locale/programs/locarchive.c (prepare_address_space): New function.
27374 (create_archive, enlarge_archive, open_archive): Use it.
27375
50604220
RM
27376 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27377 inside [SHARED], where it is used.
27378
c658d255
RM
27379 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27380
27381 * nss/getent.c (netgroup_keys): Remove unused variable.
27382 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27383
6a621eb7
UD
273842011-10-08 Ulrich Drepper <drepper@gmail.com>
27385
7edb55ce
UD
27386 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27387 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27389 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27390 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27391 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27392 * math/Makefile (libm-calls): Add s_isinf_ns.
27393 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27394 * math/multc3.c: Likewise.
27395 * math/s_casin.c: Likewise.
27396 * math/s_casinf.c: Likewise.
27397 * math/s_casinl.c: Likewise.
27398 * math/s_ccos.c: Likewise.
27399 * math/s_ccosf.c: Likewise.
27400 * math/s_ccosl.c: Likewise.
27401 * math/s_ctan.c: Likewise.
27402 * math/s_ctanf.c: Likewise.
27403 * math/s_ctanh.c: Likewise.
27404 * math/s_ctanhf.c: Likewise.
27405 * math/s_ctanhl.c: Likewise.
27406 * math/s_ctanl.c: Likewise.
27407 * math/w_fmod.c: Likewise.
27408 * math/w_fmodf.c: Likewise.
27409 * math/w_fmodl.c: Likewise.
27410 * math/w_remainder.c: Likewise.
27411 * math/w_remainderf.c: Likewise.
27412 * math/w_remainderl.c: Likewise.
27413 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27414 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27415 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27417 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27418 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27419 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27420 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27421
187da0ae
UD
27422 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27423 of the number.
27424 * stdio-common/printf_fphex.c: Likewise.
27425 * stdio-common/printf_size.c: Likewise.
27426
9277c064
UD
27427 * math/e_exp10.c: Include math_private.h using <...> not "...".
27428 * math/e_exp10f.c: Likewise.
27429 * math/e_exp10l.c: Likewise.
27430 * math/e_exp2l.c: Likewise.
27431 * math/e_j0l.c: Likewise.
27432 * math/e_j1l.c: Likewise.
27433 * math/e_jnl.c: Likewise.
27434 * math/e_lgammal_r.c: Likewise.
27435 * math/e_rem_pio2l.c: Likewise.
27436 * math/e_scalb.c: Likewise.
27437 * math/e_scalbf.c: Likewise.
27438 * math/e_scalbl.c: Likewise.
27439 * math/k_cosl.c: Likewise.
27440 * math/k_sinl.c: Likewise.
27441 * math/k_tanl.c: Likewise.
27442 * math/s_cacoshf.c: Likewise.
27443 * math/s_catan.c: Likewise.
27444 * math/s_catanf.c: Likewise.
27445 * math/s_catanh.c: Likewise.
27446 * math/s_catanhf.c: Likewise.
27447 * math/s_catanhl.c: Likewise.
27448 * math/s_catanl.c: Likewise.
27449 * math/s_ccosh.c: Likewise.
27450 * math/s_ccoshf.c: Likewise.
27451 * math/s_ccoshl.c: Likewise.
27452 * math/s_cexp.c: Likewise.
27453 * math/s_cexpf.c: Likewise.
27454 * math/s_cexpl.c: Likewise.
27455 * math/s_clog.c: Likewise.
27456 * math/s_clog10.c: Likewise.
27457 * math/s_clog10f.c: Likewise.
27458 * math/s_clog10l.c: Likewise.
27459 * math/s_clogf.c: Likewise.
27460 * math/s_clogl.c: Likewise.
27461 * math/s_csin.c: Likewise.
27462 * math/s_csinf.c: Likewise.
27463 * math/s_csinh.c: Likewise.
27464 * math/s_csinhf.c: Likewise.
27465 * math/s_csinhl.c: Likewise.
27466 * math/s_csinl.c: Likewise.
27467 * math/s_csqrt.c: Likewise.
27468 * math/s_csqrtf.c: Likewise.
27469 * math/s_csqrtl.c: Likewise.
27470 * math/s_ctan.c: Likewise.
27471 * math/s_ctanf.c: Likewise.
27472 * math/s_ctanh.c: Likewise.
27473 * math/s_ctanhf.c: Likewise.
27474 * math/s_ctanhl.c: Likewise.
27475 * math/s_ctanl.c: Likewise.
27476 * math/s_ldexp.c: Likewise.
27477 * math/s_ldexpf.c: Likewise.
27478 * math/s_ldexpl.c: Likewise.
27479 * math/s_significand.c: Likewise.
27480 * math/s_significandf.c: Likewise.
27481 * math/s_significandl.c: Likewise.
27482 * math/w_acos.c: Likewise.
27483 * math/w_acosf.c: Likewise.
27484 * math/w_acosh.c: Likewise.
27485 * math/w_acoshf.c: Likewise.
27486 * math/w_acoshl.c: Likewise.
27487 * math/w_acosl.c: Likewise.
27488 * math/w_asin.c: Likewise.
27489 * math/w_asinf.c: Likewise.
27490 * math/w_asinl.c: Likewise.
27491 * math/w_atan2.c: Likewise.
27492 * math/w_atan2f.c: Likewise.
27493 * math/w_atan2l.c: Likewise.
27494 * math/w_atanh.c: Likewise.
27495 * math/w_atanhf.c: Likewise.
27496 * math/w_atanhl.c: Likewise.
27497 * math/w_cosh.c: Likewise.
27498 * math/w_coshf.c: Likewise.
27499 * math/w_coshl.c: Likewise.
27500 * math/w_dremf.c: Likewise.
27501 * math/w_exp10.c: Likewise.
27502 * math/w_exp10f.c: Likewise.
27503 * math/w_exp10l.c: Likewise.
27504 * math/w_exp2.c: Likewise.
27505 * math/w_exp2f.c: Likewise.
27506 * math/w_fmod.c: Likewise.
27507 * math/w_fmodf.c: Likewise.
27508 * math/w_fmodl.c: Likewise.
27509 * math/w_hypot.c: Likewise.
27510 * math/w_hypotf.c: Likewise.
27511 * math/w_hypotl.c: Likewise.
27512 * math/w_j0.c: Likewise.
27513 * math/w_j0f.c: Likewise.
27514 * math/w_j0l.c: Likewise.
27515 * math/w_j1.c: Likewise.
27516 * math/w_j1f.c: Likewise.
27517 * math/w_j1l.c: Likewise.
27518 * math/w_jn.c: Likewise.
27519 * math/w_jnf.c: Likewise.
27520 * math/w_jnl.c: Likewise.
27521 * math/w_lgamma.c: Likewise.
27522 * math/w_lgamma_r.c: Likewise.
27523 * math/w_lgammaf.c: Likewise.
27524 * math/w_lgammaf_r.c: Likewise.
27525 * math/w_lgammal.c: Likewise.
27526 * math/w_lgammal_r.c: Likewise.
27527 * math/w_log.c: Likewise.
27528 * math/w_log10.c: Likewise.
27529 * math/w_log10f.c: Likewise.
27530 * math/w_log10l.c: Likewise.
27531 * math/w_log2.c: Likewise.
27532 * math/w_log2f.c: Likewise.
27533 * math/w_log2l.c: Likewise.
27534 * math/w_logf.c: Likewise.
27535 * math/w_logl.c: Likewise.
27536 * math/w_pow.c: Likewise.
27537 * math/w_powf.c: Likewise.
27538 * math/w_powl.c: Likewise.
27539 * math/w_remainder.c: Likewise.
27540 * math/w_remainderf.c: Likewise.
27541 * math/w_remainderl.c: Likewise.
27542 * math/w_scalb.c: Likewise.
27543 * math/w_scalbf.c: Likewise.
27544 * math/w_scalbl.c: Likewise.
27545 * math/w_sinh.c: Likewise.
27546 * math/w_sinhf.c: Likewise.
27547 * math/w_sinhl.c: Likewise.
27548 * math/w_sqrt.c: Likewise.
27549 * math/w_sqrtf.c: Likewise.
27550 * math/w_sqrtl.c: Likewise.
27551 * math/w_tgamma.c: Likewise.
27552 * math/w_tgammaf.c: Likewise.
27553 * math/w_tgammal.c: Likewise.
27554
6a621eb7
UD
27555 * po/ja.po: Update from translation team.
27556
bf582445
AJ
275572011-09-29 Andreas Jaeger <aj@suse.de>
27558
f9efbf3a
AJ
27559 [BZ #13179]
27560 * sunrpc/netname.c (netname2host): Fix logic.
27561
bf582445
AJ
27562 [BZ #6779]
27563 [BZ #6783]
27564 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27565 correctly.
27566 * math/w_remainder.c (__remainder): Likewise.
27567 * math/w_remainderf.c (__remainderf): Likewise.
27568 * math/libm-test.inc (remainder_test): Add test cases.
27569
48693bea
AK
275702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27571
27572 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27573 sdiv_qrnnd.
27574
42622229
LD
275752011-10-07 Ulrich Drepper <drepper@gmail.com>
27576
27577 * string/test-memcmp.c: Avoid unncessary #defines.
27578 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27579
093ecf92
LD
275802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27581
27582 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27583 Use new sse2 version for core i3 - i7 as it's faster
27584 than sse42 version.
27585 (bit_Prefer_PMINUB_for_stringop): New.
27586 * sysdeps/x86_64/rawmemchr.S: Update.
27587 Replace with faster SSE2 version.
27588 * sysdeps/x86_64/memrchr.S: New file.
27589 * sysdeps/x86_64/memchr.S: Update.
27590 Replace with faster SSE2 version.
27591
fde56e5c
MP
275922011-09-12 Marek Polacek <mpolacek@redhat.com>
27593
27594 * elf/dl-load.c (lose): Add cast to avoid warning.
27595
21fd49a9
UD
275962011-10-07 Ulrich Drepper <drepper@gmail.com>
27597
5a06e643
UD
27598 * po/ca.po: Update from translation team.
27599
684ae515
UD
27600 * inet/getnetgrent_r.c: Hook up nscd.
27601 * nscd/Makefile (routines): Add nscd_netgroup.
27602 (nscd-modules): Add netgroupcache.
27603 (CFLAGS-netgroupcache.c): Define.
27604 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27605 (cache_search): Add const to second parameter.
27606 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27607 INNETGR.
27608 (dbs): Add netgrdb entry.
27609 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27610 (verify_persistent_db): Handle netgrdb.
27611 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27612 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27613 GETFDNETGR.
27614 (netgroup_response_header): Define.
27615 (innetgroup_response_header): Define.
27616 (datahead): Add netgroup_response_header and innetgroup_response_header
27617 elements.
27618 * nscd/nscd.conf: Add entries for netgroup cache.
27619 * nscd/nscd.h (dbtype): Add netgrdb.
27620 (_PATH_NSCD_NETGROUP_DB): Define.
27621 (netgroup_iov_disabled): Declare.
27622 (xmalloc, xcalloc, xrealloc): Move declarations here.
27623 (cache_search): Adjust prototype.
27624 Add netgroup-related prototypes.
27625 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27626 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27627 (__nscd_innetgr): Declare.
27628 * nscd/selinux.c (perms): Use access_vector_t as element type and
27629 add netgroup-related initializers.
27630 * nscd/netgroupcache.c: New file.
27631 * nscd/nscd_netgroup.c: New file.
27632 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27633 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27634 For four parameters use innetgr.
27635 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27636 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27637 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27638 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27639
21fd49a9
UD
27640 * nscd/connections.c (register_traced_file): Don't register file
27641 for disabled databases.
27642
054c0457
UD
276432011-10-06 Ulrich Drepper <drepper@gmail.com>
27644
32b63198
UD
27645 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27646
054c0457
UD
27647 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27648 from tree and freeing node.
27649
64031225
JO
276502011-09-25 Jiri Olsa <jolsa@redhat.com>
27651
27652 * nss/nsswitch.c (__nss_database_lookup): Handle
27653 nss_parse_service_list out of memory case.
27654
0490345c
JO
276552011-09-15 Jiri Olsa <jolsa@redhat.com>
27656
27657 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27658 out of memory case.
27659
3a62d00d
AS
276602011-10-04 Andreas Schwab <schwab@redhat.com>
27661
27662 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27663 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27664 pass it down.
27665 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27666 elf_machine_rela, elf_machine_lazy_rel.
27667 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27668 (ELF_DYNAMIC_DO_REL): Likewise.
27669 (ELF_DYNAMIC_DO_RELA): Likewise.
27670 (ELF_DYNAMIC_RELOCATE): Likewise.
27671 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27672 to ELF_DYNAMIC_DO_REL.
27673 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27674 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27675 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27676 elf_machine_rela.
27677 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27678 skip_ifunc, don't call ifunc function if non-zero.
27679 (elf_machine_rela): Likewise.
27680 (elf_machine_lazy_rel): Likewise.
27681 (elf_machine_lazy_rela): Likewise.
27682 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27683 (elf_machine_lazy_rel): Likewise.
27684 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27685 Likewise.
27686 (elf_machine_lazy_rel): Likewise.
27687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27688 Likewise.
27689 (elf_machine_lazy_rel): Likewise.
27690 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27691 (elf_machine_lazy_rel): Likewise.
27692 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27693 (elf_machine_lazy_rel): Likewise.
27694 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27695 (elf_machine_lazy_rel): Likewise.
27696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27697 (elf_machine_lazy_rel): Likewise.
27698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27699 (elf_machine_lazy_rel): Likewise.
27700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27701 (elf_machine_lazy_rel): Likewise.
27702
68577918
UD
277032011-09-28 Ulrich Drepper <drepper@gmail.com>
27704
27705 * nss/nss_files/files-init.c (_nss_files_init): Use static
27706 initialization for all the *_traced_file variables.
27707
68822d74
AS
277082011-09-28 Andreas Schwab <schwab@redhat.com>
27709
27710 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27711
2056100b
RM
277122011-09-27 Roland McGrath <roland@hack.frob.com>
27713
27714 [BZ #13226]
27715 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27716
32c76b63
AS
277172011-09-27 Andreas Schwab <schwab@redhat.com>
27718
27719 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27720 Reread the line before reparsing it.
27721
bf972c9d
AS
277222011-09-26 Andreas Schwab <schwab@redhat.com>
27723
27724 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27725
e057a1b5
JM
277262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27727 Maxim Kuvyrkov <maxim@codesourcery.com>
27728 Joseph Myers <joseph@codesourcery.com>
27729
27730 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27731 if needed for __stack_chk_guard.
27732
bc7e1c36
RM
277332011-09-19 Roland McGrath <roland@hack.frob.com>
27734
ecb1482f
RM
27735 * sysdeps/posix/spawni.c (script_execute): Always define it.
27736 It will be optimized away if unused.
27737 (maybe_script_execute): New function.
27738 (__spawni): Call it.
27739
bc7e1c36
RM
27740 * Makerules: Don't include tls.make.
27741 (config-tls): Always set to thread.
27742 * tls.make.c: File removed.
27743
1c3b002b
MF
277442011-09-19 Mike Frysinger <vapier@gentoo.org>
27745
27746 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27747 * config.make.in (CPPFLAGS-config): New substituted variable.
27748
2840865d
UD
277492011-09-15 Ulrich Drepper <drepper@gmail.com>
27750
88738eb6
UD
27751 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27752
cbf645a6 27753 [BZ #13192]
2840865d
UD
27754 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27755 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27756
b402e91a
RM
277572011-09-15 Roland McGrath <roland@hack.frob.com>
27758
27759 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27760 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27762 (CALL_FAIL): Likewise.
27763 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27764 (CALL_FAIL): Macro removed.
27765 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27766
4c1a1f71
UD
277672011-09-15 Ulrich Drepper <drepper@gmail.com>
27768
27769 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27770 for __FINITE_MATH_ONLY__ == 1.
27771
edc121be
AS
277722011-09-15 Andreas Schwab <schwab@redhat.com>
27773
27774 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27775 __ieee754_sqrt instead of sqrt.
27776 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27777 __ieee754_sqrtf instead of sqrtf.
27778 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27779 __floorf instead of floorf.
27780 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27781 __floorf, __truncf instead of floorf, truncf.
27782
cd205654
UD
277832011-09-14 Ulrich Drepper <drepper@gmail.com>
27784
ee4d0315
UD
27785 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27786
cd205654
UD
27787 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27788 __extern_always_inline.
27789 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27790 32-bit.
27791
48b67d71
AS
277922011-09-14 Andreas Schwab <schwab@redhat.com>
27793
27794 * elf/rtld.c (dl_main): Also relocate in dependency order when
27795 doing symbol dependency testing.
27796
1ae12c75
AS
277972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27798
27799 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27800 Always define `refsym'.
27801
995a80df
AS
278022011-09-13 Andreas Schwab <schwab@redhat.com>
27803
e529793b
AS
27804 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27805 (__FD_ELT): Renamed from __FDELT.
27806 * misc/bits/select2.h (__FD_ELT): Likewise.
27807 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27808 __FD_MASK instead of __FDELT, __FDMASK.
27809 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27810 Likewise.
27811 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27812 Likewise.
27813
52d4fef8
AS
27814 * elf/Makefile (gen-ldd): Fix pattern.
27815
995a80df
AS
27816 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27817 (init_tls): Likewise.
27818
8682f8b0
UD
278192011-09-12 Ulrich Drepper <drepper@gmail.com>
27820
27821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27822
de82006d
AS
278232011-09-12 Andreas Schwab <schwab@redhat.com>
27824
a7c8e6a1
AS
27825 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27826 `struct cmsghdr *' instead of `void *'.
27827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27828 Likewise.
27829
0f31fe77
AS
278302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27831
27832 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27833 if non-absolute.
27834 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27835 ldd_rewrite_script.
0f31fe77 27836
32b4c839
UD
278372011-09-11 Ulrich Drepper <drepper@gmail.com>
27838
83cd1420
UD
27839 * configure.in: Remove --with-tls option.
27840 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27841 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27842 out in case it is missing.
27843 * sysdeps/ia64/elf/configure.in: Likewise.
27844 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27845 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27846 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27847 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27848 * sysdeps/sh/elf/configure.in: Likewise.
27849 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27850 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27851 * sysdeps/x86_64/elf/configure.in: Likewise.
27852 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27853 * sysdeps/mach/hurd/tls.h: Likewise.
27854
633f745d
UD
27855 [BZ #13067]
27856 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27857
f318beb8
UD
27858 [BZ #13090]
27859 * configure.in: Fix use of AC_INIT.
27860
32b4c839
UD
27861 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27862
3ce1f295
UD
278632011-09-10 Ulrich Drepper <drepper@gmail.com>
27864
bb016596
UD
27865 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27866 __set_errno.
8e58439c
UD
27867 * malloc/hooks.c: Likewise.
27868
aebae053 27869 [BZ #11929]
02d46fc4
UD
27870 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27871 variables statically.
27872 (narenas): Initialize.
27873 (list_lock): Initialize.
bb016596
UD
27874 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27875 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27876 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27877 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27878 Add initializers to main_arena and mp_.
27879 (malloc_state): Remove pagesize member. Change all users to use
27880 GLRO(dl_pagesize).
27881
27882 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27883 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27884 is always initialized.
27885
22a89187
UD
27886 * malloc/malloc.c: Removed unused configurations and dead code.
27887 * malloc/arena.c: Likewise.
27888 * malloc/hooks.c: Likewise.
02d46fc4 27889 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27890
d063d164
UD
27891 * include/tls.h: Removed. USE___THREAD must always be defined.
27892 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27893 * elf/dl-libc.c: Likewise.
27894 * elf/dl-tsd.c: Likewise.
27895 * include/errno.h: Likewise.
27896 * include/netdb.h: Likewise.
27897 * include/resolv.h: Likewise.
27898 * inet/herrno-loc.c: Likewise.
27899 * inet/herrno.c: Likewise.
27900 * malloc/arena.c: Likewise.
27901 * malloc/hooks.c: Likewise.
27902 * malloc/malloc.c: Likewise.
27903 * resolv/res-state.c: Likewise.
27904 * resolv/res_libc.c: Likewise.
27905 * sysdeps/i386/dl-machine.h: Likewise.
27906 * sysdeps/ia64/dl-machine.h: Likewise.
27907 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27908 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27909 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27910 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27911 * sysdeps/sh/dl-machine.h: Likewise.
27912 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27913 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27914 * sysdeps/unix/i386/sysdep.S: Likewise.
27915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27916 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27917 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27918 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27921 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27925 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27926 * sysdeps/x86_64/dl-machine.h: Likewise.
27927 * tls.make.c: Likewise.
27928
3ce1f295
UD
27929 * configure.in: Remove --with-__thread option. Make tests for
27930 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27931 tls_model attribute fail if no support is available. Remove
27932 USE_IN_LIBIO.
27933 * Makeconfig: Adjust for dropped configure option. All features are
27934 now mandatory.
27935 * Makerules: Likewise.
27936 * Versions.def: Likewise.
27937 * argp/argp-fmtstream.c: Likewise.
27938 * argp/argp-fmtstream.h: Likewise.
27939 * argp/argp-help.c: Likewise.
27940 * assert/assert.c: Likewise.
27941 * config.h.in: Likewise.
27942 * config.make.in: Likewise.
27943 * configure: Likewise.
27944 * configure.in: Likewise.
27945 * csu/Versions: Likewise.
27946 * csu/init.c: Likewise.
27947 * elf/tst-audit2.c: Likewise.
27948 * elf/tst-tls10.c: Likewise.
27949 * elf/tst-tls10.h: Likewise.
27950 * elf/tst-tls11.c: Likewise.
27951 * elf/tst-tls12.c: Likewise.
27952 * elf/tst-tls14.c: Likewise.
27953 * elf/tst-tlsmod11.c: Likewise.
27954 * elf/tst-tlsmod12.c: Likewise.
27955 * elf/tst-tlsmod13.c: Likewise.
27956 * elf/tst-tlsmod13a.c: Likewise.
27957 * elf/tst-tlsmod14a.c: Likewise.
27958 * elf/tst-tlsmod15b.c: Likewise.
27959 * elf/tst-tlsmod16a.c: Likewise.
27960 * elf/tst-tlsmod16b.c: Likewise.
27961 * elf/tst-tlsmod7.c: Likewise.
27962 * elf/tst-tlsmod8.c: Likewise.
27963 * elf/tst-tlsmod9.c: Likewise.
27964 * gmon/gmon.c: Likewise.
27965 * grp/fgetgrent_r.c: Likewise.
27966 * grp/putgrent.c: Likewise.
27967 * hurd/fopenport.c: Likewise.
27968 * include/libc-symbols.h: Likewise.
27969 * include/tls.h: Likewise.
27970 * intl/gettextP.h: Likewise.
27971 * intl/loadinfo.h: Likewise.
27972 * locale/global-locale.c: Likewise.
27973 * locale/localeinfo.h: Likewise.
27974 * mach/devstream.c: Likewise.
27975 * malloc/arena.c: Likewise.
27976 * malloc/set-freeres.c: Likewise.
27977 * misc/err.c: Likewise.
27978 * misc/getttyent.c: Likewise.
27979 * misc/mntent_r.c: Likewise.
27980 * posix/getopt.c: Likewise.
27981 * posix/wordexp.c: Likewise.
27982 * pwd/fgetpwent_r.c: Likewise.
27983 * resolv/Versions: Likewise.
27984 * resolv/res_hconf.c: Likewise.
27985 * shadow/fgetspent_r.c: Likewise.
27986 * shadow/putspent.c: Likewise.
27987 * stdio-common/printf_fphex.c: Likewise.
27988 * stdio-common/tmpfile.c: Likewise.
27989 * stdlib/abort.c: Likewise.
27990 * stdlib/fmtmsg.c: Likewise.
27991 * sunrpc/auth_unix.c: Likewise.
27992 * sunrpc/clnt_perr.c: Likewise.
27993 * sunrpc/clnt_tcp.c: Likewise.
27994 * sunrpc/clnt_udp.c: Likewise.
27995 * sunrpc/clnt_unix.c: Likewise.
27996 * sunrpc/openchild.c: Likewise.
27997 * sunrpc/svc_simple.c: Likewise.
27998 * sunrpc/svc_tcp.c: Likewise.
27999 * sunrpc/svc_udp.c: Likewise.
28000 * sunrpc/svc_unix.c: Likewise.
28001 * sunrpc/xdr.c: Likewise.
28002 * sunrpc/xdr_array.c: Likewise.
28003 * sunrpc/xdr_rec.c: Likewise.
28004 * sunrpc/xdr_ref.c: Likewise.
28005 * sunrpc/xdr_stdio.c: Likewise.
28006
1248c1c4
PB
280072011-09-09 Ulrich Drepper <drepper@gmail.com>
28008
28009 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28010
280112011-07-03 Andreas Jaeger <aj@suse.de>
28012
28013 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28014 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28015 regenerate with gen-libm-tests.pl.
28016
280172010-05-12 Petr Baudis <pasky@suse.cz>
28018
28019 [BZ #11589]
28020 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28021 around j0() zero points by switching to j1().
28022 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28023 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28025 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28026
f22e1074
UD
280272011-09-09 Ulrich Drepper <drepper@gmail.com>
28028
f19009c1
UD
28029 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28030 instead of 0.
28031 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28032 instead of 0.
f19009c1
UD
28033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28034 Patch in part by Pavel Roskin <proski@gnu.org>.
28035
3f8cc204
UD
28036 [BZ #13138]
28037 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28038 realloc.
28039 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28040 Free memory block if necessary.
28041
f22e1074
UD
28042 [BZ #12847]
28043 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28044 be NULL. Don't lock in this case.
28045
0a2349f9
RM
280462011-09-09 Roland McGrath <roland@hack.frob.com>
28047
28048 * elf/elf.h (ELFOSABI_GNU): New macro.
28049 (ELFOSABI_LINUX): Define to that.
28050
f3cdd467
DZ
280512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28052
28053 * string/strncat.c (strncat): Undef the symbol in case it has been
28054 defined in bits/string.h.
28055
74718d13
UD
280562011-09-09 Ulrich Drepper <drepper@gmail.com>
28057
633e9e0f
UD
28058 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28059
0a2349f9 28060 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28061 link map.
28062
f9924780
AJ
280632011-08-17 Andreas Jaeger <aj@suse.de>
28064
28065 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28066
7f5517aa
PP
280672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28068 Ian Lance Taylor <iant@google.com>
28069
28070 * math/libm-test.inc (lround_test): New testcase.
28071 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28072
762011fe
UD
280732011-09-08 Ulrich Drepper <drepper@gmail.com>
28074
92963737
UD
28075 * Makefile: Remove support for automatic cvs check-ins.
28076 * Makerules: Likewise.
28077 * config.make.in: Likewise.
28078 * configure.in: Likewise.
28079 * intl/Makefile: Likewise.
28080 * locale/Makefile: Likewise.
28081 * po/Makefile: Likewise.
28082 * posix/Makefile: Likewise.
28083 * sysdeps/gnu/Makefile: Likewise.
28084 * sysdeps/mach/hurd/Makefile: Likewise.
28085 * sysdeps/sparc/sparc32/Makefile: Likewise.
28086
b0727fd8
JS
28087 [BZ #13118]
28088 * posix/Makefile (bug-regex32-ENV): Define.
28089 Patch by John Stanley <jpsinthemix@verizon.net>.
28090
a0f33f99
UD
28091 * misc/Makefile (headers): Add bits/select2.h.
28092 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28093 * misc/bits/select2.h: New file.
28094 * include/bits/select2.h: New file.
28095 * debug/Makefile (routines): Add fdelt_chk.
28096 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28097 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28098 FD_ISSET.
28099 * debug/fdelt_chk.c: New file.
28100
762011fe
UD
28101 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28102 * wcsmbs/test-wmemcmp.c: Likewise.
28103 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28104 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28105
281062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28107
28108 * string/Makefile (strop-tests): Add memcmp.
28109 * string/test-wmemcmp.c: New file.
28110 * string/test-memcmp.c: Add wmemcmp support.
28111
7f513ec8
RM
281122011-09-08 Roland McGrath <roland@hack.frob.com>
28113
0442afb4
RM
28114 [BZ #13153]
28115 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28116 2011-07-19 change.
28117
7f513ec8
RM
28118 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28119 garbage value in a __mach_port_mod_refs call in the cases of the
28120 task-self and thread-self ports.
28121
a12b2239
ST
281222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28123
28124 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28125
610f9ab4
AS
281262011-09-08 Andreas Schwab <schwab@redhat.com>
28127
7f513ec8 28128 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28129
48882a1a
LD
281302011-09-07 Ulrich Drepper <drepper@gmail.com>
28131
b49865be
UD
28132 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28133
fdc86bc9
UD
28134 * elf/dl-libc.c (dlerror_run): Pass back error code from
28135 dl_catch_error.
28136
c966526a
UD
28137 [BZ #13123]
28138 * elf/dl-load.c (lose): Free l_origin if it is valid.
28139
48882a1a
LD
28140 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28141 names.
28142 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28144 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28145 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28146 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28147 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28148
77a2a8b4
AZ
281492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28150
28151 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28152 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28153 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28154 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28155 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28156 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28157 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28158 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28159 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28160 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28161
24f579d8
AM
281622011-08-15 Alan Modra <amodra@gmail.com>
28163
28164 [BZ #13092]
28165 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28166 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28167 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28168 ppc_mcount to static-only-routines.
28169 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28170 __mcount_internal.
28171 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28172 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28173
3d4837df
UD
281742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28175
28176 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28177 for finite and infinity parameters.
28178
22700377
WS
281792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28180
28181 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28182 and add nop instructions for throughput optimization.
28183 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28184
5025581e
WS
281852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28186
28187 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28188 aligned copy for power7 with vector-scalar instructions.
28189 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28190
08a300c9
L
281912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28192
28193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28194 AVX check.
28195
59178ef9
AS
281962011-09-07 Andreas Schwab <schwab@redhat.com>
28197
28198 [BZ #13144]
28199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28200 last change.
28201
e38ba7ab
UD
282022011-09-07 Ulrich Drepper <drepper@gmail.com>
28203
28204 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28205 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28206 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28207 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28208 clock_gettime.
28209
d53a73ac
UD
282102011-09-06 Ulrich Drepper <drepper@gmail.com>
28211
fc8bffcc
UD
28212 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28213 Forgot to demangle the pointer.
28214
ceaa0c5d
UD
28215 * sysdeps/i386/sysdep.h: Define atom_text_section.
28216 * sysdeps/x86_64/sysdep.h: Likewise.
28217 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28218 section with atom_text_section.
28219 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28220 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28221 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28222 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28223 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28224
a77d3c17
UD
28225 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28226 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28227 already be defined. Change to take two parameters and don't assign
28228 result to variable. Adjust all users.
28229 Define INTERNAL_GETTIME if not already defined.
28230 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28231 call.
28232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28233 HAVE_CLOCK_GETTIME_VSYSCALL.
28234 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28235
d53a73ac
UD
28236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28237 gettimeofday vsyscall, just use time.
28238
a8f84144
AS
282392011-09-06 Andreas Schwab <schwab@redhat.com>
28240
28241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28242 <errno.h>.
28243
ef606249
UD
282442011-09-06 Ulrich Drepper <drepper@gmail.com>
28245
28246 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28247 syscall on x86-64.
28248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28249 syscall.
28250 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28251 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28252 syscall if possible.
28253
6585cb60
UD
282542011-09-05 Ulrich Drepper <drepper@gmail.com>
28255
28256 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28257 e_ident. Don't pass to find_mapsXX.
28258 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28259
a5f524e4
LD
282602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28261
28262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28263 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28264 * sysdeps/x86_64/multiarch/strchr.S: Update.
28265 Check bit_slow_BSF bit.
28266 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28267 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28268 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28269
554881ef
UD
282702011-09-05 Ulrich Drepper <drepper@gmail.com>
28271
d96de963
UD
28272 [BZ #13134]
28273 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28274 before glibc 2.15.
28275 (tryshell): Define.
28276 (__spawni): Change last parameter to be flag. Test
28277 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28278 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28279 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28280 * posix/spawni.c: Likewise.
28281 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28282 * posix/spawnp.c: Likewise. Change normal version to use
28283 SPAWN_XFLAGS_USE_PATH.
28284 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28285 SPAWN_XFLAGS_TRY_SHELL.
28286
d48e5868
UD
28287 [BZ #13150]
28288 * posix/glob.h: Remove gcc 1.x support.
28289
554881ef
UD
28290 [BZ #13068]
28291 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28292
693fb948
LD
282932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28294
28295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28296 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28297 strrchr-sse2-bsf
28298 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28299 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28301 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28302 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28304
1b48c537
UD
283052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28306
49d42c37
UD
28307 * sysdeps/x86_64/wcscmp.S: New file.
28308
1b48c537
UD
28309 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28310 wcscmp-c wcscmp-sse2
28311 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28312 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28313 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28314 * wcsmbs/wcscmp.c: Allow renaming.
28315
15c95c5d
DM
283162011-09-05 David S. Miller <davem@davemloft.net>
28317
28318 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28319 stack slot, rather than the struct return pointer slot.
28320 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28321 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28323 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28324
2f0ad8f3
UD
283252011-09-05 Ulrich Drepper <drepper@gmail.com>
28326
d88ae418
UD
28327 * po/ja.po: Update from translation team.
28328
2f0ad8f3
UD
28329 [BZ #13144]
28330 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28331 kernel in 64-bit binaries.
28332
5f4318d1
DM
283332011-09-01 David S. Miller <davem@davemloft.net>
28334
28335 * elf/elf.h (HWCAP_SPARC_*): Move to..
28336 * sysdeps/sparc/sysdep.h: this new file and add new values.
28337 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28338 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28339 _DL_HWCAP_COUNT to 24.
28340 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28341 entries.
28342 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28343 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28344 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28346 instead of magic constants.
28347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28348
3ba57516
DM
283492011-08-31 David S. Miller <davem@davemloft.net>
28350
28351 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28353 Reimplement to do errno handling inline.
28354 (SYSCALL_ERROR_HANDLER): New macro.
28355 (__SYSCALL_STRING): Do not do errno handling in asm.
28356 (__CLONE_SYSCALL_STRING): Delete.
28357 (__INTERNAL_SYSCALL_STRING): Delete.
28358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28359 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28360 (PSEUDO): Reimplement to do errno handling inline.
28361 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28362 (SYSCALL_ERROR_HANDLER): New macro.
28363 (__SYSCALL_STRING): Do not do errno handling in asm.
28364 (__CLONE_SYSCALL_STRING): Delete.
28365 (__INTERNAL_SYSCALL_STRING): Delete.
28366 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28367 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28368 i386.
28369 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28370 (inline_syscall*): Add 'err' argument.
28371 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28372 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28373 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28374 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28375
28376 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28377 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28378
2bc17433
AS
283792011-08-30 Andreas Schwab <schwab@redhat.com>
28380
28381 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28382
fbeb5f4d
JO
283832011-08-29 Jiri Olsa <jolsa@redhat.com>
28384
28385 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28386 directive.
28387
ad69cc26
DM
283882011-08-24 David S. Miller <davem@davemloft.net>
28389
28390 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28391
39dd69df
AS
283922011-08-24 Andreas Schwab <schwab@redhat.com>
28393
28394 * elf/Makefile: Add rules to build and run unload8 test.
28395 * elf/unload8.c: New file.
28396 * elf/unload8mod1.c: New file.
28397 * elf/unload8mod1x.c: New file.
28398 * elf/unload8mod2.c: New file.
28399 * elf/unload8mod3.c: New file.
28400
28401 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28402 it wasn't used.
28403
2c0b250a
DM
284042011-08-23 David S. Miller <davem@davemloft.net>
28405
28406 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28407 subtract stack bias.
28408 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28409 %sp not %fp in calculations.
28410 (_JMPBUF_UNWINDS_ADJ): Likewise.
28411
22044b48
DM
28412 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28413 (aio_suspend): Call it to force an exception region around the
28414 AIO_MISC_WAIT() invocation.
28415
2cae4995
AS
284162011-08-23 Andreas Schwab <schwab@redhat.com>
28417
28418 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28419 backslash.
28420
873a772e
AJ
284212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28422
28423 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28424 protection macro.
28425 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28426 and <dl-machine.h>.
28427 (Elf64_FuncDesc): Remove.
28428
25ad0df1
DM
284292011-08-22 David S. Miller <davem@davemloft.net>
28430
28431 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28432 sigaltstack check, add missing cfi directives.
28433 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28434 missing cfi directives, and sigaltstack handling.
28435
e888bcbe
AS
284362011-08-16 Andreas Schwab <schwab@redhat.com>
28437
28438 [BZ #11724]
28439 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28440 object is seen twice.
28441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28442
28443 * elf/Makefile (distribute): Add tst-initorder2.c.
28444 (tests): Add tst-initorder2.
28445 (modules-names): Add tst-initorder2a tst-initorder2b
28446 tst-initorder2c tst-initorder2d. Add rules to build them.
28447 ($(objpfx)tst-initorder2.out): New rule.
28448 * elf/tst-initorder2.c: New file.
28449 * elf/tst-initorder2.exp: New file.
28450
87162f46
AS
284512011-08-22 Andreas Schwab <schwab@redhat.com>
28452
70538b7f
AS
28453 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28454
f55ffe58
AS
28455 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28456 dependencies back to end of function.
28457
87162f46
AS
28458 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28459 $(elfobjdir)/ld.so.
28460
91b392a4
UD
284612011-08-21 Ulrich Drepper <drepper@gmail.com>
28462
28463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28464 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28465 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28466 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28467 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28468 of __vdso_gettimeofday.
28469 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28470 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28471 attribute_hidden.
28472 (_libc_vdso_platform_setup): Remove initialization of
28473 __vdso_gettimeofday and __vdso_time.
28474
5c43483f
UD
284752011-08-20 Ulrich Drepper <drepper@gmail.com>
28476
775a77e7
UD
28477 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28478 and fgetc_unlocked.
28479 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28480 getc_unlocked.
89f447ed 28481
49c74ba9
UD
28482 * elf/dl-open.c (add_to_global): Report additions to the global scope
28483 for LD_DEBUG=scopes.
28484 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28485 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28486
5c43483f
UD
28487 [BZ #13114]
28488 * stdio-common/Makefile (tests): Add bug24.
28489 * stdio-common/bug24.c: New file.
28490
a101b025
AJ
284912011-08-19 Andreas Jaeger <aj@suse.de>
28492
28493 [BZ #13114]
28494 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28495 non-existant file when using close-on-exec mode.
28496
c88f1766
UD
284972011-08-20 Ulrich Drepper <drepper@gmail.com>
28498
0276a718
UD
28499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28500 the very first instruction.
28501
c88f1766
UD
28502 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28503 the CFI state in the end.
28504 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28505 inclusion of dl-trampoline.h.
28506 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28507
51ccffa0
AS
285082011-08-19 Andreas Schwab <schwab@redhat.com>
28509
94d7165f
AS
28510 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28511 expectations for long double.
28512
51ccffa0
AS
28513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28514 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28515
fd708658 285162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28517
28518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28519 artificual limit depends upon the system page size.
28520
44f0a71e
UD
285212011-08-17 Ulrich Drepper <drepper@gmail.com>
28522
28523 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28524 * resolv/Makefile: Define CFLAGS-libresolv.
28525
8de79a24
AS
285262011-08-17 Andreas Schwab <schwab@redhat.com>
28527
28528 * nss/makedb.c (compute_tables): Make variables used in nested
28529 function static.
28530
27724598
UD
285312011-08-17 Ulrich Drepper <drepper@gmail.com>
28532
c5305d88
UD
28533 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28534 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28535 if buffer was too small.
28536
27724598
UD
28537 * elf/pldd.c (main): Attach to all threads in the process.
28538 Rewrite /proc handling to use *at functions.
28539
076fe015
UD
285402011-08-16 Ulrich Drepper <drepper@gmail.com>
28541
174baab3
UD
28542 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28543 specifies first scope to show.
28544 (dl_open_worker): Update callers. Move printing scope of new
28545 object to before the relocation.
44f0a71e 28546 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28547 * sysdeps/generic/ldsodefs.h: Update declaration.
28548
076fe015
UD
28549 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28550 string for the scope number.
28551
a60df2c3
UD
285522011-08-14 Ulrich Drepper <drepper@gmail.com>
28553
28554 * nscd/servicescache.c (cache_addserv): Make sure written is always
28555 initialized.
28556
5e4287d1
RM
285572011-08-14 Roland McGrath <roland@hack.frob.com>
28558
85ae0589
RM
28559 * sysdeps/i386/i486/bits/atomic.h
28560 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28561 statement expression, so as to suppress "set but not used" warning.
28562 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28563
69f63097
RM
28564 * string/strncat.c (STRNCAT): Use prototype definition.
28565
675456ef
RM
28566 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28567 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28568 -Iprograms here.
28569 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28570 (localedef-modules): Add localedef.
28571 (locale-modules): Add locale.
28572
5e4287d1
RM
28573 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28574 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28575 to avoid a warning.
28576
9c96ff23
DM
285772011-08-14 David S. Miller <davem@davemloft.net>
28578
28579 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28580 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28581
f9ddf089
UD
285822011-08-13 Ulrich Drepper <drepper@gmail.com>
28583
44f0a71e 28584 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28585 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28586 * elf/rtld.c (dl_main): Set l_name of vDSO.
28587 Call _dl_show_scope when DL_DEBUG_SCOPES.
28588 (process_dl_debug): Recognize scopes flag and also set it for all.
28589 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28590 Declare _dl_show_scope.
28591
1dc27704
UD
28592 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28593 (do_dlopen): Pass caller_dlopen to dl_open.
28594 (__libc_dlopen_mode): Initialize caller_dlopen.
28595
f9ddf089
UD
28596 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28597 of libc. Make tolower call locale-independent. Optimize a bit by
28598 using isdigit instead of isalnum.
28599 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28600
9ac533d3
UD
286012011-08-12 Ulrich Drepper <drepper@gmail.com>
28602
28603 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28604 was a dependency or dynamically loaded.
28605
89edf2e9
UD
286062011-08-11 Ulrich Drepper <drepper@gmail.com>
28607
8e999d29
UD
28608 * intl/l10nflist.c: Allow architecture-specific pop function.
28609 * sysdeps/x86_64/l10nflist.c: New file.
28610
89edf2e9
UD
28611 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28612 classification.
28613
14d96785
AS
286142011-08-10 Andreas Schwab <schwab@redhat.com>
28615
28616 * include/dirent.h: Add libc_hidden_proto for scandirat and
28617 scandirat64. Don't declare __scandirat64.
28618 * dirent/scandirat.c: Add libc_hidden_def.
28619 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28620 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28621
6761ac04
DM
286222011-08-10 David S. Miller <davem@davemloft.net>
28623
28624 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28625 enum.
28626 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28627 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28628 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28629
c55fbd1e
UD
286302011-08-09 Ulrich Drepper <drepper@gmail.com>
28631
28632 * Versions.def [libc]: Add GLIBC_2.15.
28633 * dirent/Makefile (routines): Add scandirat and scandirat64.
28634 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28635 GLIBC_2.15.
28636 * dirent/dirent.h: Declare scandirat and scandirat64.
28637 * dirent/scandirat.c: New file.
28638 * dirent/scandirat64.c: New file.
28639 * sysdeps/wordsize-64/scandirat.c: New file.
28640 * sysdeps/wordsize-64/scandirat64.c: New file.
28641 * dirent/opendir.c: Define opendirat.
28642 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28643 using scandirat.
28644 * dirent/scandir64.c: Adjust for scandir.c change.
28645 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28646 __scandirat64, and __scandir_cancel_handler.
28647 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28648 additional parameter and use openat instead of open (outside of ld.so).
28649 Add new __opendir as wrapper around __opendirat.
28650 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28651 here without requiring old scandirat implementation.
28652
879165f2
UD
286532011-08-08 Ulrich Drepper <drepper@gmail.com>
28654
28655 * dirent/scandir.c (cancel_handler): Renamed to
28656 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28657 defined. Adjust users.
28658 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28659 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28660
cb7e923b
UD
286612011-08-04 Ulrich Drepper <drepper@gmail.com>
28662
16292edd
UD
28663 * string/test-string.h (IMPL): Use __STRING to expand name and then
28664 stringify it.
28665
cb7e923b
UD
28666 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28667 of cleanups.
28668
cff82933
LD
286692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28670
28671 * string/Makefile: Update.
28672 (strop-tests): Append strncat.
28673 * string/test-wcscmp.c: New file.
28674 New comprehensive test for wcscmp.
28675 * string/test-strcmp.c: Update.
28676 (WIDE): New define.
28677
9be9bfcc
AS
286782011-07-22 Andreas Schwab <schwab@redhat.com>
28679
28680 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28681 line.
28682
2e96f1c7
AS
286832011-07-26 Andreas Schwab <schwab@redhat.com>
28684
28685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28686 encoding to ACE if AI_IDN.
28687
85188888
JJ
286882011-08-01 Jakub Jelinek <jakub@redhat.com>
28689
28690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28691 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28692
5fa16e9b
LD
286932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28694
28695 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28696 Fix overflow bug in strncat.
28697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28698
28699 * string/test-strncat.c: Update.
28700 Add new tests for checking overflow bugs.
28701
287022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28703
28704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28705 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28706 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28707 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28708 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28709 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28710 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28711 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28712 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28713
28714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28715 (USE_AS_STRCAT): Define.
28716 Add strcat and strncat support.
28717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28718
8c1a459f
AS
287192011-07-25 Andreas Schwab <schwab@redhat.com>
28720
28721 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28722 __n bigger than INT_MAX+1.
28723 (__strncmp_g): Likewise.
28724
bba33c28
UD
287252011-07-23 Ulrich Drepper <drepper@gmail.com>
28726
798be72d
UD
28727 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28728 * libio/stido.h: Likewise.
28729
8accd4dc
UD
28730 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28731 (AF_NFC): Define.
28732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28733 (AF_NFC): Define.
28734
cbff0d96
UD
28735 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28736 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28737 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28738 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28739 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28740
9191c04a
UD
28741 [BZ #13021]
28742 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28743 installed.
28744
bba33c28
UD
28745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28746 typo.
28747 (_dl_x86_64_save_sse): Likewise.
28748
90f139dd
UD
287492011-07-22 Ulrich Drepper <drepper@gmail.com>
28750
1aae088a
UD
28751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28752 OSXSAVE.
28753 (_dl_x86_64_save_sse): Likewise.
28754
8e2045f5
UD
28755 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28756
90f139dd
UD
28757 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28758
1d002f25
AS
287592011-07-21 Andreas Schwab <schwab@redhat.com>
28760
28761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28762 change.
28763 (_dl_x86_64_save_sse): Use correct AVX check.
28764
21137f89
UD
287652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28766
28767 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28768 bug in strncpy/strncat.
28769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28770
a65c0b7a
UD
287712011-07-21 Ulrich Drepper <drepper@gmail.com>
28772
28773 * string/tester.c (test_strcat): Add tests for different alignments
28774 of source and destination.
28775 (test_strncat): Likewise.
28776
6986b98a
UD
287772011-07-20 Ulrich Drepper <drepper@gmail.com>
28778
90bb2039
UD
28779 [BZ #12852]
28780 * posix/glob.c (glob): Check passed in values before using them in
28781 expressions to avoid some overflows.
28782 (glob_in_dir): Likewise.
28783
5644ef54
UD
28784 [BZ #13007]
28785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28786 check for AVX enablement so that we don't crash with old kernels and
28787 new hardware.
28788 * elf/tst-audit4.c: Add same checks here.
28789 * elf/tst-audit6.c: Likewise.
28790
28791 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28792
bfc9dc9b
AS
287932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28794
28795 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28796
702e64bb
UD
287972011-07-20 Ulrich Drepper <drepper@gmail.com>
28798
28799 * po/cs.po: Update from translation team.
28800 * po/bg.po: Likewise.
28801
295e904f
MP
288022011-07-12 Marek Polacek <mpolacek@redhat.com>
28803
28804 * misc/sys/cdefs.h: Add support for const attribute.
28805 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28806 to gnu_dev_{major,minor,makedev} functions.
28807
3ff94596
MP
288082011-07-20 Marek Polacek <mpolacek@redhat.com>
28809
28810 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28811
28b59fca
AS
288122011-07-20 Andreas Schwab <schwab@redhat.com>
28813
28814 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28815 strlen results.
28816
19df733e
AK
288172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28818
28819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28820 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28821 register in order to avoid conflicts with the soft frame pointer
28822 being held in r11 when necessary.
28823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28824 (INTERNAL_VSYSCALL_NCS): Likewise.
28825
c8835729
MP
288262011-07-14 Marek Polacek <mpolacek@redhat.com>
28827
28828 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28829 * elf/dl-fini.c (_dl_fini): Adjust caller.
28830 * elf/dl-close.c (_dl_close_worker): Likewise.
28831 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28832
b902330c
MP
288332011-07-15 Marek Polacek <mpolacek@redhat.com>
28834
8991e135
MP
28835 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28836 "aux_cache->nlibs < 0".
28837
b902330c
MP
28838 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28839 in the reload-count case.
28840
99710781
LD
288412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28842
28843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28844 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28845 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28846 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28847 * sysdeps/x86_64/multiarch/strcat.S: New file.
28848 * sysdeps/x86_64/multiarch/strncat.S: New file.
28849 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28850 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28851 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28852 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28853 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28854 (USE_AS_STRCAT): Define.
28855 Add strcat and strncat support.
28856 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28857 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28858 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28859 * string/strncat.c: Update.
28860 (USE_AS_STRNCAT): Define.
28861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28862 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28863 and i7.
28864 * sysdeps/x86_64/multiarch/init-arch.h
28865 (bit_Prefer_PMINUB_for_stringop): New.
28866 (index_Prefer_PMINUB_for_stringop): Likewise.
28867 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28868 bit_Prefer_PMINUB_for_stringop.
28869
7dc6bd90
UD
288702011-07-19 Ulrich Drepper <drepper@gmail.com>
28871
28872 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28873 buffer64.
28874 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28875 of casting of buffer.
28876 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28877 buffer32 and buffer64.
28878 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28879 writes instead of casting of buffer.
28880 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28881 buffer32.
28882 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28883 casting of buffer.
28884
e0e72284
AS
288852011-07-19 Andreas Schwab <schwab@redhat.com>
28886
28887 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28888
feb1eb0b
UD
288892011-07-19 Ulrich Drepper <drepper@gmail.com>
28890
28891 * nscd/nscd.c (termination_handler): Don't do anything for a database
28892 if it has not yet been initialized.
28893
298711ff
UD
288942011-07-18 Ulrich Drepper <drepper@gmail.com>
28895
28896 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28897
288982011-07-15 Marek Polacek <mpolacek@redhat.com>
28899
28900 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28901
f9d68389
UD
289022011-07-18 Ulrich Drepper <drepper@gmail.com>
28903
28904 * po/nl.po: Update from translation team.
28905 * po/sv.po: Likewise.
28906
db290cf5
RM
289072011-07-16 Roland McGrath <roland@hack.frob.com>
28908
28909 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28910 now disallowed by GCC.
5c550700 28911
fd5e21c7
RM
28912 * configure.in (use-default-link): Default to yes if a test -shared
28913 link meets our qualifications.
28914 * configure: Regenerated.
28915
5c550700
RM
28916 * config.make.in (output-format): New variable.
28917 * configure.in: Check for ld --print-output-format support.
28918 * configure: Regenerated.
28919 * Makerules ($(common-objpfx)format.lds)
28920 [$(output-format) != unknown]: Just use $(output-format),
28921 instead of the linker-script munging.
28922
9fa2c032
RM
289232011-07-14 Roland McGrath <roland@hack.frob.com>
28924
a6928d51
RM
28925 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28926 of $(common-objpfx)shlib.lds.
28927 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28928
661607b3
RM
28929 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28930 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28931
9fa2c032
RM
28932 * configure.in (-z relro check): Adjust test code to add a large
28933 writable data section after it.
28934 * configure: Regenerated.
28935
defe9061
RM
289362011-07-11 Roland McGrath <roland@hack.frob.com>
28937
28938 * configure.in (-z relro check): Fix test code to make the variable
28939 truly const.
28940 * configure: Regenerated.
28941
319b9ad4
UD
289422011-07-11 Ulrich Drepper <drepper@gmail.com>
28943
28944 * nscd/nscd.h (struct traced_file): Define.
28945 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28946 elements. Add traced_files.
28947 (inotify_fd): Declare.
28948 (register_traced_file): Declare.
28949 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28950 (inotify_fd): Export.
28951 (resolv_conf_descr): Remove.
28952 (nscd_init): Move inotify descriptor creation to main.
28953 Don't register files for notification here.
28954 (register_traced_file): New function.
28955 (invalidate_cache): Don't use reset_res to determine whether to call
28956 res_init, go through the list of registered files.
28957 (main_loop_poll): The inotify descriptors are now stored in the
28958 structures for the traced files.
28959 (main_loop_epoll): Likewise
28960 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28961 to __nss_disable_nscd.
28962 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28963 for a database anymore. Check the records for all the registered
28964 files instead.
28965 * nss/Makefile (libnss_files-routines): Add files-init.
28966 (libnss_db-routines): Add db-init.
28967 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28968 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28969 * nss/nss_db/db-init.c: New file.
28970 * nss/nss_files/files-init.c: New file.
28971 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28972 __nss_lookup_function.
28973 (__nss_lookup_function): Call nss_load_library.
28974 (nss_load_all_libraries): New function.
28975 (__nss_disable_nscd): Take parameter with callback function for files
28976 to register. Set is_nscd. Load all the DSOs for the NSS modules
28977 used for the cached services.
28978 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28979 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28980 options for features to all the files in nscd.
28981
28982 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28983
23bee3e8
RM
289842011-07-10 Roland McGrath <roland@hack.frob.com>
28985
28986 * csu/elf-init.c (__libc_csu_init): Comment typo.
28987
46a5b7f0
UD
289882011-07-09 Ulrich Drepper <drepper@gmail.com>
28989
28990 * po/pl.po: Update from translation team.
28991 * po/ja.po: Likewise.
28992 * po/ru.po: Likewise.
28993 * po/ko.po: Likewise.
28994 * po/fr.po: Likewise.
28995
d30cf5bb
RM
289962011-07-09 Roland McGrath <roland@hack.frob.com>
28997
113ddea4
RM
28998 * configure.in (.ctors/.dtors header and trailer check):
28999 Use an empirical test on a built program.
29000 * configure: Regenerated.
29001
574920b4
RM
29002 * configure.in (-z relro check): Use an empirical test on a built DSO.
29003 Detect, but do not require, on ia64.
29004 * configure: Regenerated.
29005
d30cf5bb
RM
29006 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29007 Update tests that use readelf to use $READELF instead.
29008 * configure: Regenerated.
29009
8538fdb3
UD
290102011-07-08 Ulrich Drepper <drepper@gmail.com>
29011
29012 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29013 if the result is not used.
29014
04d08991
AJ
290152011-07-05 Andreas Jaeger <aj@suse.de>
29016
29017 [BZ#9696]
29018 * stdlib/tst-strtod.c: Add testcase.
29019
de283087
AD
290202011-07-07 Ulrich Drepper <drepper@gmail.com>
29021
4e5f31c8 29022 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29023 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29024 The latter has a higher limit. Take additional parameter to pass to
29025 the new function.
29026 (__pathconf): Pass file to __statfs_link_max.
29027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29028 __statfs_link_max.
29029 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29030 __statfs_link_max.
29031
de283087
AD
29032 [BZ #12868]
29033 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29034 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29035 Handle Lustre.
29036 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29037 (__statfs_filesize_max): Likewise.
29038 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29039
c75fa153
AJ
290402011-07-05 Andreas Jaeger <aj@suse.de>
29041
29042 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29043
1a544854
UD
290442011-07-06 Marek Polacek <mpolacek@redhat.com>
29045
29046 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29047 `status' variable.
29048 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29049 Likewise.
29050
6f0eec67
UD
290512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29052
29053 * Makefile (strop-tests): Add strncat.
29054 * string/test-strncat.c: New file.
29055
aae30307
UD
290562011-06-30 Marek Polacek <mpolacek@redhat.com>
29057
29058 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29059
c0cfb5eb
UD
290602011-06-21 Andreas Jaeger <aj@suse.de>
29061
29062 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29063 Copy rule from iconvdata/Makefile.
29064
01636b21
UD
290652011-07-06 Ulrich Drepper <drepper@gmail.com>
29066
29067 [BZ #12922]
29068 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29069 but no long options are defined, just return 'W'.
29070
9895c8bc
UD
290712011-06-22 Marek Polacek <mpolacek@redhat.com>
29072
29073 [BZ #9696]
29074 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29075
5d4cf042
UD
290762011-07-06 Ulrich Drepper <drepper@gmail.com>
29077
29078 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29079 netgroups to read.
960e5535 29080 (innetgr): Likewise.
5d4cf042 29081
751eb97e
RM
290822011-07-05 Roland McGrath <roland@hack.frob.com>
29083
29084 * config.make.in (install_root): Default to $(DESTDIR).
29085
f15f1e45
UD
290862011-07-05 Ulrich Drepper <drepper@gmail.com>
29087
29088 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29089
4e34ac6a
RM
290902011-07-02 Roland McGrath <roland@hack.frob.com>
29091
5e9b6af4
RM
29092 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29093
84f9ea0f
RM
29094 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29095 containing directory rather than embedding absolute directory names.
29096
ea5ee9f7
RM
29097 * scripts/check-local-headers.sh: Rewritten using awk.
29098 Match by word, not by line. Print error messages for matches.
29099 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29100
1b74661a
RM
29101 * Makerules [shlib-lds-flags empty]:
29102 ($(common-objpfx)libc_pic.opts): New target.
29103 ($(common-objpfx)libc_pic.os.clean): New target.
29104 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29105
29106 * config.make.in (OBJCOPY): New variable.
29107 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29108 * configure: Regenerated.
29109
f781ef40
RM
29110 * config.make.in (use-default-link): New variable.
29111 * configure.in (use_default_link): Grok --with-default-link to set it.
29112 * configure: Regenerated.
29113 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29114 (shlib-lds, shlib-lds-flags): Define to empty.
29115
2d4fa81e
RM
29116 * Makerules (shlib-lds): New variable.
29117 (shlib-lds-flags): New variable.
29118 (build-shlib, build-moduile, build-module-asneeded): Use it.
29119 ($(common-objpfx)libc.so): Use $(shlib-lds).
29120 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29121 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29122
31fffa6b
RM
29123 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29124 DT_FLAGS/DT_FLAGS_1 with zero flags.
29125
4e34ac6a
RM
29126 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29127 linker script munging.
29128
fcfc776b
UD
291292011-07-02 Ulrich Drepper <drepper@gmail.com>
29130
29131 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29132 as 128-bit value.
29133 * crypt/sha512.c (sha512_process_block): Perform total addition using
29134 128-bit if possible.
29135 (__sha512_finish_ctx): Likewise.
29136 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29137 as 64-bit value.
29138 * crypt/sha256.c (SWAP64): Define.
29139 (sha256_process_block): Perform total addition using 64-bit if
29140 possible.
29141 (__sha256_finish_ctx): Likewise.
29142
99231d9a
UD
291432011-07-01 Ulrich Drepper <drepper@gmail.com>
29144
29145 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29147 * nscd/hstcache.c (cache_addhst): Likewise.
29148 * nscd/grpcache.c (cache_addgr): Likewise.
29149 * nscd/aicache.c (addhstaiX): Likewise
29150 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29151
445b4a53
TK
291522011-07-01 Thorsten Kukuk <kukuk@suse.de>
29153
29154 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29155 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29156 * nscd/hstcache.c (cache_addhst): Likewise.
29157 * nscd/grpcache.c (cache_addgr): Likewise.
29158 * nscd/aicache.c (addhstaiX): Likewise
29159
6d4d8e8e
AS
291602011-07-01 Andreas Schwab <schwab@redhat.com>
29161
29162 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29163 domain only when needed.
29164
89f654c5
AS
291652011-06-30 Andreas Schwab <schwab@redhat.com>
29166
29167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29168 is always restored.
29169
cf3b23ff
UD
291702011-06-29 Ulrich Drepper <drepper@gmail.com>
29171
29172 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29173 are re-adding the entry.
29174 * nscd/servicescache.c (cache_addserv): Likewise.
29175
751626f9
AJ
291762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29177
29178 * sysdeps/generic/dl-irel.h: fix protection against multiple
29179 inclusions.
29180 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29181
9113ea1f
UD
291822011-06-28 Ulrich Drepper <drepper@gmail.com>
29183
5c0b8d90
UD
29184 [BZ #12935]
29185 * malloc/memusage.sh: Fix quoting in message.
29186 * debug/xtrace.sh: Likewise.
29187
9113ea1f
UD
29188 * configure.in: Remove support for --experimental-malloc option, make
29189 it the default.
29190 * config.make.in: Likewise.
29191 * malloc/Makefile: Likewise.
29192
a4172181
AS
291932011-06-27 Andreas Schwab <schwab@redhat.com>
29194
29195 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29196 two-byte characters.
29197
78a7eee7
RM
291982011-06-27 Roland McGrath <roland@hack.frob.com>
29199
62bede13
RM
29200 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29201 AC_CACHE_CHECK invocation.
29202 * configure: Regenerated.
29203
78a7eee7
RM
29204 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29205
5ce33a62
UD
292062011-06-27 Ulrich Drepper <drepper@gmail.com>
29207
034807a9
UD
29208 [BZ #12350]
29209 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29210 bit from old_res_options.
29211
4902da17
UD
29212 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29213
5ce33a62
UD
29214 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29215 value type for setfct.
29216
c2344f56
L
292172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29218
29219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29220 __gettimeofday instead of gettimeofday.
29221
68468076
UD
292222011-06-26 Ulrich Drepper <drepper@gmail.com>
29223
29224 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29225
acb0d739
L
292262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29227
29228 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29229
29230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29231 info.
29232
8912479f
L
292332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29234
29235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29236 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29237 strcpy-sse2-unaligned strncpy-sse2-unaligned
29238 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29239 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29240 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29241 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29242 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29243 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29244 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29245 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29246 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29247 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29248 (STRCPY): Support SSE2 and SSSE3 versions.
29249
d5495a11
UD
292502011-06-24 Ulrich Drepper <drepper@gmail.com>
29251
29252 [BZ #12874]
29253 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29254 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29255 kernels which artificially limit size of requests.
29256
0b1cbaae
L
292572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29258
29259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29260 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29261 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29262 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29263 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29264 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29265 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29266 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29269 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29270 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29271 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29272 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29273 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29275 Enable unaligned load optimization for Intel Core i3, i5 and i7
29276 processors.
29277 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29278 Define.
29279 (index_Fast_Unaligned_Load): Define.
29280 (HAS_FAST_UNALIGNED_LOAD): Define.
29281
07f494a0
MP
292822011-06-23 Marek Polacek <mpolacek@redhat.com>
29283
29284 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29285
fa3fc0fe
UD
292862011-06-22 Ulrich Drepper <drepper@gmail.com>
29287
29288 [BZ #12907]
29289 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29290 until it is clear that the information is realy needed.
29291 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29292
e12df166
AS
292932011-06-22 Andreas Schwab <schwab@redhat.com>
29294
29295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29296
852eb34d
UD
292972011-06-22 Ulrich Drepper <drepper@gmail.com>
29298
84e2a551
UD
29299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29300 /sys/devices/system/cpu/online if it is usable.
29301
852eb34d
UD
29302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29303 reading the information from the /proc filesystem to once a second.
29304
6e502e19
UD
293052011-06-21 Andreas Jaeger <aj@suse.de>
29306
29307 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29308 NULL after inclusion of kernel headers.
29309
75d39ff2
UD
293102011-06-21 Ulrich Drepper <drepper@gmail.com>
29311
51f9aa6a
UD
29312 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29313 calls to internal_setent.
29314
c0244a9d
UD
29315 [BZ #12885]
29316 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29317 addresses using gethostbyname4_r ignore IPv4 addresses.
29318
c5e3c2ae
UD
29319 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29320 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29321
75d39ff2
UD
29322 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29323
42675c6f
DM
293242011-06-20 David S. Miller <davem@davemloft.net>
29325
29326 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29327 inclusions.
29328 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29329
29330 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29331 (elf_irel): Use it.
29332 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29333 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29334 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29335 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29336 * sysdeps/x86_64/dl-irel.h: Likewise.
29337
29338 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29339 * elf/dl-sym.c: Likewise.
29340
57912a71
UD
293412011-06-15 Ulrich Drepper <drepper@gmail.com>
29342
29343 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29344 need to dereference resplen2.
29345
ee22793d
AS
293462011-06-14 Andreas Schwab <schwab@redhat.com>
29347
29348 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29349
a9e836b0
UD
293502011-06-15 Ulrich Drepper <drepper@gmail.com>
29351
77fb9117
UD
29352 * Makeconfig: Define vardbdir and inst_vardbdir.
29353 * nss/Makefile: Add rules to install db-Makefile.
29354
40c1b22c
UD
29355 * nss/nss_db/db-XXX.c: Cleanup.
29356
9f2da732
UD
29357 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29358 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29359 GLIBC_PRIVATE.
29360 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29361 * nss/makedb.c: Implement -g option to specify that value strings
29362 are generated and should not be added to table iterated over for
29363 get*ent calls.
29364 * nss/nss_db/db-initgroups.c: New file.
29365
82e9a1f7
UD
29366 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29367 interface.
29368
c41af17e
UD
29369 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29370 (internal_getgrouplist): Adjust to name change.
29371 Update use_initgroups_entry if this is not the first call.
29372 * nss/databases.def: Add initgroups entry.
29373
a9e836b0
UD
29374 * nss/makedb.c (compute_tables): Check result of multiple hash table
29375 sizes to minimize maximum chain length.
29376
2666d441
UD
293772011-06-14 Ulrich Drepper <drepper@gmail.com>
29378
29379 * Versions.def: Add entry for libnss_db.
29380 * shlib-versions: Likewise.
29381 * nss/Makefile: Add rules to build libnss_db.
29382 * nss/Versions: Add libnss_db information. Organize libnss_files
29383 entries better.
29384 * nss/db-Makefile: Add gshadow support. Change rules for the new
29385 makedb progra. Some minor improvements to generate smaller files.
29386 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29387 here from...
29388 * nss/makedb.c: ...here.
29389 Improve database format to be smaller and require less memory at
29390 runtime.
29391 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29392 db anymore.
29393 * nss/nss_db/db-netgrp.c: Likewise.
29394 * nss/nss_db/db-open.c: Likewise.
29395 * nss/nss_files/flies-XXX.x: Adjust comments.
29396 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29397 * nss/nss_files/files-grp.c: Likewise.
29398 * nss/nss_files/files-hosts.c: Likewise.
29399 * nss/nss_files/files-network.c: Likewise.
29400 * nss/nss_files/files-proto.c: Likewise.
29401 * nss/nss_files/files-pwd.c: Likewise.
29402 * nss/nss_files/files-rpc.c: Likewise.
29403 * nss/nss_files/files-service.c: Likewise.
29404 * nss/nss_files/files-sgrp.c: Likewise.
29405 * nss/nss_files/files-spwd.c: Likewise.
29406 * nss/nss_db/db-alias.c: Removed.
29407 * nss/nss_db/dummy-db.h: Removed.
29408
9ee76b5a
UD
294092011-06-02 Ulrich Drepper <drepper@gmail.com>
29410
29411 * nss/makedb.c: Rewritten to not use database library.
29412 * nss/Makefile: Update to build new makedb program.
29413
c71ca1f8
AJ
294142011-06-14 Andreas Jaeger <aj@suse.de>
29415
29416 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29417 memset declaration.
29418
3154bfb8
UD
294192011-06-10 Andreas Schwab <schwab@redhat.com>
29420
29421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29422 tmpbuf.
29423
b350afab
RM
294242011-06-10 Roland McGrath <roland@hack.frob.com>
29425
decd4e50
RM
29426 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29427 * elf/Makefile ($(objpfx)ld.so): Likewise.
29428
5615eaf2
RM
29429 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29430 Don't list ld.so twice in dependencies.
29431
29432 * posix/bug-regex31.c: Include <stdlib.h>.
29433
29434 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29435
29436 * nis/nss_compat/compat-spwd.c
29437 (getspent_next_nss_netgr): Remove unused variable.
29438 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29439
29440 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29441 nonmembers" output to use the right array.
29442
29443 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29444
29445 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29446
29447 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29448 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29449 * catgets/gencat.c (read_input_file): Likewise.
29450 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29451
29452 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29453 variable definition inside #if's controlling its use.
29454
29455 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29456
29457 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29458
29459 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29460
29461 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29462 unreachable code.
29463
29464 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29465
b68e08db
RM
29466 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29467 * configure: Regenerated.
29468
b350afab
RM
29469 * Makerules: Revert last change.
29470 * elf/Makefile: Likewise.
29471
28368601
RM
294722011-06-09 Roland McGrath <roland@hack.frob.com>
29473
29474 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29475 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29476 (reloc-link): Likewise.
29477
11988f8f
UD
294782011-06-09 Ulrich Drepper <drepper@gmail.com>
29479
29480 * elf/Makefile: Add rules to build pldd.
29481 * elf/pldd.c: New file.
29482 * elf/pldd-xx.c: New file.
29483
e80fab37
UD
294842011-06-07 Ulrich Drepper <drepper@gmail.com>
29485
29486 * version.h: Update for 2.15 development version.
29487
9b849836
DM
294882011-06-07 David S. Miller <davem@davemloft.net>
29489
29490 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29491 ifuncs.
29492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29493 elf_machine_lazy_rel): Likewise.
29494 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29496 elf_machine_lazy_rel): Likewise.
29497 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29498 dl_hwcap via passed in argument.
29499 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29500 Likewise.
29501
5a31b283
AK
295022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29503
29504 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29505
069e52f8
RM
295062011-06-06 Roland McGrath <roland@hack.frob.com>
29507
29508 [BZ #12849]
29509 * manual/fdl-1.1.texi: New file, verbatim from:
29510 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29511 * manual/lgpl-2.1.texi: New file, verbatim from:
29512 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29513 * manual/Makefile (licenses): New variable, list those new file names.
29514 (texis): Use it.
29515 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29516
29517 * manual/fdl.texi: File removed.
29518 * manual/lesser.texi: File removed.
29519 * manual/libc.texinfo (Copying, Documentation License):
29520 Use new @include file names, put @appendix directive before @include.
29521
f16846a5
JJ
295222011-06-04 Jakub Jelinek <jakub@redhat.com>
29523
29524 [BZ #12841]
29525 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29526 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29527 (mq_open): Add __NTH.
29528
3d29045b
L
295292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29530
29531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29532 Assume Intel Core i3/i5/i7 processor if AVX is available.
29533
8c297311
UD
295342011-05-31 Ulrich Drepper <drepper@gmail.com>
29535
29536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29537 typo.
29538
c8fc0c91
UD
295392011-05-31 Andreas Schwab <schwab@redhat.com>
29540
29541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29542 memory. Use alloca_account. Fix memory leak when retrying.
29543
5b27a807
UD
295442011-05-31 Ulrich Drepper <drepper@gmail.com>
29545
356f8bc6
UD
29546 * version.h (RELEASE): Bump for 2.14 release.
29547 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29548
5b27a807
UD
29549 * config.make.in (RANLIB): Remove entry.
29550
01f16ab0
UD
295512011-05-30 Ulrich Drepper <drepper@gmail.com>
29552
41fce8bd
UD
29553 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29554 (libc.pot): Work around missing support for .ksh extension in xgettext.
29555
4769ae77
UD
29556 [BZ #12684]
29557 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29558 if both request failed.
29559 (send_dg): In case of server errors clear resplen or *resplen2.
29560
6b1e7d19
UD
29561 [BZ #12454]
29562 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29563 when there are multiple maps.
29564 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29565 (_dl_fini): Remove test here.
29566
01f16ab0
UD
29567 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29568
b1ebd700
UD
295692011-05-29 Ulrich Drepper <drepper@gmail.com>
29570
7ae22829
UD
29571 [BZ #12350]
29572 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29573 bit from old_res_options.
29574 (gaih_inet): Likewise.
29575
553149f6 29576 [BZ #11099]
18a84741 29577 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29578 as signed.
29579
652ffab1
UD
29580 * resolv/res_init.c (res_setoptions): Make the code more compact.
29581
16985fd0
UD
29582 [BZ #11558]
29583 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29584 set RES_USEVC.
29585
0464f746
UD
29586 [BZ #11634]
29587 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29588
7d17596c
UD
29589 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29590
cf6bbbd7
UD
29591 [BZ #11781]
29592 * malloc/malloc.h: Declare malloc hook variables as volatile.
29593
13f1ab36
UD
29594 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29595 in last patch.
29596
b1ebd700
UD
29597 [BZ #11799]
29598 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29599 raise in the comment.
80e2212d
UD
29600 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29602 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29603
ce67228d
UD
296042011-05-28 Ulrich Drepper <drepper@gmail.com>
29605
8887a920
UD
29606 [BZ #12811]
29607 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29608 grow the buffers more if it already has to be sufficient.
29609 (build_wcs_upper_buffer): Likewise.
29610 * posix/regexec.c (check_matching): Likewise.
29611 (clean_state_log_if_needed): Likewise.
29612 (extend_buffers): Don't enlarge buffers beyond size of the input
29613 buffer.
29614 Patches mostly by Emil Wojak <emil@wojak.eu>.
29615 * posix/bug-regex32.c: New file.
29616 * posix/Makefile (tests): Add bug-regex32.
29617
4f031072
UD
29618 * locale/findlocale.c (_nl_find_locale): Return right away if
29619 _nl_explode_name failed.
29620 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29621
d0478f0c
UD
29622 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29623
de81b246
UD
29624 * debug/xtrace.sh: Unify messages.
29625 * malloc/memusage.sh: Likewise.
29626
c738465a
UD
29627 [BZ #12813]
29628 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29629 time symbol from vDSO. Substitute with vsyscall if not available.
29630 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29631 __vdso_time.
29632
f1f929d7
UD
29633 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29634 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29635 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29636 Add sendmmsg and internal_sendmmsg.
29637 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29638 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29639 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29640
ce67228d
UD
29641 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29642 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29643 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29644
e57420c6
UD
296452011-05-27 Ulrich Drepper <drepper@gmail.com>
29646
a8509ca5
UD
29647 [BZ #12813]
29648 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29649 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29650 available.
29651 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29652 __vdso_getcpu.
29653
e57420c6
UD
29654 [BZ #12814]
29655 * iconvdata/Makefile (tests): Add bug-iconv9.
29656 * iconvdata/bug-iconv9.c: New file.
29657
4d07db15
AS
296582011-05-27 Andreas Schwab <schwab@redhat.com>
29659
29660 [BZ #12814]
29661 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29662
ea486f69
JJ
296632011-05-25 Jakub Jelinek <jakub@redhat.com>
29664
29665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29666 (struct user_regs_struct): Change intcs field back to cs.
29667
6f038433
UD
296682011-05-25 Ulrich Drepper <drepper@gmail.com>
29669
29670 * po/ja.po: Update from translation team.
29671
67f86a25
UD
296722011-05-23 Ulrich Drepper <drepper@gmail.com>
29673
29674 [BZ #12795]
29675 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29676 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29677
def7fbd6
AS
296782011-05-20 Andreas Schwab <schwab@redhat.com>
29679
29680 * stdlib/longlong.h: Update from GCC.
29681
f50ef8f1
AS
296822011-05-23 Andreas Schwab <schwab@redhat.com>
29683
29684 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29685 parameter name.
29686 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29687 Add parameter name.
29688 (__sysconf): Pass it down.
29689
de7ce8f1
UD
296902011-05-22 Ulrich Drepper <drepper@gmail.com>
29691
f2962a71
UD
29692 [BZ #12671]
29693 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29694 some situations.
29695 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29696 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29697 add in in __libc_use_alloca calls. Adjust callers.
29698 (glob): Use malloc in some situations.
29699
de7ce8f1
UD
29700 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29701 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29702 pltexit.
29703
aec84f53
UD
297042011-05-21 Ulrich Drepper <drepper@gmail.com>
29705
05bb4a68
UD
29706 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29707 and CLOCK_BOOTTIME_ALARM.
29708
7ea72f99
UD
29709 [BZ #12782]
29710 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29711 is returned.
29712
7e4afad5
UD
29713 * string/_strerror.c (__strerror_r): Print negative errors as signed
29714 numbers.
29715
8e211fec
UD
29716 [BZ #12777]
29717 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29718 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29719 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29720
f7d82dc9
UD
29721 * configure.in: Fix typo in redirection and correct removal of test
29722 files in two cases.
29723
cc9e536d
UD
29724 [BZ #12788]
29725 * locale/setlocale.c (new_composite_name): Fix test to check for
29726 identical name of all categories.
29727
aec84f53
UD
29728 [BZ #12792]
29729 * libio/filedoalloc.c (local_isatty): New function.
29730 (_IO_file_doallocate): Use local_isatty.
29731 * stdio-common/perror.c (perror): In case a new stream is used
29732 forward the stream error.
29733 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29734 error flag.
29735
78e64fdc
RT
297362011-05-20 Ulrich Drepper <drepper@gmail.com>
29737
34a9094f
UD
29738 [BZ #11869]
29739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29740 alloca.
29741 * include/alloca.h (extend_alloca_account): Define.
29742
78e64fdc
RT
29743 [BZ #11857]
29744 * posix/regex.h: Fix comments with documentation of user-accessible
29745 fields after compilation and describe correct free'ing of pattern
29746 after re_compile_pattern.
29747 Patch by Reuben Thomas <rrt@sc3d.org>.
29748
457bddfc
RA
297492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29750
29751 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29752 and -mno-altivec to prevent the compiler from using Altivec and/or
29753 VSX instructions when the corresponding registers are not available.
29754
a4527b51
AS
297552011-05-19 Andreas Schwab <schwab@redhat.com>
29756
29757 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29758
ed690b2f
UD
297592011-05-19 Ulrich Drepper <drepper@gmail.com>
29760
29761 * libio/freopen.c (freopen): Use __dup2, not dup2.
29762 * libio/freopen64.c (freopen64): Likewise.
29763
8db73634
L
297642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29765
29766 [BZ #12775]
29767 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29768 * math/Makefile (tests): Add test-powl.
29769 (CFLAGS-test-powl.c): Define.
29770 * math/test-powl.c: New file.
29771
0a197a9d
L
297722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29775
ee30c380
UD
297762011-05-17 Ulrich Drepper <drepper@gmail.com>
29777
29778 [BZ #11837]
29779 * iconvdata/gb18030.c: Update to GB18020-2005.
29780
6ce75379
UD
297812011-05-16 Ulrich Drepper <drepper@gmail.com>
29782
a4b89fd8
AR
29783 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29784 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29785 Patch by Aharon Robbins <arnold@skeeve.com>.
29786
ea389b12
UD
29787 [BZ #11892]
29788 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29789 on the stack.
29790
68a3f91f
UD
29791 [BZ #11895]
29792 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29793 through underflows.
29794
15cc7dd1
UD
29795 [BZ #12766]
29796 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29797 point to strings before performing equality test for error_one_per_line
29798 mode.
29799
f3799213
UD
29800 [BZ #11697]
29801 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29802
d79a9c94
UD
29803 [BZ #11820]
29804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29805 (struct user_fpregs_struct): Avoid __uint*_t types.
29806
56e5eb46
UD
29807 [BZ #6420]
29808 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29809 symbol info. Use it instead of calling _dl_addr locally.
29810 (lock_and_info): New function.
29811 (tr_freehook): Call lock_and_info and pass symbol info as additional
29812 parameter to tr_where.
29813 (tr_mallochook): Likewise.
29814 (tr_reallochook): Likewise.
29815 (tr_memalignhook): Likewise.
29816
6ce75379
UD
29817 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29818 used and couldn't be at all thread-safe.
29819
f8a3b5bf
UD
298202011-05-15 Ulrich Drepper <drepper@gmail.com>
29821
94b7cc37
UD
29822 * libio/freopen.c (freopen): Don't close old file descriptor
29823 before the new one is opened. Instead dup the new file descriptor
29824 to the old one after the new stream is created.
29825 * libio/freopen64.c (freopen64): Likewise.
29826 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29827 * libio/fileops.c (_IO_new_file_close_it): Handle new
29828 _IO_FLAGS2_NOCLOSE flag.
29829 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29830 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29831 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29832 _IO_FLAGS2_NOCLOSE flag.
29833 * include/unistd.h: Add hidden_proto for dup3.
29834 Define __have_dup3.
29835 * io/dup3.c: Define hidden symbol.
29836 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29837
bd25564e
UD
29838 [BZ #7101]
29839 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29840 when an incomplete long option is used.
29841 * posix/tst-getopt_long1.c: New file.
29842 * posix/Makefile (tests): Add tst-getopt_long1.
29843
c84cfef4
UD
29844 [BZ #10138]
29845 * scripts/config.guess: Update from autoconf-2.68.
29846 * scripts/config.sub: Likewise.
29847
3b85df27
UD
29848 [BZ #10157]
29849 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29850 tests into ...
29851 (has_cpuclock): ...this. New function.
29852 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29853 macro here based on has_cpuclock code.
29854
15a856b1
UD
29855 [BZ #10149]
29856 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29857 First byte (not low byte) is now always NUL.
29858 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29859
05f399e6
UD
29860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29861 Use non-cancelable interfaces.
29862
10a52685 29863 [BZ #9809]
94ecc67d
UD
29864 * locale/iso-639.def: Add entry for Sorani.
29865
f8a3b5bf
UD
29866 [BZ #11901]
29867 * include/stdlib.h: Move include protection to the right place.
29868 Define abort_msg_s. Declare __abort_msg with it.
29869 * stdlib/abort.c (__abort_msg): Adjust type.
29870 * assert/assert.c (__assert_fail_base): New function. Majority
29871 of code from __assert_fail. Allocate memory for __abort_msg with
29872 mmap.
29873 (__assert_fail): Now call __assert_fail_base.
29874 * assert/assert-perr.c: Remove bulk of implementation. Use
29875 __assert_fail_base.
29876 * include/assert.hL Declare __assert_fail_base.
29877 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29878 mmap.
29879 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29880
1af4e298
UD
298812011-05-14 Ulrich Drepper <drepper@gmail.com>
29882
f8a3b5bf 29883 [BZ #11952]
d26dfc60
MG
29884 [BZ #12453]
29885 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29886 until all modules are registered in the DTV.
29887 * elf/Makefile: Add rules to build and run tst-tls19.
29888 * elf/tst-tls19.c: New file.
29889 * elf/tst-tls19mod1.c: New file.
29890 * elf/tst-tls19mod2.c: New file.
29891 * elf/tst-tls19mod3.c: New file.
29892 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29893
2fc54d6f
UD
29894 [BZ #12083]
29895 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29896 correctly.
29897
98d76b46
UD
29898 [BZ #12601]
29899 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29900 two-byte sequence errors.
29901 * iconvdata/Makefile (tests): Add bug-iconv8.
29902 * iconvdata/bug-iconv8.c: New file.
29903
da3c19ef
UD
29904 [BZ #12626]
29905 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29906 buf2 definition.
29907
ca408c15
UD
29908 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29909
d6f67f7d
UD
29910 [BZ #12432]
29911 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29912 (dummy_getcfa): New function.
29913 (init): Get _Unwind_GetCFA address, use dummy if not found.
29914 (backtrace_helper): In recursion check, also check whether CFA changes.
29915 (__backtrace): Completely initialize arg.
29916
1af4e298 29917 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29918 storing incomplete byte sequence in state object. Avoid testing for
29919 guaranteed too small input if we know there is enough data available.
1af4e298 29920
da62f81b
AS
299212011-05-11 Andreas Schwab <schwab@redhat.com>
29922
29923 * Makeconfig (+link-pie): Indent.
29924 * Rules (binaries-pie): Define if $(have-fpie) and
29925 $(build-shared).
29926 (binaries-shared): Also filter out $(binaries-pie).
29927 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29928 * nscd/Makefile (others-pie): Add nscd.
29929 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29930 ($(objpfx)nscd): Remove command override.
29931 * login/Makefile (others-pie): Add pt_chown.
29932 ($(objpfx)pt_chown): Remove command override.
29933 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29934 remove command overrides.
29935
fcabc0f8
UD
299362011-05-13 Ulrich Drepper <drepper@gmail.com>
29937
20030ae6
UD
29938 * libio/tst_putwc.c: Fix error messages.
29939
fcabc0f8
UD
29940 [BZ #12724]
29941 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29942 currently writing and seek to current position when not.
29943 * libio/Makefile (tests): Add bug-fclose1.
29944 * libio/bug-fclose1.c: New file.
29945
320a5dc0
PB
299462011-05-12 Ulrich Drepper <drepper@gmail.com>
29947
29948 [BZ #12511]
29949 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29950 don't set DF_1_NODELETE here.
29951 (do_lookup_x): When entering new entry test for copy relocation
29952 and if necessary set DF_1_NODELETE flag.
29953 * elf/tst-unique4.cc: New file.
29954 * elf/tst-unique4.h: New file.
29955 * elf/tst-unique4lib.cc: New file.
29956 * elf/Makefile: Add rules to build and run tst-unique4.
29957 Patch by Piotr Bury <pbury@goahead.com>.
29958
22836f52
UD
299592011-05-11 Ulrich Drepper <drepper@gmail.com>
29960
f574184a
UD
29961 [BZ #12052]
29962 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29963
e1fb097f
UD
29964 [BZ #12625]
29965 * misc/mntent_r.c (addmntent): Flush the stream after the output
29966
22836f52
UD
29967 [BZ #12393]
29968 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29969 (is_trusted_path_normalize): Skip initial colon. Append slash
29970 to empty buffer. Duplicate is_trusted_path code but allow
29971 constructed patch to be prefix.
29972 (is_dst): Allow $ORIGIN followed by /.
29973 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29974 Correct testing of result of is_trusted_path_normalize
29975 (decompose_rpath): Fix warning.
29976
7b3b0b2a
UD
299772011-05-10 Ulrich Drepper <drepper@gmail.com>
29978
29979 [BZ #11257]
29980 * grp/initgroups.c (internal_getgrouplist): When we found the service
29981 list through the initgroups entry in nsswitch.conf do not always
29982 continue on a successful lookup. Don't always use the
eac80ce2 29983 __nss_group_database value if it is set.
7b3b0b2a
UD
29984 * nss/nsswitch.conf (initgroups): Change action for successful db
29985 lookup to continue for compatibility.
29986
2a81eaa5
UD
299872011-05-09 Ulrich Drepper <drepper@gmail.com>
29988
be97a69e
UD
29989 [BZ #11532]
29990 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29991 and CP774 modules.
29992 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29993 and CP774 modules.
29994 * iconvdata/tst-tables.sh: Likewise.
29995 * iconvdata/cp770.c: New file.
29996 * iconvdata/cp771.c: New file.
29997 * iconvdata/cp772.c: New file.
29998 * iconvdata/cp773.c: New file.
29999 * iconvdata/cp774.c: New file.
30000 * iconvdata/testdata/CP770: New file.
30001 * iconvdata/testdata/CP770..UTF8: New file.
30002 * iconvdata/testdata/CP771: New file.
30003 * iconvdata/testdata/CP771..UTF8: New file.
30004 * iconvdata/testdata/CP772: New file.
30005 * iconvdata/testdata/CP772..UTF8: New file.
30006 * iconvdata/testdata/CP773: New file.
30007 * iconvdata/testdata/CP773..UTF8: New file.
30008 * iconvdata/testdata/CP774: New file.
30009 * iconvdata/testdata/CP774..UTF8: New file.
30010
30011 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30012 END CHARMAP line.
30013 * iconvdata/gen-8bit-gap.sh: Likewise.
30014 * iconvdata/gen-8bit.sh: Likewise.
30015
c1e9e399
UD
30016 * locale/iso-639.def: Add ary entry.
30017
24c55fb3 30018 [BZ #11258]
96b4b1b0
UD
30019 * locale/C-translit.h.in: Add U20A1 transliteration.
30020
bdc2f971
KB
30021 [BZ #12178]
30022 * locale/iso-639.def: Add wae entry.
30023 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30024
2952b117
UD
30025 [BZ #12545]
30026 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30027 for n.
30028
2a81eaa5
UD
30029 [BZ #12711]
30030 * locale/C-translit.h.in: Add entry for U20B9.
30031 Patch by pravin.d.s@gmail.com.
30032
28377d1b
UD
300332011-05-08 Ulrich Drepper <drepper@gmail.com>
30034
7fb90fb8
UD
30035 [BZ #12713]
30036 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30037 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30038 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30039 in rtld. Use *stat64.
7fb90fb8 30040 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30041 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30042 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30043 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30044 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30045 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30046 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30047 __fstatat64 macros.
7fb90fb8
UD
30048 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30049 * dirent/rewinddir.c: Add libc_hidden_def.
30050 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30051 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30052
28377d1b
UD
30053 * include/dirent.h (__alloc_dir): Add flags parameter.
30054 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30055 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30056 __alloc_dir.
30057 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30058 from fdopendir if O_CLOEXEC is already set.
30059
66bdbaa4
AM
300602011-03-15 Alan Modra <amodra@gmail.com>
30061
30062 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30063 l_tls_firstbyte_offset non-zero. Save padding offset in
30064 l_tls_firstbyte_offset for later use.
30065 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30066 freeing static tls block.
30067
95721191
JN
300682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30069
30070 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30071 where #ifdef was intended. The intent is to prevent ARG_MAX from
30072 being defined by the kernel headers.
30073
f87dfb1f
UD
300742011-05-07 Ulrich Drepper <drepper@gmail.com>
30075
30076 [BZ #12734]
30077 * resolv/resolv.h: Define RES_NOTLDQUERY.
30078 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30079 no-tld-query and set RES_NOTLDQUERY.
30080 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30081 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30082 modern BIND to search name as TLD unless forbidden.
30083
47c3cd7a
UD
300842011-05-07 Petr Baudis <pasky@suse.cz>
30085 Ulrich Drepper <drepper@gmail.com>
30086
30087 [BZ #12393]
30088 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30089 (is_trusted_path): ...to here.
c1e9ea35 30090 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30091 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30092 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30093
8a35c912
PP
300942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30095
30096 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30097 __BEGIN/__END_DECLS.
30098
acd41f47
UD
300992011-05-06 Ulrich Drepper <drepper@gmail.com>
30100
30101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30102 NSS_STATUS_NOTFOUND if no record was found.
30103
597df647
AS
301042011-05-05 Andreas Schwab <schwab@redhat.com>
30105
30106 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30107 (headers-not-in-tirpc): Remove rpc/netdb.h
30108 * resolv/netdb.h: Revert last change.
30109
b9af1301
PP
301102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30111
30112 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30113 circular dependency between libgcc.a and libc.a.
30114
4e34d5f5
AS
301152011-05-05 Andreas Schwab <schwab@redhat.com>
30116
30117 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30118 * nis/Makefile: Don't install rpcsvc/*.
30119 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30120 instead of <rpc/types.h>.
30121 (MAXHOSTNAMELEN): Define.
30122
00ee369c
AS
301232011-05-03 Andreas Schwab <schwab@redhat.com>
30124
30125 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30126
0b592a30
MB
301272011-04-28 Maciej Babinski <mbabinski@google.com>
30128
30129 [BZ #12714]
30130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30131 gethostbyname4_r when IPv6 results are possible.
30132
6e04cbbe
UD
301332011-05-02 Ulrich Drepper <drepper@gmail.com>
30134
30135 [BZ #12723]
30136 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30137 _PC_PIPE_BUF handling.
30138
e4ecafe0
BH
301392011-04-30 Bruno Haible <bruno@clisp.org>
30140
30141 [BZ #12717]
30142 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30143 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30144 to 'int'.
30145 * inet/getnameinfo.c (getnameinfo): Likewise.
30146
125ee683
UD
301472011-04-29 Ulrich Drepper <drepper@gmail.com>
30148
30149 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30150 to groups setting in database lookup.
30151 * nss/nsswitch.conf: Add initgroups entry.
30152
b722481a
EB
301532011-04-22 Ulrich Drepper <drepper@gmail.com>
30154
30155 [BZ #12685]
30156 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30157 mode string.
30158 Patch by Eric Blake <eblake@redhat.com>.
30159
4df46dbd
L
301602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30161
30162 * sunrpc/Makefile (need-export-routines): Add svc_run.
30163 (routines): Remove svc_run.
30164 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30165 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30166 * sunrpc/svc_run.c (svc_run): Likewise.
30167 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30168
e84142d2
UD
301692011-04-21 Ulrich Drepper <drepper@gmail.com>
30170
30171 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30172 problem in reallocation in last patch.
30173
877175d8
UD
301742011-04-20 Ulrich Drepper <drepper@gmail.com>
30175
30176 * sunrpc/Makefile: Move inclusion of Rules.
30177
ab8eed78
UD
301782011-04-19 Ulrich Drepper <drepper@gmail.com>
30179
30180 * nss/nss_files/files-initgroups.c: New file.
30181 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30182 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30183 _nss_files_initgroups_dyn.
30184
e3d8f584
RS
301852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30186
30187 * elf/elf.h (R_ARM_IRELATIVE): Define.
30188
af190f45
UD
301892011-04-19 Ulrich Drepper <drepper@gmail.com>
30190
30191 * po/ru.po: Update from translation team.
30192
53cf59ef
UD
301932011-04-17 Ulrich Drepper <drepper@gmail.com>
30194
30195 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30196 dependencies.
30197
4c559bcd
MF
301982011-02-06 Mike Frysinger <vapier@gentoo.org>
30199
30200 [BZ #12653]
30201 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30202 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30203 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30204 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30205 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30206
4420675c
AS
302072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30208
30209 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30210 differing bytes.
30211 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30214
75ea32ab
UD
302152011-04-17 Ulrich Drepper <drepper@gmail.com>
30216
30217 [BZ #12420]
30218 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30219 storing it.
30220 * stdlib/bug-getcontext.c: New file.
30221 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30222
27390476
AK
302232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30224
30225 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30226 instructions into .machine "z9-109".
30227 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30228 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30229
10442705
AK
302302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30231
30232 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30233 between environment variables and auxiliary vector.
30234
7b57bfe5
UD
302352011-04-16 Ulrich Drepper <drepper@gmail.com>
30236
30237 * Makefile: Add rules to build linkobj/libc.so.
30238 * include/libc-symbols.h: Define libc_hidden_nolink.
30239 * include/rpc/auth.h: Mark functions which are to be hidden.
30240 * include/rpc/auth_des.h: Likewise.
30241 * include/rpc/auth_unix.h: Likewise.
30242 * include/rpc/clnt.h: Likewise.
30243 * include/rpc/des_crypt.h: Likewise.
30244 * include/rpc/key_prot.h: Likewise.
30245 * include/rpc/pmap_clnt.h: Likewise.
30246 * include/rpc/pmap_prot.h: Likewise.
30247 * include/rpc/pmap_rmt.h: Likewise.
30248 * include/rpc/rpc_msg.h: Likewise.
30249 * include/rpc/svc.h: Likewise.
30250 * include/rpc/svc_auth.h: Likewise.
30251 * include/rpc/xdr.h: Likewise.
30252 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30253 * nss/Makefile: Likewise.
30254 * sunrpc/Makefile: Don't install headers. Build library with normal
30255 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30256 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30257 for the compat linking library. Remove use of INTDEF/INTUSE.
30258 * sunrpc/auth_none.c: Likewise.
30259 * sunrpc/auth_unix.c: Likewise.
30260 * sunrpc/authdes_prot.c: Likewise.
30261 * sunrpc/authuxprot.c: Likewise.
30262 * sunrpc/clnt_gen.c: Likewise.
30263 * sunrpc/clnt_perr.c: Likewise.
30264 * sunrpc/clnt_raw.c: Likewise.
30265 * sunrpc/clnt_simp.c: Likewise.
30266 * sunrpc/clnt_tcp.c: Likewise.
30267 * sunrpc/clnt_udp.c: Likewise.
30268 * sunrpc/clnt_unix.c: Likewise.
30269 * sunrpc/des_crypt.c: Likewise.
30270 * sunrpc/des_soft.c: Likewise.
30271 * sunrpc/get_myaddr.c: Likewise.
30272 * sunrpc/key_call.c: Likewise.
30273 * sunrpc/key_prot.c: Likewise.
30274 * sunrpc/netname.c: Likewise.
30275 * sunrpc/pm_getmaps.c: Likewise.
30276 * sunrpc/pm_getport.c: Likewise.
30277 * sunrpc/pmap_clnt.c: Likewise.
30278 * sunrpc/pmap_prot.c: Likewise.
30279 * sunrpc/pmap_prot2.c: Likewise.
30280 * sunrpc/pmap_rmt.c: Likewise.
30281 * sunrpc/publickey.c: Likewise.
30282 * sunrpc/rpc_cmsg.c: Likewise.
30283 * sunrpc/rpc_common.c: Likewise.
30284 * sunrpc/rpc_dtable.c: Likewise.
30285 * sunrpc/rpc_prot.c: Likewise.
30286 * sunrpc/rpc_thread.c: Likewise.
30287 * sunrpc/rtime.c: Likewise.
30288 * sunrpc/svc.c: Likewise.
30289 * sunrpc/svc_auth.c: Likewise.
30290 * sunrpc/svc_authux.c: Likewise.
30291 * sunrpc/svc_raw.c: Likewise.
30292 * sunrpc/svc_run.c: Likewise.
30293 * sunrpc/svc_simple.c: Likewise.
30294 * sunrpc/svc_tcp.c: Likewise.
30295 * sunrpc/svc_udp.c: Likewise.
30296 * sunrpc/svc_unix.c: Likewise.
30297 * sunrpc/svcauth_des.c: Likewise.
30298 * sunrpc/xcrypt.c: Likewise.
30299 * sunrpc/xdr.c: Likewise.
30300 * sunrpc/xdr_array.c: Likewise.
30301 * sunrpc/xdr_float.c: Likewise.
30302 * sunrpc/xdr_intXX_t.c: Likewise.
30303 * sunrpc/xdr_mem.c: Likewise.
30304 * sunrpc/xdr_rec.c: Likewise.
30305 * sunrpc/xdr_ref.c: Likewise.
30306 * sunrpc/xdr_sizeof.c: Likewise.
30307 * sunrpc/xdr_stdio.c: Likewise.
30308
e6c61494
UD
303092011-04-10 Ulrich Drepper <drepper@gmail.com>
30310
30311 [BZ #12650]
30312 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30313 * sysdeps/ia64/dl-tls.h: Likewise.
30314 * sysdeps/powerpc/dl-tls.h: Likewise.
30315 * sysdeps/s390/dl-tls.h: Likewise.
30316 * sysdeps/sh/dl-tls.h: Likewise.
30317 * sysdeps/sparc/dl-tls.h: Likewise.
30318 * sysdeps/x86_64/dl-tls.h: Likewise.
30319 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30320
34fe483e
AS
303212011-03-14 Andreas Schwab <schwab@redhat.com>
30322
30323 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30324 rpath element also skip the following colon.
30325 (expand_dynamic_string_token): Add is_path parameter and pass
30326 down to DL_DST_REQUIRED and _dl_dst_substitute.
30327 (decompose_rpath): Call expand_dynamic_string_token with
30328 non-zero is_path. Ignore empty rpaths.
30329 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30330 with zero is_path.
30331
f12a32e6
AS
303322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30333
30334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30335 Make cancelable.
30336
38a7d692
UD
303372011-04-09 Ulrich Drepper <drepper@gmail.com>
30338
30339 [BZ #12655]
30340 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30341 Patch by Filipe David Manana <fdmanana@apache.org>.
30342
e451d22b
AS
303432011-04-07 Andreas Schwab <schwab@redhat.com>
30344
30345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30346 Maintain aligned stack.
30347 (CHECK_RSP): Remove unused macro.
30348
dedc7c7b
UD
303492011-04-03 Ulrich Drepper <drepper@gmail.com>
30350
30351 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30352 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30353
94521213
UD
303542011-04-02 Ulrich Drepper <drepper@gmail.com>
30355
30356 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30357
8cb700c0 30358 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30359
0354e355
L
303602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30361
30362 [BZ #12518]
30363 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30364 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30365 * sysdeps/x86_64/memmove.c: New file.
30366 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30367 (memcpy): Renamed to ...
30368 (__new_memcpy): This.
30369 (memcpy): Provide GLIBC_2_14 memcpy.
30370 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30371 (memcpy): Provide GLIBC_2_2_5 memcpy.
30372
8593482f
UD
303732011-04-01 Ulrich Drepper <drepper@gmail.com>
30374
30375 [BZ #12631]
30376 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30377
81a5726b
AS
303782011-03-30 Andreas Schwab <schwab@redhat.com>
30379
30380 * misc/syncfs.c: New file.
30381 * misc/Makefile (routines): Add syncfs.
30382 * posix/unistd.h: Declare syncfs.
30383 * sysdeps/unix/syscalls.list: Add syncfs.
30384
00e5419f
AS
303852011-04-01 Andreas Schwab <schwab@redhat.com>
30386
30387 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30388 open_by_handle_at.
30389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30394 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30396
748876bf
UD
303972011-04-01 Ulrich Drepper <drepper@gmail.com>
30398
658e451d
UD
30399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30401 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30406
748876bf
UD
30407 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30408 sync_file_range.c with -fexceptions.
30409 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30410 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30411 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30412 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30413 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30414 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30415 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30416 sync_file_range as cancellation point
30417 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30418 now a wrapper around __call_sync_file_range with cancellation handling.
30419 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30420 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30421 function name to __call_sync_file_range.
30422 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30423 Add call_sync_file_range.
748876bf 30424
6e63d5e1
AS
304252011-04-01 Andreas Schwab <schwab@redhat.com>
30426
30427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30428 bits/timex.h.
6e63d5e1 30429
46998f74
UD
304302011-04-01 Ulrich Drepper <drepper@gmail.com>
30431
4c1423ed
UD
30432 * iconv/iconv.h: Fix typo in comment.
30433 * io/fcntl.h: Likewise.
30434 * libio/stdio.h: Likewise.
30435 * posix/spawn.h: Likewise.
30436 * posix/unistd.h: Likewise.
30437 * stdlib/stdlib.h: Likewise.
30438 * time/time.h: Likewise.
30439 * wcsmbs/wchar.h: Likewise.
30440
158648c0
UD
30441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30442 open_by_handle): Add.
30443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30444 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30445 Augment a few comments.
30446 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30448 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30451 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30452 open_by_handle.
30453
46998f74
UD
30454 * io/fcntl.h (AT_EMPTY_PATH): Define.
30455
83fe108b
UD
304562011-03-30 Ulrich Drepper <drepper@gmail.com>
30457
30458 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30459 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30460 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30461 to...
30462 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30463 * Versions.def: Add GLIBC_2.14.
30464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30465 Export.
83fe108b 30466
bb242059
UD
304672011-03-22 Ulrich Drepper <drepper@gmail.com>
30468
30469 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30470 round counter.
30471 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30472
c97a1282
L
304732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30474
30475 [BZ #12597]
30476 * string/test-strncmp.c (do_page_test): New function.
30477 (check2): Likewise.
30478 (test_main): Call check2.
30479 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30480
2a115601
UD
304812011-03-20 Ulrich Drepper <drepper@gmail.com>
30482
30483 [BZ #12587]
30484 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30485 Handle cache information in CPU leaf 4.
30486 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30487
8126d904
UD
304882011-03-18 Ulrich Drepper <drepper@gmail.com>
30489
042c49c6 30490 [BZ #12583]
8126d904
UD
30491 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30492 character representation.
30493 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30494
ccfe366e
RA
304952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30496
30497 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30498 END(__isnan) to END(__isnanf) to match function entry point/label
30499 EALIGN(__isnanf,...).
30500
c6e13027
JJ
305012011-03-10 Jakub Jelinek <jakub@redhat.com>
30502
30503 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30504
33f85a3f
UD
305052011-03-10 Ulrich Drepper <drepper@gmail.com>
30506
028478fa
UD
30507 [BZ #12510]
30508 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30509 copy from the symbol referenced in the relocation to initialize the
30510 used variable.
30511 Patch by Piotr Bury <pbury@goahead.com>.
30512 * elf/Makefile: Add rules to build and tst-unique3.
30513 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30514 * elf/tst-unique3.cc: New file.
30515 * elf/tst-unique3.h: New file.
30516 * elf/tst-unique3lib.cc: New file.
30517 * elf/tst-unique3lib2.cc: New file.
30518
33f85a3f
UD
30519 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30520
03592fc7
MF
305212011-03-10 Mike Frysinger <vapier@gentoo.org>
30522
30523 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30524 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30525 to _start.
03592fc7 30526
6a5ee102
UD
305272011-03-06 Ulrich Drepper <drepper@gmail.com>
30528
30529 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30530 to-be-loaded object along a path to loader is ld.so.
30531
7e4ba49c
HJ
305322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30533 Ulrich Drepper <drepper@gmail.com>
30534
30535 * sysdeps/x86_64/memset.S: After aligning destination, code
30536 branches to different locations depending on the value of
30537 misalignment, when multiarch is enabled. Fix this.
30538
305392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30540
30541 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30542 Set _x86_64_preferred_memory_instruction for AMD processsors.
30543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30544 Set bit_Prefer_SSE_for_memop for AMD processors.
30545
13a804de
UD
305462011-03-04 Ulrich Drepper <drepper@gmail.com>
30547
30548 * libio/fmemopen.c (fmemopen): Optimize a bit.
30549
9d25c392
AS
305502011-03-03 Andreas Schwab <schwab@redhat.com>
30551
30552 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30553
a5543c6a
RM
305542011-03-03 Roland McGrath <roland@redhat.com>
30555
30556 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30557
012d35f7
DM
305582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30559
7e4ba49c 30560 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30561 __bzero_ultra1 instead of __memset_ultra1.
30562
4bff6e01
AS
305632011-02-23 Andreas Schwab <schwab@redhat.com>
30564 Ulrich Drepper <drepper@gmail.com>
30565
30566 [BZ #12509]
30567 * include/link.h (struct link_map): Add l_orig_initfini.
30568 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30569 returning unsuccessfully.
30570 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30571 close of a file loaded at startup, restore the original l_initfini
30572 list.
30573 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30574 list, store the pointer.
30575 * elf/Makefile ($(objpfx)noload-mem): New rule.
30576 (noload-ENV): Define.
30577 (tests): Add $(objpfx)noload-mem.
30578 * elf/noload.c: Include <memcheck.h>.
30579 (main): Call mtrace. Close all opened handles.
30580
f2092faf
AS
305812011-02-17 Andreas Schwab <schwab@redhat.com>
30582
30583 [BZ #12454]
30584 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30585 dependencies are missing.
30586
6c8a2e88
ST
305872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30588
f2092faf 30589 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30590 Hurd needs munmap.
30591 * sysdeps/mach/hurd/ifreq.h: New file.
30592
84a42118
PB
305932011-01-27 Petr Baudis <pasky@suse.cz>
30594 Ulrich Drepper <drepper@gmail.com>
30595
071f805e 30596 [BZ 12445]#
84a42118
PB
30597 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30598 to extend_alloca().
30599 * stdio-common/bug23.c: New file.
30600 * stdio-common/Makefile (tests): Add bug23.
30601
e23fe25b
AS
306022010-09-28 Andreas Schwab <schwab@redhat.com>
30603 Ulrich Drepper <drepper@gmail.com>
30604
30605 [BZ #12489]
30606 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30607 before performing relro protection. At old place add assertion
30608 to make sure nothing changed.
30609
d3f02e10
NS
306102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30611 Glauber de Oliveira Costa <glommer@gmail.com>
30612
30613 * elf/elf.h: Add new ARM TLS relocs.
30614
d55fd7a5
RA
306152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30616
30617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30618 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30619 cast from r3.
30620 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30621 'tests' variable.
30622 * sysdeps/wordsize-64/tst-writev.c: New file.
30623
2206397e
RA
306242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30625
30626 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30627 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30628 insns in _dl_start to prevent a TOC reference before relocs are
30629 resolved.
30630
e9433893
UD
306312011-02-15 Ulrich Drepper <drepper@gmail.com>
30632
30633 [BZ #12469]
30634 * Makeconfig: Remove RANLIB definition.
30635 * Makerules: Don't use RANLIB.
30636 * aclocal.m4: Remove ranlib test.
30637 * configure.in: No need to check for ranlib.
30638 * elf/rtld-Rules: Don't use RANLIB.
30639
f75286c6
ST
306402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30641
8e31c82d
ST
30642 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30643 protection macro.
30644 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30645 inclusion protection macro.
30646
f75286c6
ST
30647 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30648 SIGRTMIN and SIGRTMAX and print information in that case only when
30649 SIGRTMIN is defined.
30650
c1d0e639
JJ
306512011-02-11 Jakub Jelinek <jakub@redhat.com>
30652
30653 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30654 arginfo fn returning -1.
30655
30656 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30657 and thousands string is zero terminated.
30658
edf9294e
AS
306592011-02-03 Andreas Schwab <schwab@redhat.com>
30660
30661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30662 sysdeps/unix/sysv/linux/bits/socket.h.
30663
2b7e92df
ST
306642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30665
edf9294e
AS
30666 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30667 (__CPU_COUNT): Remove old macros.
30668 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30669 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30670 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30671 (__sched_cpualloc, __sched_cpufree): Add declarations.
30672
a4c7ea7b
UD
306732011-02-05 Ulrich Drepper <drepper@gmail.com>
30674
30675 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30676 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30677 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30678 (readdhstai): Return value of addhstaiX call.
30679 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30680 (addgrbyX): Return value returned by cache_addgr.
30681 (readdgrbyname): Return value returned by addgrbyX.
30682 (readdgrbygid): Likewise.
30683 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30684 (addpwbyX): Return value returned by cache_addpw.
30685 (readdpwbyname): Return value returned by addhstbyX.
30686 (readdpwbyuid): Likewise.
30687 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30688 (addservbyX): Return value returned by cache_addserv.
30689 (readdservbyname): Return value returned by addservbyX:
30690 (readdservbyport): Likewise.
30691 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30692 (addhstbyX): Return value returned by cache_addhst.
30693 (readdhstbyname): Return value returned by addhstbyX.
30694 (readdhstbyaddr): Likewise.
30695 (readdhstbynamev6): Likewise.
30696 (readdhstbyaddrv6): Likewise.
30697 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30698 (readdinitgroups): Return value returned by addinitgroupsX.
30699 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30700 (prune_cache): Keep track of timeout value of re-added entries.
30701 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30702 * nscd/nscd.h: Adjust prototypes of readd* functions.
30703
a0bf67cc
RM
307042011-02-04 Roland McGrath <roland@redhat.com>
30705
30706 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30707 (nis_stats): Likewise.
30708 * nis/nis_modify.c (nis_modify): Likewise.
30709 * nis/nis_remove.c (nis_remove): Likewise.
30710 * nis/nis_add.c (nis_add): Likewise.
30711
30712 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30713
30714 * posix/fnmatch_loop.c: Add some consts.
30715
30716 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30717
435b95eb
L
307182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30719
30720 [BZ #12460]
30721 * config.make.in (config-cflags-novzeroupper): Define.
30722 * configure.in: Substitute libc_cv_cc_novzeroupper.
30723 * elf/Makefile (AVX-CFLAGS): Define.
30724 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30725 (CFLAGS-tst-auditmod4a.c): Likewise.
30726 (CFLAGS-tst-auditmod4b.c): Likewise.
30727 (CFLAGS-tst-auditmod6b.c): Likewise.
30728 (CFLAGS-tst-auditmod6c.c): Likewise.
30729 (CFLAGS-tst-auditmod7b.c): Likewise.
30730 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30731
8517b15e
UD
307322011-02-02 Ulrich Drepper <drepper@gmail.com>
30733
30734 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30735 function to the callback.
30736 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30737
10a656fe
AS
307382011-02-02 Andreas Schwab <schwab@redhat.com>
30739
30740 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30741 of errno.
30742
968dad0a
UD
307432011-01-19 Ulrich Drepper <drepper@gmail.com>
30744
9f94d2ea 30745 [BZ #11724]
968dad0a
UD
30746 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30747 of constructors.
30748 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30749 of destructors.
30750 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30751
30752 [BZ #11724]
30753 * elf/Makefile: Add rules to build and run new test.
30754 * elf/tst-initorder.c: New file.
30755 * elf/tst-initorder.exp: New file.
30756 * elf/tst-initordera1.c: New file.
30757 * elf/tst-initordera2.c: New file.
30758 * elf/tst-initordera3.c: New file.
30759 * elf/tst-initordera4.c: New file.
30760 * elf/tst-initorderb1.c: New file.
30761 * elf/tst-initorderb2.c: New file.
30762 * elf/tst-order-a1.c: New file.
30763 * elf/tst-order-a2.c: New file.
30764 * elf/tst-order-a3.c: New file.
30765 * elf/tst-order-a4.c: New file.
30766 * elf/tst-order-b1.c: New file.
30767 * elf/tst-order-b2.c: New file.
30768 * elf/tst-order-main.c: New file.
30769 New test case by George Gensure <werkt0@gmail.com>.
30770
86e92359
UD
307712010-10-01 Andreas Schwab <schwab@redhat.com>
30772
30773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30774 decoding ACE if AI_CANONIDN.
30775
5d5732b0
UD
307762011-01-18 Ulrich Drepper <drepper@gmail.com>
30777
30778 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30779
a77e8cbc
UD
307802011-01-17 Ulrich Drepper <drepper@gmail.com>
30781
6392473f
UD
30782 * version.h (RELEASE): Bump for 2.13 release.
30783 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30784
620a0529
UD
30785 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30786
18ba70a5
UD
30787 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30788 MADV_NOHUGEPAGE.
32465c3e
UD
30789 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30790 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30791 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30792 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30793 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30795
c0dafcf1
UD
30796 * posix/getconf.c: Update copyright year.
30797 * catgets/gencat.c: Likewise.
30798 * csu/version.c: Likewise.
30799 * debug/catchsegv.sh: Likewise.
30800 * debug/xtrace.sh: Likewise.
30801 * elf/ldconfig.c: Likewise.
30802 * elf/ldd.bash.in: Likewise.
30803 * elf/sprof.c (print_version): Likewise.
30804 * iconv/iconv_prog.c: Likewise.
30805 * iconv/iconvconfig.c: Likewise.
30806 * locale/programs/locale.c: Likewise.
30807 * locale/programs/localedef.c: Likewise.
30808 * malloc/memusage.sh: Likewise.
30809 * malloc/mtrace.pl: Likewise.
30810 * nscd/nscd.c (print_version): Likewise.
30811 * nss/getent.c: Likewise.
30812
a77e8cbc
UD
30813 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30814 PF_CAIF, and PF_ALG.
30815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30816
77e8bddf
AS
308172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30818
1f20b93a
AS
30819 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30820 (modules-names): Use them.
30821 (ifunc-test-modules, ifunc-pie-tests): Define.
30822 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30823 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30824 (test-extras): Likewise.
30825 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30826 $(compile-command.c).
30827 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30828 (all-built-dso): Define.
30829 (check-textrel.out, check-execstack.out): Depend on it.
30830
77e8bddf
AS
30831 * configure.in: Don't override --enable-multi-arch.
30832
bc425b33
UD
308332011-01-15 Ulrich Drepper <drepper@gmail.com>
30834
30835 [BZ #6812]
30836 * nscd/hstcache.c (tryagain): Define.
30837 (cache_addhst): Return tryagain not notfound for temporary errors.
30838 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30839 failed.
30840
794c3ad3
UD
308412011-01-14 Ulrich Drepper <drepper@gmail.com>
30842
70181fdd
UD
30843 [BZ #10563]
30844 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30845 to make the syscall.
30846 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30847
794c3ad3
UD
30848 [BZ #12378]
30849 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30850 and fall back to matching as normal character if the string ends before
30851 the matching ']' is found. This is what POSIX requires.
30852 * posix/testfnm.c: Adjust test result.
30853 * posix/globtest.sh: Adjust test result. Add new test.
30854 * posix/tst-fnmatch.input: Likewise.
30855 * posix/tst-fnmatch2.c: Add new test.
30856
68dc9497
AS
308572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30858
30859 * elf/Makefile (check-execstack): Revert last change. Depend on
30860 check-execstack.h.
30861 (check-execstack.h): New target.
30862 (generated): Add check-execstack.h.
30863 * elf/check-execstack.c: Include "check-execstack.h".
30864 (main): Revert last change.
30865 (handle_file): Return zero if GNU_STACK is absent and
30866 DEFAULT_STACK_PERMS doesn't include PF_X.
30867
451f001b
UD
308682011-01-13 Ulrich Drepper <drepper@gmail.com>
30869
cfa28e56
UD
30870 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30871 in child fails because the descriptor is already closed.
8cf8ce17
UD
30872 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30873 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30874 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30875
1086d70d
UD
30876 [BZ #12397]
30877 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30878 syscall.
30879
451f001b
UD
30880 [BZ #10484]
30881 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30882 temporary buffer used to handle multi lookups locally.
a85b5cb4 30883 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30884
08769175
UD
308852011-01-12 Ulrich Drepper <drepper@gmail.com>
30886
30887 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30888 loader is ld.so.
30889
5e49c52e
UD
308902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30891
30892 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30893 alignment for SSE2.
30894
60522a5f
UD
308952011-01-12 Ulrich Drepper <drepper@gmail.com>
30896
30897 [BZ #12394]
30898 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30899 characters. When rounding increased number of integer digits recompute
30900 number of groups.
30901 * stdio-common/tst-grouping.c: New file.
30902 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30903
f257bbd7
UD
309042011-01-09 Ulrich Drepper <drepper@gmail.com>
30905
30906 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30907 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30908
30909 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30910 void.
30911 * bits/select.h: Likewise.
30912
fa9c15cb
UD
309132011-01-08 Ulrich Drepper <drepper@gmail.com>
30914
30915 * po/ja.po: Update from translation team.
30916
16c2895f
DM
309172011-01-04 David S. Miller <davem@sunset.davemloft.net>
30918
30919 [BZ #11155]
30920 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30921 implementation just like for lxstat, fxstatat, et al.
30922
2543fef2
JM
309232010-12-27 Jim Meyering <meyering@redhat.com>
30924
30925 [BZ #12348]
30926 * posix/regexec.c (build_trtable): Return failure indication upon
30927 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30928
98727dbe
UD
309292010-12-25 Ulrich Drepper <drepper@gmail.com>
30930
5bd6dc5c
UD
30931 [BZ #12201]
30932 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30933 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30934 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30935 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30936
97983464
UD
30937 [BZ #12207]
30938 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30939
98727dbe
UD
30940 [BZ #12204]
30941 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30942 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30943
4a531bb0
L
309442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30945
30946 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30947 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30948 script has SORT_BY_INIT_PRIORITY.
30949 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30950 NO_CTORS_DTORS_SECTIONS is defined.
30951 * elf/soinit.c: Likewise.
30952 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30953 NO_CTORS_DTORS_SECTIONS is defined.
30954 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30955 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30956 * sysdeps/sh/init-first.c: Likewise.
30957 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30958
07eb4b71
UD
309592010-12-24 Ulrich Drepper <drepper@gmail.com>
30960
30961 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30962 always use the slow path.
30963
30950a5f
RA
309642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30965
30966 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30967 similar rule which adds the sysdep directories to the header search in
30968 order to pick up the correct platform stackinfo.h.
30969 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30970 perform test if it is, otherwise return successfully without testing.
30971 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30972 DEFAULT_STACK_PERMS define in stackinfo.h.
30973 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30974 defined in stackinfo.h.
30975 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30976 DEFAULT_STACK_PERMS defined in stackinfo.h.
30977 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30978 * sysdeps/ia64/stackinfo.h: Likewise.
30979 * sysdeps/s390/stackinfo.h: Likewise.
30980 * sysdeps/sh/stackinfo.h: Likewise.
30981 * sysdeps/sparc/stackinfo.h: Likewise.
30982 * sysdeps/x86_64/stackinfo.h: Likewise.
30983 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30984 PF_X for powerpc64. Retain PF_X for powerpc32.
30985
db753e2c
UD
309862010-12-19 Ulrich Drepper <drepper@gmail.com>
30987
14b697f7
UD
30988 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30989 accurately.
db753e2c
UD
30990 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30991 GETDENTS_64BIT_ALIGNED.
30992
28300719
UD
309932010-12-14 Ulrich Drepper <dreper@gmail.com>
30994
14b697f7 30995 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30996
4f197237
AS
309972010-12-10 Andreas Schwab <schwab@redhat.com>
30998
dbb0472f
AS
30999 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31000 _GNU_SOURCE.
31001
4f197237
AS
31002 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31003 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31004 Remove __restrict.
31005 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31006 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31007
fb88ac72
UD
310082010-12-09 Ulrich Drepper <drepper@gmail.com>
31009
31010 [BZ #11655]
31011 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31012 are initialized.
31013
42acbb92
JJ
310142010-12-09 Jakub Jelinek <jakub@redhat.com>
31015
31016 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31017
c038d98d
UD
310182010-12-03 Ulrich Drepper <drepper@gmail.com>
31019
31020 * po/it.po: Update from translation team.
31021
3a4a2499
L
310222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31023
31024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31025 unused codes.
31026
1e24cf6e
UD
310272010-11-30 Ulrich Drepper <drepper@gmail.com>
31028
31029 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31030
a7690819
AS
310312010-11-24 Andreas Schwab <schwab@redhat.com>
31032
31033 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31034 specially.
31035 (gaih_getanswer_slice): Likewise.
31036
3bf8d1b1
JJ
310372010-10-20 Jakub Jelinek <jakub@redhat.com>
31038
31039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31040
6db52fbb
PB
310412010-05-31 Petr Baudis <pasky@suse.cz>
31042
31043 [BZ #11149]
31044 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31045 silently even in the chroot mode.
31046
eaca7569
UD
310472010-11-22 Ulrich Drepper <drepper@gmail.com>
31048
31049 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31050 last patch a bit. Pretty printing
31051
3056dcdb
UD
310522010-05-31 Petr Baudis <pasky@suse.cz>
31053
31054 [BZ #10085]
31055 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31056 initialization of skip_initgroups_dyn.
31057
cf7c9078
UD
310582010-11-19 Ulrich Drepper <drepper@gmail.com>
31059
31060 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31061 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31062
a1fb5e3e
UD
310632010-11-16 Ulrich Drepper <drepper@gmail.com>
31064
31065 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31066
3540d66b
AS
310672010-11-11 Andreas Schwab <schwab@redhat.com>
31068
31069 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31070 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31071 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31072 ($(objpfx)tst-fnmatch-mem): New rule.
31073 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31074 * posix/tst-fnmatch.c (main): Call mtrace.
31075
13b69574
L
310762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31077
31078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31079 Support Intel processor model 6 and model 0x2c.
31080
da93d214
LM
310812010-11-10 Luis Machado <luisgpm@br.ibm.com>
31082
31083 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31084 signed comparison.
31085
8ca52c6e
L
310862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31087
31088 [BZ #12205]
31089 * string/test-strncasecmp.c (check_result): New function.
31090 (do_one_test): Use it.
31091 (check1): New function.
31092 (test_main): Use it.
31093 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31094 Support strcasecmp and strncasecmp.
31095
69da074d
UD
310962010-11-08 Ulrich Drepper <drepper@gmail.com>
31097
31098 [BZ #12194]
31099 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31100 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31101
ff02d528
L
311022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31103
31104 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31105 IFUNC support.
31106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31107 memset-x86-64.
31108 * sysdeps/x86_64/multiarch/bzero.S: New file.
31109 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31110 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31111 * sysdeps/x86_64/multiarch/memset.S: New file.
31112 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31114 Set bit_Prefer_SSE_for_memop for Intel processors.
31115 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31116 Define.
31117 (index_Prefer_SSE_for_memop): Define.
31118 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31119
344d0b54
LM
311202010-11-04 Luis Machado <luisgpm@br.ibm.com>
31121
31122 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31123 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31124
c0dde15b
UD
311252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31126
31127 [BZ #12191]
31128 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31129 (__x86_64_raw_data_cache_size_half): Likewise.
31130 (__x86_64_raw_shared_cache_size): Likewise.
31131 (__x86_64_raw_shared_cache_size_half): Likewise.
31132
31133 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31134 (__x86_64_raw_data_cache_size_half): Likewise.
31135 (__x86_64_raw_shared_cache_size): Likewise.
31136 (__x86_64_raw_shared_cache_size_half): Likewise.
31137 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31138 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31139 and __x86_64_raw_shared_cache_size_half. Round
31140 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31141 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31142 to multiple of 256 bytes.
31143
0e516e0e
MS
311442010-11-03 Ulrich Drepper <drepper@gmail.com>
31145
31146 [BZ #12167]
31147 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31148 of inacessible symlinks. Verify result of symlink before returning it.
31149 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31150 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31151
0e012e87
ER
311522010-10-28 Erich Ritz <erichritz@gmail.com>
31153
31154 * math/math.h (isinf): Fix typo in comment.
31155
de0ff7bc
UD
311562010-11-01 Ulrich Drepper <drepper@gmail.com>
31157
31158 * po/da.po: Update from translation team.
31159
fa41c84d
UD
311602010-10-26 Ulrich Drepper <drepper@gmail.com>
31161
31162 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31163 is added to the list.
31164
f0967738
AK
311652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31166 Ulrich Drepper <drepper@gmail.com>
31167
31168 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31169 the global list here. Move code to...
31170 (_dl_add_to_namespace_list): ...here. New function.
31171 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31172 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31173 * elf/dl-load.c (lose): Don't remove the element from the list.
31174 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31175 (_dl_map_object): Likewise.
31176
311772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31178
31179 [BZ #12159]
31180 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31181 into all bytes of SSE register.
31182 Patch by Richard Li <richardpku@gmail.com>.
31183
f0967738 311842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31185
31186 [BZ #12140]
31187 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31188 perturbing.
31189
d0b9e94f
MB
311902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31191
31192 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31193 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31194 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31195 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31197 submachine.
31198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31199
8e9f92e9
AS
312002010-10-22 Andreas Schwab <schwab@redhat.com>
31201
31202 * include/dlfcn.h (__RTLD_SECURE): Define.
31203 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31204 mode & __RTLD_SECURE instead.
31205 (open_path): Rename preloaded parameter to secure.
31206 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31207 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31208 * elf/dl-deps.c (openaux): Likewise.
31209 * elf/rtld.c (struct map_args): Remove is_preloaded.
31210 (map_doit): Don't use it.
31211 (dl_main): Likewise.
31212 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31213 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31214
bc96fbda
AS
312152010-09-09 Andreas Schwab <schwab@redhat.com>
31216
31217 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31218 (sysd-rules-targets): Remove duplicates.
31219 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31220 rtld-%.$o dependency.
31221
22cd1c9b
AS
312222010-10-18 Andreas Schwab <schwab@redhat.com>
31223
31224 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31225 _dl_map_object do it.
31226
18edac48
UD
312272010-10-19 Ulrich Drepper <drepper@gmail.com>
31228
31229 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31230 fast fma builtins, define the macros in the C99 standard.
31231 (FP_FAST_FMAF): Likewise.
31232 (FP_FAST_FMAL): Likewise.
31233 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31234
31235 * bits/mathdef.h: Update copyright year.
31236 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31237
d2050124
MM
312382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31239
31240 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31241 builtins, define the macros in the C99 standard.
31242 (FP_FAST_FMAF): Likewise.
31243 (FP_FAST_FMAL): Likewise.
31244 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31245 multiply/add.
31246 (FP_FAST_FMAF): Likewise.
31247
475facd1
JJ
312482010-10-15 Jakub Jelinek <jakub@redhat.com>
31249
31250 [BZ #3268]
31251 * math/libm-test.inc (fma_test): Some new testcases.
31252 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31253 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31254 y and infinite z. Do multiplication by C already in long double.
31255 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31257 y and infinite z. Do bitwise or of inexact bit into u.d.
31258 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31259 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31260 * sysdeps/i386/fpu/s_fma.S: Removed.
31261 * sysdeps/i386/fpu/s_fmal.S: Removed.
31262
7c08a05c
JJ
312632010-10-16 Jakub Jelinek <jakub@redhat.com>
31264
31265 [BZ #3268]
31266 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31267 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31268 computation is not scheduled after fetestexcept. Fix value
31269 of minimum denormal long double.
31270
f3f7372d
JJ
312712010-10-14 Jakub Jelinek <jakub@redhat.com>
31272
31273 [BZ #3268]
31274 * math/libm-test.inc (fma_test): Add some more tests.
31275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31276 correctly.
31277
14d43591
AS
312782010-10-15 Andreas Schwab <schwab@redhat.com>
31279
31280 * scripts/data/localplt-s390-linux-gnu.data: New file.
31281 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31282
5e908464
JJ
312832010-10-13 Jakub Jelinek <jakub@redhat.com>
31284
31285 [BZ #3268]
31286 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31287 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31288 instead of dbl-64.
31289 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31290 inlines.
31291 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31293 if one of x and y is very large and the other is subnormal.
31294 * sysdeps/s390/fpu/s_fmaf.c: New file.
31295 * sysdeps/s390/fpu/s_fma.c: New file.
31296 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31297 * sysdeps/powerpc/fpu/s_fma.S: New file.
31298 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31299 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31300 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31301
313022010-10-12 Jakub Jelinek <jakub@redhat.com>
31303
31304 [BZ #3268]
31305 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31306 fma tests.
31307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31308 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31309 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31310 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31311 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31312 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31313 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31314
b833d51f
UD
313152010-10-12 Ulrich Drepper <drepper@redhat.com>
31316
31317 [BZ #12078]
31318 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31319 * posix/bug-regex31.input: Add test case.
31320
1751705d
UD
313212010-10-11 Ulrich Drepper <drepper@gmail.com>
31322
e9b9cbf5
UD
31323 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31324 * posix/bug-regex31.input: New file.
31325
31326 [BZ #12078]
31327 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31328 (parse_sub_exp): Fix last change, use postorder.
31329
ef06edbe
UD
31330 * posix/bug-regex31.c: New file.
31331 * posix/Makefile: Add rules to build and run bug-regex31.
31332
a129c80d
UD
31333 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31334
31335 [BZ #12078]
31336 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31337
b76b818e
UD
31338 [BZ #12108]
31339 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31340 to have entries in sys_siglist.
31341
1751705d
UD
31342 [BZ #12093]
31343 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31344 be NULL.
31345
9ff8d36f
JJ
313462010-10-07 Jakub Jelinek <jakub@redhat.com>
31347
31348 [BZ #3268]
31349 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31350 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31351 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31352 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31353 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31354 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31355 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31356 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31357 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31358 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31359 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31360 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31361 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31362 * math/ftestexcept.c (fetestexcept): Likewise.
31363 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31364 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31365 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31366 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31367 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31368 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31370
af325969
UD
313712010-10-11 Ulrich Drepper <drepper@gmail.com>
31372
c579b202 31373 [BZ #12107]
af325969
UD
31374 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31375 newline.
31376
67a67b95
UD
313772010-10-06 Ulrich Drepper <drepper@gmail.com>
31378
31379 * string/bug-strstr1.c: New file.
31380 * string/Makefile: Add rules to build and run bug-strstr1.
31381
5fb308bc
EB
313822010-10-05 Eric Blake <eblake@redhat.com>
31383
31384 [BZ #12092]
31385 * string/str-two-way.h (two_way_long_needle): Always clear memory
31386 when skipping input due to the shift table.
31387
45db99c7
UD
313882010-10-03 Ulrich Drepper <drepper@gmail.com>
31389
3b111893
UD
31390 [BZ #12005]
31391 * malloc/mcheck.c: Handle large requests.
31392
45db99c7
UD
31393 [BZ #12077]
31394 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31395 for strncmp and strncasecmp.
31396 * string/stratcliff.c: Add tests for strcmp and strncmp.
31397 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31398
cf7a1eb8
NI
313992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31400
31401 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31402 __set_fpscr.
31403
6484ba5e
AJ
314042010-09-30 Andreas Jaeger <aj@suse.de>
31405
31406 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31407 (CGROUP_SUPER_MAGIC): Define.
31408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31409 Handle btrfs and cgroup file systems.
31410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31411 Likewise.
31412
91c42559
LM
314132010-09-27 Luis Machado <luisgpm@br.ibm.com>
31414
31415 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31416 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31417
87a97932
AK
314182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31419
31420 [BZ #12067]
31421 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31422 trying to locate the ELF header.
31423
c21cc9bc
AS
314242010-09-27 Andreas Schwab <schwab@redhat.com>
31425
31426 [BZ #11611]
31427 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31428 Mask out sign-bit copies when constructing f_fsid.
31429
315970f6
PB
314302010-09-24 Petr Baudis <pasky@suse.cz>
31431
31432 * debug/stack_chk_fail_local.c: Add missing licence exception.
31433 * debug/warning-nop.c: Likewise.
31434
1ac7a2c7
JM
314352010-09-15 Joseph Myers <joseph@codesourcery.com>
31436
31437 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31438 implementing getdents64 using getdents syscall, set d_type if
31439 __ASSUME_GETDENTS32_D_TYPE.
31440
56801c50
AS
314412010-09-16 Andreas Schwab <schwab@redhat.com>
31442
31443 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31444 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31445
dda51327
UD
314462010-09-21 Ulrich Drepper <drepper@redhat.com>
31447
31448 [BZ #12037]
31449 * posix/unistd.h: Undo change of feature selection for ftruncate from
31450 2010-01-11.
31451
8ffcee4a
UD
314522010-09-20 Ulrich Drepper <drepper@redhat.com>
31453
a545ecd9 31454 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31455 detection.
31456
e24f0a8b
AS
314572010-09-20 Andreas Schwab <schwab@redhat.com>
31458
31459 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31460 fanotify_mark.
31461 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31462
7291c56f
AS
314632010-09-14 Andreas Schwab <schwab@redhat.com>
31464
31465 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31466 variables after CHECK_SP call.
31467 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31468
bc5fb037
AS
314692010-09-13 Andreas Schwab <schwab@redhat.com>
31470 Ulrich Drepper <drepper@redhat.com>
31471
31472 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31473 re-relocationg ld.so.
31474 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31475 _dl_init_paths call.
31476 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31477 here anymore.
31478
e66e7419
UD
314792010-09-14 Ulrich Drepper <drepper@redhat.com>
31480
31481 * resolv/res_init.c (__res_vinit): Count the default server we added.
31482
c044aa75
CLT
314832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31484 Ulrich Drepper <drepper@redhat.com>
31485
31486 [BZ #11968]
31487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31488 (____longjmp_chk): Use %ebx for saving value across system call.
31489 Add unwind info.
31490
32cf4069
AS
314912010-09-06 Andreas Schwab <schwab@redhat.com>
31492
31493 * manual/Makefile: Don't mix pattern rules with normal rules.
31494
817328ee
AS
314952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31496
31497 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31498 operation.
31499 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31500 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31501 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31502 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31504 Likewise.
31505
29fddf61
UD
315062010-09-04 Ulrich Drepper <drepper@redhat.com>
31507
31508 [BZ #11979]
31509 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31510 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31511
0959ffc9
UD
315122010-09-02 Ulrich Drepper <drepper@redhat.com>
31513
31514 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31515 * sysdeps/x86_64/addmul_1.S: Likewise.
31516 * sysdeps/x86_64/lshift.S: Likewise.
31517 * sysdeps/x86_64/mul_1.S: Likewise.
31518 * sysdeps/x86_64/rshift.S: Likewise.
31519 * sysdeps/x86_64/sub_n.S: Likewise.
31520 * sysdeps/x86_64/submul_1.S: Likewise.
31521
ece29840
ST
315222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31523
0959ffc9
UD
31524 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31525 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31526 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31527 * bits/sched.h [__need_schedparam]
ece29840 31528 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31529 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31530 (__defined_schedparam): Define to 1.
ece29840
ST
31531 (__sched_param): New structure, identical to sched_param.
31532 (__need_schedparam): Undefine.
31533
e53a31fe
MF
315342010-08-31 Mike Frysinger <vapier@gentoo.org>
31535
fdc0c10d
MF
31536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31537 (epoll_create1): Declare.
31538
e53a31fe
MF
31539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31540
a726d796
AS
315412010-08-31 Andreas Schwab <schwab@redhat.com>
31542
31543 [BZ #7066]
31544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31545 shifting retval into place.
31546
2f3e3dc7
UD
315472010-09-01 Ulrich Drepper <drepper@redhat.com>
31548
f2933da9
UD
31549 * nis/rpcsvc/nis.h: Update copyright notice.
31550 * nis/rpcsvc/nis.x: Likewise.
31551 * nis/rpcsvc/nis_callback.h: Likewise.
31552 * nis/rpcsvc/nis_callback.x: Likewise.
31553 * nis/rpcsvc/nis_object.x: Likewise.
31554 * nis/rpcsvc/nis_tags.h: Likewise.
31555 * nis/rpcsvc/yp.h: Likewise.
31556 * nis/rpcsvc/yp.x: Likewise.
31557 * nis/rpcsvc/ypupd.h: Likewise.
31558 * nis/yp_xdr.c: Likewise.
31559 * nis/ypupdate_xdr.c: Likewise.
31560
2f3e3dc7
UD
31561 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31562 mainly the body of pmap_getport. Add parameters to specify timeouts.
31563 (pmap_getport): Use __libc_rpc_getport.
31564 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31565 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31566 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31567
f3dcc2f9
AS
315682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31569
31570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31571 fanotify_mark.
31572
6d34eb5b
RM
315732010-08-27 Roland McGrath <roland@redhat.com>
31574
31575 * sysdeps/i386/i686/multiarch/Makefile
31576 (CFLAGS-varshift.c): New variable.
31577
9ea3de11
UD
315782010-08-27 Ulrich Drepper <drepper@redhat.com>
31579
c96d23fc
UD
31580 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31581 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31582
9ea3de11
UD
31583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31584
31585 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31586
623aac7f
L
315872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31588
31589 * sysdeps/x86_64/strlen.S: Unroll the loop.
31590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31591 strlen-sse2 strlen-sse2-bsf.
31592 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31593 __strlen_no_bsf if bit_Slow_BSF is set.
31594 (__strlen_sse42): Removed.
31595 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31596 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31597
8b2b7715
RM
315982010-08-25 Roland McGrath <roland@redhat.com>
31599
31600 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31601 * sysdeps/x86_64/multiarch/varshift.c: New file.
31602 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31603 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31604 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31605 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31606
e73015f2
L
316072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31608
31609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31610 strlen-sse2 strlen-sse2-bsf.
31611 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31612 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31613 (__strlen_sse2): Removed.
31614 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31617 bit_Slow_BSF for Atom.
31618 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31619 (index_Slow_BSF): Define.
31620 (HAS_SLOW_BSF): Define.
31621
df24a73e
UD
316222010-08-25 Ulrich Drepper <drepper@redhat.com>
31623
31624 [BZ #10851]
31625 * resolv/res_init.c (__res_vinit): When no server address at all
31626 is given default to loopback.
31627
f2ac4868
RM
316282010-08-24 Roland McGrath <roland@redhat.com>
31629
09055553
RM
31630 * configure.in: Remove config-name.h generation.
31631 * configure: Regenerated.
31632 * config-name.in: File removed.
31633 * scripts/config-uname.sh: New file.
31634 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31635 ($(objdir)config-name.h): New target.
31636
f2ac4868
RM
31637 * sunrpc/rpc_parse.h: Avoid nested comment.
31638
73f27d5e
RH
316392010-08-24 Richard Henderson <rth@redhat.com>
31640 Ulrich Drepper <drepper@redhat.com>
31641 H.J. Lu <hongjiu.lu@intel.com>
31642
31643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31645 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31646 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31647 _mm_alignr_epi8 with _mm_loadu_si128.
31648 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31649 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31650 (__m128i_shift_right): Removed.
31651 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31652 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31653 * sysdeps/x86_64/multiarch/varshift.h: New file.
31654 * sysdeps/x86_64/multiarch/varshift.S: New file.
31655
84b9230c
MF
316562010-08-21 Mike Frysinger <vapier@gentoo.org>
31657
31658 * configure.in: Move assembler checks to before sysdep dir checking.
31659
9bbd0ddc
PB
316602010-08-20 Petr Baudis <pasky@suse.cz>
31661
31662 * LICENSES: Sync the sunrpc license.
31663
9da4bb31
UD
316642010-08-19 Ulrich Drepper <drepper@redhat.com>
31665
a7ab6ec8
UD
31666 * sunrpc/auth_des.c: Update copyright notice once again.
31667 * sunrpc/auth_none.c: Likewise.
31668 * sunrpc/auth_unix.c: Likewise.
31669 * sunrpc/authdes_prot.c: Likewise.
31670 * sunrpc/authuxprot.c: Likewise.
31671 * sunrpc/bindrsvprt.c: Likewise.
31672 * sunrpc/clnt_gen.c: Likewise.
31673 * sunrpc/clnt_perr.c: Likewise.
31674 * sunrpc/clnt_raw.c: Likewise.
31675 * sunrpc/clnt_simp.c: Likewise.
31676 * sunrpc/clnt_tcp.c: Likewise.
31677 * sunrpc/clnt_udp.c: Likewise.
31678 * sunrpc/clnt_unix.c: Likewise.
31679 * sunrpc/des_crypt.c: Likewise.
31680 * sunrpc/des_soft.c: Likewise.
31681 * sunrpc/get_myaddr.c: Likewise.
31682 * sunrpc/getrpcport.c: Likewise.
31683 * sunrpc/key_call.c: Likewise.
31684 * sunrpc/key_prot.c: Likewise.
31685 * sunrpc/openchild.c: Likewise.
31686 * sunrpc/pm_getmaps.c: Likewise.
31687 * sunrpc/pm_getport.c: Likewise.
31688 * sunrpc/pmap_clnt.c: Likewise.
31689 * sunrpc/pmap_prot.c: Likewise.
31690 * sunrpc/pmap_prot2.c: Likewise.
31691 * sunrpc/pmap_rmt.c: Likewise.
31692 * sunrpc/rpc/auth.h: Likewise.
31693 * sunrpc/rpc/auth_unix.h: Likewise.
31694 * sunrpc/rpc/clnt.h: Likewise.
31695 * sunrpc/rpc/des_crypt.h: Likewise.
31696 * sunrpc/rpc/key_prot.h: Likewise.
31697 * sunrpc/rpc/netdb.h: Likewise.
31698 * sunrpc/rpc/pmap_clnt.h: Likewise.
31699 * sunrpc/rpc/pmap_prot.h: Likewise.
31700 * sunrpc/rpc/pmap_rmt.h: Likewise.
31701 * sunrpc/rpc/rpc.h: Likewise.
31702 * sunrpc/rpc/rpc_des.h: Likewise.
31703 * sunrpc/rpc/rpc_msg.h: Likewise.
31704 * sunrpc/rpc/svc.h: Likewise.
31705 * sunrpc/rpc/svc_auth.h: Likewise.
31706 * sunrpc/rpc/types.h: Likewise.
31707 * sunrpc/rpc/xdr.h: Likewise.
31708 * sunrpc/rpc_clntout.c: Likewise.
31709 * sunrpc/rpc_cmsg.c: Likewise.
31710 * sunrpc/rpc_common.c: Likewise.
31711 * sunrpc/rpc_cout.c: Likewise.
31712 * sunrpc/rpc_dtable.c: Likewise.
31713 * sunrpc/rpc_hout.c: Likewise.
31714 * sunrpc/rpc_main.c: Likewise.
31715 * sunrpc/rpc_parse.c: Likewise.
31716 * sunrpc/rpc_parse.h: Likewise.
31717 * sunrpc/rpc_prot.c: Likewise.
31718 * sunrpc/rpc_sample.c: Likewise.
31719 * sunrpc/rpc_scan.c: Likewise.
31720 * sunrpc/rpc_scan.h: Likewise.
31721 * sunrpc/rpc_svcout.c: Likewise.
31722 * sunrpc/rpc_tblout.c: Likewise.
31723 * sunrpc/rpc_util.c: Likewise.
31724 * sunrpc/rpc_util.h: Likewise.
31725 * sunrpc/rpcinfo.c: Likewise.
31726 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31727 * sunrpc/rpcsvc/key_prot.x: Likewise.
31728 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31729 * sunrpc/rpcsvc/mount.x: Likewise.
31730 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31731 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31732 * sunrpc/rpcsvc/rex.x: Likewise.
31733 * sunrpc/rpcsvc/rstat.x: Likewise.
31734 * sunrpc/rpcsvc/rusers.x: Likewise.
31735 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31736 * sunrpc/rpcsvc/spray.x: Likewise.
31737 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31738 * sunrpc/rtime.c: Likewise.
31739 * sunrpc/svc.c: Likewise.
31740 * sunrpc/svc_auth.c: Likewise.
31741 * sunrpc/svc_authux.c: Likewise.
31742 * sunrpc/svc_raw.c: Likewise.
31743 * sunrpc/svc_run.c: Likewise.
31744 * sunrpc/svc_simple.c: Likewise.
31745 * sunrpc/svc_tcp.c: Likewise.
31746 * sunrpc/svc_udp.c: Likewise.
31747 * sunrpc/svc_unix.c: Likewise.
31748 * sunrpc/svcauth_des.c: Likewise.
31749 * sunrpc/xcrypt.c: Likewise.
31750 * sunrpc/xdr.c: Likewise.
31751 * sunrpc/xdr_array.c: Likewise.
31752 * sunrpc/xdr_float.c: Likewise.
31753 * sunrpc/xdr_mem.c: Likewise.
31754 * sunrpc/xdr_rec.c: Likewise.
31755 * sunrpc/xdr_ref.c: Likewise.
31756 * sunrpc/xdr_sizeof.c: Likewise.
31757 * sunrpc/xdr_stdio.c: Likewise.
31758
9da4bb31
UD
31759 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31760 handling.
31761
bdaa77bc
AS
317622010-08-19 Andreas Schwab <schwab@redhat.com>
31763
31764 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31765
fe2f79db
LM
317662010-08-19 Luis Machado <luisgpm@br.ibm.com>
31767
31768 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31769 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31770 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31771 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31772 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31773 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31774 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31775 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31776 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31777 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31778 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31779 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31780 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31781 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31782
b9b42ee0
AB
317832010-07-26 Anton Blanchard <anton@samba.org>
31784
31785 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31786 * malloc/arena.c (heap_trim): Likewise.
31787
1c06ba31
UD
317882010-08-16 Ulrich Drepper <drepper@redhat.com>
31789
31790 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31791 here. Not...
31792 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31793 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31794
f8392f40
L
317952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * sysdeps/i386/elf/Makefile: New file.
31798
3162f12e
AS
317992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31800
31801 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31802 from fanotify_init.
31803 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31805
28c90b2c
UD
318062010-08-15 Ulrich Drepper <drepper@redhat.com>
31807
31808 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31809 of strncasecmp_l.
1feccb6c 31810 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31811
ca6bb004
UD
318122010-08-14 Ulrich Drepper <drepper@redhat.com>
31813
e9f82e0d
UD
31814 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31815 strncase_l-nonascii.
31816 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31817 Add strncase_l-ssse3.
31818 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31819 * sysdeps/x86_64/strcmp.S: Likewise.
31820 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31821 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31822 * sysdeps/x86_64/strncase.S: New file.
31823 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31824 * sysdeps/x86_64/strncase_l.S: New file.
31825 * string/Makefile (strop-tests): Add strncasecmp.
31826 * string/test-strncasecmp.c: New file.
31827
31828 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31829 warning.
31830
ca6bb004
UD
31831 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31832 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31833
052fa7b3
AS
318342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31835
31836 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31837
962dba78
UD
318382010-08-12 Ulrich Drepper <drepper@redhat.com>
31839
31840 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31841 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31843
bebff237
AM
318442010-05-01 Alan Modra <amodra@gmail.com>
31845
31846 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31847 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31848 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31849 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31850 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31851 tidying. Don't tail-call __sigjmp_save for static lib.
31852 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31853 save location.
31854 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31855 (CALL_MCOUNT): Add eh info, and nop after bl.
31856 (TAIL_CALL_SYSCALL_ERROR): New macro.
31857 (PSEUDO_RET): Use it.
31858 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31859 Correct save location of integer regs and cr.
31860 (_dl_profile_resolve): Correct cr save location. Delete nops
31861 after bl when SHARED. Reduce cfi size a little by better
31862 placement of cfi directives.
31863 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31864 make a stack frame. Instead use parm save area as a temp.
31865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31866 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31868 Don't make a stack frame for parent, use parm save area.
31869 Increase child stack frame to 112 bytes. Don't save unused reg,
31870 and adjust reg usage. Set up cfi on error recovery and
31871 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31873 (__makecontext): Add dummy nop after jump to exit.
31874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31875 Use correct parm save area and cr save, reduce stack frame.
31876 Correct cfi for possible PSEUDO_RET frame setup.
31877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31878 Branch to local label emitted by PSEUDO_RET rather than
31879 __syscall_error.
31880
02637374
AS
318812010-08-12 Andreas Schwab <schwab@redhat.com>
31882
31883 [BZ #11904]
31884 * locale/programs/locale.c (print_assignment): New function.
31885 (show_locale_vars): Use it.
31886
c3e2f19b
UD
318872010-08-11 Ulrich Drepper <drepper@redhat.com>
31888
3cdaa6ad
UD
31889 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31890 field.
31891 (struct statfs64): Likewise.
31892 (_STATFS_F_FLAGS): Define.
31893 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31894 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31895 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31896 (ST_VALID): Define locally.
31897 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31898 __statvfs_getflags, use the provided value.
31899 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31900 __ASSUME_STATFS_F_FLAGS.
31901
754f7da3
UD
31902 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31903
10b3bedc
UD
31904 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31905 Add sys/fanotify.h.
31906 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31907 fanotify_mask for GLIBC_2.13.
31908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31909 fanotify_init and fanotify_mark.
31910 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31911 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31912
c08fb0d7
UD
31913 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31914 Add prlimit.
31915 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31916 prlimit64 for GLIBC_2.13.
31917 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31918 prlimit64.
31919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31920 syscall.
31921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31922 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31923 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31924 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31926 add prlimit alias.
31927 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31928
15bac72b
UD
31929 [BZ #11903]
31930 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31931 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31932
c3e2f19b
UD
31933 * nss/Makefile: Add rules to build and run tst-nss-test1.
31934 * shlib-versions: Add entry for libnss_test1.
31935 * nss/nss_test1.c: New file.
31936 * nss/tst-nss-test1.c: New file.
31937
31938 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31939 (__nss_configure_lookup): Set appropriate entry in
31940 __nss_configure_lookup to true.
31941 * nss/nsswitch.h: Define enum with indeces of databases in
31942 databases and __nss_database_custom arrays. Declare
31943 __nss_database_custom.
31944 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31945 to avoid using nscd when custom rules are installed.
31946 * nss/getXXbyYY_r.c: Likewise.
31947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31948
31949 * nss/nss_files/files-parse.c: Whitespace fixes.
31950
f15ce4d8
UD
319512010-08-09 Ulrich Drepper <drepper@redhat.com>
31952
31953 [BZ #11883]
31954 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31955 * posix/fnmatch_loop.c: Likewise.
31956
d22e4cc9
AK
319572010-07-17 Andi Kleen <ak@linux.intel.com>
31958
31959 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31960 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31961 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31962 * Versions.def [GLIBC_2.13]: Add.
31963
805bc17d
UD
319642010-08-06 Ulrich Drepper <drepper@redhat.com>
31965
31966 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31967 Also fail if tpwd after pwuid call is NULL.
31968
5a42321d
ST
319692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31970
31971 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31972 when converting to ms.
31973
fd3ebeda
ST
319742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31975
31976 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31977 EOPNOTSUPP errors with ENOTTY.
31978 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31979 EOPNOTSUPP errors with ENOTTY.
31980
73507d3a
UD
319812010-07-31 Ulrich Drepper <drepper@redhat.com>
31982
31983 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31984 Add strcasecmp_l-ssse3.
31985 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31986 strcasecmp.
31987 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31988 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31989 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31990
fe36dd02
UD
319912010-07-30 Ulrich Drepper <drepper@redhat.com>
31992
66f6765a
UD
31993 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31994
42e08a54
UD
31995 * string/Makefile (strop-tests): Add strcasecmp.
31996 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31997 strcasecmp_l-nonascii.
31998 (gen-as-const-headers): Add locale-defines.sym.
31999 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32000 * sysdeps/x86_64/strcasecmp.S: New file.
32001 * sysdeps/x86_64/strcasecmp_l.S: New file.
32002 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32003 * sysdeps/x86_64/locale-defines.sym: New file.
32004 * string/test-strcasecmp.c: New file.
32005
fe36dd02
UD
32006 * string/test-strcasestr.c: Test both ends of the range of characters.
32007 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32008
48cbc0d6
RM
320092010-07-29 Roland McGrath <roland@redhat.com>
32010
76e6d6bc 32011 [BZ #11856]
48cbc0d6
RM
32012 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32013
880113d9
UD
320142010-07-27 Ulrich Drepper <drepper@redhat.com>
32015
32016 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32017 for ld.so.
32018
deb9cabb
AS
320192010-07-27 Andreas Schwab <schwab@redhat.com>
32020
32021 * manual/memory.texi (Malloc Tunable Parameters): Document
32022 M_PERTURB.
32023
1c7570ff
RM
320242010-07-26 Roland McGrath <roland@redhat.com>
32025
32026 [BZ #11840]
32027 * configure.in (-fgnu89-inline check): Set and substitute
32028 gnu89_inline, not libc_cv_gnu89_inline.
32029 * configure: Regenerated.
32030 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32031
24fb0f88
UD
320322010-07-26 Ulrich Drepper <drepper@redhat.com>
32033
32034 * string/test-strnlen.c: New file.
32035 * string/Makefile (strop-tests): Add strnlen.
32036 * string/tester.c (test_strnlen): Add a few more test cases.
32037 * string/tst-strlen.c: Better error reporting.
32038
32039 * sysdeps/x86_64/strnlen.S: New file.
32040
8e96b93a
UD
320412010-07-24 Ulrich Drepper <drepper@redhat.com>
32042
32043 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32044 lower-latency instructions.
32045
dbc676d4
UD
320462010-07-23 Ulrich Drepper <drepper@redhat.com>
32047
32048 * string/test-strcasestr.c: New file.
32049 * string/test-strstr.c: New file.
32050 * string/Makefile (strop-tests): Add strstr and strcasestr.
32051 * string/str-two-way.h: Don't undefine MAX.
32052 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32053
f6a31e0e
AS
320542010-07-21 Andreas Schwab <schwab@redhat.com>
32055
32056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32057 strcasestr-nonascii.
32058 (CFLAGS-strcasestr-nonascii.c): Define.
32059 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32060 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32061 Remove unused attribute.
32062
5dbc3b6c
RM
320632010-07-20 Roland McGrath <roland@redhat.com>
32064
32065 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32066 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32067 ld.so.cache was broken. With it, there is no way to disable dsocaps
32068 like LD_HWCAP_MASK can disable hwcaps.
32069
23d101d8
EPM
320702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32071
32072 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32073
cc9f2e47
UD
320742010-07-16 Ulrich Drepper <drepper@redhat.com>
32075
32076 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32077 call in strcasestr.
32078 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32079 __strcasestr_sse42_nonascii.
32080 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32081 strcasestr-nonascii.c.
32082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32083
77c1b069
LM
320842010-06-15 Luis Machado <luisgpm@br.ibm.com>
32085
32086 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32087 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32088 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32089 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32090
440566c3
UD
320912010-07-09 Ulrich Drepper <drepper@redhat.com>
32092
32093 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32094 fcntl.
32095
5be9d05d
AS
320962010-07-06 Andreas Schwab <schwab@redhat.com>
32097
c30b7ee2 32098 [BZ #11577]
5be9d05d
AS
32099 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32100 dl_signal_cerror.
32101
8a492a67
UD
321022010-07-06 Ulrich Drepper <drepper@redhat.com>
32103
32104 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32105 _PC_PIPE_BUF using F_GETPIPE_SZ.
32106
713df3d5
RM
321072010-07-05 Roland McGrath <roland@redhat.com>
32108
32109 * manual/arith.texi (Rounding Functions): Fix rint description
32110 implicit in round description.
32111
702e8f14
UD
321122010-07-02 Ulrich Drepper <drepper@redhat.com>
32113
32114 * elf/Makefile: Fix linking for a few tests to make recent linker
32115 happy.
32116
52ed8be9
AS
321172010-06-30 Andreas Schwab <schwab@redhat.com>
32118
32119 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32120 $(common-objpfx)libc_nonshared.a.
32121
f47c9a11
LM
321222010-06-21 Luis Machado <luisgpm@br.ibm.com>
32123
32124 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32125 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32126 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32127 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32128 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32129 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32130 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32131 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32146 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32147 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32148 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32149 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32150 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32151 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32152 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32153 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32154 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32155 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32156 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32157 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32172
6fb8cbcb
L
321732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32174
32175 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32176 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32177 * string/memmove.c (memmove): Renamed to ...
32178 (MEMMOVE): ...this. Default to memmove.
32179 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32180 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32181 (END_CHK): Define.
32182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32183 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32184 mempcpy-ssse3-back memmove-ssse3-back.
32185 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32188 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32189 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32190 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32191 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32192 * sysdeps/x86_64/multiarch/memmove.c: New file.
32193 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32194 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32195 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32196 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32197 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32199 Define.
32200 (index_Fast_Copy_Backward): Define.
32201 (HAS_ARCH_FEATURE): Define.
32202 (HAS_FAST_REP_STRING): Define.
32203 (HAS_FAST_COPY_BACKWARD): Define.
32204
4e733bac 322052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32206
32207 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32208 Restore proper fallback handling.
32209
63c4ed22
UD
322102010-06-19 Ulrich Drepper <drepper@redhat.com>
32211
ac2b484c
UD
32212 [BZ #11701]
32213 * posix/group_member.c (__group_member): Correct checking loop.
32214
63c4ed22
UD
32215 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32216 OOM in getpwuid_r correctly. Return error number when the caller
32217 should return, otherwise -1.
32218 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32219 call returning > 0 value.
32220 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32221
765ade4b
AS
322222010-06-07 Andreas Schwab <schwab@redhat.com>
32223
32224 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32225 libc_nonshared.a from targets in modules-names.
32226
80da2e09
KS
322272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32228
32229 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32230 requires it.
32231
158db122
LM
322322010-06-10 Luis Machado <luisgpm@br.ibm.com>
32233
32234 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32235 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32238
caa78cf8
AS
322392010-06-02 Andreas Schwab <schwab@redhat.com>
32240
32241 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32242
b2ef2c01
UD
322432010-06-14 Ulrich Drepper <drepper@redhat.com>
32244
32245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32246 and F_GETPIPE_SZ.
32247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32252 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32253
fbd643b6
RM
322542010-06-14 Roland McGrath <roland@redhat.com>
32255
32256 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32257
f32f2869
JJ
322582010-06-07 Jakub Jelinek <jakub@redhat.com>
32259
32260 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32261 __REDIRECT followed by __THROW.
32262 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32263 * posix/getopt.h (getopt): Likewise.
32264
2a50c078
EPM
322652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32266
32267 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32268 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32269 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32270 in AT_FLAGS.
32271 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32272 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32273
eb5ad2eb
LM
322742010-05-28 Luis Machado <luisgpm@br.ibm.com>
32275
32276 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32277
3c88fe1e
L
322782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32279
32280 [BZ #11640]
32281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32282 Properly check family and model.
32283
d2f73151
TY
322842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32285
32286 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32287
ebd2e13d
LM
322882010-05-24 Luis Machado <luisgpm@br.ibm.com>
32289
32290 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32291
b32b8b45
UD
322922010-05-21 Ulrich Drepper <drepper@redhat.com>
32293
32294 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32295 symbol reference.
32296
9acbe24d
AS
322972010-05-19 Andreas Schwab <schwab@redhat.com>
32298
32299 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32300 symbol reference.
32301
f0ccf6ea
AS
323022010-05-21 Andreas Schwab <schwab@redhat.com>
32303
3d04ff3a
AS
32304 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32305 and internal_recvmmsg.
32306 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32307 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32308 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32309 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32310
f0ccf6ea
AS
32311 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32312 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32313 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32314
5b08ac57
AS
323152010-05-20 Andreas Schwab <schwab@redhat.com>
32316
32317 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32318
4828935d
LM
323192010-05-17 Luis Machado <luisgpm@br.ibm.com>
32320
32321 POWER7 optimizations.
32322 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32323 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32324
373d545e
UD
323252010-05-19 Ulrich Drepper <drepper@redhat.com>
32326
32327 * version.h: Update for 2.13 development version.
32328
21a2b1ae
AS
323292010-05-12 Andrew Stubbs <ams@codesourcery.com>
32330
32331 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32332 exceptions. Return 0.
32333
3f7dcb2b
RM
323342010-05-07 Roland McGrath <roland@redhat.com>
32335
32336 * elf/ldconfig.c (main): Add a const.
32337
5f24d53a 323382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32339
a160f8d8
UD
32340 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32341 (args_options): Add no-idn option.
32342 (ahosts_keys_int): Add idn_flags to ai_flags.
32343 (parse_option): Handle 'i' option to clear idn_flags.
32344
5f24d53a
UD
32345 * malloc/malloc.c (_int_free): Possible race in the most recently
32346 added check. Only act on the data if no current modification
32347 happened.
265bb1ce
UD
32348
32349See ChangeLog.17 for earlier changes.